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:
- Full Fusion Support!
- Saving data about guns and loading them!
- Customizability, such as disabling inventory loading on level load, or saving/loading ammo
- And much more!
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
- Saved gun with the slide locked might not load with it locked
- Guns not being put in inventory slots for new players in Fusion (I have asked Lakatrazz and he said it's a problem with Fusion)
The mod can be changed to your liking, here is a list of all available settings:
In MelonPreferences: ItemSaving
If true, will save and load items in inventory
In MelonPreferences: AmmoSaving
If true, will save and load ammo in inventory
In MelonPreferences: SaveGunData
If true, will save and load data about guns stored in slots, info such as rounds left etc.
In MelonPreferences: PersistentSave
If true, will save and load inventory in a KeepInventory_Save.cfg file to be used between sessions
In MelonPreferences: SaveOnLevelUnload
If true, during level unload, the inventory will be automatically saved
In MelonPreferences: LoadOnLevelLoad
If true, the saved inventory will be automatically loaded when you get loaded into a level thats not blacklisted
In 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
In MelonPreferences: BlacklistBONELABLevels
If true, most of the BONELAB levels (except VoidG114 and BONELAB Hub) will be blacklisted from saving/loading inventory
Only seen in MelonPreferences
List of levels that will not save/load inventory
In MelonPreferences: ShowNotifications
If true, notifications will be shown in-game regarding errors or other things
In 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
In MelonPreferences: RemoveInitialInventory
If true, the mod will remove initial inventory found in save data in a loaded inventory