Space Engineers

Space Engineers

[CUB3] Life Support Manager
Kazblack 20 Dec, 2022 @ 3:27am
Some Improvments
I love this Script! It is made perfect!

But 2 things bothered me:
Lights go from red to white, instead of Red to Green
There's no Cycle Command (Do the opposite of the current State of the Airlock)

I have a lot of programming experience, but I never used nor did I learn C Sharp.
So please revisit the Code and look for C Sharp specific improvements/errors


I added an option to the Custom Data field that turn the Light Green instead of Red.
And I added a cycle command (yes it's now cycle cycle "Airlock Name" but I didn't come up with a better name)


Things I Changed
https://pastebin.com/rVNPCSHV

"New" code:
https://pastebin.com/Wb0U6cCU