Omniscye-Trick_or_Treat icon

Trick or Treat

Adds pumpkins randomly to all levels. Open them to get a Trick or a Treat! Have a Happy Halloween!

Last updated a month ago
Total downloads 60173
Total rating 2 
Categories Mods Valuables Items Upgrades Weapons Monsters Server-side
Dependency string Omniscye-Trick_or_Treat-1.3.7
Dependants 12 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Trick_or_Treat 🎃 v1.3.7 Valuables Update

  • This mod only works in Private or Multiplayer (Online) - It does not work in offline Singleplayer atm.

Changelog

  • Enemies removed. Valuables added instead.
  • Pumpkins can now spawn valuables as well as items.
  • Valuables are pulled from each level’s ValuablePresets list.
  • Item count configuration applies to both items and valuables.
  • General stability and multiplayer sync improvements.

What it does

  • Pumpkins appear randomly across real levels each run. Host spawns, clients mirror.
  • Press E near a pumpkin to open it.
  • Treats: Spawns a mix of items and valuables from shop pools and level presets.
  • Tricks: Sometimes explodes instead of spawning loot.
  • Multiplayer: Host drives all logic. Clients receive Photon events.

Requirements

  • BepInEx

Configuration

A config file is generated on first run. The host’s config rules the lobby.

[Gameplay]
ExplosionChance = 0.2        ; chance 0.0–1.0 that a pumpkin explodes instead
MinSpawnItems   = 1          ; min total drops (items + valuables)
MaxSpawnItems   = 6          ; max total drops (items + valuables)

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


# Technical details
Netcode: Photon RaiseEvent; host-only spawn. Clients rebuild pumpkins from events  
Scope: No pumpkins in menus/lobby; spawns only after level generation  
FX: Local helpers for Treat/Explode; mirrored to clients via transient events  
Items: Uses ShopManager pools, with fallback to StatsManager.itemDictionary  
Interaction: Ground-snapped pumpkin with trigger collider and “Press E” prompt using game input

Created by Omniscye
Stay Forever