Subnautica: Below Zero

File information

Last updated

Original upload

Created by

Luke Vo

Uploaded by

lukevo

Virus scan

Safe to use

About this mod

Receives extra items when storing in Locker.

Requirements
Permissions and credits
Donations
Alterra needs YOU! With their trade on the boom, they need more resources. To encourage resource gathering, they enacted a new policy: paying Interest for storing items in Lockers.

For each enabled container, you will receive a duplication of a stored item every 300 seconds (5 minutes). It gets even better! The duration is halved for each additional copy. For example, if you have 3 Titanium Ingots, you receive an additional Ingot every 75 seconds.

However there is a catch! The greedies at Alterra only gives out payment once per check out, and they don't stack! You have to open the Locker every time you think you should receive your extra copy, 1 item per open and the time don't stack for the next one.

Details:
  • This mod is highly configurable, please check it below.
  • Only apply to: Wall (Small) Locker, (Glass) Locker, Fridge, Prawn Suit locker, Seatruck locker and Storage Module, and the Aquarium (but not in Alien Containment or Seatruck Aquarium due to technical issues with those. Alterra engineers will try to resolve this).
  • Time starts counting and also reset when you: put in or take out an item from Locker.
  • Open the Locker to receive the interest payment, a free item from Alterra.
  • When you load the game, all timers will be reset (you cannot save the time from previous session).
  • Counting only the item type that has the most copies in the Locker:
  • For example, if you have 2 Titaniums and 2 Coppers, usually Titanium shows up first, you would receive extra copy of Titanium. But if you have 3 Coppers, then your interest payment will be a Copper.
  • You receive the payment after 300 seconds. If you have multiple copies, the times are: 300, 150, 75, 37.5, 18.75, 10.
  • The minimum time to receive an interest is 10 seconds.
  • Opening the Locker without changing anything (pick up or deposit) before the interest pays off doesn't reset the time.
  • You won't receive extra item if the Locker do not have enough space for the payment even if it can contain smaller items.

Configuration:

  • This configuration will be generated when you play the game for the first time using this mod.
  • You can change the numbers and flags by editing config.json file.
  • You can also change them by using the in-game Options UI at the Mods tab. Only the "Containers" array is not editable inside the game.

{
  "InterestRate": "300",
  "MinTime": "10",
  "WarnDisabledInterest": false,
  "SmallLocker": true,
  "Locker": true,
  "Fridge": true,
  "Aquarium": true,
  "Storage": false,
  "StorageContainer": true,
  "CustomModsStorageTypes": false,
  "PayInterestOnCursorHovering": false,
  "Containers": [
"ModCustomStorageType"
  ]
}

  • InterestRate: base time to receive extra copy if you have only one item in the storage.
  • MinTime: minimum time to receive extra copy, no matter how many items you have.
  • WarnDisabledInterest: this will add a "Disabled!" message when cursor hovering a container that is not enabled in the configurations and won't generate an interest payment. If this is disabled (default value), you won't see any message when hovering these lockers.
  • These will generate interest payment when enabled:
  • SmallLocker: Affets the "Wall Locker", the white ones with a label in them.
  • Locker: Affets the "Glass Locker", the one with transparent doors.
  • Fridge: Affets the "Fridge", where your meals last.
  • Aquarium: Affets the "Aquarium" built inside the sea base.
  • Storage: Affets the "Prawn Suit" storage.
  • StorageContainer: Affets the "Seatruck" Storage Module.
  • CustomModsStorageTypes: This toggle will enable or disable the custom storage types input in the Containers configuration. If enabled, the storages listed there will generate interest payments.
  • PayInterestOnCursorHovering: A life-hack Marguerit did that, when enabled, will not require the lockers to be open. We simple need to cursor hover them and if the interest is ready to be paid, we will receive it (and the Alterra guys will not even know).
  • Containers: list of supported container names used by other modules. If you have a mod that add more containers, you can add the names here if you know the internal name (it must match the GameObject instance name. Eg: "Locker(Clone)" would be "Locker"). You can also try adding other containers from the core game that are not listed in the configuration but as far as I test, they are not stable.

Requirements

Installation
  • Install QModManager.
  • Install SMLHelper Zero.
  • Unpack the archive to folder \SubnauticaZero\QMods\

Source code available on my Github.