[MIRROR] multiz movement refactor redux [MDB IGNORE] (#9925)

* multiz movement refactor redux (#62132)

* multiz movement refactor redux

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-12-07 08:27:12 -05:00
committed by GitHub
co-authored by Ghom
parent 736de4147d
commit 463c2fc71d
38 changed files with 497 additions and 260 deletions
@@ -1,2 +1,11 @@
/mob/dead/observer/canZMove(direction, turf/target)
return TRUE
/mob/dead/observer/up()
set name = "Move Upwards"
set category = "IC"
if(zMove(UP, z_move_flags = ZMOVE_FEEDBACK))
to_chat(src, "<span class='notice'>You move upwards.</span>")
/mob/dead/observer/can_z_move(direction, turf/start, turf/destination, z_move_flags = NONE, mob/living/rider)
z_move_flags |= ZMOVE_IGNORE_OBSTACLES //observers do not respect these FLOORS you speak so much of.
return ..()