More positions for body scanners and sleepers when using a wrench (#18815)

* Adds positions to sleepers and scanners

* Requested changes

Co-authored-by: Gatchapod <Gatchapod@users.noreply.github.com>
This commit is contained in:
Gatchapod
2022-08-29 16:01:52 -05:00
committed by GitHub
co-authored by Gatchapod
parent 7b8f0f3d66
commit 034a6403da
2 changed files with 4 additions and 11 deletions
+2 -7
View File
@@ -12,7 +12,6 @@
density = TRUE
anchored = TRUE
dir = WEST
var/orient = "LEFT" // "RIGHT" changes the dir suffix to "-r"
var/mob/living/carbon/human/occupant = null
var/possible_chems = list("ephedrine", "salglu_solution", "salbutamol", "charcoal")
var/emergency_chems = list("ephedrine") // Desnowflaking
@@ -383,12 +382,8 @@
if(panel_open)
to_chat(user, "<span class='notice'>Close the maintenance panel first.</span>")
return
if(dir == EAST)
orient = "LEFT"
setDir(WEST)
else
orient = "RIGHT"
setDir(EAST)
setDir(turn(dir, -90))
/obj/machinery/sleeper/ex_act(severity)
if(filtering)
+2 -4
View File
@@ -103,10 +103,8 @@
if(panel_open)
to_chat(user, "<span class='notice'>Close the maintenance panel first.</span>")
return
if(dir == EAST)
setDir(WEST)
else
setDir(EAST)
setDir(turn(dir, -90))
/obj/machinery/bodyscanner/MouseDrop_T(mob/living/carbon/human/H, mob/user)
if(!istype(H))