Space Engineers

Space Engineers

Not enough ratings
Multi H2O2 Status Lights
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
375.652 KB
31 Jan @ 12:29pm
1 Change Note ( view )

Subscribe to download
Multi H2O2 Status Lights

Description
Made with the help of CHATGPT

Script will show a green light when an h202 generator is producing and the tanks detect an increase. And red when not. The light can be anywhere in the grid. Just follow these instructions. Comment if something doesnt work. Chances are its just the instructions i wrote down manually.

Step 1 group h2o2 generators with 'H2O2 Generators'
Step 2 group tanks hydrogen and oxygen on the grid as 'Gas Tanks' [. Main grid only, doubt subgrids would work too well.
Step 3 build a programmable block and two timer blocks.
Step 4: Build the light and name it 'Status Light'
Step 5 make timer 1 run the program with default argument, then to trigger timer 2
Step 6 Make timer 2 run timer 1
Step 7 profit.

Script should in theory work with multiple lights across a station or ship and will display green when the h2o2 generator is working and the tanks are filling; red when its not doing either.

Thank you to monoceros in the game discussions for the idea and also chatgpts creators for making scripting in this game so easy.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3418980920

The same mod but for refineries ^