Daedalus Dock - 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(obj/item/mod/module/module)
COMSIG_MOD_DEPLOYEDCalled when a MOD user deploys one or more of its parts.
COMSIG_MOD_RETRACTEDCalled when a MOD user retracts one or more of its parts.
COMSIG_MOD_PART_DEPLOYEDCalled when a MOD deploys a part.
COMSIG_MOD_PART_RETRACTEDCalled when a MOD retracts a part.
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.
COMSIG_MOD_WEARER_SETCalled when the MODsuit wearer is set.
COMSIG_MOD_WEARER_UNSETCalled when the MODsuit wearer is unset.

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_DEPLOYED

Called when a MOD user deploys one or more of its parts.

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(obj/item/mod/module/module)

COMSIG_MOD_PART_DEPLOYED

Called when a MOD deploys a part.

COMSIG_MOD_PART_RETRACTED

Called when a MOD retracts a part.

COMSIG_MOD_RETRACTED

Called when a MOD user retracts one or more of its parts.

COMSIG_MOD_WEARER_SET

Called when the MODsuit wearer is set.

COMSIG_MOD_WEARER_UNSET

Called when the MODsuit wearer is unset.

MOD_CANCEL_ACTIVATE

Cancels the suit's activation

MOD_CANCEL_REMOVAL

Cancels the removal of modules