mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-19 02:59:17 +01:00
I was about to start working on something, but then I've noticed chromosomes-related code was looking quite old and had some magic numbers in it, so I've decided to update it a little. Better code. N/A --------- Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
/datum/mutation/human/biotechcompat
|
|
name = "Biotech Compatibility"
|
|
desc = "Subject is more compatibile with biotechnology such as skillchips."
|
|
quality = POSITIVE
|
|
instability = POSITIVE_INSTABILITY_MINI
|
|
|
|
/datum/mutation/human/biotechcompat/on_acquiring(mob/living/carbon/human/owner)
|
|
. = ..()
|
|
if(!.)
|
|
return
|
|
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 = POSITIVE_INSTABILITY_MODERATE // literally makes you on par with station equipment
|
|
text_gain_indication = span_danger("You feel a little bit smarter.")
|
|
text_lose_indication = span_danger("Your mind feels a little bit foggy.")
|
|
|
|
/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)
|