code/__DEFINES/dcs/movable_signals.dm
COMSIG_MOVABLE_MOVED | Signals for /atom/movable 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/movable/Moved(): (/atom, dir) |
---|---|
COMSIG_MOVABLE_CROSS | from base of atom/movable/Cross(): (/atom/movable) |
COMSIG_MOVABLE_CROSSED | from base of atom/movable/Crossed(): (/atom/movable) |
COMSIG_CROSSED_MOVABLE | when we cross over something (calling Crossed() on that atom) |
COMSIG_MOVABLE_UNCROSS | from base of atom/movable/Uncross(): (/atom/movable) |
COMSIG_MOVABLE_UNCROSSED | from base of atom/movable/Uncrossed(): (/atom/movable) |
COMSIG_MOVABLE_BUMP | from base of atom/movable/Bump(): (/atom) |
COMSIG_MOVABLE_IMPACT | from base of atom/movable/throw_impact(): (/atom/hit_atom, /datum/thrownthing/throwingdatum) |
COMSIG_MOVABLE_IMPACT_ZONE | from base of mob/living/hitby(): (mob/living/target, hit_zone) |
COMSIG_MOVABLE_PREBUCKLE | from /atom/movable/proc/buckle_mob(): (mob/living/M, force, check_loc, buckle_mob_flags) |
COMSIG_MOVABLE_BUCKLE | from base of atom/movable/buckle_mob(): (mob, force) |
COMSIG_MOVABLE_UNBUCKLE | from base of atom/movable/unbuckle_mob(): (mob, force) |
COMSIG_RIDDEN_DRIVER_MOVE | from /obj/vehicle/proc/driver_move, caught by the riding component to check and execute the driver trying to drive the vehicle |
COMSIG_MOVABLE_POST_THROW | from base of atom/movable/throw_at(): (datum/thrownthing, spin) |
COMSIG_MOVABLE_THROW_LANDED | from base of datum/thrownthing/finalize(): (obj/thrown_object, datum/thrownthing) used for when a throw is finished |
COMSIG_MOVABLE_SHOVE_IMPACT | from base of atom/movable/shove_impact(): (mob/living/target, mob/living/attacker) |
COMSIG_MOVABLE_Z_CHANGED | from base of atom/movable/onTransitZ(): (old_z, new_z) |
COMSIG_MOVABLE_TRY_UNTILT | Called just before something gets untilted |
COMPONENT_BLOCK_UNTILT | Return this to block an untilt attempt |
COMSIG_MOVABLE_UNTILTED | Called when something gets untilted, from /datum/element/tilted/proc/do_untilt(atom/movable/source, mob/user) |
COMSIG_MOVABLE_DISPOSING | called when the movable is added to a disposal holder object for disposal movement: (obj/structure/disposalholder/holder, obj/machinery/disposal/source) |
COMSIG_MOVABLE_EXIT_DISPOSALS | called when the movable is removed from a disposal holder object: /obj/structure/disposalpipe/proc/expel(): (obj/structure/disposalholder/H, turf/T, direction) |
COMSIG_MOVABLE_SPACEMOVE | from base of atom/movable/Process_Spacemove(): (movement_dir, continuous_move) |
COMSIG_ACTION_SCROLLED | From base of /atom/movable/screen/movable/action_button/MouseWheel(src, delta_x, delta_y, location, control, params) |
COMSIG_MOVABLE_TELEPORTING | Called before a movable is being teleported from multiple sources: (destination) |
COMSIG_ATOM_INTERCEPT_TELEPORTED | Called when blocking a teleport |
Define Details
COMPONENT_BLOCK_UNTILT
Return this to block an untilt attempt
COMSIG_ACTION_SCROLLED
From base of /atom/movable/screen/movable/action_button/MouseWheel(src, delta_x, delta_y, location, control, params)
COMSIG_ATOM_INTERCEPT_TELEPORTED
Called when blocking a teleport
COMSIG_CROSSED_MOVABLE
when we cross over something (calling Crossed() on that atom)
COMSIG_MOVABLE_BUCKLE
from base of atom/movable/buckle_mob(): (mob, force)
COMSIG_MOVABLE_BUMP
from base of atom/movable/Bump(): (/atom)
COMSIG_MOVABLE_CROSS
from base of atom/movable/Cross(): (/atom/movable)
COMSIG_MOVABLE_CROSSED
from base of atom/movable/Crossed(): (/atom/movable)
COMSIG_MOVABLE_DISPOSING
called when the movable is added to a disposal holder object for disposal movement: (obj/structure/disposalholder/holder, obj/machinery/disposal/source)
COMSIG_MOVABLE_EXIT_DISPOSALS
called when the movable is removed from a disposal holder object: /obj/structure/disposalpipe/proc/expel(): (obj/structure/disposalholder/H, turf/T, direction)
COMSIG_MOVABLE_IMPACT
from base of atom/movable/throw_impact(): (/atom/hit_atom, /datum/thrownthing/throwingdatum)
COMSIG_MOVABLE_IMPACT_ZONE
from base of mob/living/hitby(): (mob/living/target, hit_zone)
COMSIG_MOVABLE_MOVED
Signals for /atom/movable 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/movable/Moved(): (/atom, dir)
COMSIG_MOVABLE_POST_THROW
from base of atom/movable/throw_at(): (datum/thrownthing, spin)
COMSIG_MOVABLE_PREBUCKLE
from /atom/movable/proc/buckle_mob(): (mob/living/M, force, check_loc, buckle_mob_flags)
COMSIG_MOVABLE_SHOVE_IMPACT
from base of atom/movable/shove_impact(): (mob/living/target, mob/living/attacker)
COMSIG_MOVABLE_SPACEMOVE
from base of atom/movable/Process_Spacemove(): (movement_dir, continuous_move)
COMSIG_MOVABLE_TELEPORTING
Called before a movable is being teleported from multiple sources: (destination)
COMSIG_MOVABLE_THROW_LANDED
from base of datum/thrownthing/finalize(): (obj/thrown_object, datum/thrownthing) used for when a throw is finished
COMSIG_MOVABLE_TRY_UNTILT
Called just before something gets untilted
COMSIG_MOVABLE_UNBUCKLE
from base of atom/movable/unbuckle_mob(): (mob, force)
COMSIG_MOVABLE_UNCROSS
from base of atom/movable/Uncross(): (/atom/movable)
COMSIG_MOVABLE_UNCROSSED
from base of atom/movable/Uncrossed(): (/atom/movable)
COMSIG_MOVABLE_UNTILTED
Called when something gets untilted, from /datum/element/tilted/proc/do_untilt(atom/movable/source, mob/user)
COMSIG_MOVABLE_Z_CHANGED
from base of atom/movable/onTransitZ(): (old_z, new_z)
COMSIG_RIDDEN_DRIVER_MOVE
from /obj/vehicle/proc/driver_move, caught by the riding component to check and execute the driver trying to drive the vehicle