TooMuchScrap NoDependency
A small mod for Lethal Company that reduces onboard item clutter and lag by letting players merge items of the same type with a /merge chat command.
| Last updated | 28 minutes ago |
| Total downloads | 12 |
| Total rating | 0 |
| Categories | Mods Tools BepInEx Server-side Items Performance Tweaks & Quality Of Life |
| Dependency string | abu-TooMuchScrap_NoDependency-1.1.0 |
| Dependants | 0 other packages depend on this package |
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.2100README
TooMuchScrap — Lethal Company Mod
A small mod for Lethal Company that reduces onboard item clutter and lag by letting players merge items of the same type with a single command. Use the /merge command to combine nearby identical items into a single instance, summing their values up to a configurable cap.
Warning (Host-only command)
Only the game host can run the /merge command — clients cannot execute it. Clients do not need the mod installed to join; only the host/server needs the mod for merging to work.
Features
- Merge items of the same internal type when they are close to each other.
- Reduce entity count and server/client lag.
- Configurable merge distance, maximum merged value, and which item types are eligible.
Usage
- In-game or server console, run: /merge
- The command scans for items listed in
MergeItemsand merges items of the same internal name when they are withinMergeDistance. Merged item values are summed but never exceedMaxMergeValue.
Configuration
- "MergeDistance": max distance (units) between items to consider them for merging.
- "MaxMergeValue": maximum numeric value an item can have after merging (merged totals are clamped to this value).
- "MergeItems": comma separated list of internal item names that should be considered for merging. Default:
HeartContainer,SeveredHandLOD0,SeveredFootLOD0,SeveredThighLOD0,Bone,RibcageBone,Ear,Tongue(Dine items). Edit this comma-separated list to add or remove items.
You do not need to restart the game after editing the config.
If you cannot find the internal item name for a scrap you can use the /itemnames included in the ShipSort mod from baer1 to list the items on ship
Credits
Heavily based on work by MeGaGiGaGon (ScrapMerging) — credit to MeGaGiGaGon for inspiration and reference implementation ideas.