/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_atom/signals_atom_x_act.dm

COMSIG_ATOM_PRE_EX_ACTfrom the EX_ACT wrapper macro: (severity, target)
COMPONENT_CANCEL_EX_ACTif returned, don't let the explosion act on this atom
COMSIG_ATOM_EX_ACTfrom the EX_ACT wrapper macro: (severity, target)
COMSIG_ATOM_PRE_EMP_ACTfrom base of atom/emp_act(severity): (severity). return EMP protection flags
COMSIG_ATOM_EMP_ACTfrom base of atom/emp_act(severity): (severity, protection)
COMSIG_ATOM_FIRE_ACTfrom base of atom/fire_act(): (exposed_temperature, exposed_volume)
COMSIG_ATOM_PRE_BULLET_ACTfrom base of atom/bullet_act(): (/obj/projectile, def_zone)
COMPONENT_BULLET_ACTEDAll this does is prevent default bullet on_hit from being called, [BULLET_ACT_HIT] being return is implied
COMPONENT_BULLET_BLOCKEDForces bullet act to return [BULLET_ACT_BLOCK], takes priority over above
COMPONENT_BULLET_PIERCEDForces bullet act to return [BULLET_ACT_FORCE_PIERCE], takes priority over above
COMSIG_ATOM_BULLET_ACTfrom base of atom/bullet_act(): (/obj/projectile, def_zone)
COMSIG_ATOM_CHECKPARTSfrom base of atom/CheckParts(): (list/parts_list, datum/crafting_recipe/R)
COMSIG_ATOM_USED_IN_CRAFTfrom base of atom/CheckParts(): (atom/movable/new_craft) - The atom has just been used in a crafting recipe and has been moved inside new_craft.
COMSIG_ATOM_BLOB_ACTfrom base of atom/blob_act(): (/obj/structure/blob)
COMPONENT_CANCEL_BLOB_ACTif returned, forces nothing to happen when the atom is attacked by a blob
COMSIG_ATOM_ACID_ACTfrom base of atom/acid_act(): (acidpwr, acid_volume)
COMSIG_ATOM_EMAG_ACTfrom base of atom/emag_act(): (/mob/user)
COMSIG_ATOM_NARSIE_ACTfrom base of atom/narsie_act(): ()
COMSIG_ATOM_RCD_ACTfrom base of atom/rcd_act(): (/mob, /obj/item/construction/rcd, passed_mode)
COMSIG_ATOM_SING_PULLfrom base of atom/singularity_pull(): (/atom, current_size)
COMSIG_ATOM_BSA_BEAMfrom obj/machinery/bsa/full/proc/fire(): ()
COMSIG_ATOM_ITEM_INTERACTIONSent from atom/proc/item_interaction, when this atom is left-clicked on by a mob with an item Sent from the very beginning of the click chain, intended for generic atom-item interactions Args: (mob/living/user, obj/item/tool, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_ATOM_ITEM_INTERACTION_SECONDARYSent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with an item Sent from the very beginning of the click chain, intended for generic atom-item interactions Args: (mob/living/user, obj/item/tool, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_USER_ITEM_INTERACTIONSent from atom/proc/item_interaction, to a mob clicking on an atom with an item
COMSIG_ITEM_INTERACTING_WITH_ATOMSent from atom/proc/item_interaction, to an item clicking on an atom Args: (mob/living/user, atom/interacting_with, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_ITEM_INTERACTING_WITH_ATOM_SECONDARYSent from atom/proc/item_interaction, to an item right-clicking on an atom Args: (mob/living/user, atom/interacting_with, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_USER_ITEM_INTERACTION_SECONDARYSent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with a tool
COMSIG_ATOM_TOOL_ACTSent from atom/proc/item_interaction, when this atom is left-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool, list/recipes) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_ATOM_SECONDARY_TOOL_ACTSent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)
COMSIG_ATOM_RANGED_ITEM_INTERACTIONSent from atom/proc/ranged_item_interaction, when this atom is left-clicked on by a mob with an item while not adjacent
COMSIG_ATOM_RANGED_ITEM_INTERACTION_SECONDARYSent from atom/proc/ranged_item_interaction, when this atom is right-clicked on by a mob with an item while not adjacent
COMSIG_RANGED_ITEM_INTERACTING_WITH_ATOMSent from atom/proc/ranged_item_interaction, when a mob is using this item while left-clicking on by an atom while not adjacent
COMSIG_RANGED_ITEM_INTERACTING_WITH_ATOM_SECONDARYSent from atom/proc/ranged_item_interaction, when a mob is using this item while right-clicking on by an atom while not adjacent
COMSIG_ITEM_TOOL_ACTEDSent from atom/proc/item_interaction, when this atom is used as a tool and an event occurs
COMSIG_ATOM_SABOTEUR_ACTfrom /obj/projectile/energy/fisher/on_hit() or /obj/item/gun/energy/recharge/fisher when striking a target

Define Details

COMPONENT_BULLET_ACTED

All this does is prevent default bullet on_hit from being called, [BULLET_ACT_HIT] being return is implied

COMPONENT_BULLET_BLOCKED

Forces bullet act to return [BULLET_ACT_BLOCK], takes priority over above

COMPONENT_BULLET_PIERCED

Forces bullet act to return [BULLET_ACT_FORCE_PIERCE], takes priority over above

COMPONENT_CANCEL_BLOB_ACT

if returned, forces nothing to happen when the atom is attacked by a blob

COMPONENT_CANCEL_EX_ACT

if returned, don't let the explosion act on this atom

COMSIG_ATOM_ACID_ACT

from base of atom/acid_act(): (acidpwr, acid_volume)

COMSIG_ATOM_BLOB_ACT

from base of atom/blob_act(): (/obj/structure/blob)

COMSIG_ATOM_BSA_BEAM

from obj/machinery/bsa/full/proc/fire(): ()

COMSIG_ATOM_BULLET_ACT

from base of atom/bullet_act(): (/obj/projectile, def_zone)

COMSIG_ATOM_CHECKPARTS

from base of atom/CheckParts(): (list/parts_list, datum/crafting_recipe/R)

COMSIG_ATOM_EMAG_ACT

from base of atom/emag_act(): (/mob/user)

COMSIG_ATOM_EMP_ACT

from base of atom/emp_act(severity): (severity, protection)

COMSIG_ATOM_EX_ACT

from the EX_ACT wrapper macro: (severity, target)

COMSIG_ATOM_FIRE_ACT

from base of atom/fire_act(): (exposed_temperature, exposed_volume)

COMSIG_ATOM_ITEM_INTERACTION

Sent from atom/proc/item_interaction, when this atom is left-clicked on by a mob with an item Sent from the very beginning of the click chain, intended for generic atom-item interactions Args: (mob/living/user, obj/item/tool, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ATOM_ITEM_INTERACTION_SECONDARY

Sent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with an item Sent from the very beginning of the click chain, intended for generic atom-item interactions Args: (mob/living/user, obj/item/tool, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ATOM_NARSIE_ACT

from base of atom/narsie_act(): ()

COMSIG_ATOM_PRE_BULLET_ACT

from base of atom/bullet_act(): (/obj/projectile, def_zone)

COMSIG_ATOM_PRE_EMP_ACT

from base of atom/emp_act(severity): (severity). return EMP protection flags

COMSIG_ATOM_PRE_EX_ACT

from the EX_ACT wrapper macro: (severity, target)

COMSIG_ATOM_RANGED_ITEM_INTERACTION

Sent from atom/proc/ranged_item_interaction, when this atom is left-clicked on by a mob with an item while not adjacent

COMSIG_ATOM_RANGED_ITEM_INTERACTION_SECONDARY

Sent from atom/proc/ranged_item_interaction, when this atom is right-clicked on by a mob with an item while not adjacent

COMSIG_ATOM_RCD_ACT

from base of atom/rcd_act(): (/mob, /obj/item/construction/rcd, passed_mode)

COMSIG_ATOM_SABOTEUR_ACT

from /obj/projectile/energy/fisher/on_hit() or /obj/item/gun/energy/recharge/fisher when striking a target

COMSIG_ATOM_SECONDARY_TOOL_ACT

Sent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ATOM_SING_PULL

from base of atom/singularity_pull(): (/atom, current_size)

COMSIG_ATOM_TOOL_ACT

Sent from atom/proc/item_interaction, when this atom is left-clicked on by a mob with a tool of a specific tool type Args: (mob/living/user, obj/item/tool, list/recipes) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ATOM_USED_IN_CRAFT

from base of atom/CheckParts(): (atom/movable/new_craft) - The atom has just been used in a crafting recipe and has been moved inside new_craft.

COMSIG_ITEM_INTERACTING_WITH_ATOM

Sent from atom/proc/item_interaction, to an item clicking on an atom Args: (mob/living/user, atom/interacting_with, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ITEM_INTERACTING_WITH_ATOM_SECONDARY

Sent from atom/proc/item_interaction, to an item right-clicking on an atom Args: (mob/living/user, atom/interacting_with, list/modifiers) Return any ITEM_INTERACT_ flags as relevant (see tools.dm)

COMSIG_ITEM_TOOL_ACTED

Sent from atom/proc/item_interaction, when this atom is used as a tool and an event occurs

COMSIG_RANGED_ITEM_INTERACTING_WITH_ATOM

Sent from atom/proc/ranged_item_interaction, when a mob is using this item while left-clicking on by an atom while not adjacent

COMSIG_RANGED_ITEM_INTERACTING_WITH_ATOM_SECONDARY

Sent from atom/proc/ranged_item_interaction, when a mob is using this item while right-clicking on by an atom while not adjacent

COMSIG_USER_ITEM_INTERACTION

Sent from atom/proc/item_interaction, to a mob clicking on an atom with an item

COMSIG_USER_ITEM_INTERACTION_SECONDARY

Sent from atom/proc/item_interaction, when this atom is right-clicked on by a mob with a tool