

A BONELAB code mod that lets you keep your inventory when switching between levels that do not save your inventory or when rejoining the game. It features:
WARNING!
This mod might remove campaign data regarding the inventory while playing through campaign levels. You can change this behaviour at any time by going to the BoneMenu > HAHOOS > KeepInventory > Other and disabling Remove Initial Inventory From Save.
If you find any bugs, I recommend creating an issue. This will really help the development of the mod
The "Box" asset used in the logo is under the MIT License
The mod can be changed to your liking, here is a list of all available settings:
DEFAULT: true / EnabledIn MelonPreferences: ItemSaving
If true, will save and load items in inventory
DEFAULT: true / EnabledIn MelonPreferences: AmmoSaving
If true, will save and load ammo in inventory
DEFAULT: true / EnabledIn MelonPreferences: SaveGunData
If true, will save and load data about guns stored in slots, info such as rounds left etc.
DEFAULT: true / EnabledIn MelonPreferences: PersistentSave
If true, will save and load inventory in a KeepInventory_Save.cfg file to be used between sessions
DEFAULT: true / EnabledIn MelonPreferences: SaveOnLevelUnload
If true, during level unload, the inventory will be automatically saved
DEFAULT: true / EnabledIn MelonPreferences: LoadOnLevelLoad
If true, the saved inventory will be automatically loaded when you get loaded into a level thats not blacklisted
DEFAULT: true / EnabledIn MelonPreferences: AutomaticallySaveToFile
If true, the inventory will be automatically saved to a save file if 'Persistent Save' is turned on when the game is quitting
DEFAULT: true / EnabledIn MelonPreferences: BlacklistBONELABLevels
If true, most of the BONELAB levels (except VoidG114 and BONELAB Hub) will be blacklisted from saving/loading inventory
DEFAULT: [] (empty list)Only seen in MelonPreferences
List of levels that will not save/load inventory
DEFAULT: true / EnabledIn MelonPreferences: ShowNotifications
If true, notifications will be shown in-game regarding errors or other things
DEFAULT: true / EnabledIn MelonPreferences: FusionSupport
If true, the mod will work with Fusion. If fusion is detected, you are connected to a server and this setting is turned off, the inventory will not be loaded
DEFAULT: true / EnabledIn MelonPreferences: RemoveInitialInventory
If true, the mod will remove initial inventory found in save data in a loaded inventory