CupboardWipeProtection
Keeps ship-cupboard items after a full-crew wipe, with independent total-value and per-item scrap limits.
模組介紹 作者原文
Cupboard Wipe Protection
Cupboard Wipe Protection changes the full-crew wipe penalty without removing it entirely.
When every player dies:
- Items stored inside the ship cupboard are kept.
- Scrap and other items left elsewhere on the ship are removed normally.
- Items inside a belt bag stored in the cupboard are kept with the bag.
- Optional value limits decide which cupboard scrap survives.
Two independent value limits are available:
- The per-item limit removes each individual scrap item worth more than the configured amount. It does not restrict the combined value of the other items. This limit is enabled by default at $200.
- The total-value limit restricts the combined value of all protected cupboard scrap. It is disabled by default. When enabled, the mod selects a combination with the highest possible total value without exceeding the configured amount.
The per-item check runs first when both limits are enabled. Items with no scrap value do not consume the total limit. A belt bag and everything inside it are treated as one item group, so the game is never left with references to removed bag contents.
The host decides which items survive. The mod can run on the host alone, but installing it for everyone is recommended for shared modpacks.
Configuration
The mod uses a standard BepInEx configuration file.
- Enabled turns the feature on or off.
- Enable per-item value limit turns the individual scrap-value check on or off.
- Maximum protected value per scrap item sets the highest allowed value of one scrap item.
- Enable total value limit turns the combined cupboard-value limit on or off.
- Maximum total protected scrap value sets the combined value cap used when the total limit is enabled.
- Shelf tolerance adjusts how close an item must be to a cupboard shelf.
- Cabinet bounds padding adjusts the fallback detection margin around the cupboard.
- Verbose logging prints item-by-item detection details for troubleshooting.
The default detection values are intended for the vanilla ship cupboard, including when it has been moved.
Compatibility
Cupboard Wipe Protection does not replace the normal ship item save system. It only prevents cupboard items from being despawned during a full-crew wipe, so mods that preserve exact item positions can continue handling placement normally.
Do not combine it with mods that preserve every ship item after a wipe, because those mods may also keep items left outside the cupboard.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: