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

LocalDeposit

V81 Host-Only Clientside version of HQoL

Date uploaded 2 weeks ago
Version 3.2.0
Download link Crispy_Depression-LocalDeposit-3.2.0.zip
Downloads 16
Dependency string Crispy_Depression-LocalDeposit-3.2.0

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 (/deposit version)

  • Physically deletes all scrap and convert them into stored value in terminal
  • Shows the total deposited value in the terminal (a rainbow by default, color is configurable)
  • Preserves item values
  • Everything deposited (scrap AND tools) is physically put back on the ship before the game saves: at the end of the day, when quitting normally, and right before any save. The vanilla savefile cannot see stored items, so this always happens.

Commands

  • /deposit — Deposit scrap.

  • /deposit -b — Deposit with blacklisted items.

  • /deposit -a or /deposit --all — Deposit everything, ignoring the blacklist (Gift Boxes are still never touched).

  • /deposit --list or /deposit -l — List deposited items.

  • /deposit -diag — Short health check: versions, game members found, broadcast and color settings, what is deposited.

  • /deposit -t or /deposit --tools — Deposit extra tools (see Tool Deposit below).

  • /deposit --help or /deposit -h — Show command help.

  • /undeposit — Restore all deposited scrap (big amounts are restored in batches so the game does not freeze).

  • /undeposit -t or /undeposit --tools — Bring deposited tools back.

  • /tools -l or /tools --list — List every tool as Weed killer 60/60 (30) (on the ship / keep limit (stored)).

  • /tools -r or /tools --restock — Refill tools on the ship from storage (see Tool Deposit below).

  • /tools -b or /tools --buy — Buy the tools you are short of from the terminal store (asks first).

  • /tools -ar or /tools --autorestock — Turn AutoRestock on or off until the game is closed.

  • /undeposit -r (or --recover) — After a crash: review deposits found in the crash journal, then c to import them or d to cancel. --discard forgets them. See Safety features.

  • /broadcast (or /announce) — Turn short chat broadcasts on or off. Default on.

  • /save — Save the game now (orbit only). See Saving below.

  • /save -1 to /save -9 — Save into a numbered slot file.

  • /save -9 -n:"Dine Save" — Save into a slot with a name.

All commands are typed in the ship terminal. Chat commands are not used.

Confirming (c / d)

/sell, /merge and /undeposit -r never act straight away. They show a preview, like:

preview - nothing would be merged yet
Would merge 83 items into 1 Heartcontainer worth $50000.
confirm or deny type /c or /d in terminal

Type /c (or just c) to confirm, /d (or d) to deny, in the terminal. Any start of the word works: c, co, conf, d, de, deny. A waiting preview expires after 60 seconds and any new command replaces it. On confirm the command runs again against the ship as it is at that moment.

/deposit, a plain /undeposit, the tool commands and Merge Always run immediately.

How it works (less lag /merge version)

  • /merge turns all your scrap into one item that holds all the value.
  • You can still sell from that item. If the item is worth more than what you are selling, the mod does not sell the whole thing. It takes only the amount you need off its value and puts just that piece on the desk. The rest stays on the ship.
  • Example: the quota is 1000 and you have one item worth 10000. /sell quota takes 1000 off it and sells that. The item stays on the ship, now worth 9000.

Tool Deposit

/deposit -t keeps only a set amount of each tool on the ship and deposits the rest. /undeposit -t brings them back.

  • The list is in its own file, Crispy_Depression.LocalDeposit.ToolDeposit.cfg, one number per tool.
  • The ship keeps that number x 2. Example: Weed killer = 30 keeps 60. With 100 on the ship, 40 are deposited.
  • -1 skips a tool. Tools in hands, in pockets, used up, or with an empty battery are never deposited (a respawned tool would come back charged). Tools on ship shelves or in the closet are deposited.
  • Nothing is deposited when a tool is at or under its limit.
  • What the terminal shows: after /deposit -t (and /tools -r) every configured tool gets one line: Weed killer 60/60 (30).
    • 60/60 = 60 on the ship right now / the keep limit (config number x 2).
    • (30) = how many LocalDeposit is storing right now (the real stored amount). Weed killer 40/60 (0) means 40 on the ship, keep limit 60, nothing stored.
    • A tool set to -1 shows skip instead of a keep limit. Tools in hands, used up, or with an empty battery are never counted as deposited.
  • If tools above the keep amount were left on the ship, a line like Left on ship: held by someone 2, used up 1 says why.

AutoRestock

Setting AutoRestock in Crispy_Depression.LocalDeposit.ToolDeposit.cfg under [Tool Deposit]. Default true. This is the value the game starts with. It decides how stored tools come back at the end of the day.

