Merge pull request #10120 from Citadel-Station-13/night_vision

Night vision trait but it just boosts barely-lit visibility
This commit is contained in:
Ghom
2019-12-21 15:30:32 +01:00
committed by GitHub
4 changed files with 20 additions and 7 deletions
-4
View File
@@ -44,13 +44,9 @@
eye_color = H.eye_color
if(!special)
H.dna?.species?.handle_body() //regenerate eyeballs overlays.
if(HAS_TRAIT(H, TRAIT_NIGHT_VISION) && !lighting_alpha)
lighting_alpha = LIGHTING_PLANE_ALPHA_NV_TRAIT
see_in_dark = 8
M.update_tint()
owner.update_sight()
/obj/item/organ/eyes/Remove(mob/living/carbon/M, special = 0)
clear_eye_trauma()
. = ..()