From f9e6efa786076318b6ccc274bb65ce5c09657cd2 Mon Sep 17 00:00:00 2001 From: Casey Date: Sun, 25 Sep 2022 16:47:45 -0400 Subject: [PATCH] Merge pull request #13801 from Heroman3003/climbfix Allows simplemobs to climb lattices --- code/modules/multiz/movement.dm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/code/modules/multiz/movement.dm b/code/modules/multiz/movement.dm index f9beeaa0ec..b44529d0f5 100644 --- a/code/modules/multiz/movement.dm +++ b/code/modules/multiz/movement.dm @@ -163,6 +163,16 @@ return FALSE return (hovering || is_incorporeal()) +/mob/living/simple_mob/can_ztravel() + if(incapacitated()) + return FALSE + + if(hovering || is_incorporeal()) + return TRUE + + if(Process_Spacemove()) + return TRUE + /mob/living/carbon/human/can_ztravel() if(incapacitated()) return FALSE @@ -171,7 +181,7 @@ return TRUE if(flying) //VOREStation Edit. Allows movement up/down with wings. - return 1 //VOREStation Edit + return TRUE //VOREStation Edit if(Process_Spacemove()) return TRUE