From 0c70fc9234516a01d4a4681004b4e88470b18abe Mon Sep 17 00:00:00 2001 From: CameronWoof Date: Thu, 2 Jan 2020 21:24:03 -0800 Subject: [PATCH] The Great Citadel De-Pissening of 2020 --- code/modules/power/lighting.dm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index cdbaa29a3b..2f41b522ef 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -193,9 +193,9 @@ var/on = FALSE // 1 if on, 0 if off var/on_gs = FALSE var/static_power_used = 0 - var/brightness = 8 // luminosity when on, also used in power calculation + var/brightness = 11 // luminosity when on, also used in power calculation var/bulb_power = 0.75 // basically the alpha of the emitted light source - var/bulb_colour = "#FFEEDD" // befault colour of the light. + var/bulb_colour = "#FFF6ED" // befault colour of the light. var/status = LIGHT_OK // LIGHT_OK, _EMPTY, _BURNED or _BROKEN var/flickering = FALSE var/light_type = /obj/item/light/tube // the type of light item @@ -231,7 +231,7 @@ icon_state = "bulb" base_state = "bulb" fitting = "bulb" - brightness = 4 + brightness = 6 bulb_colour = "#FFDDBB" desc = "A small lighting fixture." light_type = /obj/item/light/bulb @@ -272,11 +272,11 @@ spawn(2) switch(fitting) if("tube") - brightness = 8 + brightness = 11 if(prob(2)) break_light_tube(1) if("bulb") - brightness = 4 + brightness = 6 if(prob(5)) break_light_tube(1) spawn(1) @@ -351,11 +351,11 @@ set_light(0) update_icon() - active_power_usage = (brightness * 10) + active_power_usage = (brightness * 7.2) if(on != on_gs) on_gs = on if(on) - static_power_used = brightness * 20 //20W per unit luminosity + static_power_used = brightness * 14.4 //20W per unit luminosity addStaticPower(static_power_used, STATIC_LIGHT) else removeStaticPower(static_power_used, STATIC_LIGHT) @@ -738,7 +738,7 @@ icon_state = "ltube" base_state = "ltube" item_state = "c_tube" - brightness = 8 + brightness = 11 /obj/item/light/tube/broken status = LIGHT_BROKEN @@ -751,7 +751,7 @@ item_state = "contvapour" lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi' righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi' - brightness = 4 + brightness = 6 /obj/item/light/bulb/broken status = LIGHT_BROKEN @@ -820,7 +820,7 @@ icon = 'icons/obj/lighting.dmi' base_state = "floor" // base description and icon_state icon_state = "floor" - brightness = 4 + brightness = 6 layer = 2.5 light_type = /obj/item/light/bulb fitting = "bulb"