From 12a982fd2c7011d6f8052d7d7c1c36ad1541e98d Mon Sep 17 00:00:00 2001 From: CliffracerX Date: Sat, 21 Sep 2024 21:17:18 -0400 Subject: [PATCH 1/2] Kills is_color_dark you can now make ugly pitch-black drawings, useless flashlights, or dunk your creatures in vantablack --- code/__HELPERS/colors.dm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/colors.dm b/code/__HELPERS/colors.dm index 3a20e5ad60c09..307407aa240bb 100644 --- a/code/__HELPERS/colors.dm +++ b/code/__HELPERS/colors.dm @@ -1,8 +1,13 @@ /// Given a color in the format of "#RRGGBB", will return if the color /// is dark. /proc/is_color_dark(color, threshold = 25) - var/hsl = rgb2num(color, COLORSPACE_HSL) - return hsl[3] < threshold + /// DOPPLER SHIFT REMOVAL BEGIN - BEGONE SNOWFLAKE FUNCTION! + /*var/hsl = rgb2num(color, COLORSPACE_HSL) + return hsl[3] < threshold*/ + /// DOPPLER SHIFT REMOVAL END - WE DON'T CARE IF SOMEONE MAKES THEIR FLASHLIGHT USELESS! + /// DOPPLER SHIFT ADDITION BEGIN - NOR DO WE CARE IF SOMEONE'S CHARACTER IS LITERALLY MADE OF VANTABLACK! + return TRUE + /// DOPPLER SHIFT ADDITION END - TEEGEE'S CRUSADE AGAINST POWERGAMERS, BEGONE!! /// Given a 3 character color (no hash), converts it into #RRGGBB (with hash) /proc/expand_three_digit_color(color) From 4889b1e4072ac4ee1c99eeb3c04436a15910bbd5 Mon Sep 17 00:00:00 2001 From: CliffracerX Date: Sun, 22 Sep 2024 12:24:53 -0400 Subject: [PATCH 2/2] oops Signed-off-by: CliffracerX --- code/__HELPERS/colors.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/colors.dm b/code/__HELPERS/colors.dm index 307407aa240bb..f5dd398d72fcd 100644 --- a/code/__HELPERS/colors.dm +++ b/code/__HELPERS/colors.dm @@ -6,7 +6,7 @@ return hsl[3] < threshold*/ /// DOPPLER SHIFT REMOVAL END - WE DON'T CARE IF SOMEONE MAKES THEIR FLASHLIGHT USELESS! /// DOPPLER SHIFT ADDITION BEGIN - NOR DO WE CARE IF SOMEONE'S CHARACTER IS LITERALLY MADE OF VANTABLACK! - return TRUE + return FALSE /// DOPPLER SHIFT ADDITION END - TEEGEE'S CRUSADE AGAINST POWERGAMERS, BEGONE!! /// Given a 3 character color (no hash), converts it into #RRGGBB (with hash)