Configurable Airlock Door

If you liked this item, please rate it up on Steam Workshop page.

Author: azrazalea

Last revision: 10 Jun at 20:14 UTC

File size: 4.87 KB

On Steam Workshop

Description:

Configurable Airlock Door is a small companion mod for Peter Han’s Airlock Door. It makes the doors’ energy values adjustable from the in-game mod options, and fixes two stock annoyances out of the box: heavily-used doors stalling out of power, and the charge meter reading empty after a save load.

The fix

The Airlock Door spends 3000 J of power every time a Duplicant passes through it, but it only recharges at 120 W. On a heavily-trafficked corridor the door drains faster than it refills, browns out, and your Duplicants get stuck waiting on a door with no charge.

This mod defaults the recharge to 240 W, which keeps up with normal traffic. No other power values change unless you want them to.

Fully configurable

Open the mod options (the gear icon next to the mod in the Mods menu) to tune the doors to your liking:

  • Recharge Power — how fast a door refills its charge. Default 240 W (stock is 120).
  • Energy Capacity — how much charge a door can bank for passes. Default 10000 J (stock).
  • Energy Per Use — power spent per Duplicant pass. Default 3000 J (stock).

Both the standard and the insulated Airlock Door use these values. Changes take effect after a restart.

Bonus: fixes the empty-meter-on-load bug

The stock Airlock Door doesn’t refresh its charge meter when you load a save. The bar shows empty until the door next charges, even though the stored power is intact. This mod corrects the meter on load so it reads the real charge. (The bar refreshes on the first unpause after loading.)

Requires the Airlock Door mod

You must have Airlock Door installed and enabled.
This mod only patches it — it does not replace or re-upload Peter Han’s mod, and it adds no extra dependencies (it uses the PLib that Airlock Door already includes). If Airlock Door isn’t present, this mod simply does nothing.

Compatible & safe

Only the doors’ stats are changed — no new buildings, no save data. You can add or remove this mod at any time. Works on the base game and all dlcs.

Source

Open source under the MIT License:
https://gitlab.com/azrazalea/oni-airlock-door-tweaks

Airlock Door and PLib are © Peter Han, also MIT. Huge thanks to Peter Han for the original mod.