You are viewing a potentially older version of this package. View all versions.
Crispy_Depression-LocalDeposit-1.1.6 icon

LocalDeposit

Host-only /deposit scrap storage to cut ship lag. Blue deposited total on the terminal, restores items before saving and on leaving. Disabled when HQoL is installed.

Date uploaded 4 days ago
Version 1.1.6
Download link Crispy_Depression-LocalDeposit-1.1.6.zip
Downloads 28
Dependency string Crispy_Depression-LocalDeposit-1.1.6

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2304

README

LocalDeposit

A host-only QoL mod inspired by HQoL that reduces ship lag by storing scrap in memory instead of leaving it lying around.

HQoL remains the recommended choice because it's recognized by the HighQuotaHQ community. LocalDeposit is an alternative for hosts who want similar deposit functionality without requiring other players to install the same modpack.

If HQoL is installed, LocalDeposit's commands are disabled and HQoL takes precedence.

How It Works

  • Deposits scrap to reduce ship lag for everyone (3–6k+ items, looking at you, Dine).
  • Shows the total deposited value in blue in the terminal.
  • Preserves item values.
  • Restores items before saving and when leaving normally (not during crashes or Alt+F4).

Commands

  • /deposit — Deposit scrap.
  • /deposit -b — Deposit with blacklist reporting.
  • /deposit --list or /deposit -l — List deposited items.
  • /deposit --help — Show command help.
  • /undeposit — Restore all deposited scrap.

Excluded: Tools, equipment, Gift Boxes, player-held items, items outside the ship, and furniture-attached items.

Blacklisted by default: Knives and shotguns.

Config

Config file: BepInEx/config/local.deposit.lethalcompany.cfg

  • Blacklist: Exclude items by identifier; partial matching is supported.
  • PlainDepositUsesBlacklist: Apply the blacklist to /deposit.
  • SkipItemsOnShipFurniture: Skip furniture-attached items.
  • AutosaveMode:
    • RestoreOnly (default) — Restore items before saving.
    • RestoreSaveRedeposit — Restore for saving, then deposit again.
  • SkipSaveIfItemsCannotBeRestored: Prevent unsafe saves.
  • LogItemIdentifiers: Log item identifiers for blacklist setup.

Item identifiers were found using ShipSort alongside Unity Explorer.

Known Issues

  • Saving thousands of items can cause lag.
  • Avoid Alt+F4: Use ESC → Leave Game whenever possible.
  • Vanilla saves support only 45 ship items; use TooManyItems to increase the limit.
  • Do not use HQoL's deposit/storage feature alongside LocalDeposit. If HQoL is installed, LocalDeposit's commands are disabled.

CHANGELOG

Changelog

1.1.7

  • New icon, shorter Thunderstore summary, rewritten README.

1.1.6

  • HQoL takes precedence: if HQoL is loaded, /deposit and /undeposit do nothing and print a message saying so.
  • Thunderstore README rewritten; detailed notes moved to docs/DETAILS.md.

1.1.5

  • Host check is enforced inside the deposit/restore/save code too, not only in the command handler. Non-hosts cannot use the mod.

1.1.4

  • Default blacklist now lists the confirmed asset names ShotgunItem and KnifeItem.

1.1.3

  • Plain /deposit now applies the blacklist by default (PlainDepositUsesBlacklist = true).
  • Blacklist entries match partially by default (PartialMatch): knife matches Kitchen knife.
  • New SkipItemsOnShipFurniture option: items in the cabinet/on shelves were skipped by a furniture rule, unrelated to the blacklist.

1.1.2

  • Fix: Alt+F4 / quit could overwrite your save with a ship missing the deposited items (the game saves during quit while the network is already shutting down, so the restore could not run). The mod now SKIPS any save it cannot make complete (SkipSaveIfItemsCannotBeRestored, default true), so the previous save file stays intact.

1.1.1

  • Default AutosaveMode is now RestoreOnly (undeposit before every save, leave items on the ship).
  • Docs: vanilla only saves 45 ship items; a cap-raising mod is required.

1.1.0

  • Autosave bracket: deposited items are respawned for the duration of every vanilla save and removed again right after (AutosaveMode = RestoreSaveRedeposit, default), so every save contains them and a crash cannot lose them.
  • AutosaveMode = RestoreOnly: restore before each save and leave the items on the ship.
  • Re-deposit failure leaves the item on the ship and shows a warning; items are never dropped or duplicated.
  • Pure state machine with a fault-injection test suite in tests/GuardTests.

1.0.0

  • Initial release: /deposit, /deposit -b, /deposit --list, /undeposit, blue terminal total, blacklist config, automatic undeposit on leaving the game.