/tg/ Station 13 - Modules - TypesVar Details - Proc Details

shieldwallgen

Vars

activewhether 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
attachedthe attached cable under us
lockedare we locked?
shield_rangehow far do we seek another generator in our cardinal directions

Procs

activateTurn the machine on with side effects
cleanup_fieldcleans up fields in the specified direction if they belong to this generator
deactivateTurn the machine off with side effects
setup_fieldConstructs 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