code/__DEFINES/dcs/signals/signals_turf.dm
COMSIG_TURF_CHANGE | from base of turf/ChangeTurf(): (path, list/new_baseturfs, flags, list/post_change_callbacks).
post_change_callbacks is a list that signal handlers can mutate to append /datum/callback objects.
They will be called with the new turf after the turf has changed. |
---|---|
COMSIG_TURF_HAS_GRAVITY | from base of atom/has_gravity(): (atom/asker, list/forced_gravities) |
COMSIG_TURF_MULTIZ_DEL | from base of turf/multiz_turf_del(): (turf/source, direction) |
COMSIG_TURF_MULTIZ_NEW | from base of turf/multiz_turf_new: (turf/source, direction) |
COMSIG_TURF_ON_SHUTTLE_MOVE | from base of turf/proc/onShuttleMove(): (turf/new_turf) |
COMSIG_TURF_RESERVATION_RELEASED | from base of /datum/turf_reservation/proc/Release: (datum/turf_reservation/reservation) |
COMSIG_TURF_EXPOSE | from /turf/open/temperature_expose(datum/gas_mixture/air, exposed_temperature) |
COMSIG_TURF_CALCULATED_ADJACENT_ATMOS | from /turf/proc/immediate_calculate_adjacent_turfs() |
COMSIG_TURF_INDUSTRIAL_LIFT_ENTER | called when an elevator enters this turf |
COMSIG_TURF_DECAL_DETACHED | from /datum/element/decal/Detach(): (description, cleanable, directional, mutable_appearance/pic) |
COMSIG_TURF_RECEIVE_SWEEPED_ITEMS | from /obj/item/pushbroom/sweep(): (broom, user, items_to_sweep) |
COMSIG_TURF_PREPARE_STEP_SOUND | from /datum/element/footstep/prepare_step(): (list/steps) |
COMSIG_TURF_MOVABLE_THROW_LANDED | from base of datum/thrownthing/finalize(): (turf/turf, atom/movable/thrownthing) when something is thrown and lands on us |
COMSIG_TURF_RESET_ELEVATION | From element/elevation/reset_elevation(): (list/values) |
COMSIG_TURF_NO_LONGER_BLOCK_LIGHT | Called when turf no longer blocks light from passing through |
Define Details
COMSIG_TURF_CALCULATED_ADJACENT_ATMOS
from /turf/proc/immediate_calculate_adjacent_turfs()
COMSIG_TURF_CHANGE
from base of turf/ChangeTurf(): (path, list/new_baseturfs, flags, list/post_change_callbacks).
post_change_callbacks
is a list that signal handlers can mutate to append /datum/callback
objects.
They will be called with the new turf after the turf has changed.
COMSIG_TURF_DECAL_DETACHED
from /datum/element/decal/Detach(): (description, cleanable, directional, mutable_appearance/pic)
COMSIG_TURF_EXPOSE
from /turf/open/temperature_expose(datum/gas_mixture/air, exposed_temperature)
COMSIG_TURF_HAS_GRAVITY
from base of atom/has_gravity(): (atom/asker, list/forced_gravities)
COMSIG_TURF_INDUSTRIAL_LIFT_ENTER
called when an elevator enters this turf
COMSIG_TURF_MOVABLE_THROW_LANDED
from base of datum/thrownthing/finalize(): (turf/turf, atom/movable/thrownthing) when something is thrown and lands on us
COMSIG_TURF_MULTIZ_DEL
from base of turf/multiz_turf_del(): (turf/source, direction)
COMSIG_TURF_MULTIZ_NEW
from base of turf/multiz_turf_new: (turf/source, direction)
COMSIG_TURF_NO_LONGER_BLOCK_LIGHT
Called when turf no longer blocks light from passing through
COMSIG_TURF_ON_SHUTTLE_MOVE
from base of turf/proc/onShuttleMove(): (turf/new_turf)
COMSIG_TURF_PREPARE_STEP_SOUND
from /datum/element/footstep/prepare_step(): (list/steps)
COMSIG_TURF_RECEIVE_SWEEPED_ITEMS
from /obj/item/pushbroom/sweep(): (broom, user, items_to_sweep)
COMSIG_TURF_RESERVATION_RELEASED
from base of /datum/turf_reservation/proc/Release: (datum/turf_reservation/reservation)
COMSIG_TURF_RESET_ELEVATION
From element/elevation/reset_elevation(): (list/values)