From d7ae2222c0f8541f2f3ed426e33ac58f84cd7ff4 Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Tue, 26 May 2015 13:35:42 +0200 Subject: [PATCH] Constructs now suck out light from their surroundings. --- code/modules/mob/living/simple_animal/constructs/constructs.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/constructs/constructs.dm b/code/modules/mob/living/simple_animal/constructs/constructs.dm index 56746a51d5..7781a26744 100644 --- a/code/modules/mob/living/simple_animal/constructs/constructs.dm +++ b/code/modules/mob/living/simple_animal/constructs/constructs.dm @@ -240,11 +240,12 @@ ////////////////Glow////////////////// /mob/living/simple_animal/construct/proc/add_glow() overlays = 0 - var/overlay_layer = 11 + var/overlay_layer = LIGHTING_LAYER+0.1 if(layer != MOB_LAYER) overlay_layer=TURF_LAYER+0.2 overlays += image(icon,"glow-[icon_state]",overlay_layer) + set_light(2, -2, l_color = "#FFFFFF") ////////////////HUD//////////////////////