mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Part two of the objective system. Also fixed up AIs on the shuttle, bug #747, and interacting with windows.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user