From 841964230d653035ef65dfddfb2a2169290e929e Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Sat, 24 Aug 2024 12:30:43 +0200 Subject: [PATCH] Allows you to choose which direction you lay down towards (#2696) --- code/modules/mob/living/living.dm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 44c4712617d..953c828e419 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -1167,7 +1167,18 @@ if(buckled.buckle_lying != -1) lying = buckled.buckle_lying if(!lying) //force them on the ground - lying = pick(90, 270) + //NSV13 - you get to choose if it's controlled. + if(!resting) + lying = pick(90, 270) + else + switch(dir) + if(WEST) + lying = 270 + if(EAST) + lying = 90 + else + lying = pick(90, 270) + //NSV13 end. else mobility_flags |= MOBILITY_STAND lying = 0