Yogstation 13 - Modules - TypesDefine Details

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

COMSIG_ATOM_CAN_BE_PULLEDsignal sent out by an atom when it checks if it can be pulled, for additional checks
COMSIG_ATOM_NO_LONGER_PULLEDsignal sent out by an atom when it is no longer being pulled by something else : (atom/puller)
COMSIG_ATOM_NO_LONGER_PULLINGsignal sent out by an atom when it is no longer pulling something : (atom/pulling)
COMSIG_ATOM_INTERCEPT_Z_FALLcalled for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels)
COMSIG_ATOM_ON_Z_IMPACTsignal sent out by an atom upon onZImpact : (turf/impacted_turf, levels)
COMSIG_ATOM_AFTER_SHUTTLE_MOVESignal sent after an atom movable moves on shuttle.
COMSIG_ATOM_START_PULLcalled on a movable (NOT living) when it starts pulling (atom/movable/pulled, state, force)
COMSIG_LIVING_START_PULLcalled on /living when someone starts pulling (atom/movable/pulled, state, force)
COMSIG_LIVING_GET_PULLEDcalled on /living when someone is pulled (mob/living/puller)
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_LIVING_UPDATING_PULL_MOVESPEEDCalled from /mob/living/update_pull_movespeed
COMSIG_LIVING_PUSHING_MOVABLECalled 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_INTERACTfrom base of [/atom/proc/interact]: (mob/user)
COMSIG_ATOM_RELAYMOVEfrom base of atom/relaymove(): (mob/living/user, direction)
COMSIG_BLOCK_RELAYMOVEprevents the "you cannot move while buckled! message"
COMSIG_ATOM_PRE_DIR_CHANGEFrom base of atom/setDir(): (old_dir, new_dir). Called before the direction changes
COMSIG_ATOM_DIR_CHANGEfrom base of atom/setDir(): (old_dir, new_dir). Called before the direction changes.
COMSIG_ATOM_POST_DIR_CHANGEfrom base of atom/setDir(): (old_dir, new_dir). Called after the direction changes.
COMSIG_MOVABLE_KEYBIND_FACE_DIRfrom base of atom/movable/keybind_face_direction(): (dir). Called before turning with the movement lock key.
COMSIG_IGNORE_MOVEMENT_LOCKignores the movement lock key, used for turning while strafing in a mech
COMSIG_ATOM_SHIFT_CHANGEfrom base of atom/setShift(): (dir). Called before the shift changes.
COMSIG_ATOM_SINGULARITY_TRY_MOVEfrom /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_BLOCKWhen returned from COMSIG_ATOM_SINGULARITY_TRY_MOVE, the singularity will move to that turf
COMSIG_ATOM_PRE_PRESSURE_PUSHfrom base of atom/experience_pressure_difference(): (pressure_difference, direction, pressure_resistance_prob_delta)
COMSIG_ATOM_BLOCKS_PRESSUREprevents pressure movement

Define Details

COMSIG_ATOM_AFTER_SHUTTLE_MOVE

Signal sent after an atom movable moves on shuttle.

COMSIG_ATOM_BLOCKS_PRESSURE

prevents pressure movement

COMSIG_ATOM_CAN_BE_PULLED

signal sent out by an atom when it checks if it can be pulled, for additional checks

COMSIG_ATOM_DIR_CHANGE

from base of atom/setDir(): (old_dir, new_dir). Called before the direction changes.

COMSIG_ATOM_INTERCEPT_Z_FALL

called for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels)

COMSIG_ATOM_NO_LONGER_PULLED

signal sent out by an atom when it is no longer being pulled by something else : (atom/puller)

COMSIG_ATOM_NO_LONGER_PULLING

signal sent out by an atom when it is no longer pulling something : (atom/pulling)

COMSIG_ATOM_ON_Z_IMPACT

signal sent out by an atom upon onZImpact : (turf/impacted_turf, levels)

COMSIG_ATOM_POST_DIR_CHANGE

from base of atom/setDir(): (old_dir, new_dir). Called after the direction changes.

COMSIG_ATOM_PRE_DIR_CHANGE

From base of atom/setDir(): (old_dir, new_dir). Called before the direction changes

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_SHIFT_CHANGE

from base of atom/setShift(): (dir). Called before the shift 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

COMSIG_ATOM_START_PULL

called on a movable (NOT living) when it starts pulling (atom/movable/pulled, state, force)

COMSIG_ATOM_UI_INTERACT

from base of [/atom/proc/interact]: (mob/user)

COMSIG_BLOCK_RELAYMOVE

prevents the "you cannot move while buckled! message"

COMSIG_IGNORE_MOVEMENT_LOCK

ignores the movement lock key, used for turning while strafing in a mech

COMSIG_LIVING_GET_PULLED

called on /living when someone is pulled (mob/living/puller)

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_PULL

called on /living when someone starts pulling (atom/movable/pulled, state, force)

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_LIVING_UPDATING_PULL_MOVESPEED

Called from /mob/living/update_pull_movespeed

COMSIG_MOVABLE_KEYBIND_FACE_DIR

from base of atom/movable/keybind_face_direction(): (dir). Called before turning with the movement lock key.

SINGULARITY_TRY_MOVE_BLOCK

When returned from COMSIG_ATOM_SINGULARITY_TRY_MOVE, the singularity will move to that turf