R.E.P.O.
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
9 months ago
Downloads
72K
Size
179KB
Dependency string
Omniscye-Trick_or_Treat-1.2.3

Trick_or_Treat 🎃 v1.2.3 - Have a Happy Halloween!

Update 1.2 — New “Spawn Enemies” Treat/Trick

Pumpkins can now spawn enemies (vanilla or modded) using REPOLib’s catalog.


What it does

  • Pumpkins appear randomly across real levels each run (host only spawns, clients mirror).
  • Press E near a pumpkin to open it.
  • Treats: Spawns a handful of loot from the shop pools.
  • Trick: Sometimes spawns enemies around the pumpkin instead of items.
  • Trick: Explodes (visual/sfx + optional damage) per your settings.
  • Multiplayer: Host drives all logic; clients receive Photon events.

Requirements

  • BepInEx
  • REPOLib

Configuration

A config file is generated on first run. Keep values reasonable; the host’s config rules the lobby.

[Gameplay]
ExplosionChance = 0.5        ; 0.0–1.0 — chance an opened pumpkin is a "trick" (explodes)
MinSpawnItems   = 1          ; min items on a treat
MaxSpawnItems   = 6          ; max items on a treat

[Spawning]
MinPumpkins     = 1          ; min pumpkins per level
MaxPumpkins     = 3          ; max pumpkins per level
SkipStartRoom   = true       ; avoid points closest to the truck

[Enemies]
EnemyChance     = 0.35       ; 0.0–1.0 — chance to spawn enemies instead of items on a treat
EnemyName       =            ; optional name (full/partial). Empty = random from REPOLib catalog
MinEnemyCount   = 1          ; min enemies to spawn
MaxEnemyCount   = 2          ; max enemies to spawn

Technical details

  • Netcode: Photon RaiseEvent; host-only spawn. Clients rebuild pumpkins from events.
  • Scope: No pumpkins in menus/lobby. Spawning waits until the level is generated.
  • FX: Local helpers for Treat/Explode; mirrored to clients via transient events.
  • Items: Pulls from ShopManager pools; falls back to StatsManager.itemDictionary.
  • Interaction: Kinematic-ish, ground-snapped pumpkin with a trigger collider; "Press E" prompt uses game input.
  • Compatibility: Enemy spawn uses REPOLib’s enemy registry, so modded enemies are eligible.

Credits

Created by Omniscye Stay Forever

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.