Example: Weed killer = 30 (keep limit 60), 90 on the ship, /deposit -t stores 30 and 60 stay. During the day 20 are used: 40 on the ship, 30 stored.

  • AutoRestock = true: the 20 needed to reach the keep limit come back first (60 on the ship), then the 10 that are left come back too. 70 on the ship, nothing stored.
  • AutoRestock = false: all 30 come back at once. 70 on the ship, nothing stored.

The end result is the same on purpose. The vanilla save cannot see stored items, so a stored tool would simply be gone from your savefile. That is why ALL deposited tools (and all deposited scrap) are physically put back on the ship before the game saves, whatever AutoRestock says. AutoRestock only decides the order; it never leaves tools in storage overnight. Quitting or crashing mid-day is covered by the same safety systems as scrap (see Safety features).

Listing, refilling by hand and turning AutoRestock on or off

  • /tools -l (or --list): shows every configured tool as Weed killer 60/60 (30) and whether AutoRestock is on. Changes nothing.

  • /tools -r (or --restock): checks every configured tool. If the ship has fewer than the keep limit, stored tools come back until the limit is reached or storage runs out. It never goes above the keep limit and never creates a tool (it only brings back tools that were deposited). Works when AutoRestock is off. It shows what was restocked and what is still stored. Tools that are still stored all come back at the end of the day anyway.

  • /tools -ar (or --autorestock): turns AutoRestock on or off and shows AutoRestock: ON or AutoRestock: OFF. This lasts only until you close the game. It does not change the config file, so the next time you start the game AutoRestock is back to the value in the config (true by default), even if you had turned it off. To change the starting value, edit AutoRestock in the ToolDeposit cfg.

  • /deposit -t -l lists deposited tools. Tools are never sold or merged.

Buying what you are short of (/tools -b)

/tools -b (or --buy) orders every tool that is below its keep limit from the terminal store, so you do not have to type each purchase. Example: 30/40 Pro-flashlights means it orders 10.

  • It asks first. It shows what it would order and what it costs, then waits for c (buy) or d (cancel), like /sell and /merge. Nothing is paid before you confirm.
  • Most important first (the BuyPriority setting): Weed killer, TZP-Inhalant, Stun grenade, Shovel, Belt bag, Spray paint, then the cheaper tools (Walkie-talkie, Flashlight, Lockpicker, Pro-flashlight, Boombox, Extension ladder, Radar-booster), and Zap gun and Jetpack last. You can change the order in the ToolDeposit cfg: a comma-separated list of tool names, tools you leave out are bought last.
  • It never buys twice. Tools on the ship, tools stored by LocalDeposit and tools already ordered but not delivered yet all count as owned. Run /tools -b again and it says "Nothing to buy".
  • Limits: your credits and the dropship (12 items per order, setting BuyMaxItems). The order follows the priority list, so the important tools are bought first. If something is left, it says Still short: ...: run /tools -b again after the delivery. Today's sale prices are used.
  • Tools the terminal does not sell (Key, Shotgun, Ammo, Kitchen knife) are reported as Not sold at the terminal.
  • It uses the game's own purchase, so the dropship delivers as usual. The result is announced like the other commands (Bought 12 tools for $630).

Merging

Combine lots of scrap into ONE item worth the total (great for Dine). Host only, terminal only, always available.

  • /merge — Merge all ship scrap and deposited scrap into one item.
  • /merge -o (--outside) — Also include loose scrap outside the ship.
  • /merge -a (--all) — Also merge blacklisted items.
  • /merge -r (--random) — Merge into a random item that is on the ship. Each kind on the ship has the same chance.
  • /merge -tr (--truerandom) — Merge into a random item of any kind, on the ship or not (same chance for each kind).
  • Random merges never pick a blacklisted item (Gift Box, Kitchen knife, Shotgun by default; see [Blacklist] Items). Also never picked: Body, Apparatus, Maneater, Egg (kiwi) and Gift.

Where the merged item ends up (the same for /merge, /merge -r and Merge Always):

  1. At the item of the merge type with the highest value, even if another item on the ship is worth more. Example: a Robot worth 1000 and a Heartcontainer worth 100: it merges at the Heart. With a Heart worth 10000 and a Robot worth 1000: also at the Heart. That item is kept and grows, so it does not move.
  2. If there is none of that type, at the highest-value item being merged (a new item of the merge type appears there).

It never picks a random spot. The message names the result, for example Merged 100 items into 1 Heartcontainer worth $20000.

Merge Item decides what everything becomes:

  • An item name like Heartcontainer (the default) or Zeddog: always that item, even if it isn't lootable on the moon. A wrong name uses Random.
  • Random: a random scrap kind from the ship (same as /merge -r). Never a blacklisted item, so 100 merged items never become a Gift Box, knife or shotgun.
  • TrueRandom: a random scrap kind of the whole game, on the ship or not (same as /merge -tr). Never a blacklisted item.

Gift Boxes are never merged away. /sell can also sell part of an item: with one item worth 50k, /sell 1000 puts a 1k item on the counter and the original drops to 49k (shown in the scan, or in the terminal deposit total if it was deposited).

