Keep My Stuff, Not My Loot
Die without losing your gear / what you need to actually play the game.
What you keep
- Hotbar
- Armor
- Offhand
- Modded slots: Curios, Accessories (cosmetic slots too), Cosmetic Armor Reworked, Tool Belt, and other mods that store a standard inventory on the player
What drops / what you lose on death
The 27 main inventory slots. They go into your grave or corpse mod if you have one.
Every group can be turned on or off in the config.
Works with other death mods
Tested in automated server runs with:
- You're in Grave Danger
- Corail Tombstone
- Simple Tomb
- Epitaphs
- Corpse
- Macabre (death in The Pit; its server debug class had to be removed to run the test)
- Curios, Accessories, Cosmetic Armor Reworked, Tool Belt
Totems of Undying and death-cancelling items (tested with Twilight Forest's Charm of Life and Reliquary's Phoenix Down and Angelheart Vial) still work from kept slots.
Settings
Open them from the Mods screen, or edit config/kmsnml-common.toml. On a server, the server's file decides.
| Setting | Default | What it does |
|---|---|---|
| Prioritize other mod intentions | Off | Off: your kept items always stay with you. On: other mods may take or use anything you carry, and you keep only what they leave. Grave mods will usually take everything. |
| Keep hotbar / armor / offhand | On | Keep those slots |
| Keep main inventory | Off | Also keep the 27 main slots |
| Keep modded slots | On | Curios, Accessories and others |
| Keep other modded inventories | On | Slots other mods store on the player |
| Ignored modded inventories | Empty | Mods to leave alone |
| Strict mode | Off | Turn on if another mod still duplicates kept items. Modded revive items in kept slots may then not trigger. |
| Strict mode with these mods | Empty | Turns strict mode on by itself when one of these mods is installed |
With the keepInventory game rule on, everything is kept. If Prioritize other mod intentions is also on, this mod steps back and the game rule and other mods decide.
Known limits
- A mod that stores its slots in an unusual way may need its own support. Please report it.
- Macabre together with You're in Grave Danger puts your main loot in both the corpse and the grave. That happens with or without this mod.