Space Station 13 - Modules - TypesVar Details - Proc Details

cable_coil

Vars

cable_merge_idBitflag of the types of cable we can add cable to with this coil. This is different to the cable connection flag since it only governs connecting on the same tile
cable_typeType of cable this coil makes
destroy_upon_emptyDeletes the cable coil upon getting empty. Used for RCL cable spools to stop the stack from being eaten.

Procs

cable_joincalled when cable_coil is click on an installed obj/cable or click on a turf that already contains a "node" cable
get_cable_colorUsed to decouple the physical color of the cable from the logical color. Used by RCL to stop its spool holder from being colored in.
place_turfcalled when cable_coil is clicked on a turf/simulated/floor

Var Details

cable_merge_id

Bitflag of the types of cable we can add cable to with this coil. This is different to the cable connection flag since it only governs connecting on the same tile

cable_type

Type of cable this coil makes

destroy_upon_empty

Deletes the cable coil upon getting empty. Used for RCL cable spools to stop the stack from being eaten.

Proc Details

cable_join

called when cable_coil is click on an installed obj/cable or click on a turf that already contains a "node" cable

get_cable_color

Used to decouple the physical color of the cable from the logical color. Used by RCL to stop its spool holder from being colored in.

place_turf

called when cable_coil is clicked on a turf/simulated/floor