Revenant Night Eyes (#12413)

This commit is contained in:
Geeves
2021-08-31 17:50:50 +02:00
committed by GitHub
parent f6a13ea461
commit a366d034f5
6 changed files with 35 additions and 7 deletions
@@ -85,9 +85,11 @@
if(can_change_invisible())
owner.set_see_invisible(SEE_INVISIBLE_NOLIGHTING)
if(status & ORGAN_ROBOT)
owner.add_client_color(vision_mechanical_color)
if(vision_mechanical_color)
owner.add_client_color(vision_mechanical_color)
else
owner.add_client_color(vision_color)
if(vision_color)
owner.add_client_color(vision_color)
/obj/item/organ/internal/eyes/night/proc/disable_night_vision()
if(!owner)
@@ -98,9 +100,11 @@
if(can_change_invisible())
owner.set_see_invisible(SEE_INVISIBLE_LIVING)
if(status & ORGAN_ROBOT)
owner.remove_client_color(vision_mechanical_color)
if(vision_mechanical_color)
owner.remove_client_color(vision_mechanical_color)
else
owner.remove_client_color(vision_color)
if(vision_color)
owner.remove_client_color(vision_color)
/obj/item/organ/internal/stomach/tajara
name = "reinforced stomach"