From e6cfb2eeab569764fcd5770c402a4225110bad80 Mon Sep 17 00:00:00 2001
From: SkyratBot <59378654+SkyratBot@users.noreply.github.com>
Date: Sun, 8 May 2022 05:00:10 +0200
Subject: [PATCH] [MIRROR] Clever Mutation [MDB IGNORE] (#13421)
* Clever Mutation (#66650)
Basically, the Pull Request just adds a new trait that allows for mobs that might otherwise not be able to do stuff like use computers, do surgery or interact with PDAs to do so. Primarily aimed at monkeys, though there may be other mobs that this could be useful to as well.
* Clever Mutation
Co-authored-by: Sneeker134 <53362182+Sneeker134@users.noreply.github.com>
---
code/datums/mutations/passive.dm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/code/datums/mutations/passive.dm b/code/datums/mutations/passive.dm
index a8724dd1376..6024d212be0 100644
--- a/code/datums/mutations/passive.dm
+++ b/code/datums/mutations/passive.dm
@@ -11,3 +11,21 @@
/datum/mutation/human/biotechcompat/on_losing(mob/living/carbon/human/owner)
owner.adjust_skillchip_complexity_modifier(-1)
return ..()
+
+/datum/mutation/human/clever
+ name = "Clever"
+ desc = "Causes the subject to feel just a little bit smarter. Most effective in specimens with low levels of intelligence."
+ quality = POSITIVE
+ instability = 20
+ text_gain_indication = "You feel a little bit smarter."
+ text_lose_indication = "Your mind feels a little bit foggy."
+
+/datum/mutation/human/clever/on_acquiring(mob/living/carbon/human/owner)
+ if(..())
+ return
+ ADD_TRAIT(owner, TRAIT_ADVANCEDTOOLUSER, GENETIC_MUTATION)
+
+/datum/mutation/human/clever/on_losing(mob/living/carbon/human/owner)
+ if(..())
+ return
+ REMOVE_TRAIT(owner, TRAIT_ADVANCEDTOOLUSER, GENETIC_MUTATION)