/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/wires.dm

COMSIG_CUT_WIREfrom base of /datum/wires/proc/cut : (wire)
COMSIG_PULSE_WIREfrom base of /datum/wires/proc/on_pulse : (wire, mob/user)
WIRES_INPUTThe wires interact with their holder when pulsed
WIRES_TOGGLE_ARMEDThe wires have a reason to toggle whether attached assemblies are armed
WIRES_FUNCTIONAL_OUTPUTThe wires only want to activate assemblies that do something other than (dis)arming themselves
WIRES_ALLThe holder can both pulse its wires and be affected by its wires getting pulsed
ASSEMBLY_INPUTThe assembly can pulse a wire it is attached to
ASSEMBLY_TOGGLE_ARMEDThe assembly toggles whether it will pulse the attached wire when it is pulsed by the attached wire
ASSEMBLY_FUNCTIONAL_OUTPUTThe assembly does something other than just (dis)arming itself when it is pulsed by the wire it is attached to
ASSEMBLY_TOGGLEABLE_INPUTThe assembly can both pulse the wire it is attached to, and (dis)arms itself when pulsed by the wire

Define Details

ASSEMBLY_FUNCTIONAL_OUTPUT

The assembly does something other than just (dis)arming itself when it is pulsed by the wire it is attached to

ASSEMBLY_INPUT

The assembly can pulse a wire it is attached to

ASSEMBLY_TOGGLEABLE_INPUT

The assembly can both pulse the wire it is attached to, and (dis)arms itself when pulsed by the wire

ASSEMBLY_TOGGLE_ARMED

The assembly toggles whether it will pulse the attached wire when it is pulsed by the attached wire

COMSIG_CUT_WIRE

from base of /datum/wires/proc/cut : (wire)

COMSIG_PULSE_WIRE

from base of /datum/wires/proc/on_pulse : (wire, mob/user)

WIRES_ALL

The holder can both pulse its wires and be affected by its wires getting pulsed

WIRES_FUNCTIONAL_OUTPUT

The wires only want to activate assemblies that do something other than (dis)arming themselves

WIRES_INPUT

The wires interact with their holder when pulsed

WIRES_TOGGLE_ARMED

The wires have a reason to toggle whether attached assemblies are armed