Fix holodeck ready device and ghosts accessing tray lights

This commit is contained in:
Markolie
2016-10-17 17:43:03 +02:00
parent e034f63e8d
commit 8bd79007ef
2 changed files with 8 additions and 3 deletions
@@ -553,8 +553,8 @@
to_chat(user, "The device is a solid button, there's nothing you can do with it!")
/obj/machinery/readybutton/attack_hand(mob/user as mob)
if(user.stat || stat & (NOPOWER|BROKEN))
to_chat(user, "This device is not powered.")
if(user.stat || stat & (BROKEN))
to_chat(user, "This device is not functioning.")
return
currentarea = get_area(src.loc)
+6 -1
View File
@@ -380,10 +380,12 @@
//--FalseIncarnate
/obj/machinery/portable_atmospherics/hydroponics/verb/remove_label()
set name = "Remove Label"
set category = "Object"
set src in view(1)
if(usr.stat || usr.restrained())
return
if(labelled)
to_chat(usr, "You remove the label.")
@@ -397,6 +399,9 @@
set name = "Set Light"
set category = "Object"
set src in view(1)
if(usr.stat || usr.restrained())
return
var/new_light = input("Specify a light level.") as null|anything in list(0,1,2,3,4,5,6,7,8,9,10)
if(new_light)