SS1984 - Modules - Types — Var Details - Proc Details

/obj/structure/cable

The red wire thingies you see on the ground all over the station in maintenance the d1 and d2 vars deal with the "directions" of the cables, since all instances of this cable structure are just lines, they have two endpoints (d1 and d2).

Vars

banned_linksDir bitflags in which we cannot connect due to being cut

Procs

connect_cableSet the linked indicator bitflags
disconnect_cableClear the linked indicator bitflags
shuttleRotateStructure rotate procs

Var Details

Dir bitflags in which we cannot connect due to being cut

Proc Details

connect_cable

Set the linked indicator bitflags

disconnect_cable

Clear the linked indicator bitflags

shuttleRotate

Structure rotate procs