QuickSlotDeathGuard
Keeps GearSlots Quick 1-3 items from being lost on death, matching the protection already given to Gear/Utility slots.
模組介紹 作者原文
QuickSlotDeathGuard
Companion mod for GearSlots (jg224). Keeps items in GearSlots' Quick
slots 1-3 from being lost on death, matching the protection GearSlots
already gives to the Head/Chest/Legs/Cape/Utility/Ammo slots.
Install
GearSlots is client-side only, so this mod must go on every player's
client who uses GearSlots - installing it only on the server does
nothing, same as GearSlots itself.
Manual (any mod manager / vanilla BepInEx): unzip this package and drop
the whole folder into BepInEx/plugins.
Gale: import this.zip as a local mod for your Valheim profile (Gale's
mod list -> Import local mod, or drag-and-drop the zip onto the profile),
or just extract it into BepInEx/plugins/ inside your profile folder like
above.
Requirements
- BepInExPack_Valheim
- GearSlots (jg224) 0.5.2+
What it does
GearSlots' own death-handling code calls vanilla Inventory.RemoveUnequipped()
on the Gear inventory and the Quick inventory identically. That method keeps
only items flagged "equipped" - GearSlots marks Head/Chest/Legs/Cape/
Utility/Ammo items as equipped (so they survive), but Quick 1-3 items are
never flagged equipped, so they get stripped on death like loose inventory.
This mod runs a high-priority Harmony prefix on Player.CreateTombStone
that pulls Quick 1-3 items out before GearSlots' own logic runs, then puts
them back once tombstone creation is done - so nothing in Quick 1-3 ever
reaches the grave.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: