Trick or Treat

v1.3.7·Updated 2025-11-02

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

About this mod Author’s original text

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

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
Trick_or_Treat-1.3.7.zip
File size
172.4 KiB