Merlin of Mines - Space Engineers

A set of useful scripts for aspiring Space Engineers!

View on GitHub

O2/H2 Generator Block Handler

This Block Handler handles O2/H2 Generators. It enables you to turn them on or off, and set them to auto-refill bottles or not.

Default Primitive Properties:

“Enabled” Property

Enables or Disables the given block

#Enable Block
enable "My Generator"
set "My Generator" to enabled
turn on "My Generator"

#Disable Block
disable "My Generator"
set "My Generator" to disabled
turn off "My Generator"

“Power” Property

Turns on or off power to the block. Effectively the same as the Enabled property.

#Turn on
turn on power to "My Generator"
power on "My Generator"

#Turn off
turn off "My Generator"
power off "My Generator"

“Auto” Property

Gets/Sets whether the Generator is set to auto-refill bottles.