wires

Vars | |
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. |
Procs | |
always_reveal_wire | Whether the given wire should always be revealed. |
can_reveal_wires | Checks whether wire assignments should be revealed. |
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. |
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
always_reveal_wire
Whether the given wire should always be revealed.
Intended to be overridden. Allows for forcing a wire's assignmenmt to always be revealed in the hacking interface. Arguments:
- color - Color string of the wire to check.
can_reveal_wires
Checks whether wire assignments should be revealed.
Returns TRUE if the wires should be revealed, FALSE otherwise. Currently checks for admin ghost AI, abductor multitool and blueprints. Arguments:
- user - The mob to check when deciding whether to reveal wires.
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.