Fixes power monitor computer screens

This commit is contained in:
SinTwo
2016-06-03 22:10:52 -04:00
parent fc8af33bec
commit dc29227895
3 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
name = "\improper RCON console"
desc = "Console used to remotely control machinery on the station."
icon_keyboard = "power_key"
icon_screen = "power_screen"
icon_screen = "power:1"
light_color = "#a97faa"
circuit = /obj/item/weapon/circuitboard/rcon_console
req_one_access = list(access_engine)
@@ -8,7 +8,7 @@
desc = "Computer designed to remotely monitor power levels around the station"
icon = 'icons/obj/computer.dmi'
icon_keyboard = "power_key"
icon_screen = "power"
icon_screen = "power:0"
light_color = "#ffcc33"
//computer stuff
@@ -30,16 +30,12 @@
// Updates icon of this computer according to current status.
/obj/machinery/computer/power_monitor/update_icon()
if(stat & BROKEN)
icon_state = "powerb"
return
if(stat & NOPOWER)
icon_state = "power0"
return
if(alerting)
icon_state = "power_alert"
return
icon_state = "power"
if(!(stat & (NOPOWER|BROKEN)))
if(alerting)
icon_screen = "power:1"
else
icon_screen = "power:0"
..()
// On creation automatically connects to active sensors. This is delayed to ensure sensors already exist.
/obj/machinery/computer/power_monitor/New()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB