mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +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:
@@ -28,13 +28,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/eyechart, 32)
|
||||
. += span_warning("...But it's too dark to make out anything.")
|
||||
return
|
||||
|
||||
var/colorblind = FALSE
|
||||
if(iscarbon(user))
|
||||
var/mob/living/carbon/carbon_user = user
|
||||
colorblind = !!carbon_user.has_trauma_type(/datum/brain_trauma/mild/color_blindness)
|
||||
else if(isdog(user) || iscat(user))
|
||||
colorblind = TRUE // i know these pets are not colorblind in the conventional sense, but it's an easter egg, ok?
|
||||
|
||||
var/colorblind = HAS_TRAIT(user, TRAIT_COLORBLIND)
|
||||
var/obj/item/organ/eyes/eye = user.get_organ_slot(ORGAN_SLOT_EYES)
|
||||
// eye null checks here are for mobs without eyes.
|
||||
// humans missing eyes will be caught by the is_blind check above.
|
||||
|
||||
Reference in New Issue
Block a user