Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/atom_signals.dm

COMSIG_PARENT_ATTACKBYSignals for /atom 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 atom/attackby(): (/obj/item, /mob/living, params)
COMPONENT_NO_AFTERATTACKReturn this in response if you don't want afterattack to be called
COMSIG_ATOM_HULK_ATTACKfrom base of atom/attack_hulk(): (/mob/living/carbon/human)
COMSIG_PARENT_EXAMINEfrom base of atom/examine(): (examining_user, examine_list)
COMSIG_PARENT_EXAMINE_MOREfrom base of atom/examine_more(): (examining_user, examine_list)
COMSIG_ATOM_UPDATE_APPEARANCEfrom base of /atom/proc/update_appearance: (updates)
COMSIG_ATOM_NO_UPDATE_NAMEIf returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its name.
COMSIG_ATOM_NO_UPDATE_DESCIf returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its desc.
COMSIG_ATOM_NO_UPDATE_ICONIf returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its icon.
COMSIG_ATOM_UPDATE_NAMEfrom base of /atom/proc/update_name: (updates)
COMSIG_ATOM_UPDATE_DESCfrom base of /atom/proc/update_desc: (updates)
COMSIG_ATOM_UPDATE_ICONfrom base of /atom/update_icon: ()
COMSIG_ATOM_NO_UPDATE_ICON_STATEIf returned from COMSIG_ATOM_UPDATE_ICON it prevents the atom from updating its icon state.
COMSIG_ATOM_NO_UPDATE_OVERLAYSIf returned from COMSIG_ATOM_UPDATE_ICON it prevents the atom from updating its overlays.
COMSIG_ATOM_UPDATE_ICON_STATESent after atom/update_icon_state is called by /atom/update_icon: ()
COMSIG_ATOM_UPDATE_OVERLAYSSent after atom/update_overlays is called by /atom/update_icon: (list/new_overlays)
COMSIG_ATOM_UPDATED_ICONfrom base of /atom/update_icon: (signalOut, did_anything)
COMSIG_ATOM_ENTEREDfrom base of atom/Entered(): (atom/movable/entering, /atom)
COMSIG_ATOM_EXITfrom base of atom/Exit(): (/atom/movable/exiting, /atom/newloc)
COMSIG_ATOM_EXITEDfrom base of atom/Exited(): (atom/movable/exiting, atom/newloc)
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)
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_RAD_ACTfrom base of atom/rad_act(intensity)
COMSIG_ATOM_SING_PULLfrom base of atom/singularity_pull(): (S, current_size)
COMSIG_ATOM_SET_LIGHTfrom base of atom/set_light(): (l_range, l_power, l_color)
COMSIG_ATOM_DIR_CHANGEfrom base of atom/setDir(): (old_dir, new_dir)
COMSIG_ATOM_HAS_GRAVITYfrom base of atom/has_gravity(): (turf/location, list/forced_gravities)
COMSIG_ATOM_RAD_PROBEfrom proc/get_rad_contents(): ()
COMSIG_ATOM_RAD_CONTAMINATINGfrom base of datum/radiation_wave/radiate(): (strength)
COMSIG_ATOM_RAD_WAVE_PASSINGfrom base of datum/radiation_wave/check_obstructions(): (datum/radiation_wave, width)
COMSIG_ATOM_ORBIT_BEGINcalled when an atom starts orbiting another atom: (atom)
COMSIG_ATOM_ORBIT_STOPcalled when an atom stops orbiting another atom: (atom)
COMSIG_ATOM_ORBITER_STOPcalled on an atom who has stopped orbiting another atom (atom/orbiter, atom/formerly_orbited)
COMSIG_ATOM_HITBYfrom base of atom/hitby(atom/movable/AM, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum)
COMSIG_ATOM_UPDATE_SHARPNESSCalled when an atom is sharpened or dulled.
COMSIG_ATOM_PREHITfrom base of atom/atom_prehit(obj/item/projectile/P):
COMPONENT_CANCEL_ATTACK_CHAINThis response cancels the attack chain entirely. If sent early, it might cause some later effects to be skipped.
COMSIG_ATOM_INITIALIZED_ONCalled from atom/Initialize() of target: (atom/target)
COMSIG_ATOM_ATTACK_GHOSTfrom base of atom/attack_ghost(): (mob/dead/observer/ghost)
COMSIG_ATOM_ATTACK_HANDfrom base of atom/attack_hand(): (mob/user)
COMSIG_ATOM_ATTACK_PAWfrom base of atom/attack_paw(): (mob/user)
COMSIG_LIVING_TRY_PULLcalled on /living, when pull is attempted, but before it completes, from base of [/mob/living/start_pulling]: (atom/movable/thing, force)
COMSIG_ATOM_EXPOSE_REAGENTSfrom base of atom/expose_reagents(): (/list, /datum/reagents, chemholder, volume_modifier)
COMSIG_CLICKfrom base of atom/Click(): (location, control, params, mob/user)
COMSIG_CLICK_SHIFTfrom base of atom/ShiftClick(): (/mob)
COMSIG_CLICK_CTRLfrom base of atom/CtrlClickOn(): (/mob)
COMSIG_CLICK_ALTfrom base of atom/AltClick(): (/mob)
COMPONENT_CANCEL_ALTCLICKCancel the alt-click, since this isn't properly part of the attack chain
COMSIG_CLICK_CTRL_SHIFTfrom base of atom/CtrlShiftClick(/mob)
COMSIG_MOUSEDROP_ONTOfrom base of atom/MouseDrop(): (/atom/over, /mob/user)
COMSIG_MOUSEDROPPED_ONTOfrom base of atom/MouseDrop_T: (/atom/from, /mob/user)