Merge Always = true merges automatically right before the end of every day (just before the game's autosave), with no confirmation.

Don't run TooMuchScrap's /merge alongside this one; both use the same command.

Selling (terminal only)

Sell at the Company, host only. Deposited scrap is included: anything deposited that gets chosen for a sale is undeposited first, then sold.

  • /sell quota — Sell just enough scrap to fulfil the remaining quota (exact if possible, otherwise the smallest overshoot).
  • /sell all — Sell all scrap.
  • /sell <amount> — Sell scrap worth at least <amount> (1500, 2k, 1k+500). You can do maths: + - * / and brackets, like 400+300-200 or (1k+500)*2. Amounts are what you receive after the Company's buying rate.
  • /sell item <name> — Sell every item whose name contains <name>.
  • Add -a or --all to ignore the blacklist (e.g. /sell quota -a).
  • /sell <amount> -e — Count the credits you already have, so it only sells the rest.
  • /sell <amount> -o (or --overtime) — Sell LESS, because the overtime from this sale makes up the rest. Example: quota 130, last day, you want 1500: /sell 1500 -o sells about 1285 and about 215 overtime brings you to 1500 (or 1501 if exactly 1500 is not possible).
  • /sell <amount> -eo (same as -e -o) — Both: counts your credits, the overtime you already earned, and the overtime this sale adds. The preview prints the breakdown, for example Plan: $300 in terminal + $54 overtime already earned + $955 sold now + about $191 new overtime = $1500.
  • Overtime uses the game's formula: (total sold - quota) / 5 + 15 x days left. At the Company the day counts as one less than the terminal shows (on the last day that is -15), and the bonus is never below 0. It is an estimate: the game only pays it when the quota period ends, so do not sell more after this.
  • /sell bl / /sell pr — Show the blacklist / priority list.
  • /sell bl + [name], /sell bl - [name] — Add/remove a blacklisted item (no name = the item in your hands).
  • /sell pr + [name], /sell pr - [name] — Same for the priority list. Priority items are preferred when several combinations fit the amount.

/sell only exists in the terminal. Scrap inside the Company Cruiser counts as ship scrap for /sell and /merge. Clients don't need the mod; they just see the items go to the desk and their credits update.

Config

Config files (in BepInEx/config): Crispy_Depression.LocalDeposit.cfg and Crispy_Depression.LocalDeposit.ToolDeposit.cfg

[Blacklist]
Items = ShotgunItem, KnifeItem, GiftBox

[Sell]
Blacklist = ShotgunItem, KnifeItem, GiftBox
Priority = FancyLamp, LungApparatusTurnedOff, Clock, EasterEgg, ComedyMask, Tragedy, Heartcontainer

[Merge]
Merge Item = Heartcontainer
Merge Always = false

[Chat]
Broadcast = true
Broadcast Color = #FFFF00
Broadcast Prefix = [LD]
Broadcast Quota = true

[Deposit]
Value Color = Rainbow
Rainbow Speed = 1

[Debug]
LogItemIdentifiers = false
Config Version = 2

Crispy_Depression.LocalDeposit.ToolDeposit.cfg:

[Tool Deposit]
AutoRestock = true
BuyPriority = Weed killer, TZP-Inhalant, Stun grenade, Shovel, Belt bag, Spray paint, Walkie-talkie, Flashlight, Lockpicker, Pro-flashlight, Boombox, Extension ladder, Radar-booster, Zap gun, Jetpack
BuyMaxItems = 12
Boombox = 5
Flashlight = 5
Jetpack = 10
Key = 5
Lockpicker = 5
Pro-flashlight = 20
Shovel = 10
Stun grenade = 15
Extension ladder = 5
TZP-Inhalant = 15
Walkie-talkie = 10
Zap gun = 5
Radar-booster = 1
Shotgun = 5
Ammo = 5
Spray paint = 10
Kitchen knife = 3
Weed killer = 30
Belt bag = 5
  • Blacklist Items: /deposit skips these (-a ignores the list).
  • Sell Blacklist: /sell skips these (-a ignores the list).
  • Sell Priority: /sell prefers these when several combinations fit.
  • Merge Item: What /merge makes: an item name (default Heartcontainer), Random (random ship scrap, never blacklisted) or TrueRandom (any scrap kind of the game). Neither picks a blacklisted item.
  • Merge Always: Merge automatically before the end of each day.
  • Broadcast Quota: true = the sold broadcast ends with quota progress, like Quota 1285/1500. Default on.
  • Broadcast Prefix: Text before every broadcast. Default [LD]. Leave empty for none.
  • Broadcast Color: Color of broadcast text, as a hex code like #FFFF00 (yellow) or #00FF00 (green). A wrong code uses yellow.
  • Broadcast: true = post short results in everyone's chat, like Deposited 40 items worth $5200, Sold 12 items worth $1000 | overtime $231 | Quota 1000/1500, Sold $1000 from a $10000 item, Merged 100 items into 1 Heartcontainer worth $20000, Undeposited 131 items (toggle with /broadcast). Default on.
  • Value Color: Color of the deposited value $ in the terminal: Rainbow (default) or a hex code like #FF00FF (fuchsia). A wrong code uses Rainbow.
  • Rainbow Speed: How fast Rainbow cycles, in color cycles per second. Default 1. 0 = stands still.
  • BuyPriority: (ToolDeposit cfg) The order /tools -b buys in, most important first. Tool names separated by commas. Tools you leave out are bought last.
  • BuyMaxItems: (ToolDeposit cfg) How many items /tools -b orders at once. Default 12 (what the dropship holds).
  • LogItemIdentifiers: Log every item name when a lobby loads, to find names for the lists.
  • Config Version: (in [Debug]) Do not change. Lets the mod update old settings once.

Names are comma-separated and partial matches count. Use the prefab/object name of the item (KnifeItem, ShotgunItem, Clock, ...). The asset name, display name and scan name also match. Everything else is fixed: saves always restore deposited items first, and a save that would miss deposited items is skipped.

Item identifiers were found using ShipSort alongside Unity Explorer.

Requirements

  • BepInEx 5.
  • Recommended: TooManyItems (vanilla only saves 45 ship items).

Saving (/save)

Forces a save from the ship terminal, without waiting for the game to do it. Orbit only and host only (the same rules as the other commands). A challenge file cannot be saved.

  • /save — Save the current save file now.
  • /save -1 to /save -9 — Save a copy into slot file LCSaveFile1 to LCSaveFile9. Your current file stays the one in use.
  • /save -9 -n:"Dine Save" — Same, with a name: LCSaveFile9 Dine Save. A name needs a slot. Names are cleaned so they work as a file name (no \ / : * ? " < > |, at most 40 letters). Use quotes if the name has spaces.
  • Overwrite protection: if the slot file already exists, the terminal asks first. Type c to overwrite or d to cancel.
  • Deposited items are put back first, so they are in the save (the game would not save items that are not on the ship). The terminal says how many were put back.
  • /save is never broadcast to the chat. Only you see the result in the terminal.

Safety features

  • Crash journal: deposits are mirrored to a small file next to the config (never in the save), together with a checklist of the tools on the ship (flashlights, shovels, ...). After a crash, /undeposit -r shows the checklist (journal vs ship now) so you can see whether the ship loaded back the way it was. Recovery only works when the ship has ZERO scrap: if there is even one scrap item on the ship, the items are probably already in your save, so it refuses rather than risk duplicates.
  • Ship wipe (everyone dies): the game deletes all scrap on the ship, and shotguns and knives are scrap too. Stored scrap (and stored shotguns and knives) is lost in the same way: it is not brought back afterwards. Real tools (flashlights, shovels, ...) stay stored and come back as usual. A yellow line says how many stored items were lost.
  • Version check: a warning appears if the game version is not the one this mod was built for (v81), and the log has a startup self-test of the game members it needs.

Known Issues

  • Undepositing thousands of items is done in batches, but can still cause some 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.
  • /tools -b and the ship-wipe handling use game members that a game update could rename. If one is missing, only that feature stops (restoring before saving never depends on them) and /deposit -diag and the startup log list what is missing.

For developers

  • tests/GuardTests — logic tests (planning, splitting, overtime, journal, config matching). dotnet run --project tests/GuardTests works without the game.
  • tools/compat-check.sh "<game folder>" — after a game update, compiles against a publicized copy of Assembly-CSharp.dll and tells you if a game member this mod relies on has changed.
  • tools/build-with-standins.sh [--test] — builds the mod and runs the tests WITHOUT the game, against small stand-in game assemblies (tools/standin). --test also runs the logic tests and a fake-ship /sell simulation (tests/StandIn).
  • .github/workflows/ci.yml runs the tests on every push. The mod DLL is built locally with ./build.sh "<game folder>".

CHANGELOG

Changelog

4.1.4

  • New default keep amounts: Boombox 5 -> 20, Stun grenade 15 -> 20, TZP-Inhalant 15 -> 20. These are the defaults for new config files. A config file you already have keeps its own values: edit the three numbers in Crispy_Depression.LocalDeposit.ToolDeposit.cfg, or delete that file once and it is recreated with the new defaults.

4.1.3

  • Fixed: /tools -b said "Could not buy ... Nothing was charged" but the money was taken. On the Company moon, SkipDropshipCompany puts the items straight on the ship and empties the dropship list. LocalDeposit read the empty list as a failed order. It no longer does: the order is reported as done and the terminal tells you to check the ship.
  • /drop -q now explains the amount. When the Company pays under 100%, the dropped item is worth more than the quota gap on purpose (so it still sells for what the quota needs). The terminal now says so, for example: the Company pays 77%, so an item worth $1730 sells for $1326. The amount itself was already correct.

4.1.2

  • DropShipDeliveryCapModifier and SkipDropshipCompany are no longer required. Only BepInEx is a dependency now. Both are listed as suggested mods in the README. Without DropShipDeliveryCapModifier the dropship holds 12 items, so set BuyMaxItems to 12 in that case.
  • No code change.

4.1.1

  • Fixed: /tools -b said it bought items but nothing was bought and no money was spent when the order was more than 12 items. The mod used the game's client-side order call, which quietly throws away any order over 12 items. The host now orders the same way the game's own terminal does, so big orders (up to BuyMaxItems) go through, are charged, and show up in the dropship. If an order ever does not reach the dropship list, the terminal now says so and nothing is charged.
  • No change to the required mods. DropShipDeliveryCapModifier and SkipDropshipCompany still do their own job; LocalDeposit does not copy or replace anything from them.

4.1.0

  • Items and tools come back with the rotation they had. The rotation is remembered when you deposit and applied when the item is respawned (restore, /sell, AutoDepositSave, crash recovery). The crash journal now stores it (format LDJ4; older journals are still read, without rotation).
  • Two required mods: DropShipDeliveryCapModifier 1.0.2 and SkipDropshipCompany 0.2.8 are now dependencies. BuyMaxItems defaults to 999 (was 12), so one /tools -b can order everything you are short of (up to 999 items), delivered right away.
  • Quieter AutoDepositSave. New setting BroadcastDepositSave (default false): the chat stays quiet when AutoDepositSave deposits again. Turned on, the line is short: Re-deposited 120 items $4500 + 30 tools. The terminal (/save) text is unchanged.
  • New /drop: /drop -q (or --quota) drops a new item worth what the quota still needs, /drop 1000 one worth 1000, split off an item you have (the smallest one worth more than that). A deposited item is split in storage. Put the dropped item on the counter yourself.
  • Quota board after /sell: the mod now asks the game to redraw the ship's quota board once the Company has taken the items (best effort).

4.0.1

  • Tools in the Company Cruiser now count as on the ship. Before, only tools inside the ship's room were counted, so moving tools into the cruiser made /tools -b think they were missing and buy more. A cruiser counts while it is magneted to the ship.
  • Tools inside belt bags count too (a bag on the ship, a bag someone carries on the ship, and bags inside bags). The tool's own position is not reliable inside a bag, so the bag decides.
  • This applies to every tool number: /tools -l, /deposit -t display, the keep amounts, /tools -b and /tools -r.
  • Only tools lying in the ship are deposited. Tools in the cruiser or in a bag are counted but left alone, and the terminal says so (Left on ship: in the cruiser 13, in a belt bag 12).

4.0.0

  • AutoDepositSave replaces AutoRestock. Setting AutoDepositSave in Crispy_Depression.LocalDeposit.cfg under [Deposit], default true. The game can only save items that are physically on the ship, so everything is still put back before every save. After the save, what you had deposited is deposited again (scrap the way your last /deposit did, tools like /deposit -t). It only does that for what YOU deposited: /deposit arms scrap, /deposit -t or /tools -d arms tools, /undeposit and /undeposit -t (or /tools -u) switch them off again. If you never deposit, nothing is deposited automatically. Nothing happens when you leave the game. It also runs after /save.
  • Removed: the AutoRestock setting and /tools -ar (--autorestock). The end-of-day step now simply returns every stored tool, and AutoDepositSave deposits the extra ones again after the save.
  • New /tools -d (--deposit) and /tools -u (--undeposit): the same as /deposit -t and /undeposit -t, which still work.
  • New /undeposit -b (--bags): empties the belt bags that lie on the ship, built in from the EmptyBag mod. Its messages keep the [EmptyBag] prefix (terminal and yellow chat line) instead of [LD].
  • /tools -b spending limits: -b:600 spends at most 600 credits, -b:-600 (or -b:l600) leaves 600 credits, -bo:-600 (--buyovertime:-600) leaves 600 credits counting the overtime you will get. All of them ask first.
  • New description. The Thunderstore description and the README no longer present the mod as a copy of HQoL. The mod still switches its commands off when HQoL is installed, so the two do not fight over your items.

3.2.0

  • New /tools -l (or --list): lists every tool as Weed killer 60/60 (30) (on the ship / keep limit (stored)) and shows whether AutoRestock is on. Changes nothing.
  • New /tools -b (or --buy): buys the tools that are below their keep limit from the terminal store, most important first: Weed killer, TZP-Inhalant, Stun grenade, Shovel, Belt bag, Spray paint, the cheaper tools, and Zap gun and Jetpack last. It shows the order and cost first and asks for c before paying. Stored tools and orders already on the way count as owned, so it never buys twice. Limited by your credits and the dropship (12 items per order). Uses sale prices.
  • New settings in the ToolDeposit cfg: BuyPriority (the order, a comma-separated list of tool names) and BuyMaxItems (default 12).
  • Fixed: a ship wipe left stored shotguns and knives behind. When everyone dies the game deletes all scrap, and shotguns and knives are scrap, but the mod gave its stored ones back afterwards. Stored scrap, shotguns and knives are now lost with the wipe. Real tools stay stored.
  • Fixed: "N tools put back on the ship" used the blue local chat. It is now the yellow announcer line (your Broadcast Color and Broadcast Prefix). With Broadcast off it is still shown locally.

3.1.1

  • /tools -ar (--autorestock) now lasts for the current game session only. It no longer writes to the config file. When the game is started again, AutoRestock is back to the config value, which is true by default, even if you turned it off last time.
  • To change the starting value for good, edit AutoRestock in Crispy_Depression.LocalDeposit.ToolDeposit.cfg.
  • /deposit -diag says when AutoRestock is different from the config because of /tools -ar.

3.1.0

  • Jetpack default is 10 in Crispy_Depression.LocalDeposit.ToolDeposit.cfg (keep limit 20, it was 1 = 2). An existing config file keeps its saved value: edit the line or delete the file to get the new default.
  • New setting AutoRestock (under [Tool Deposit], default true). At the end of the day, stored tools first refill each tool up to its keep limit, then every remaining stored tool is returned too. The end result is the same either way: ALL stored tools are back on the ship before the game saves. It never leaves tools in storage overnight.
  • New /tools -r (or --restock): refill tools on the ship from storage up to the keep limit, never above it, never creating tools. Works with AutoRestock off.
  • New /tools -ar (or --autorestock): turns AutoRestock on or off.
  • New /deposit -t display: every configured tool is listed as Weed killer 60/60 (30) = on the ship / keep limit (stored). The stored number is the real amount LocalDeposit holds. It is shown even when nothing was deposited.
  • Restocking by hand is broadcast to the chat like deposit and undeposit (Restocked 20 tools).
  • /deposit -diag shows whether AutoRestock is on.

3.0.0

  • /deposit -t fixed for tools on shelves and in the closet. Tools standing on ship furniture were skipped silently, so a ship with all its tools on the shelves deposited nothing. They are deposited now.
  • /deposit -t now says why a tool was left: a line like Left on ship: held by someone 2, used up 1, and N tools could not be read (see LogOutput.log) if something went wrong.
  • Sell broadcast: Quota now starts with a capital: | Quota 1500/1500.
  • /save is documented now (it has worked for a long time): save in orbit, to a numbered slot (-1 to -9), with an optional name, with a confirmation before a slot is overwritten. See the README. It is never broadcast to chat.

2.8.0

  • /merge -r (or --random): merges into a random item that is on the ship. Every kind on the ship has the same chance, so a ship with mostly one kind (for example Ribcage) no longer gives that kind almost every time.
  • New /merge -tr (or --truerandom): merges into a random item of any kind: kinds on the ship and kinds that are not on the ship, with the same chance each.
  • Neither ever picks a blacklisted item (your [Blacklist] Items list: Gift Box, Kitchen knife, Shotgun by default). Body, Apparatus, Maneater, Egg (the kiwi egg) and Gift are also never picked.
  • Config Merge Item = Random now behaves like -r, and TrueRandom like -tr. TrueRandom no longer picks blacklisted items (before, it did).
  • Using -r and -tr together gives a short message. The position rule is unchanged.

2.7.2

  • /merge -r is really random now. It used to pick only from the kinds of items that were on the ship, so a ship with mostly one kind (for example Ribcage) gave that kind almost every time. Now it picks one of ALL scrap items in the game with the same chance each, skipping everything on your [Blacklist] Items list.
  • A few items that need special set-up are never picked: Body, Apparatus, Maneater, Egg (the kiwi egg) and Gift.
  • The position rule is unchanged: the new item appears where the best item of that kind is, or at the highest-value item being merged if there is none of that kind.

2.7.1

  • Fixed an error in an internal save call: it used a private game method directly and failed with a MethodAccessException. It is now called the safe way.
  • /deposit -diag and the startup self-test now also check that this game method exists.

2.7.0

  • Rainbow deposit value: the deposited value in the terminal is a rainbow by default now (hue = time x speed, a small step per character, so the colors flow along the number).
  • [Deposit] Value Color can be Rainbow or a hex code like #FF00FF. A wrong code uses Rainbow.
  • New config [Deposit] Rainbow Speed (default 1 = one full color cycle per second, 0 = stands still).
  • Old config files: if Value Color was still the old default #FF00FF, it becomes Rainbow once. A color you chose yourself is kept. Set #FF00FF again to get fuchsia back.
  • /deposit -diag shows the value color and the rainbow speed.

2.6.0

  • Sell broadcast: now ends with quota progress, like Sold 12 items worth $1285 | overtime $216 | quota 1285/1500. New config [Chat] Broadcast Quota (default true) turns that part off.
  • Selling from one big item: the broadcast is short and clear: Sold $1000 from a $10000 item. If several items are sold and one of them is cut: Sold 6 items worth $1285 (incl. $200 from a $10000 item).
  • Merge position: the merged item now ends up in a fixed place instead of a random one. First choice: the item of the merge type with the highest value (for example the Heartcontainer you already have, even if another item is worth more). If there is none of that type: the highest-value item being merged. That item is kept and grows, so it does not move.
  • Merge message: now names the item: Merged 100 items into 1 Heartcontainer worth $20000 (broadcast and terminal).
  • New /merge -r (or --random): merges into a random item for that one merge (never a blacklisted one), whatever Merge Item says. The position rule above still applies.
  • Merge Always uses the same position rule.

2.5.0

  • New config [Chat] Broadcast Prefix: the text before every broadcast. Default [LD]. Leave empty for none.
  • Old config files are updated once: [Chat] Broadcast is switched on (it used to default to off). A hidden [Debug] Config Version line tracks this. You can still turn it off with /broadcast afterwards.
  • A wrong color code in Broadcast Color or Value Color now writes a clear warning in the BepInEx log (once per wrong value). It still falls back to the default color.
  • New /deposit -diag: a short health check (versions, game members found, broadcast and color settings, what is deposited).
  • /deposit -t now explains itself when nothing is deposited: it lists each tool on the ship against its keep amount (the config number x 2).
  • Internal: the remaining Harmony AccessTools lookups use plain reflection, so the self-test also runs in the test setup.

2.4.1

  • Removed the duplicate local chat lines that repeated a broadcast: the N items on the desk. line after /sell, the Merge Always line, and the long UNDEPOSIT COMPLETE line. With Broadcast on you now get one yellow line per action.
  • Problems are still shown locally (items that could not be placed, split or restored). With Broadcast off, the local confirmations still appear as before.

2.4.0

  • The deposited value in the terminal is now fuchsia (#FF00FF) instead of blue-green.
  • New config [Deposit] Value Color: change that color with a hex code. A wrong code falls back to fuchsia.
  • Broadcast color is unchanged: still yellow by default ([Chat] Broadcast Color).

2.3.0

  • New config [Chat] Broadcast Color: the color of broadcast messages as a hex code. Default #FFFF00 (yellow). A wrong code falls back to yellow.
  • [Chat] Broadcast is now ON by default (it was off). If you already have a config file, your saved value stays; set it to true or type /broadcast.

2.2.0

  • Sell broadcast now covers the whole sale: Sold 13 items worth $1272 | overtime $228. Overtime is shown on every sale (when there is any), not only with -o.
  • Merge broadcast is now 100 items combined into 1 item worth $3000.
  • Values in broadcasts are bold with a $ so they stand out. Still yellow.
  • The part-of-an-item split is no longer mentioned in the broadcast.

2.1.1

  • Fixed the overtime estimate for /sell -o. It used the days shown on the terminal, but at the Company the game counts one day less (-15 credits on the last day), so it sold about 15 credits too little. It now uses the game's formula: (total sold - quota) / 5 + 15 x days left, never below 0.

2.1.0

  • /sell <amount> -eo (also -oe): counts credits and overtime together. -e and -o still work on their own.
  • -e -o now also counts overtime you already earned.
  • The sell preview prints the breakdown (credits, overtime already earned, sold now, new overtime).
  • README: new "How It Works (merge version)" section.

2.0.0

  • Version 2.0. Everything from 1.9.0 and 1.10.0: tool deposit (/deposit -t, own config file), Auto Undeposit Tools, yellow broadcast, /sell maths and a clearer -o.

1.10.0

  • /sell amounts can use maths: + - * / and brackets, like /sell 400+300-200 -o.
  • /sell <amount> -o says clearly how much it sells and the overtime it expects.

1.9.0

  • New /deposit -t (--tools) and /undeposit -t: keeps each tool at its configured amount x 2 and deposits the rest. Own config file Crispy_Depression.LocalDeposit.ToolDeposit.cfg.
  • Auto Undeposit Tools: deposited tools come back at the end of the day.
  • Broadcast is now yellow and says how many items and the value for deposit, sell and merge.
  • New icon.
  • Plain /deposit, /undeposit, /sell and /merge only touch scrap. Tools are separate.

1.8.1

  • Config file is now Crispy_Depression.LocalDeposit.cfg in the config folder. Old settings are copied over automatically.

1.8.0

  • Chat broadcast is now short: Sold 1000 from Clock worth 5401, Sold 769 from 12 items (overtime 231), Merged 100 items into 1 Heartcontainer worth 3000, Undeposited 131 items.
  • New /broadcast command (/announce still works). Config is [Chat] Broadcast, default off.

1.7.3

  • Removed the save-cap warning (it was confusing and could show when nothing was lost).
  • ChatCommandAPI is no longer needed. It was only used for chat /deposit and /undeposit, which are removed. Everything is typed in the ship terminal.

1.7.1

  • Chat never says "use the terminal" any more. /sell, /merge and /undeposit -r typed in chat are ignored silently, so LocalDeposit stays out of the way of other chat mods.
  • ZeddogPlushie removed from the sell blacklist default (now ShotgunItem, KnifeItem, GiftBox).

1.7.0

  • /merge is always available: the Merge Enabled setting is gone. Partial selling is always on too.
  • Merge Item defaults to Heartcontainer. Random = random ship scrap, never a blacklisted item. New TrueRandom = any scrap in the game, even blacklisted.
  • Confirmation is terminal-only: "confirm or deny type /c or /d in terminal". The chat confirm/deny commands and chat /merge are removed.
  • Preview text is now "preview - nothing would be merged/sold yet". All command messages were shortened.
  • New /announce command toggles chat announcements on and off.

1.6.0

  • --preview removed. /sell, /merge and /undeposit -r now always show a preview first and wait for c (confirm) or d (deny) in the terminal, or /c and /d in chat. Any start of the words works (c, co, conf, d, de, den, ...).
  • /undeposit -r is the short form of --recover (--yes is gone; the confirmation replaces it).
  • Recovery only works when the ship has zero scrap, so it can never duplicate items. The old type/value matching guess is gone.
  • The crash journal records a tool checklist (how many of each tool were on the ship); recovery shows journal vs ship now.

1.5.0

  • Save-cap warning: warns before a save when the ship holds more items than the game will save.
  • --preview (-p) for /sell and /merge.
  • /sell <amount> -o / -e: overtime-aware amounts (an estimate).
  • Scrap in the Company Cruiser counts for /sell and /merge.
  • Big /undeposit and /sell restores run in batches of 100 per frame; no item can be restored twice.
  • Crash journal next to the config and /undeposit --recover [--yes] | --discard.
  • [Chat] Announce option to post totals in everyone's chat.
  • Startup self-test and game-version check; terminal text is cached.
  • Removed the unused autosave bracket code. Added tools/compat-check.sh, stub-based CI tests and a GitHub workflow.

1.4.3

  • Config: Merge Mode is now two settings: Merge Enabled (true/false) and Merge Item (Random or an item name). All config descriptions rewritten in plain words.

1.4.2

  • Fix: /deposit (and every other command) did nothing. The plugin crashed on startup because its chat commands referenced an assembly called "ChatCommandAPI", but the real one is "baer1.ChatCommandAPI". The reference is corrected, and a type that fails to load can no longer stop the terminal commands from being installed.

1.4.1

  • Fix: blacklist and priority lists never matched the prefab names you put in them (KnifeItem, ShotgunItem, LungApparatusTurnedOff, ...), only asset/display names. Broken since 1.3.0, so knives and shotguns got deposited. All lists now match the prefab/object name as well.
  • Each Harmony patch is now applied separately and logged ("Patched ..."), so one failing patch cannot disable the terminal command. Terminal commands and the deposited item types are logged.

1.4.0

  • New /merge (terminal and chat): combine ship scrap + deposited scrap into one item worth the total. -o includes scrap outside the ship, -a ignores the blacklist.
  • New config Merge Mode (False / Random / item name) and Merge Always (merge before the end of the day).
  • With Merge Mode on, /sell can sell part of an item so the amount is exact (50k item, /sell 1000 -> 1k on the counter, 49k left).

1.3.2

  • Default sell priority list: FancyLamp, LungApparatusTurnedOff, Clock, EasterEgg, ComedyMask, Tragedy, Heartcontainer.

1.3.1

  • Sell blacklist and priority list defaults updated.

1.3.0

  • /sell is now terminal-only (no chat /sell).
  • New sell priority list and in-game /sell bl / /sell pr list editing. Priority items are preferred when several combinations fit.
  • Config cut down to 4 entries (deposit blacklist, sell blacklist, sell priority, debug logging). Other behaviour is now fixed.

1.2.1

  • Fix: /sell crashed with a NullReferenceException (coroutines were started on the BepInEx plugin object, which the game can destroy). Coroutines now run on a hidden persistent object. Also fixes the value sync after restoring deposited items.

1.2.0

  • New /sell quota | all | <amount> | item <name> with -a/--all (ignore sell blacklist). Deposited items chosen for a sale are undeposited first.
  • New /deposit -a / --all (deposit ignoring the blacklist).
  • All commands now also work in the game chat via ChatCommandAPI (new hard dependency).
  • New [Sell] Blacklist config.

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.