/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_traitor.dm

COMSIG_GLOB_TRAITOR_OBJECTIVE_COMPLETEDCalled when the hack_comm_console objective is completed.
COMSIG_UPLINK_HANDLER_ON_UPDATECalled whenever the uplink handler receives any sort of update. Used by uplinks to update their UI. No arguments passed
COMSIG_UPLINK_HANDLER_REPLACEMENT_ORDEREDSent from the uplink handler when the traitor uses the syndicate uplink beacon to order a replacement uplink.
COMSIG_TRAITOR_OBJECTIVE_PRE_GENERATECalled before the traitor objective is generated
COMSIG_TRAITOR_OBJECTIVE_COMPLETEDCalled whenever the traitor objective is completed
COMSIG_TRAITOR_OBJECTIVE_FAILEDCalled whenever the traitor objective is failed
COMSIG_TRAITOR_BUG_PLANTED_GROUNDCalled when a traitor bug is planted in an area
COMSIG_TRAITOR_BUG_PLANTED_OBJECTCalled when a traitor bug is planted
COMSIG_TRAITOR_BUG_PRE_PLANTED_OBJECTCalled before a traitor bug is planted, where it can still be overrided
COMSIG_TRAITOR_MACHINE_TRAP_TRIGGEREDCalled when a machine a traitor has booby trapped triggers its payload
COMSIG_DEMORALISING_EVENTCalled when a device a traitor has planted effects someone's mood. Pass the mind of the viewer.
COMSIG_TRAITOR_GRAFFITI_DRAWNCalled when you finish drawing some graffiti so we can register more signals on it. Pass the graffiti effect.
COMSIG_TRAITOR_GRAFFITI_SLIPPEDCalled when someone slips on some seditious graffiti. Pass the mind of the viewer.
COMSIG_EHMS_INJECTOR_INJECTEDFor when someone is injected with the EHMS virus from /datum/traitor_objective_category/infect
COMSIG_ROYALE_IMPLANTEDCalled by an battle royale implanter when successfully implanting someone. Passes the implanted mob.

Define Details

COMSIG_DEMORALISING_EVENT

Called when a device a traitor has planted effects someone's mood. Pass the mind of the viewer.

COMSIG_EHMS_INJECTOR_INJECTED

For when someone is injected with the EHMS virus from /datum/traitor_objective_category/infect

COMSIG_GLOB_TRAITOR_OBJECTIVE_COMPLETED

Called when the hack_comm_console objective is completed.

COMSIG_ROYALE_IMPLANTED

Called by an battle royale implanter when successfully implanting someone. Passes the implanted mob.

COMSIG_TRAITOR_BUG_PLANTED_GROUND

Called when a traitor bug is planted in an area

COMSIG_TRAITOR_BUG_PLANTED_OBJECT

Called when a traitor bug is planted

COMSIG_TRAITOR_BUG_PRE_PLANTED_OBJECT

Called before a traitor bug is planted, where it can still be overrided

COMSIG_TRAITOR_GRAFFITI_DRAWN

Called when you finish drawing some graffiti so we can register more signals on it. Pass the graffiti effect.

COMSIG_TRAITOR_GRAFFITI_SLIPPED

Called when someone slips on some seditious graffiti. Pass the mind of the viewer.

COMSIG_TRAITOR_MACHINE_TRAP_TRIGGERED

Called when a machine a traitor has booby trapped triggers its payload

COMSIG_TRAITOR_OBJECTIVE_COMPLETED

Called whenever the traitor objective is completed

COMSIG_TRAITOR_OBJECTIVE_FAILED

Called whenever the traitor objective is failed

COMSIG_TRAITOR_OBJECTIVE_PRE_GENERATE

Called before the traitor objective is generated

Called whenever the uplink handler receives any sort of update. Used by uplinks to update their UI. No arguments passed

Sent from the uplink handler when the traitor uses the syndicate uplink beacon to order a replacement uplink.