Define Details

COMPONENT_CANCEL_ALTCLICK

Cancel the alt-click, since this isn't properly part of the attack chain

COMPONENT_CANCEL_ATTACK_CHAIN

This response cancels the attack chain entirely. If sent early, it might cause some later effects to be skipped.

COMPONENT_NO_AFTERATTACK

Return this in response if you don't want afterattack to be called

COMSIG_ATOM_ACID_ACT

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

COMSIG_ATOM_ATTACK_GHOST

from base of atom/attack_ghost(): (mob/dead/observer/ghost)

COMSIG_ATOM_ATTACK_HAND

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

COMSIG_ATOM_ATTACK_PAW

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

COMSIG_ATOM_BLOB_ACT

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

COMSIG_ATOM_BULLET_ACT

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

COMSIG_ATOM_DIR_CHANGE

from base of atom/setDir(): (old_dir, new_dir)

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_ENTERED

from base of atom/Entered(): (atom/movable/entering, /atom)

COMSIG_ATOM_EXIT

from base of atom/Exit(): (/atom/movable/exiting, /atom/newloc)

COMSIG_ATOM_EXITED

from base of atom/Exited(): (atom/movable/exiting, atom/newloc)

COMSIG_ATOM_EXPOSE_REAGENTS

from base of atom/expose_reagents(): (/list, /datum/reagents, chemholder, volume_modifier)

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_HAS_GRAVITY

from base of atom/has_gravity(): (turf/location, list/forced_gravities)

COMSIG_ATOM_HITBY

from base of atom/hitby(atom/movable/AM, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum)

COMSIG_ATOM_HULK_ATTACK

from base of atom/attack_hulk(): (/mob/living/carbon/human)

COMSIG_ATOM_INITIALIZED_ON

Called from atom/Initialize() of target: (atom/target)

COMSIG_ATOM_NO_UPDATE_DESC

If returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its desc.

COMSIG_ATOM_NO_UPDATE_ICON

If returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its icon.

COMSIG_ATOM_NO_UPDATE_ICON_STATE

If returned from COMSIG_ATOM_UPDATE_ICON it prevents the atom from updating its icon state.

COMSIG_ATOM_NO_UPDATE_NAME

If returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its name.

COMSIG_ATOM_NO_UPDATE_OVERLAYS

If returned from COMSIG_ATOM_UPDATE_ICON it prevents the atom from updating its overlays.

COMSIG_ATOM_ORBITER_STOP

called on an atom who has stopped orbiting another atom (atom/orbiter, atom/formerly_orbited)

COMSIG_ATOM_ORBIT_BEGIN

called when an atom starts orbiting another atom: (atom)

COMSIG_ATOM_ORBIT_STOP

called when an atom stops orbiting another atom: (atom)

COMSIG_ATOM_PREHIT

from base of atom/atom_prehit(obj/item/projectile/P):

COMSIG_ATOM_RAD_ACT

from base of atom/rad_act(intensity)

COMSIG_ATOM_RAD_CONTAMINATING

from base of datum/radiation_wave/radiate(): (strength)

COMSIG_ATOM_RAD_PROBE

from proc/get_rad_contents(): ()

COMSIG_ATOM_RAD_WAVE_PASSING

from base of datum/radiation_wave/check_obstructions(): (datum/radiation_wave, width)

COMSIG_ATOM_SET_LIGHT

from base of atom/set_light(): (l_range, l_power, l_color)

COMSIG_ATOM_SING_PULL

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

COMSIG_ATOM_UPDATED_ICON

from base of /atom/update_icon: (signalOut, did_anything)

COMSIG_ATOM_UPDATE_APPEARANCE

from base of /atom/proc/update_appearance: (updates)

COMSIG_ATOM_UPDATE_DESC

from base of /atom/proc/update_desc: (updates)

COMSIG_ATOM_UPDATE_ICON

from base of /atom/update_icon: ()

COMSIG_ATOM_UPDATE_ICON_STATE

Sent after atom/update_icon_state is called by /atom/update_icon: ()

COMSIG_ATOM_UPDATE_NAME

from base of /atom/proc/update_name: (updates)

COMSIG_ATOM_UPDATE_OVERLAYS

Sent after atom/update_overlays is called by /atom/update_icon: (list/new_overlays)

COMSIG_ATOM_UPDATE_SHARPNESS

Called when an atom is sharpened or dulled.

COMSIG_CLICK

from base of atom/Click(): (location, control, params, mob/user)

COMSIG_CLICK_ALT

from base of atom/AltClick(): (/mob)

COMSIG_CLICK_CTRL

from base of atom/CtrlClickOn(): (/mob)

COMSIG_CLICK_CTRL_SHIFT

from base of atom/CtrlShiftClick(/mob)

COMSIG_CLICK_SHIFT

from base of atom/ShiftClick(): (/mob)

COMSIG_LIVING_TRY_PULL

called on /living, when pull is attempted, but before it completes, from base of [/mob/living/start_pulling]: (atom/movable/thing, force)

COMSIG_MOUSEDROPPED_ONTO

from base of atom/MouseDrop_T: (/atom/from, /mob/user)

COMSIG_MOUSEDROP_ONTO

from base of atom/MouseDrop(): (/atom/over, /mob/user)

COMSIG_PARENT_ATTACKBY

Signals for /atom 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 atom/attackby(): (/obj/item, /mob/living, params)

COMSIG_PARENT_EXAMINE

from base of atom/examine(): (examining_user, examine_list)

COMSIG_PARENT_EXAMINE_MORE

from base of atom/examine_more(): (examining_user, examine_list)