TooMuchScrap
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 | 3 weeks ago |
| Total downloads | 738 |
| Total rating | 1 |
| Categories | Mods Tools BepInEx Server-side Items Performance Tweaks & Quality Of Life |
| Dependency string | abu-TooMuchScrap-1.2.2 |
| 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.
If you had the mod before 1.2.0 or if you have ChatCommandAPI change the command prefix in one of the mods to avoid conflicts
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. - "PrefixChar": Command prefix (Requires game restart after changes)
- "CompanyOnly": true/false — Whether to merge items only while at the Company building.
- "AutoMerge": true/false — Whether to automatically merge items after leaving a moon. Note: if "CompanyOnly" is True, auto-merge will only run when at the Company building.
You do not need to restart the game after editing the config.
Credits
Heavily based on work by MeGaGiGaGon (ScrapMerging) — credit to MeGaGiGaGon for inspiration and reference implementation ideas.