mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 03:22:12 +00:00
TGUI APCs TGUI vending machines Fix AI default_tgui_interaction TGUI Airlocks Station & Atmospheric Alert TGUI + Misc NTOS-TGUI Fixes TGUI Air Alarms & Central Atmospheric Control Airlock TGUI TG... got rid of UI for fire alarm. í´· TGUI Gas Heating/Cooling System TGUI Gas Pump & Passive Gate + Fixes TGUI Omni Atmospherics TGUI Pipe Dispensers & RPD TGUI IntelliCore & Vending Fix TGUI Handheld Tanks TGUI Portable Pump & Scrubber TGUI Tank Dispenser & Canisters TGUI Radios TGUI SMES & Air Alarm adjustment Tweak vending machine interfaces a tad TGUI Algae Farm TGUI general_air_control - Distro & Waste Console - Riot Control Console - Atmos Intake Console - Engine Cooling Console TGUI Heavy Scrubber Control (and body scanner fix) TGUI trinary devices & shutoff monitor TGUI Telecomms Log Browser TGUI Telecomms Machine Browser TGUI Spaceheater Internal Panel TGUI Gravity Generator TGUI Id Cards & Fix ID Card Images TGUI Id Card Redesign TGUI Turbolift TGUI Suit Cycler & Suit Storage Unit & Vending Fixes TGUI Power Monitor TGUI Signalers TGUI Employment Records TGUI Drone Console TGUI RIGSuits TGUI PA & PACMAN, and Margin Fix TGUI Solar Panels & Fix Power Monitor Adjust TGUI modules & their interaction with NTOS TGUI RCON TGUI Message Monitor Bump TGUI line limit to 120 (ParadiseSS13/Paradise#14002) TGUI Exonet & NTNet Relay TGUI Telecomms Multitool Menu TGUI Shield Capacitor & Shield Generator TGUI Supermatter-everything & Refactors
27 lines
766 B
Plaintext
27 lines
766 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/weapon/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") |