Meson eyes prevent supermatter hallucinations (#19551)

* Meson eyes prevent supermatter hallucinations

* Made meson eyes give meson trait instead

* Code readability

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* Adds UIDs to trait sources

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Livi
2022-11-12 08:50:29 +01:00
committed by GitHub
co-authored by Luc
parent 421777b317
commit 542671755d
+8 -1
View File
@@ -126,10 +126,17 @@
name = "meson eyes"
desc = "These cybernetic eyes will allow you to see the structural layout of the station, and, well, everything else."
eye_color = "#199900"
vision_flags = SEE_TURFS
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE
origin_tech = "materials=4;engineering=4;biotech=4;magnets=4"
/obj/item/organ/internal/eyes/cybernetic/meson/insert(mob/living/carbon/human/M, special = FALSE)
ADD_TRAIT(M, TRAIT_MESON_VISION, "meson_vision[UID()]")
return ..()
/obj/item/organ/internal/eyes/cybernetic/meson/remove(mob/living/carbon/human/M, special = FALSE)
REMOVE_TRAIT(M, TRAIT_MESON_VISION, "meson_vision[UID()]")
return ..()
/obj/item/organ/internal/eyes/cybernetic/xray
name = "\improper X-ray eyes"
desc = "These cybernetic eyes will give you X-ray vision. Blinking is futile."