
Lethal Company
You are viewing a potentially older version of this package. View Latest Version

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.
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.
MergeItems and merges items of the same internal name when they are within MergeDistance. Merged item values are summed but never exceed MaxMergeValue.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.
Heavily based on work by MeGaGiGaGon (ScrapMerging) — credit to MeGaGiGaGon for inspiration and reference implementation ideas.