/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

cleanup_fieldcleans up fields in the specified direction if they belong to this generator
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

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