LethalCompanyShipMaid
A mod where the ship and the storage closet is cleaned up when you press the associated keybinding within the ship.
Usage
- Press 'M' to cleanup the ship and closet
- Press 'N' to cleanup the storage closet only
- Press 'J' to set an objects placement location (if position overrides enabled)
- Make sure that any players that you play with also have the mod installed for them to see the organized loot change positions.
Features
Basics
- Keypresses will organize each item type in groups by the name of the item
- Change these settings in the settings menu (InputUtils)
- Ship cleanup default keybinding is 'M'
- By default all objects not on the 'ClosetLocationOverride' list are organized
- You can override specific items to not be sorted by adding them to the config setting 'SortingDisabledList'
- Closet cleanup default keybinding is 'N'
- Items in the closet will be staggered slightly to the right of the 'first' item
- Can override which objects get automatically placed in the storage closet using Config setting 'ClosetLocationOverride'
- Set object location default keybinding is 'J'
- If UseOneHandedPlacementOverrides / UseTwoHandedPlacementOverrides / UseItemTypePlacementOverrides is enabled, pressing this keybind will log the location of the given item for future organization requests
- Object override locations are stored in the config file and will persist into other game files
- Organization Methods
- Placement position overrides (3 Config Options)
- One-Handed Position Override
- If enabled, all one-handed objects will be placed in a single location
- Position is set either manually by the config file or by pressing J or whatever keybind you have set by 'SetObjectTypePositionKey'
- Two-Handed Position Override
- If enabled, all two-handed objects will be placed in a single location
- Position is set either manually by the config file or by pressing J or whatever keybind you have set by 'SetObjectTypePositionKey'
- Item Type Position Override
- If enabled, all objects that have override locations will be placed in their designated location
- Position is set either manually by the config file or by pressing J or whatever keybind you have set by 'SetObjectTypePositionKey'
- [ItemPlacementOverrideOffsetRotation] and [ItemPlacementOverrideOffsetPosition] allows for items to not be directly placed on each other in PositionOverride modes
- Randomized placement (Without position overrides)
- Items now are organized by [Value] by default, the futher from the door, the higher the value. Can also be [Stack]-ed to place all objects of a type directly ontop of each other (See config setting 'ItemGrouping')
- Items are grouped in two locations, front of ship and back of ship (See config setting 'TwoHandedItemLocation')
- Items can be strewn accross the ship [Loose]-ly or [Tight]-ly packed on the wall opposite the default location of the Storage Closet (See config setting 'OrganizationTechniques')
Config File Parameters
Changes
-
V4.0.3
- Added shotgun organization by ammo capacity. (Thanks to jcsnider for the suggestion)
- See new configuration options [OrganizeShotgunByAmmo] and [ShotgunPlacementOverrideLocation]
-
V4.0.2
- Updates to closet location calculation. No longer using door locations for bounds, which should result more consistent organization. (Thanks to UmaLPZ)
- Improving handling of a rotated storage closet to position items more intelligently in this case.
-
V4.0.1
- Keybinds are now handled by InputUtils and accessible in the settings menu in-game. (Thanks to CatsArmy)
- Now preventing the organization of items while the ship is moving (!shipHasLanded). Should allow organization while not on a ship (inShipPhase). (Thanks to Jonteiro)
-
V4.0.0
- Introduced configuration settings for randomizing both position and rotation on object cleanups (Thanks to Jonteiro)
- See configuration settings [ItemPlacementOverrideOffsetRotation] and [ItemPlacementOverrideOffsetPosition]
- WARNING: This will break compatibility between previous versions of the plugin. Make sure all players are upto date on the plugin to not have issues.
-
V3.2.7
- Made a guard for moving items that are inside of the LateGamesUpgrade wheelbarrow due to a reported game crash (Thanks to GrantisMantis)
- Guarded the keybinds when the user is typing in chat (Thanks to jcsnider)
-
V3.2.6
- Adjusted valid positions to include the whole ship (The rear of the ship was excluded due to assumptions from previous organization methods)
- Improved the position bounds for edges of ship (front is narrower than the rear of ship)
- Addressed regex not including items with nubmers in name (Specifically the Magic 7 Ball).
- Thanks to jcsnider for helping to identify these issues
-
V3.2.5
- Overhauled some backend networking things to be compliant around either LC-API or other mods that were breaking things
- Thanks to HiiJustin for the relaying information
-
V3.2.4
- Introduced the configuration file handling of item positions for all placement overrides
- Now placements locations for all overrides are stored in the config file and will persist across game resets and different save files.
- Thanks to jcsnider for the pushing to develop this feature
-
V3.2.3
- Patched issue with one handed object location settings being incorrectly stored
- Thanks to jcsnider for the finding this issue
-
V3.2.2
- Update readme for additional information and fixed old descriptions
-
V3.2.1
- A minor patch fix for possible conflicting configuration issues
-
V3.2.0
- Added custom placement options (set locations with 'J' or whatever key you bind)
- Place all two handed objects in the same location using UseTwoHandedPlacementOverrides=[Enabled]
- Place all one handed objects in the same location using UseOneHandedPlacementOverrides=[Enabled]
- Place all items of a given type in the same location using UseItemTypePlacementOverrides=[Enabled]
-
V3.1.1
- Fixed an issue where loot was landing either on the storage closet or in the suit rack area
-
V3.1.0
- Improved the handling of the bounds of the ship and storage closet to prevent items from clipping out of the ship.
- Thanks to nontheoretical for finding the issue.
-
V3.0.1
- Fixes
- Fixed a bug where modified scrap levels would teleport outside of ship when sorted by value
- Features
- Added a blacklist to sorting (Thanks to nontheoretical for the suggestion)
-
V3.0.0
- Introduced a configuration system that will allow the customization and tailoring of the mod to your liking
- Began working on ship storage closet functionality now that the ship functionality is ironing out.
- Added Oranization configuration for stacking / spacing
- Added closet override for defaulting storage location to closet for a customized list of items
-
V2.1.1
- Adjusted loot placement to avoid suit rack
-
V2.1.0
- Updated the networking for better tying to client side functions
-
V2.0.0
- Made the system network compatible (definitely buggy)
-
V1.1.0
- The main control of the mod is now through keybinds.
- Pressing 'm' will organize ship objects
- Pressing 'n' will organize the ship's closet
Installation
- Install BepInEx
- Run game once with BepInEx installed to generate folders/files
- Drop the DLL inside of the BepInEx/plugins folder
- No further steps needed
Feedback
- Feel free to leave feedback or requests at my github.
Buy me a beer
Buy me a beer