R.E.P.O.

Details

Last Updated
3 hours ago
First Uploaded
3 hours ago
Downloads
3K
Likes
2
Size
174KB
Dependency string
Omniscye-Trick_or_Treat-1.0.3
Dependants

Trick_or_Treat 🎃 v1.0.3 - Have a Happy Halloween!

Adds pumpkins randomly to all levels. Open them and get a Trick or a Treat!
Host synchronizes them, everyone enjoys the chaos. Walk up to a pumpkin and press E.


What it does

  • Pumpkin spawns: A random handful of pumpkins appear around the map each run.
  • Press E: Interact to crack it open.
  • Treats: Showers of loot pop out (items come from the shop pools or the global catalog).
  • Tricks: Kaboom.
  • Multiplayer: Host synchronizes spawns and results to all clients.

Configuration

A config file is generated on first run. Keys you can tweak:

[Gameplay]
ExplosionChance = 0.5   ; 0.0–1.0 — chance an opened pumpkin is a "trick"
MinSpawnItems   = 1      ; minimum items on a treat
MaxSpawnItems   = 6      ; maximum items on a treat

[Spawning]
MinPumpkins     = 1      ; minimum pumpkins per level
MaxPumpkins     = 3      ; maximum pumpkins per level
SkipStartRoom   = true   ; if true, avoids points nearest the truck

Technical details (for modders)

  • Networking: Photon RaiseEvent with PUN-native payloads; host-only spawn. Clients rebuild pumpkins from events.
  • Scope: No traffic in main menu or lobby. Spawning only begins after the level is generated.
  • FX: Local FX helpers for Treat/Explode, synced as transient events.
  • Items: Pulls from ShopManager pools; falls back to StatsManager.itemDictionary if empty.
  • Safety: Kinematic rigidbodies, ground-snap with raycast, trigger collider for interaction.
  • Controls: Uses the game’s Interact input (E by default).

Credits

Created by Omniscye
Stay Forever

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