mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user