Adds shutoff valve monitor (#6353)

* Adds shutoff valve monitor

* uses the other half of the mapmerger, hopefully appeases travis (it probably won't)
This commit is contained in:
Atermonera
2019-07-30 17:03:28 -07:00
committed by Mechoid
parent 2a541f8304
commit 5e38b8e401
9 changed files with 96 additions and 7 deletions
+7
View File
@@ -1,3 +1,5 @@
GLOBAL_LIST_EMPTY(shutoff_valves)
/obj/machinery/atmospherics/valve/shutoff
icon = 'icons/atmos/clamp.dmi'
icon_state = "map_vclamp0"
@@ -18,8 +20,13 @@
/obj/machinery/atmospherics/valve/shutoff/Initialize()
. = ..()
open()
GLOB.shutoff_valves += src
hide(1)
/obj/machinery/atmospherics/valve/shutoff/Destroy()
GLOB.shutoff_valves -= src
..()
/obj/machinery/atmospherics/valve/shutoff/attack_ai(mob/user as mob)
return src.attack_hand(user)