You are viewing a potentially older version of this package. View all versions.
achachala-LostAndFound-0.2.2 icon

LostAndFound

Purchasable furniture that retreives equipment lost on death after the mission ends. Dying is punishing enough! Interact with the can while it is blinking to retreive items. Host and all clients required.

Date uploaded 2 weeks ago
Version 0.2.2
Download link achachala-LostAndFound-0.2.2.zip
Downloads 566
Dependency string achachala-LostAndFound-0.2.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
Evaisa-LethalLib-1.2.0 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 1.2.0

README

Lost and Found

Version 0.2.2 — for Lethal Company v81

A purchasable furniture item that retreives employee equipment that would normally be lost upon death. Dying is punishing enough, you shouldn't lose your belt bag full of equipment too! Interact with the trash can after a mission to empty its contents. Host and all clients required.

The LostAndFound blinks when items are inside and ready to be retreived.

The bin can only be emptied while landed or stationary in orbit, in order to prevent items from flying off.

How it works

  • Buy Lost and Found from the terminal store’s ship upgrades for 200 credits by default. The bin starts in the middle of the ship. Press B to move it using normal furniture controls.
  • Equipment held at death is tracked in normal inventory slots, extra inventory slots, the utility slot, and inside carried belt bags.
  • Once the bin is purchased, at departure eligible items are collected into the bin. Non-scrap equipment and terminal store items qualify; ordinary scrap is left behind.
  • Revival does not cancel recovery. Equipment picked up by any living player, including its revived owner, is removed from the recovery list.
  • Picking up a belt bag also removes its contents from the recovery list. If the new holder dies, their equipment is tracked again.
  • After an item has been picked up, voluntarily dropping it does not make it eligible again. It must be part of a new death drop.
  • Look at the bin and press E to dump all available contents onto the floor in front of it. Rebound controls follow your game settings.

Unclaimed contents are saved with the host's save file, including native item save data and battery charge. Contents survive a team wipe and are cleared when the ship is reset after being fired. Storing the furniture does not empty the bin either!

The host can adjust Store > BinPrice from 100 to 1,000 credits. The price syncs to all clients. Bin contents save alongside the ship inventory; quitting an unfinished mission restores the previous saved bin contents.

Installation

The host and every client need this mod, BepInExPack, and LethalLib 1.2.0 or newer.

Compatibility notes

The mod collects existing dropped items; it cannot recover equipment that despawns or is deleted in any way (like falling into the water on gordion, or falling out of the map in some way).

CHANGELOG

Changelog

0.2.4

  • Added an optional recovery fee (host config, off by default): 0–50% of each item's store price, shown when hovering over the bin.
  • New mod icon.

0.2.3

  • New bin model with a lid and pedal that animate when emptied.
  • Fixed item duplication, lost items and Company-visit tracking bugs.
  • Fixed log spam and "Value: $0" on recovered equipment.
  • Emptying is blocked as soon as the landing lever is pulled.

0.2.2

  • Updated the package icon.

0.2.1

  • Added a host-synced bin price setting from 100 to 1000 credits (default 200).
  • Save bin contents alongside the ship inventory to prevent duplication after quitting an unfinished mission.

0.2.0

  • Block emptying during landing, takeoff and travel; re-enable when landed or stationary in orbit.
  • Added sound when recovered items are emptied from the bin, and a sound when the bin is empty.
  • Removed the SecondsBetweenUses setting and fixed the button cooldown at two seconds.

0.1.9

  • Updated the package icon and description.
  • Added an amber lamp on the lid that blinks while recovered items are waiting in the bin.
  • Synced the ready state to all clients, including late joiners; lamp turns off when empty.

0.1.8

  • Explicitly allow spray paint cans as recoverable equipment.
  • Match cloned store item definitions by item and prefab name.
  • Do not treat a dropped item as held merely because its former holder has revived.
  • Log the name and type of excluded death-dropped items.

0.1.7

  • Collect only after ShipLeave begins; mid-mission revival no longer triggers collection.
  • Cancel queued recovery when the original network item is retrieved, including belt bag contents.
  • Check that the original despawns and refuse to issue a replacement while that original is still present.

0.1.6

  • Removed the plugin OnDestroy callback so destroying the loader component does not unpatch the mod.
  • Kept normal network disconnect and session cleanup.

0.1.5

  • Changed the furniture from automatically unlocked to a terminal store purchase for 200 credits.
  • Listed as an always-available ship upgrade; retains native movement, storage and saves.

0.1.4

  • Keep death-drop recovery claims after mid-mission revival.
  • Collect unretrieved death-dropped equipment regardless of its owner's current life state.
  • Cancel recovery when any living player, including the revived owner, retrieves an item or belt bag.
  • Support repeated deaths during one mission and clear old world-item claims when a new mission starts.

0.1.3

  • Stage inventory snapshots before death and commit recovery claims only after death is confirmed.
  • Prevent stale victim inventory from cancelling its own recovery claims.
  • Run a final departure collection before crew revival clears tracking.
  • Ignore stale references to dead holders when a dropped item is no longer held.
  • Add death, collection, skip-reason, and empty-request diagnostics.

0.1.2

  • Recover equipment stored inside dead players' belt bags, including nested native belt bags.
  • Return bags and collected contents as separate loose items.
  • Cancel recovery of bag contents when a teammate retrieves the bag.
  • Collect contents before bags and synchronize removals to prevent duplicates or stale bag entries.

0.1.1

  • Removed the green button from the trash can model. Interact with the can as usual.
  • Moved the plugin folder to the ZIP root.

0.1.0

  • Added free, movable Lost and Found trash can furniture.
  • Added host-authoritative recovery of dead players' dropped equipment at departure, including utility-slot equipment.
  • Added interaction to empty the bin in front of it.
  • Added persistent unclaimed contents and restoration of native item data and battery charge.