BetterCorpses
Corpse economy: player corpses get a random price (-50 to 50) and can be sold to money NPCs, bet on the casino table, or fed to the slot machine for skins; plus a configurable forced respawn wait and
模組介紹 作者原文
Better Corpses — 更好的屍體
English
Overview
Better Corpses turns player corpses into an economy. When someone dies, their corpse rolls a random price (−50 to 50 by default; the range is configurable). Whoever picks up a corpse gets to use it:
- Sell to money NPCs — drop the corpse at the feet of a money-collecting NPC and it is eaten and paid out by its price (a negative price means you pay).
- Casino table — drop the corpse on the roulette table and bet on a color: black/red pays ×2, green ×35 (vanilla payout rules).
- Slot machine — feed the corpse to the slot machine for a chance to unlock a skin (the feeder unlocks it).
It also adds a forced respawn wait: after death, both revive paths (give-up respawn and being slapped back to life) stay locked for a configurable duration (default 5 seconds), with an on-screen countdown. The give-up hold duration is also configurable (default 1 second = vanilla).
- Server-authoritative: prices, sales, bets and rolls are resolved on the server; all clients see the same result.
- Every feature has its own toggle; with the master switch off, everything behaves exactly like vanilla.
- Pickup rules stay vanilla: whoever grabs a corpse owns its economy actions, and the money goes to them.
Installation
- Install BepInEx 5 (BepInExPack for How to Fish) into the game directory.
- Extract the zip and merge the BepInEx folder into the game folder (e.g. F:\steam\steamapps\common\How to Fish\How to Fish\).
- Launch the game through Steam. The mod loads automatically; check BepInEx\LogOutput.log for BetterCorpses.
Plugin location: BepInEx\plugins\BetterCorpses\BetterCorpses.dll
Configuration
The config file BepInEx\config\top.yw.bettercorpses.cfg is generated on first launch. Edit it while the game is closed (or in-game via Mod Menu if installed).
| Section | Key | Default | Description |
|---|---|---|---|
| General | Master | true | Master switch (off = fully vanilla) |
| General | RespawnTime | true | Forced respawn wait + give-up hold duration |
| General | CorpseDrop | true | Corpse economy master (price + sell/gamble/lottery) |
| General | Sell | true | Corpses can be sold to money NPCs |
| General | Gamble | true | Corpses can be placed on the casino table |
| General | Lottery | true | Corpses can be fed to the slot machine |
| Respawn | ForcedWaitSeconds | 5 | Forced wait after death, during which both revive paths are locked (0–600) |
| Respawn | GiveUpHoldSeconds | 1 | Hold-left-click give-up duration (0–60; 1 = vanilla) |
| Economy | PriceMin | -50 | Random corpse price minimum (negative = you pay when selling) |
| Economy | PriceMax | 50 | Random corpse price maximum |
Compatibility & notes
- Works in singleplayer (host) and multiplayer; the host's settings apply.
- Selling a corpse with a negative price reduces the shared money pool (vanilla SellItem behavior, not clamped).
- Boss-fight give-up restrictions are untouched; the forced wait stacks on top of vanilla rules.
- Requires BepInEx 5.4 (BepInExPack for How to Fish). No other dependencies.
中文
模組簡介
更好的屍體(Better Corpses) 讓玩家屍體變成一門經濟:有人死亡時,屍體隨機生成一個價格(默認 −50~50,範圍可配置)。誰撿起屍體,誰就能處置它:
- 賣給收錢 NPC —— 把屍體丟到收錢 NPC 腳邊,NPC 會喫下並按照屍體價格結算(負價格 = 你倒貼錢)。
- 上賭桌 —— 把屍體丟進賭桌,猜顏色:黑/紅猜對 ×2、綠色 ×35(原版賠率規則)。
- 喂老虎機 —— 把屍體投進老虎機,有機會抽到皮膚(由投餵者解鎖)。
另外新增復活強制等待:死亡後,放棄重生和被拍活兩條路都會被鎖定一段時間(默認 5 秒,可配置),屏幕上有倒計時;放棄重生的長按時長也可配置(默認 1 秒 = 原版)。
- 服務器權威:價格、賣出、下注、抽獎都在服務器結算,各客戶端看到的結果一致。
- 每個功能都有獨立開關;關閉總開關後與原版完全一致。
- 拾取規則保持原版:誰撿到屍體誰就有權經濟操作,錢歸操作者。
安裝方法
- 先將 BepInEx 5(How to Fish 的 BepInExPack)安裝到遊戲目錄。
- 解壓本 zip,將 BepInEx 文件夾合併進遊戲目錄(如 F:\steam\steamapps\common\How to Fish\How to Fish\)。
- 通過 Steam 啓動遊戲。模組自動加載,可在 BepInEx\LogOutput.log 中查看 BetterCorpses。
插件位置:BepInEx\plugins\BetterCorpses\BetterCorpses.dll
配置說明
首次啓動生成配置文件 BepInEx\config\top.yw.bettercorpses.cfg,關閉遊戲後編輯(安裝 Mod Menu 可在遊戲內修改)。
| 分區 | 鍵 | 默認 | 說明 |
|---|---|---|---|
| General | Master | true | 總開關(關閉 = 完全原版) |
| General | RespawnTime | true | 復活時間:強制等待 + 放棄長按時長 |
| General | CorpseDrop | true | 屍體經濟總閘(價格 +
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: