code/__DEFINES/dcs/atom_signals.dm
COMSIG_ATOM_AFTER_SUCCESSFUL_INITIALIZE | 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 |
---|---|
COMSIG_PARENT_ATTACKBY | from base of atom/attackby(): (/obj/item, /mob/living, params) |
COMPONENT_NO_AFTERATTACK | Return this in response if you don't want afterattack to be called |
COMSIG_ATOM_HULK_ATTACK | from base of atom/attack_hulk(): (/mob/living/carbon/human) |
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) |
COMSIG_ATOM_UPDATE_APPEARANCE | from base of /atom/proc/update_appearance: (updates) |
COMSIG_ATOM_NO_UPDATE_NAME | If returned from COMSIG_ATOM_UPDATE_APPEARANCE it prevents the atom from updating its name. |
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_UPDATE_NAME | from base of /atom/proc/update_name: (updates) |
COMSIG_ATOM_UPDATE_DESC | from base of /atom/proc/update_desc: (updates) |
COMSIG_ATOM_UPDATE_ICON | from base of /atom/proc/update_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_OVERLAYS | If returned from COMSIG_ATOM_UPDATE_ICON it prevents the atom from updating its overlays. |
COMSIG_ATOM_UPDATE_ICON_STATE | Sent after /atom/proc/update_icon_state is called by /atom/proc/update_icon: () |
COMSIG_ATOM_UPDATE_OVERLAYS | Sent after /atom/proc/update_overlays is called by /atom/proc/update_icon: (list/new_overlays) |
COMSIG_ATOM_UPDATED_ICON | from base of /atom/proc/update_icon: (signalOut, did_anything) |
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_EX_ACT | from base of atom/ex_act(): (severity, target) |
COMSIG_ATOM_EMP_ACT | from base of atom/emp_act(): (severity) |
COMSIG_ATOM_FIRE_ACT | from base of atom/fire_act(): (exposed_temperature, exposed_volume) |
COMSIG_ATOM_BULLET_ACT | from base of atom/bullet_act(): (/obj/projectile, def_zone) |
COMSIG_ATOM_BLOB_ACT | from base of atom/blob_act(): (/obj/structure/blob) |
COMSIG_ATOM_ACID_ACT | from base of atom/acid_act(): (acidpwr, acid_volume) |
COMSIG_ATOM_EMAG_ACT | from base of atom/emag_act(): (/mob/user) |
COMSIG_ATOM_RAD_ACT | from base of atom/rad_act(intensity) |
COMSIG_ATOM_SING_PULL | from base of atom/singularity_pull(): (S, current_size) |
COMSIG_ATOM_SET_LIGHT | from base of atom/set_light(): (l_range, l_power, l_color) |
COMSIG_ATOM_DIR_CHANGE | from base of atom/setDir(): (old_dir, new_dir) |
COMSIG_ATOM_DECALS_ROTATING | from /datum/controller/subsystem/processing/dcs/proc/rotate_decals: (list/datum/element/decal/rotating) |
COMSIG_ATOM_HAS_GRAVITY | from base of atom/has_gravity(): (turf/location, list/forced_gravities) |
COMSIG_ATOM_RAD_PROBE | from proc/get_rad_contents(): () |
COMSIG_ATOM_RAD_CONTAMINATING | from base of datum/radiation_wave/radiate(): (strength) |
COMSIG_ATOM_RAD_WAVE_PASSING | from base of datum/radiation_wave/check_obstructions(): (datum/radiation_wave, width) |
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_ORBITER_STOP | called on an atom who has stopped orbiting another atom (atom/orbiter, atom/formerly_orbited) |
COMSIG_ATOM_HITBY | from base of atom/hitby(atom/movable/AM, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum) |
COMSIG_ATOM_UPDATE_SHARPNESS | Called when an atom is sharpened or dulled. |
COMSIG_ATOM_PREHIT | from base of atom/atom_prehit(obj/item/projectile/P): |
COMPONENT_CANCEL_ATTACK_CHAIN | This response cancels the attack chain entirely. If sent early, it might cause some later effects to be skipped. |
COMSIG_ATOM_INITIALIZED_ON | Called from atom/Initialize() of target: (atom/target) |
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_LIVING_TRY_PULL | called on /living, when pull is attempted, but before it completes, from base of [/mob/living/proc/start_pulling]: (atom/movable/thing, force) |
COMSIG_ATOM_EXPOSE_REAGENTS | from base of atom/expose_reagents(): (/list, /datum/reagents, chemholder, volume_modifier) |
COMSIG_CLICK | from base of atom/Click(): (location, control, params, mob/user) |
COMSIG_CLICK_SHIFT | from base of atom/ShiftClick(): (/mob) |
COMSIG_CLICK_CTRL | from base of atom/CtrlClickOn(): (/mob) |
COMSIG_CLICK_ALT | from base of atom/AltClick(): (/mob) |
COMPONENT_CANCEL_ALTCLICK | Cancel the alt-click, since this isn't properly part of the attack chain |
COMSIG_CLICK_CTRL_SHIFT | from base of atom/CtrlShiftClick(/mob) |
COMSIG_MOUSEDROP_ONTO | from base of atom/MouseDrop(): (/atom/over, /mob/user) |
COMSIG_MOUSEDROPPED_ONTO | from 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_AFTER_SUCCESSFUL_INITIALIZE
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
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_DECALS_ROTATING
from /datum/controller/subsystem/processing/dcs/proc/rotate_decals: (list/datum/element/decal/rotating)
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/proc/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/proc/update_icon: ()
COMSIG_ATOM_UPDATE_ICON_STATE
Sent after /atom/proc/update_icon_state is called by /atom/proc/update_icon: ()
COMSIG_ATOM_UPDATE_NAME
from base of /atom/proc/update_name: (updates)
COMSIG_ATOM_UPDATE_OVERLAYS
Sent after /atom/proc/update_overlays is called by /atom/proc/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/proc/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
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)