Files
Bubberstation/code/datums/mutations/passive.dm
SkyratBot 6e029611ac [MIRROR] Implements AddTraits and RemoveTraits procs for adding/removing multiple traits + swag unit test [MDB IGNORE] (#19959)
* Implements AddTraits and RemoveTraits procs for adding/removing multiple traits + swag unit test

* MISSED MIRROR https://github.com/tgstation/tgstation/pull/71606

* Update modules_supply.dm

* Update tgstation.dme

---------

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2023-03-27 03:26:52 +01:00

32 lines
1.2 KiB
Plaintext

/datum/mutation/human/biotechcompat
name = "Biotech Compatibility"
desc = "Subject is more compatibile with biotechnology such as skillchips."
quality = POSITIVE
instability = 5
/datum/mutation/human/biotechcompat/on_acquiring(mob/living/carbon/human/owner)
. = ..()
owner.adjust_skillchip_complexity_modifier(1)
/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 = "<span class='danger'>You feel a little bit smarter.</span>"
text_lose_indication = "<span class='danger'>Your mind feels a little bit foggy.</span>"
/datum/mutation/human/clever/on_acquiring(mob/living/carbon/human/owner)
if(..())
return
owner.add_traits(list(TRAIT_ADVANCEDTOOLUSER, TRAIT_LITERATE), GENETIC_MUTATION)
/datum/mutation/human/clever/on_losing(mob/living/carbon/human/owner)
if(..())
return
owner.remove_traits(list(TRAIT_ADVANCEDTOOLUSER, TRAIT_LITERATE), GENETIC_MUTATION)