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.
