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 | |
| cleanup_field | cleans up fields in the specified direction if they belong to this generator |
| 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
cleanup_field
cleans up fields in the specified direction if they belong to this generator
setup_field
Constructs the actual field walls in the specified direction, cleans up old/stuck shields before doing so