Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/item_signals.dm

COMSIG_ITEM_ATTACKSignals for /obj/item and subtypes that have too few related signals to put in separate files. Doc format: /// when the signal is called: (signal arguments). All signals send the source datum of the signal as the first argument from base of obj/item/attack(): (/mob/living/target, /mob/living/user)
COMSIG_ITEM_ATTACK_SELFfrom base of obj/item/attack_self(): (/mob)
COMSIG_ITEM_ATTACK_OBJfrom base of obj/item/attack_obj(): (/obj, /mob)
COMSIG_ITEM_PRE_ATTACKfrom base of obj/item/pre_attack(): (atom/target, mob/user, params)
COMSIG_ITEM_BEING_ATTACKEDfrom base of obj/item/pre_attack(): (atom/target, mob/user, params)
COMSIG_ITEM_AFTERATTACKfrom base of obj/item/afterattack(): (atom/target, mob/user, params)
COMSIG_ITEM_PRE_UNEQUIPcalled on /obj/item before unequip from base of [mob/proc/doUnEquip]: (force, atom/newloc, no_move, invdrop, silent)
COMPONENT_ITEM_BLOCK_UNEQUIPonly the pre unequip can be cancelled
COMSIG_ITEM_EQUIPPEDfrom base of obj/item/equipped(): (/mob/equipper, slot)
COMSIG_ITEM_DROPPEDfrom base of obj/item/dropped(): (mob/user)
COMSIG_ITEM_PICKUPfrom base of obj/item/pickup(): (/mob/taker)
COMSIG_ITEM_HIT_REACTfrom base of obj/item/hit_reaction(): (list/args)
COMSIG_ITEM_SHARPEN_ACTfrom base of item/sharpener/attackby(): (amount, max)
COMSIG_TOOL_ATTACKfrom base of [/obj/item/proc/tool_attack_chain]: (atom/tool, mob/user)
COMSIG_ASSEMBLY_PULSEDCalled by /obj/item/assembly/signaler(called_from_radio)
COMSIG_SHOES_STEP_ACTIONfrom [/mob/living/carbon/human/Move]: ()
COMSIG_IMPLANT_ACTIVATEDfrom base of /obj/item/bio_chip/proc/activate(): ()
COMSIG_IMPLANT_IMPLANTINGfrom base of /obj/item/bio_chip/proc/implant(): (list/args)
COMSIG_IMPLANT_OTHERcalled on already installed implants when a new one is being added in /obj/item/bio_chip/proc/implant(): (list/args, obj/item/bio_chip/new_implant)
COMSIG_IMPLANT_EXISTING_UPLINKcalled on implants being implanted into someone with an uplink implant: (datum/component/uplink)
COMSIG_IMPLANT_IMPLANTEDcalled on implants, after a successful implantation: (mob/living/target, mob/user, silent, force)
COMSIG_IMPLANT_REMOVEDcalled on implants, after an implant has been removed: (mob/living/source, silent, special)
COMSIG_GUN_TRY_FIREcalled in /obj/item/gun/fire_gun (user, target, flag, params)
COMSIG_MOB_TRY_FIREcalled in /obj/item/gun/afterattack (user, target, flag, params)
COMSIG_GUN_FIREDcalled in /obj/item/gun/process_fire (user, target)
COMSIG_AUTOFIRE_ONMOUSEDOWNcalled in /datum/component/automatic_fire/proc/on_mouse_down: (client/clicker, atom/target, turf/location, control, params)
COMSIG_AUTOFIRE_SHOTcalled in /datum/component/automatic_fire/proc/process_shot(): (atom/target, mob/living/shooter, allow_akimbo, params)
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 deploys one or more of its parts.
COMSIG_MOD_RETRACTEDCalled when a MOD retracts one or more of its parts.
COMSIG_MOD_TOGGLEDCalled when a MOD is finished toggling itself.
COMSIG_MOD_ACTIVATECalled when a MOD activation is called from toggle_activate(mob/user)
MOD_CANCEL_ACTIVATECancels the suit's activation
COMSIG_MOD_MODULE_REMOVEDCalled when a MOD finishes having a module removed from it.
COMSIG_MOD_MODULE_ADDEDCalled when a MOD finishes having a module added to it.
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)
MOD_ABORT_USECancels activation, with no message. Include feedback on your cancel.
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.
COMSIG_SPEED_POTION_APPLIEDfrom base of /obj/item/slimepotion/speed/afterattack(): (obj/target, /obj/src, mob/user)

