mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 02:21:44 +00:00
## About The Pull Request Caused by goof's PR. Because for some reason observers overridde `up` to skip checks but not `down`. ## Changelog 🆑 Melbert fix: Moving "down" as an observer is no longer janky. /🆑
18 lines
562 B
Plaintext
18 lines
562 B
Plaintext
/mob/dead/observer/down()
|
|
set name = "Move Down"
|
|
set category = "IC"
|
|
|
|
if(zMove(DOWN, z_move_flags = ZMOVE_FEEDBACK))
|
|
to_chat(src, span_notice("You move down."))
|
|
|
|
/mob/dead/observer/up()
|
|
set name = "Move Upwards"
|
|
set category = "IC"
|
|
|
|
if(zMove(UP, z_move_flags = ZMOVE_FEEDBACK))
|
|
to_chat(src, span_notice("You move upwards."))
|
|
|
|
/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 ..()
|