From 65dc2dd75d08c8148f409110334e76418f8de8a4 Mon Sep 17 00:00:00 2001 From: Molti Date: Tue, 17 Oct 2023 16:05:23 -0500 Subject: [PATCH 1/2] Update ethereal.dm --- code/modules/mob/living/carbon/human/species_types/ethereal.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/carbon/human/species_types/ethereal.dm b/code/modules/mob/living/carbon/human/species_types/ethereal.dm index 2250c2f31bf5..468609074dd1 100644 --- a/code/modules/mob/living/carbon/human/species_types/ethereal.dm +++ b/code/modules/mob/living/carbon/human/species_types/ethereal.dm @@ -90,6 +90,7 @@ b1 = GETBLUEPART(default_color) var/list/hsl = rgb2hsl(r1, g1, b1) hsl[2] *= 0.6 + hsl[3] = (1 - hsl[3]) / 2 //the light part of HSL is from 0 to 1 this increases lightness of the colour, less increase the brighter the light is var/list/rgb = hsl2rgb(hsl[1], hsl[2], hsl[3]) //terrible way to do it, but it works r1 = rgb[1] g1 = rgb[2] From 99aa1a8ea3071e44bf2b54ac557046ee029f4d67 Mon Sep 17 00:00:00 2001 From: Molti Date: Tue, 17 Oct 2023 16:06:30 -0500 Subject: [PATCH 2/2] Update ethereal.dm --- code/modules/mob/living/carbon/human/species_types/ethereal.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species_types/ethereal.dm b/code/modules/mob/living/carbon/human/species_types/ethereal.dm index 468609074dd1..3dbf4fbb1d93 100644 --- a/code/modules/mob/living/carbon/human/species_types/ethereal.dm +++ b/code/modules/mob/living/carbon/human/species_types/ethereal.dm @@ -90,7 +90,7 @@ b1 = GETBLUEPART(default_color) var/list/hsl = rgb2hsl(r1, g1, b1) hsl[2] *= 0.6 - hsl[3] = (1 - hsl[3]) / 2 //the light part of HSL is from 0 to 1 this increases lightness of the colour, less increase the brighter the light is + hsl[3] += (1 - hsl[3]) / 2 //the light part of HSL is from 0 to 1 this increases lightness of the colour, less increase the brighter the light is var/list/rgb = hsl2rgb(hsl[1], hsl[2], hsl[3]) //terrible way to do it, but it works r1 = rgb[1] g1 = rgb[2]