KeepInventory
Keep your inventory when switching mod levels and leaving/joining the game!
Last updated | 2 weeks ago |
Total downloads | 5082 |
Total rating | 3 |
Categories | Code Mods |
Dependency string | HAHOOS-KeepInventory-1.2.0 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
gnonme-BoneLib
A BONELAB mod for making life easier for other mod creators.
Preferred version: 3.0.0README
Keep Inventory
What is this?
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
Possible bugs
- 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)
Settings
The mod can be changed to your liking, here is a list of all available settings:
Saving
Save Items DEFAULT: true / Enabled
In MelonPreferences: ItemSaving
If true, will save and load items in inventory
Save Ammo DEFAULT: true / Enabled
In MelonPreferences: AmmoSaving
If true, will save and load ammo in inventory
Save Gun Data DEFAULT: true / Enabled
In MelonPreferences: SaveGunData
If true, will save and load data about guns stored in slots, info such as rounds left etc.
Persistent Save DEFAULT: true / Enabled
In MelonPreferences: PersistentSave
If true, will save and load inventory in a KeepInventory_Save.cfg file to be used between sessions
Events
Save on Level UnloadDEFAULT: true / Enabled
In MelonPreferences: SaveOnLevelUnload
If true, during level unload, the inventory will be automatically saved
Load on Level Load DEFAULT: true / Enabled
In MelonPreferences: LoadOnLevelLoad
If true, the saved inventory will be automatically loaded when you get loaded into a level thats not blacklisted
Automatically Save To File DEFAULT: true / Enabled
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
Blacklist
Blacklist BONELAB Levels DEFAULT: true / Enabled
In MelonPreferences: BlacklistBONELABLevels
If true, most of the BONELAB levels (except VoidG114 and BONELAB Hub) will be blacklisted from saving/loading inventory
BlacklistedLevels DEFAULT: [] (empty list)
Only seen in MelonPreferences
List of levels that will not save/load inventory
Other
Show Notifications DEFAULT: true / Enabled
In MelonPreferences: ShowNotifications
If true, notifications will be shown in-game regarding errors or other things
Fusion Support DEFAULT: true / Enabled
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
Remove Initial Inventory From Save DEFAULT: true / Enabled
In MelonPreferences: RemoveInitialInventory
If true, the mod will remove initial inventory found in save data in a loaded inventory