Merlin of Mines - Space Engineers

A set of useful scripts for aspiring Space Engineers!

View on GitHub

Ejector Block Handler

This Block Handler handles Ejectors, which you can use to automatically eject items out of connected inventories.

“Enabled” Property

Enables or Disables the given block

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

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

“Power” Property

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

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

#Turn off
turn off "My Ejector"
power off "My Ejector"

“Drain” Property

Gets/Sets whether the ejector is throwing out items.

if "My Ejector" is draining
  Print "Throwing out the garbage"

tell "My Ejector" to drain
drain "My Ejector"

“Collect” Property

Gets/Sets whether the ejector is automatically pulling items from connected inventories (acting like a Sorter, but without a filter).

if "My Ejector" is collecting
  Print "Grabbing all the items."

tell "My Ejector" to gather
tell "My Ejector" to stop collecting