Define Details

COMPONENT_ITEM_BLOCK_UNEQUIP

only the pre unequip can be cancelled

COMSIG_ASSEMBLY_PULSED

Called by /obj/item/assembly/signaler(called_from_radio)

COMSIG_AUTOFIRE_ONMOUSEDOWN

called in /datum/component/automatic_fire/proc/on_mouse_down: (client/clicker, atom/target, turf/location, control, params)

COMSIG_AUTOFIRE_SHOT

called in /datum/component/automatic_fire/proc/process_shot(): (atom/target, mob/living/shooter, allow_akimbo, params)

COMSIG_GUN_FIRED

called in /obj/item/gun/process_fire (user, target)

COMSIG_GUN_TRY_FIRE

called in /obj/item/gun/fire_gun (user, target, flag, params)

COMSIG_IMPLANT_ACTIVATED

from base of /obj/item/bio_chip/proc/activate(): ()

called on implants being implanted into someone with an uplink implant: (datum/component/uplink)

COMSIG_IMPLANT_IMPLANTED

called on implants, after a successful implantation: (mob/living/target, mob/user, silent, force)

COMSIG_IMPLANT_IMPLANTING

from base of /obj/item/bio_chip/proc/implant(): (list/args)

COMSIG_IMPLANT_OTHER

called on already installed implants when a new one is being added in /obj/item/bio_chip/proc/implant(): (list/args, obj/item/bio_chip/new_implant)

COMSIG_IMPLANT_REMOVED

called on implants, after an implant has been removed: (mob/living/source, silent, special)

COMSIG_ITEM_AFTERATTACK

from base of obj/item/afterattack(): (atom/target, mob/user, params)

COMSIG_ITEM_ATTACK

Signals for /obj/item and subtypes that have too few related signals to put in separate files. Doc format: /// when the signal is called: (signal arguments). All signals send the source datum of the signal as the first argument from base of obj/item/attack(): (/mob/living/target, /mob/living/user)

COMSIG_ITEM_ATTACK_OBJ

from base of obj/item/attack_obj(): (/obj, /mob)

COMSIG_ITEM_ATTACK_SELF

from base of obj/item/attack_self(): (/mob)

COMSIG_ITEM_BEING_ATTACKED

from base of obj/item/pre_attack(): (atom/target, mob/user, params)

COMSIG_ITEM_DROPPED

from base of obj/item/dropped(): (mob/user)

COMSIG_ITEM_EQUIPPED

from base of obj/item/equipped(): (/mob/equipper, slot)

COMSIG_ITEM_HIT_REACT

from base of obj/item/hit_reaction(): (list/args)

COMSIG_ITEM_PICKUP

from base of obj/item/pickup(): (/mob/taker)

COMSIG_ITEM_PRE_ATTACK

from base of obj/item/pre_attack(): (atom/target, mob/user, params)

COMSIG_ITEM_PRE_UNEQUIP

called on /obj/item before unequip from base of [mob/proc/doUnEquip]: (force, atom/newloc, no_move, invdrop, silent)

COMSIG_ITEM_SHARPEN_ACT

from base of item/sharpener/attackby(): (amount, max)

COMSIG_MOB_TRY_FIRE

called in /obj/item/gun/afterattack (user, target, flag, params)

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 deploys one or more of its parts.

COMSIG_MOD_MODULE_ADDED

Called when a MOD finishes having a module added to it.

COMSIG_MOD_MODULE_REMOVAL

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

COMSIG_MOD_MODULE_REMOVED

Called when a MOD finishes having a module removed from it.

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_RETRACTED

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

COMSIG_MOD_TOGGLED

Called when a MOD is finished toggling itself.

COMSIG_MOD_WEARER_SET

Called when the MODsuit wearer is set.

COMSIG_MOD_WEARER_UNSET

Called when the MODsuit wearer is unset.

COMSIG_SHOES_STEP_ACTION

from [/mob/living/carbon/human/Move]: ()

COMSIG_SPEED_POTION_APPLIED

from base of /obj/item/slimepotion/speed/afterattack(): (obj/target, /obj/src, mob/user)

COMSIG_TOOL_ATTACK

from base of [/obj/item/proc/tool_attack_chain]: (atom/tool, mob/user)

MOD_ABORT_USE

Cancels activation, with no message. Include feedback on your cancel.

MOD_CANCEL_ACTIVATE

Cancels the suit's activation

MOD_CANCEL_REMOVAL

Cancels the removal of modules