SS1984 - Modules - TypesDefine Details

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

COMSIG_ATOM_EX_ACTfrom base of atom/ex_act(): (severity, target)
COMSIG_ATOM_EMP_ACTfrom base of atom/emp_act(): (severity)
COMSIG_ATOM_FIRE_ACTfrom base of atom/fire_act(): (exposed_temperature, exposed_volume)
COMSIG_ATOM_BULLET_ACTfrom base of atom/bullet_act(): (/obj/projectile, def_zone)
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_TELEPORT_ACTfrom base of atom/on_teleported(): ()
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_ACTfrom base of atom/proc/tool_act(): (mob/living/user, obj/item/I)
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_TOOL_ATOM_ACTED_PRIMARYCalled from /atom/proc/tool_act (atom)
COMSIG_TOOL_ATOM_ACTED_SECONDARYCalled from /atom/proc/tool_act (atom)
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_SCREWDRIVER_ACTfrom base of atom/screwdriver_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_WRENCH_ACTfrom base of atom/wrench_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_MULTITOOL_ACTfrom base of atom/multitool_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_WELDER_ACTfrom base of atom/welder_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_WIRECUTTER_ACTfrom base of atom/wirecutter_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_CROWBAR_ACTfrom base of atom/crowbar_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_ANALYSER_ACTfrom base of atom/analyser_act(): (mob/living/user, obj/item/I)
COMSIG_ATOM_UPDATE_SHARPNESSCalled when an atom is sharpened or dulled.

Define Details

COMPONENT_CANCEL_BLOB_ACT

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

COMSIG_ATOM_ACID_ACT

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

COMSIG_ATOM_ANALYSER_ACT

from base of atom/analyser_act(): (mob/living/user, obj/item/I)

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_CROWBAR_ACT

from base of atom/crowbar_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_EMAG_ACT

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

COMSIG_ATOM_EMP_ACT

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

COMSIG_ATOM_EX_ACT

from base of atom/ex_act(): (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_MULTITOOL_ACT

from base of atom/multitool_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_NARSIE_ACT

from base of atom/narsie_act(): ()

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_SCREWDRIVER_ACT

from base of atom/screwdriver_act(): (mob/living/user, obj/item/I)

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_TELEPORT_ACT

from base of atom/on_teleported(): ()

COMSIG_ATOM_TOOL_ACT

from base of atom/proc/tool_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_UPDATE_SHARPNESS

Called when an atom is sharpened or dulled.

COMSIG_ATOM_WELDER_ACT

from base of atom/welder_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_WIRECUTTER_ACT

from base of atom/wirecutter_act(): (mob/living/user, obj/item/I)

COMSIG_ATOM_WRENCH_ACT

from base of atom/wrench_act(): (mob/living/user, obj/item/I)

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_TOOL_ATOM_ACTED_PRIMARY

Called from /atom/proc/tool_act (atom)

COMSIG_TOOL_ATOM_ACTED_SECONDARY

Called from /atom/proc/tool_act (atom)

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