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

clockwork_trap

Vars

outputsA list of traps this sends a signal to when this is triggered
sends_inputIf this sends input (e.g. pressure plate)
takes_inputIf this takes input (e.g. skewer)

Procs

add_inputAdds an input device to our own outputs list, to be sent when it triggers
add_outputAdds this as an output to the targetted component's outputs list
attack_handSignal proc for when the trap has ATOM_ATTACK_HAND called on it
on_attackbySignal proc when the trap has PARENT_ATTACKBY called on it
triggerSignal proc for when the trap calls CLOCKWORK_SIGNAL_RECEIVED
trigger_connectedSends a signal to activate to every outputting component in outputs

Var Details

outputs

A list of traps this sends a signal to when this is triggered

sends_input

If this sends input (e.g. pressure plate)

takes_input

If this takes input (e.g. skewer)

Proc Details

add_input

Adds an input device to our own outputs list, to be sent when it triggers

add_output

Adds this as an output to the targetted component's outputs list

attack_hand

Signal proc for when the trap has ATOM_ATTACK_HAND called on it

on_attackby

Signal proc when the trap has PARENT_ATTACKBY called on it

trigger

Signal proc for when the trap calls CLOCKWORK_SIGNAL_RECEIVED

trigger_connected

Sends a signal to activate to every outputting component in outputs