Skip to content

Commit

Permalink
Allows you to choose which direction you lay down towards (#2696)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaFire15 authored Aug 24, 2024
1 parent 999d0e2 commit 8419642
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8419642

Please sign in to comment.