Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
QuickSlotDeathGuard
Keeps GearSlots Quick 1-3 items from being lost on death, matching the protection already given to Gear/Utility slots.
By Chini
| Last updated | a month ago |
| Total downloads | 136 |
| Total rating | 0 |
| Categories | Mods |
| Dependency string | Chini-QuickSlotDeathGuard-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350jg224-GearSlots
Adds separate slots for armor, utilities, and ammo, plus three quick-use slots
Preferred version: 0.5.2README
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.