/tg/ Station 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
COMSIG_ATOM_INTERCEPT_Z_FALLcalled for each movable in a turf contents on /turf/zImpact(): (atom/movable/A, levels)
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_DIR_CHANGEfrom base of atom/setDir(): (old_dir, new_dir). Called before the direction 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

Define Details

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

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_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_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

SINGULARITY_TRY_MOVE_BLOCK

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