More light up console screens (#8904)

This commit is contained in:
Wowzewow (Wezzy)
2020-05-24 17:09:52 +08:00
committed by GitHub
parent 6ecca09be8
commit 3f9d4e6b2d
9 changed files with 81 additions and 24 deletions
+9 -2
View File
@@ -512,10 +512,16 @@
/obj/machinery/chakraconsole/power_change()
..()
update_icon()
/obj/machinery/chakraconsole/update_icon()
cut_overlays()
if((stat & BROKEN) || (stat & NOPOWER))
icon_state = "sleeper_s_scannerconsole-p"
return
else
icon_state = initial(icon_state)
var/mutable_appearance/screen_overlay = mutable_appearance(icon, "sleeper_s_scannerconsole-screen", EFFECTS_ABOVE_LIGHTING_LAYER)
add_overlay(screen_overlay)
set_light(1.4, 1, COLOR_RED)
/obj/machinery/chakraconsole/Initialize()
. = ..()
@@ -524,6 +530,7 @@
break
if(connected)
connected.connected = src
update_icon()
/obj/machinery/chakraconsole/Destroy()
if (connected)