Fixed phylactery not dusting on zlevel change, converted mind transfer to lazy event (#27787)

This commit is contained in:
DamianX
2020-09-13 17:04:15 +02:00
committed by GitHub
parent b870953aa8
commit 863bf5cb59
3 changed files with 20 additions and 12 deletions

View File

@@ -70,7 +70,15 @@
// rads: The amount of radiation.
/lazy_event/on_irradiate
// Called whenever an atom's z-level changes.
// Seems to be invoked all over the place, actually. Someone should sort this out.
// Arguments:
// atom/movable/user: The atom that moved.
// to_z: The new z.
// from_z: The old z.
/lazy_event/on_z_transition
// TODO: docs
/lazy_event/on_post_z_transition
// Called whenever an /atom/movable moves.
@@ -152,6 +160,11 @@
// atom/target: the atom that's being bumped into.
/lazy_event/on_bumped
// Called when mind/transfer_to() finishes.
// Arguments:
// datum/mind/mind: the mind that just got transferred.
/lazy_event/after_mind_transfer
/datum
/// Associative list of type path -> list(),
/// where the type path is a descendant of /event_type.