mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
Merge pull request #5541 from VOREStation/upstream-merge-6353
[MIRROR] Adds shutoff valve monitor
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user