ShipInventory
Adds an inventory to the ship, allowing it to store items and retrieve them.
Date uploaded | 3 months ago |
Version | 1.0.4 |
Download link | WarperSan-ShipInventory-1.0.4.zip |
Downloads | 787 |
Dependency string | WarperSan-ShipInventory-1.0.4 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100AinaVT-LethalConfig
Provides an in-game config menu for players to edit their configs, and an API for other mods to use and customize their entries.
Preferred version: 1.4.2WhiteSpike-Interactive_Terminal_API
API focused on making interactable UI in the terminal
Preferred version: 1.1.3README
Ship Inventory
Adds a ship object that allows players to safely store items inside the ship's inventory.
There are 2 reasons for why I made this mod:
- One of my friends kept throwing scrap off the ship, making us lose
- I get lag spikes when around the ship (which I assume is because of the items)
Vent Chute
By holding an item to the vent chute, you can put items into the ship's inventory. You can also retrieve them using the terminal.
Command
To access the ship's inventory, you need to type ship
into the terminal. A window will show up, showing you every option available for the mod.
Panel
As requested, I added a physical panel for the ship's inventory. Sadly, it only shows information. To be more precise, it shows the status of the chute and some random text.
Configs
The mod gives a lot of variety in terms of customizability. This is a list of all the configs available. Note that the description are different here and in the mod.
Name | Description |
---|---|
Blacklist | List of items that are not allowed in the chute. This is a restriction on top of the current one. |
Retrieve rate | Time between each spawn (to prevent freezes/crashes) |
In Orbit | Prevents to put items inside (in case you find it OP) |
Safe once stored | If checked, the inventory won't be wiped out when the crew wipes out |
Max Capacity | Limit of items in the chute (to prevent excessive lag) |
Save/Load
When the host saves or loads a save file, the mod will add the stored items inside the file to read them when loading.
Note that it uses the default method of saving items
Compatibility
The mod is compatible with mods that fetch the total value of the ship (like General Improvements or Ship Loot). However, it is not compatible with mods that allow you to sell scrap via the terminal. The game considers the inventory as a single item.
CHANGELOG
Changelog
1.1.4(2024-09-28)
Fixes:
- The inventory now clears only when all players died
1.1.3 (2024-09-28)
Additions:
- Added a new config
Changes:
- Use InteractiveTerminalAPI paging system
- Use InteractiveTerminalAPI exit key to go back
- Always return the user to the last menu they were in
- Shows the "copyright" on every screen
- Changed some texts to be more polite
- Changed the default value for YesPlease
Fixes:
- Fixed the method ItemManager.GetInstances
1.1.2 (2024-09-27)
Additions:
- Added soft compatibility with LethalConfig
- Added a new config (YesPlease)
Changes:
- Replaced the Steam ID by the username
- Removed the ability to change the language used through LethalConfig
- Removed the VentProp.cs component from the chute, making it not a grabbable
Fixes:
- Fixed how the items are chosen to be allowed
- Fixed bugs with ShipApplication.cs
- Fixed how items spawn from the chute
1.1.1 (2024-09-08)
Additions:
- Added localization support
- Added 2 configs
- Added that the inventory resets when fired
1.0.4 (2024-08-25)
Additions:
- Added cycling idle information (total, amount)
- Added method in ItemManager that returns the sum of the items stored
- Added 6 new configs
- Added a proper icon
Changes:
- Organized the configs by sections
Fixes:
- Fixed the unlockable bug(?)
- Fixed a bug with the blacklist not updating upon joining
1.0.3 (2024-08-16)
Additions:
- Added UI from Interactive Terminal API
- Added a blacklist for the items allowed
- Added a cooldown for the item spawn
- Added multiple configs
- Added a panel to see the status of the chute
Fixes:
- Fixed a duplication glitch
1.0.2 (2024-08-8)
Additions:
- Added the command 'retrieve all'
- Added the command 'retrieve random'
- Added a separate class to manage the items
- Added a blacklist for the items allowed inside
Changes:
- The chute removes the radar icon of the items put inside it
- The chute removes its own radar icon
- How the terminal displays the different texts
- Removed the command 'retrieve [amount]'
- Cleaned the class ItemData
- Cleaned the methods in Terminal_Patches
Fixes:
- The chute doesn't save when the other items save
- Fixed the random clearing of the chute (only clears when all players died)
- Fixed an error inside the player request
- The chute now doesn't count towards the day quota
- The chute loads empty when no items were saved in the save file
1.0.1 (2024-08-07)
Additions:
- Unity Assets for this mod
- Clearing the inventory upon a loss
- License to the mod (oops)
Changes:
- Now compatible with other scanning mods
- When the ship's inventory gets cleared
- Removed redundant code
- Removed the target check for an item request
Fixes:
- Fixed typos
- Fixed problems related to the object Chute
- Fixed the spawn of items from the chute
- Fixed the scan node for the chute
1.0.0 (2024-08-07)
- Mod itself :3