/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_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_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.

Define Details

COMSIG_DEMORALISING_EVENT

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

COMSIG_GLOB_TRAITOR_OBJECTIVE_COMPLETED

Called when the hack_comm_console objective is completed.

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_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