/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_mod.dm

COMSIG_MOD_MODULE_SELECTEDCalled when a module is selected to be the active one from on_select()
COMSIG_MOD_ACTIVATECalled when a MOD activation is called from toggle_activate(mob/user)
MOD_CANCEL_ACTIVATECancels the suit's activation
COMSIG_MOD_MODULE_REMOVALCalled when a MOD is having modules removed from crowbar_act(mob/user, obj/crowbar)
MOD_CANCEL_REMOVALCancels the removal of modules
COMSIG_MODULE_TRIGGEREDCalled when a module attempts to activate, however it does. At the end of checks so you can add some yourself, or work on trigger behavior (mob/user)
COMSIG_MODULE_ACTIVATEDCalled when a module activates, after all checks have passed and cooldown started.
COMSIG_MODULE_DEACTIVATEDCalled when a module deactivates, after all checks have passed.
COMSIG_MODULE_USEDCalled when a module is used, after all checks have passed and cooldown started.

Define Details

COMSIG_MODULE_ACTIVATED

Called when a module activates, after all checks have passed and cooldown started.

COMSIG_MODULE_DEACTIVATED

Called when a module deactivates, after all checks have passed.

COMSIG_MODULE_TRIGGERED

Called when a module attempts to activate, however it does. At the end of checks so you can add some yourself, or work on trigger behavior (mob/user)

COMSIG_MODULE_USED

Called when a module is used, after all checks have passed and cooldown started.

COMSIG_MOD_ACTIVATE

Called when a MOD activation is called from toggle_activate(mob/user)

COMSIG_MOD_MODULE_REMOVAL

Called when a MOD is having modules removed from crowbar_act(mob/user, obj/crowbar)

COMSIG_MOD_MODULE_SELECTED

Called when a module is selected to be the active one from on_select()

MOD_CANCEL_ACTIVATE

Cancels the suit's activation

MOD_CANCEL_REMOVAL

Cancels the removal of modules