Space Engineers

Space Engineers

Not enough ratings
Oxygen Production Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.444 KB
27 Jul, 2015 @ 2:31pm
9 Sep, 2018 @ 1:46am
7 Change Notes ( view )

Subscribe to download
Oxygen Production Control

In 1 collection by Kryptur
Space Engineers Scripts
3 items
Description
2018-09-09: Changed primitive data types (float -> double)
2017-07-18: Updated to remove obsolete functions and blocks

UPDATED TO NEW API!

This Script lets you easily control the Oxygen Production on your Station / Ship.

It checks all marked OxygenTanks for their Oxygen Level and deactivates / activates all marked Oxygen producting blocks, when this level leaves a specified zone.
This lets you keep the oxygen level of your tanks between two values.

Now with support for AirVents on Planets as Oxygen source.

Usefull to keep some space for depressurizing rooms.

DefaultValues:
minLevel: 70%
maxLevel: 75%

BlockGroup for OxygenTanks: "oxyTanks"
BlockGroup for Oxygen Generators: "oxyGenerators"
*Note*: You may also add Oxygen Farms to this group!

To keep up to date the script displays information on TextPanels in the BlockGroup "OxygenLCD".

Use a Timer with interval set to 1 second to call the script (Of course you can choose another interval.

Please tell me if you want me to improve something.
50 Comments
Biosuz 14 Jun, 2020 @ 1:48pm 
hello, i research updated version, it. Carl do you share this ?
it.Carl 14 Jan, 2020 @ 6:11am 
i have made an updated version of this script
jarhead 21 Jun, 2019 @ 9:24pm 
not displaying anything on lcd screens
Pounce 22 Oct, 2018 @ 12:05pm 
@DeadShot you can refill bottles in air and hydrogen tanks too
DeadShot 13 Sep, 2018 @ 5:25pm 
Kryptur,
Everything is working great with your new update...except my oxygen and hydrogen bottles won't refill when put into the O2 generator, since the generator turns off when set to desired tank level. I looked at the script, but cannot fine a value for an auto-refill in there specifically for bottles. Am I missing something?
williamsj 9 Sep, 2018 @ 4:55pm 
Thks much!
DeadShot 9 Sep, 2018 @ 1:15pm 
Great..Thanks Kryptur!!
Kryptur  [author] 9 Sep, 2018 @ 1:47am 
Hi, I just updated the script to respect the changed data types.
williamsj 8 Sep, 2018 @ 8:27pm 
I am having the same error message could someone fix the code and resubmit it ..or dimux could you tell us exactly what to change on which lines of to code to make it work. I am not sure what double and float are. So need to know exact code to change. thanks