From d6ddb68c6f3a02c0cfc87983607ee9f27f89a021 Mon Sep 17 00:00:00 2001
From: Darius <5933805+LeDrascol@users.noreply.github.com>
Date: Wed, 11 Jan 2023 13:39:00 -0500
Subject: [PATCH 1/2] Minor updates to High Luminosity Eyes flavor text
This commit does the following:
- Fixes minor typos
- Increases the amount of information presented
- Adjusts flavor text to be more specific
---
code/datums/traits/good.dm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/code/datums/traits/good.dm b/code/datums/traits/good.dm
index e2de71d006..7a62b9e8ff 100644
--- a/code/datums/traits/good.dm
+++ b/code/datums/traits/good.dm
@@ -181,10 +181,10 @@
/datum/quirk/trandening
name = "High Luminosity Eyes"
- desc = "When the next big fancy implant came out you had to buy one on impluse!"
+ desc = "When the next big fancy implant came out you had to buy one on impulse! You start the shift with emissive cybernetic eyes that can emit colored beams of light."
value = 1
- gain_text = "You have to keep up with the next big thing!."
- lose_text = "High-tech gizmos are a scam..."
+ gain_text = "You've been keeping up with the latest cybernetic trends!"
+ lose_text = "High powered eye lasers? What were you thinking..."
/datum/quirk/trandening/on_spawn()
// Get targets
From 045eb4a8c9ab1386404cc677937ad02655e29792 Mon Sep 17 00:00:00 2001
From: Darius <5933805+LeDrascol@users.noreply.github.com>
Date: Wed, 11 Jan 2023 13:41:21 -0500
Subject: [PATCH 2/2] Add quirk removal code for High Luminosity Eyes
Restores the character's default eyes when removing the High Luminosity Eyes quirk. Ensures that the character has eyes, and that those eyes are luminescent.
---
code/datums/traits/good.dm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/code/datums/traits/good.dm b/code/datums/traits/good.dm
index 7a62b9e8ff..5b00d2e71e 100644
--- a/code/datums/traits/good.dm
+++ b/code/datums/traits/good.dm
@@ -195,6 +195,34 @@
qdel(old_eyes)
new_eyes.Insert(quirk_holder)
+/datum/quirk/trandening/remove()
+ // Get targets
+ var/obj/item/organ/eyes/old_eyes = quirk_holder.getorganslot(ORGAN_SLOT_EYES)
+ var/mob/living/carbon/human/qurk_mob = quirk_holder
+
+ // Check for eyes existing
+ if(!old_eyes)
+ return
+
+ // Check for quirk eyes
+ if(!istype(old_eyes, /obj/item/organ/eyes/robotic/glow))
+ return
+
+ // Define new eyes
+ var/species_eyes = /obj/item/organ/eyes
+
+ // Check for mutant eyes
+ if(qurk_mob.dna.species && qurk_mob.dna.species.mutanteyes)
+ // Set eyes to mutant type
+ species_eyes = qurk_mob.dna.species.mutanteyes
+
+ // Create new eyes item
+ var/obj/item/organ/eyes/new_eyes = new species_eyes()
+
+ // Replace eyes
+ qdel(old_eyes)
+ new_eyes.Insert(quirk_holder)
+
/datum/quirk/bloodpressure
name = "Polycythemia vera"
desc = "You've a treated form of Polycythemia vera that increases the total blood volume inside of you as well as the rate of replenishment!"