mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
27 lines
759 B
Plaintext
27 lines
759 B
Plaintext
/obj/machinery/computer/shutoff_monitor
|
|
name = "automated shutoff valve monitor"
|
|
desc = "Console used to remotely monitor shutoff valves on the station."
|
|
icon_keyboard = "power_key"
|
|
icon_screen = "power_monitor"
|
|
light_color = "#a97faa"
|
|
circuit = /obj/item/circuitboard/shutoff_monitor
|
|
var/datum/tgui_module/shutoff_monitor/monitor
|
|
|
|
/obj/machinery/computer/shutoff_monitor/New()
|
|
..()
|
|
monitor = new(src)
|
|
|
|
/obj/machinery/computer/shutoff_monitor/Destroy()
|
|
QDEL_NULL(monitor)
|
|
..()
|
|
|
|
/obj/machinery/computer/shutoff_monitor/attack_hand(var/mob/user as mob)
|
|
..()
|
|
monitor.tgui_interact(user)
|
|
|
|
/obj/machinery/computer/shutoff_monitor/update_icon()
|
|
..()
|
|
if(!(stat & (NOPOWER|BROKEN)))
|
|
add_overlay("ai-fixer-empty")
|
|
else
|
|
cut_overlay("ai-fixer-empty") |