mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 20:06:28 +01:00
More light up console screens (#8904)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user