From fc8f6ccde281cfb4db133d89580ceebe64b5cc32 Mon Sep 17 00:00:00 2001 From: mikomyazaki <47489928+mikomyazaki@users.noreply.github.com> Date: Thu, 13 Aug 2020 20:20:49 +0100 Subject: [PATCH] Space movement is no longer faster, and now counts lattices / structures. (#9667) Space movement is no longer always faster than normal movement, and now counts lattices / structures --- code/modules/mob/living/carbon/human/human_movement.dm | 6 ++---- html/changelogs/openspace_mov.yml | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/openspace_mov.yml diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index 84ac6ff7bda..8dcfb40f467 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -4,11 +4,9 @@ if(species.slowdown) tally = species.slowdown - if (istype(loc, /turf/space)) return -1 // It's hard to be slowed down in space by... anything - - if (isopenturf(loc)) //open space checks + if (istype(loc, /turf/space) || isopenturf(loc)) if(!(locate(/obj/structure/lattice, loc) || locate(/obj/structure/stairs, loc) || locate(/obj/structure/ladder, loc))) - return -1 + return 0 if(embedded_flag) handle_embedded_objects() //Moving with objects stuck in you can cause bad times. diff --git a/html/changelogs/openspace_mov.yml b/html/changelogs/openspace_mov.yml new file mode 100644 index 00000000000..f08b0eaa5cf --- /dev/null +++ b/html/changelogs/openspace_mov.yml @@ -0,0 +1,7 @@ +author: mikomyazaki + +delete-after: True + +changes: + - bugfix: "Moving through open spaces or space turfs is no longer inherently faster than any other turf." + - bugfix: "Moving along lattices or similar in space will now apply the normal speed modifiers instead of ignoring the lattice." \ No newline at end of file