Part two of the objective system. Also fixed up AIs on the shuttle, bug #747, and interacting with windows.

This commit is contained in:
SkyMarshal
2012-03-25 00:33:38 -07:00
parent 09546b7fe0
commit a5a7df1c20
10 changed files with 176 additions and 123 deletions

View File

@@ -12,7 +12,8 @@
if(!istype(target, /obj/machinery/light))
return
var/obj/machinery/light/L = target
if(L.stat > 1) //Burned or broke
L.stat = 0
if(L.status > 1) //Burned or broke
L.status = 0
L.update()
user.visible_message("[user] repairs \the [target] on the spot with their [src]!","You repair the lightbulb!")
return