code/__DEFINES/dcs/signals/signals_atom/signals_atom_movement.dm
COMSIG_ATOM_CAN_BE_GRABBED | signal sent out by an atom when it checks if it can be grabbed, for additional checks |
---|---|
COMSIG_ATOM_NO_LONGER_GRABBED | signal sent out by an atom when it is no longer being pulled by something else : (atom/puller) |
COMSIG_LIVING_NO_LONGER_GRABBING | signal sent out by a living mob when it is no longer pulling something : (atom/pulling) |
COMSIG_ATOM_INTERCEPT_Z_FALL | called for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels) |
COMSIG_LIVING_START_GRAB | called on a movable when it starts pulling (atom/movable/pulled, state, force) |
COMSIG_ATOM_GET_GRABBED | called on a movable when it has been grabbed |
COMSIG_LIVING_TRY_GRAB | called on /living, when a grab is attempted, but before it completes, from base of [/mob/living/make_grab]: (atom/movable/thing, grab_type) |
COMSIG_LIVING_PUSHING_MOVABLE | Called from /mob/living/PushAM -- Called when this mob is about to push a movable, but before it moves (aotm/movable/being_pushed) |
COMSIG_ATOM_UI_INTERACT | from base of [/atom/proc/interact]: (mob/user) |
COMSIG_ATOM_RELAYMOVE | from base of atom/relaymove(): (mob/living/user, direction) |
COMSIG_BLOCK_RELAYMOVE | prevents the "you cannot move while buckled! message" |
COMSIG_ATOM_DIR_CHANGE | from base of atom/setDir(): (old_dir, new_dir). Called before the direction changes. |
COMSIG_ATOM_DENSITY_CHANGE | from base of atom/set_density(): (old_density, new_density). Called before the density changes. |
COMSIG_ATOM_SINGULARITY_TRY_MOVE | from /datum/component/singularity/proc/can_move(), as well as /obj/energy_ball/proc/can_move()
if a callback returns SINGULARITY_TRY_MOVE_BLOCK , then the singularity will not move to that turf |
SINGULARITY_TRY_MOVE_BLOCK | When returned from COMSIG_ATOM_SINGULARITY_TRY_MOVE , the singularity will move to that turf |
COMSIG_ATOM_PRE_PRESSURE_PUSH | from base of atom/experience_pressure_difference(): (pressure_difference, direction, pressure_resistance_prob_delta) |
COMSIG_ATOM_BLOCKS_PRESSURE | prevents pressure movement |
Define Details
COMSIG_ATOM_BLOCKS_PRESSURE
prevents pressure movement
COMSIG_ATOM_CAN_BE_GRABBED
signal sent out by an atom when it checks if it can be grabbed, for additional checks
COMSIG_ATOM_DENSITY_CHANGE
from base of atom/set_density(): (old_density, new_density). Called before the density changes.
COMSIG_ATOM_DIR_CHANGE
from base of atom/setDir(): (old_dir, new_dir). Called before the direction changes.
COMSIG_ATOM_GET_GRABBED
called on a movable when it has been grabbed
COMSIG_ATOM_INTERCEPT_Z_FALL
called for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels)
COMSIG_ATOM_NO_LONGER_GRABBED
signal sent out by an atom when it is no longer being pulled by something else : (atom/puller)
COMSIG_ATOM_PRE_PRESSURE_PUSH
from base of atom/experience_pressure_difference(): (pressure_difference, direction, pressure_resistance_prob_delta)
COMSIG_ATOM_RELAYMOVE
from base of atom/relaymove(): (mob/living/user, direction)
COMSIG_ATOM_SINGULARITY_TRY_MOVE
from /datum/component/singularity/proc/can_move(), as well as /obj/energy_ball/proc/can_move()
if a callback returns SINGULARITY_TRY_MOVE_BLOCK
, then the singularity will not move to that turf
COMSIG_ATOM_UI_INTERACT
from base of [/atom/proc/interact]: (mob/user)
COMSIG_BLOCK_RELAYMOVE
prevents the "you cannot move while buckled! message"
COMSIG_LIVING_NO_LONGER_GRABBING
signal sent out by a living mob when it is no longer pulling something : (atom/pulling)
COMSIG_LIVING_PUSHING_MOVABLE
Called from /mob/living/PushAM -- Called when this mob is about to push a movable, but before it moves (aotm/movable/being_pushed)
COMSIG_LIVING_START_GRAB
called on a movable when it starts pulling (atom/movable/pulled, state, force)
COMSIG_LIVING_TRY_GRAB
called on /living, when a grab is attempted, but before it completes, from base of [/mob/living/make_grab]: (atom/movable/thing, grab_type)
SINGULARITY_TRY_MOVE_BLOCK
When returned from COMSIG_ATOM_SINGULARITY_TRY_MOVE
, the singularity will move to that turf