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

LocalDeposit

V81 Host-Only Clientside version of HQoL

Date uploaded 3 days ago
Version 1.1.7
Download link Crispy_Depression-LocalDeposit-1.1.7.zip
Downloads 35
Dependency string Crispy_Depression-LocalDeposit-1.1.7

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

V81 host-only QoL mod inspired by HQoL that reduces ship lag due to Dine being a big fat meanie lag machine

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.

WARNING

Crashing or Alt+F4 removes all saved scrap into nothingness so keep a spare savefile when using this mod

How It Works

  • Physically deletes all scrap and convert them into stored value in terminal
  • Shows the total deposited value in blue in the terminal
  • Preserves item values
  • /undeposit happens at the end of the day or when quitting normally so the savefile saves the values

Commands

  • /deposit — Deposit scrap.
  • /deposit -b — Deposit with blacklisted items.
  • /deposit --list or /deposit -l — List deposited items.
  • /deposit --help or /deposit -h — 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

  • Undepositing thousands of items can cause lag.
  • Avoid Alt+F4: Use ESC → Leave Game whenever possible.
  • Crashing while items are deposited does not restore them (see the warning above).
  • 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.