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

/datum/wires

Vars

assembliesList of attached assemblies.
colorsDictionary of colours to wire.
cut_wiresList of cut wires.
dictionary_keyKey that enables wire assignments to be common across different holders. If null, will use the holder_type as a key.
holderThe holder (atom that contains these wires).
holder_typeThe holder's typepath (used for sanity checks to make sure the holder is the appropriate type for these wire sets).
proper_nameThe display name for the wire set shown in station blueprints. Not shown in blueprints if randomize is TRUE or it's an item NT wouldn't know about (Explosives/Nuke). Also used in the hacking interface.
randomizeIf every instance of these wires should be random. Prevents wires from showing up in station blueprints.
wiresList of all wires.

Procs

emp_pulseCalled from /atom/proc/emp_act
on_holder_qdelCalled when holder is qdeleted for us to clean ourselves as not to leave any unlawful references.

Var Details

assemblies

List of attached assemblies.

colors

Dictionary of colours to wire.

cut_wires

List of cut wires.

dictionary_key

Key that enables wire assignments to be common across different holders. If null, will use the holder_type as a key.

holder

The holder (atom that contains these wires).

holder_type

The holder's typepath (used for sanity checks to make sure the holder is the appropriate type for these wire sets).

proper_name

The display name for the wire set shown in station blueprints. Not shown in blueprints if randomize is TRUE or it's an item NT wouldn't know about (Explosives/Nuke). Also used in the hacking interface.

randomize

If every instance of these wires should be random. Prevents wires from showing up in station blueprints.

wires

List of all wires.

Proc Details

emp_pulse

Called from /atom/proc/emp_act

on_holder_qdel

Called when holder is qdeleted for us to clean ourselves as not to leave any unlawful references.