Colorblindness now prevents you from seeing wire colors (#91315)

Being colorblind now makes you see all wires in tones of grey.

Also fixes the eyechart not taking the monochromacy quirk into account
when checking for colorblindness

Makes the quirk/trauma a bit more immersive and can lead to funny
situations when you know which color to cut but can't find it.
This commit is contained in:
SmArtKar
2025-05-28 09:45:20 -04:00
committed by GitHub
parent ac5b0f011a
commit a5eed384ce
9 changed files with 46 additions and 31 deletions
+10
View File
@@ -197,6 +197,16 @@
fade_in = 2 SECONDS
fade_out = 2 SECONDS
/datum/client_colour/monochrome/New(mob/owner)
. = ..()
if (owner)
ADD_TRAIT(owner, TRAIT_COLORBLIND, type)
/datum/client_colour/monochrome/Destroy()
if (owner)
REMOVE_TRAIT(owner, TRAIT_COLORBLIND, type)
return ..()
/datum/client_colour/monochrome/glasses
priority = CLIENT_COLOR_GLASSES_PRIORITY