shieldwallgen
Vars | |
active | whether the shield generator is active, ACTIVE_SETUPFIELDS will make it search for generators on process, and if that is successful, is set to ACTIVE_HASFIELDS |
---|---|
attached | the attached cable under us |
locked | are we locked? |
shield_range | how far do we seek another generator in our cardinal directions |
Procs | |
activate | Turn the machine on with side effects |
cleanup_field | cleans up fields in the specified direction if they belong to this generator |
deactivate | Turn the machine off with side effects |
setup_field | Constructs the actual field walls in the specified direction, cleans up old/stuck shields before doing so |
Var Details
active
whether the shield generator is active, ACTIVE_SETUPFIELDS will make it search for generators on process, and if that is successful, is set to ACTIVE_HASFIELDS
attached
the attached cable under us
locked
are we locked?
shield_range
how far do we seek another generator in our cardinal directions
Proc Details
activate
Turn the machine on with side effects
cleanup_field
cleans up fields in the specified direction if they belong to this generator
deactivate
Turn the machine off with side effects
setup_field
Constructs the actual field walls in the specified direction, cleans up old/stuck shields before doing so