An Elin mod that keeps everything you carry safe. Nothing in your inventory can be stolen, and nothing in it can be destroyed or ruined by hostile damage.
You get the innate passive Inventory Ward, listed on your character sheet under Feats → Innate Feats. Whenever it protects you, the message log says so:
Gnome tried to steal from you, but it was negated. Theft prevented by Inventory Ward.
[Incoming Damage] Fire - inventory damage negated by Inventory Ward.
| Protection | What it blocks |
|---|---|
| Theft | Steal abilities (items, food, gold) used by gnomes, thieves and others; pickpocketing; rogues skimming gold when you swap places; bandits on the road demanding an item |
| Fire & cold | Burning, shattering or cooking of anything you carry, including items inside containers. Your fireproof and coldproof blankets are no longer used up |
| Acid | Corrosion of your equipment (loss of its enchantment level) |
| Curses | Hostile curses that would curse or doom your equipment |
Only the player's inventory is protected. Anything you do yourself, like selling, dropping, giving or eating, works as normal.
After the first launch, edit Elin/BepInEx/config/jajohn7m.notmyinventory.cfg:
[Protection]
PreventTheft = true
PreventElementalDestruction = true
PreventAcid = true
PreventCurse = true
[Display]
PassiveName = Inventory WardRestart the game after you change anything.
- Steam Workshop: subscribe to the mod and enable it in Elin's Mods menu.
- Manual: copy the built mod folder to
Elin/Package/Mod_NotMyInventory/.
It is safe to remove the mod at any time. When it's gone, the game drops the passive from your save.
Requirements: the .NET SDK (10.0 or later) and an Elin install. Elin comes with BepInEx built in.
- Point the build at your game by setting the
ElinGamePathenvironment variable to your Elin folder, or edit the default inDirectory.Build.props. - Build and deploy:
The script checks that Elin is closed, builds straight into
./deploy.sh # Debug build ./deploy.sh Release # Release build
Elin/Package/Mod_NotMyInventory/and confirms that the files were updated. On Windows, rundotnet build -c Releaseinstead. - Launch Elin. The BepInEx log (
Elin/BepInEx/LogOutput.log) should containNot My Inventory 1.0.0 loaded.
| Path | Purpose |
|---|---|
Plugin.cs |
BepInEx entry point and config |
InventoryWard.cs |
Registers the Inventory Ward passive and grants it to the player |
Notify.cs |
Writes the mod's messages to the in-game log |
Protection.cs |
Decides what counts as "the player's inventory" |
Patches/ |
Harmony patches for theft, hostile effects and item damage |
package/ |
package.xml and preview.jpg, copied into the mod folder on build |
The project is based on the Elin Plugin Template and the Elin Modding Wiki.
Please report problems through Steam: leave a comment on the mod's Workshop page, or message me on my Steam profile. If you can, include the relevant part of Elin/BepInEx/LogOutput.log.
Created by jajohn7m: Steam profile · GitHub
