Update eyes.dm
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#define NIGHT_VISION_DARKSIGHT_RANGE 3
|
||||
|
||||
/obj/item/organ/eyes
|
||||
name = BODY_ZONE_PRECISE_EYES
|
||||
icon_state = "eyeballs"
|
||||
@@ -47,13 +45,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 = NIGHT_VISION_DARKSIGHT_RANGE
|
||||
M.update_tint()
|
||||
owner.update_sight()
|
||||
|
||||
|
||||
/obj/item/organ/eyes/Remove(mob/living/carbon/M, special = 0)
|
||||
clear_eye_trauma()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user