Trick or Treat
Adds pumpkins randomly to all levels. Open them to get a Trick or a Treat! Have a Happy Halloween!
模組介紹 作者原文
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
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: