wires 
Vars | |
| assemblies | List of attached assemblies. |
|---|---|
| colors | Dictionary of colours to wire. |
| cut_wires | List of cut wires. |
| default_possible_colors | Assoc list of possible wire colors -> their greyscale variants |
| 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. |
| studied_photos | Lazy assoc list of refs to mobs to refs to photos they have studied for wires |
| wire_behavior | Whether pulsed wires affect the holder, and/or the holder pulses its wires |
| wires | List of all wires. |
Procs | |
| add_duds | Adds a number of wires which do absolutely nothing. |
| 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. |
| try_study_photo | Attempts to study a photo for blueprints. |
Var Details
assemblies 
List of attached assemblies.
colors 
Dictionary of colours to wire.
cut_wires 
List of cut wires.
default_possible_colors 
Assoc list of possible wire colors -> their greyscale variants
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.
studied_photos 
Lazy assoc list of refs to mobs to refs to photos they have studied for wires
wire_behavior 
Whether pulsed wires affect the holder, and/or the holder pulses its wires
wires 
List of all wires.
Proc Details
add_duds
Adds a number of wires which do absolutely nothing.
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.
try_study_photo
Attempts to study a photo for blueprints.