KawaiiBone-Remnants icon

Remnants

Adds store items as scrap, to be found on moons as scrap in Lethal Company. You can now also find the bodies of previous crews accompanying their former gear.

Last updated 2 weeks ago
Total downloads 409217
Total rating 45 
Categories Mods Items
Dependency string KawaiiBone-Remnants-1.3.9
Dependants 371 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Evaisa-LethalLib-0.16.1 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 0.16.1
Evaisa-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.5

README

Remnants

Why pay corporate for it if you can just find it out in the wild? Let out your inner scavenger and find the tools that were left behind by former, less fortunate employees.

This mod spreads items from the store around on the moons for you to find along with your usual scrap. Battery levels may vary. For full battery levels, consult the Lethal Company store.

Adds store items as scrap, to be found on moons as scrap in Lethal Company. Along this, there is a small chance that you will find a corpse along the scrap you find.

Mechanics:

Register store items as scrap, also known as remnant items.

This mod takes the game's store items and registers them as scrap, so you can find these store items on moons alongside other scrap. Remnant items that use a battery will have a random battery charge to make it seem as if they have been used. This mod is also compatible with other mods that add more items to the game, which means that you can find modded store items on moons as well. With that, remnant items can now be stored in the beltbag.

Spawn bodies near remnant items.

Now there is a chance that a body will spawn near a remnant item. There are four different types of bodies (default body, cocooned body, spring body, and head burst body). Each of these body types have unique enemies ascribed to them to determine which body is spawned in. As such, depending on the moon and the enemies that spawn there, a different body will spawn. Based on the enemy's spawn rate, their linked body types will also spawn more or less. For example: on your current moon, there is a high chance for a spider to spawn, so, when a body spawns, it is far more likely to be a cocooned body. The bodies used were part of the original version of Lethal Company, but they are loaded in via an asset bundle for easier access to the bodies.

Config

Here's what you can edit and change via the config.

Remnant items:

  • The minimum and maximum spawn chance (rarity) on all moons.
  • The individual minimum and maximum spawn chance (rarity) for vanilla moons.
  • The individual minimum and maximum spawn chance (rarity) for modded moons.
  • You can choose if you want a general rarity for all moons or a unique value for each moon.
  • The battery charge of remnant items with a minimum and maximum charge.
  • A list of banned items, preventing these items from being registered as scrap and becoming remnant items.
  • Choosing spawn options per item, using credit cost, choosing your own spawn rarity or disabling spawning entirely.
  • Makes you able to edit the minimum and maximum scrap cost of remnant items via the config.
  • A list of scrap items that you can add in acting as remnant items for body spawning and randomizing batteries.
  • Disable or enable the remnant items to be stored in the beltbag item.
  • Disable or enable the terminal to be able to scan remnant items.

Spawning remnant items:

  • The minimum and maximum remnant items spawned on moons.
  • A modifier that increases the amount of remnant items that spawns on moons, depending on the risk level of that moon.
  • The maximum duplicates of the same remnant item that can spawn on a moon.
  • The minimum and maximum remnant items found on a body.

Spawning remnant items: (legacy spawning)

  • Use legacy spawning, spawning like normal scrap. This will prevent the other way of spawning remnant items.
  • Increasing the maximum spawning pool of scrap so there will be enough normal scrap to find.

Body spawning:

  • To make them grabbbable with a scrap value or have them just as a prop and non interactable.
  • The minimum and maximum scrap value of a body.
  • The spawn chance of bodies.
  • The body spawn modifier in relation to the moon risk level.
  • Banning suits from being put on bodies.

Save/Load:

  • Save remnant items.
  • Despawn remnant items on party wipe, do take note that this feature uses the old despawning method and may cause issues.
  • Despawn all remnant items regardless where they are when leaving a moon.
  • A list of banned items, preventing these items from being saved on the ship.

Now also compatible with Lethal Config.

Installing

This mod is also available on the thunderstore website.

If you want to download this mod manually, you should know that it is dependent on BepInEx and Lethal Lib. When the dependencies are added, you can just copy the files in the plugins folder and add them in the BepInEx plugins folder.

Feedback and issues

If you find any bugs, issues, or have any feedback on how to improve the mod, you are always welcome to share it here on Github, Unofficial Lethal Company discord or on the LC Modding discord. When you report an issue, please be sure to add the error in question and what other mods you were using at the time of the error. This way I can easily find the bug and patch it.

Known Issues

Odd body behaviour

The scrap bodies you can find via this mod are at odd angles and might be annoying if you want to carry them. This is because the bodies shake too much before setting into position. If anyone has a good way of fixing this issue, be sure to let me know.

Possible incompatibilities

This mod has an issue that the normal game does not detect remnant items that easily, so to fix this issue it has to edit the despawning and saving of items. By doing so, it can create some incompatibilities with other mods, normally the despawning of remnant items should be fine. But saving can cause some issues and make it so that remnant items are not saved at all due to incompatibilities with other mods. Normally this should not break the gameplay of that mod, if you want to be sure you can go and disable remnant items from saving in the config. If there are other compatibility issues with other mods, there is a big chance that it can be fixed via the config.

Credits

I would like to thank the following people for the assistance their work and efforts have provided in creating the Remnants Mod:

  • Lethal company modding wiki and its authors: For giving a very clear overview on how to create a mod.
  • MrMiinxx: To their easy-to-follow guides on how to start programming a mod for Lethal Company.
  • Bepinex and Harmony: For providing their framework and library. Without this, modding would be very difficult.
  • Lethallib: This library made it easier to create this mod and taught me a lot about how the game and modding works.

Because of these people and their resources and contributions, I had everything I needed to start making the Remnants Mod and to further develop it.

The following mods were a great inspiration for the creation of the Remnants Mod:

  • BuyableShotgunShells: An easy way to find objects in the game.
  • Monsterdrops: Making it easier to synchronize scrap values on the network.
  • Batteries: For finding a way to make items spawn in a more unique and separate way.

A special thanks to Sapphy for supporting and aiding me with editing and cleaning up the public texts. If you want to support her or check out her work, you can find her on Amazon!

And finally, I want to thank all of you for giving lots of feedback and support. I really appreciate it! I couldn't have made this mod into what it is now without all the bug reports, feature requests, and other helpful feedback.