From 40cbfd9c08d831b434be7d64100eb7581d5e70a8 Mon Sep 17 00:00:00 2001 From: IndieanaJones <47086570+IndieanaJones@users.noreply.github.com> Date: Sat, 16 Oct 2021 19:44:56 -0400 Subject: [PATCH] Make Monkified Affect Person's Name Again (#62127) This PR re-adds a mechanic lost during the monkey species refactor where the monkified mutation gave the afflicted a generic monkey name as opposed to keeping their original name. --- code/datums/mutations/body.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/datums/mutations/body.dm b/code/datums/mutations/body.dm index 644972127c6..3bb9fc93b9f 100644 --- a/code/datums/mutations/body.dm +++ b/code/datums/mutations/body.dm @@ -182,16 +182,20 @@ time_coeff = 2 locked = TRUE //Species specific, keep out of actual gene pool var/datum/species/original_species = /datum/species/human + var/original_name /datum/mutation/human/race/on_acquiring(mob/living/carbon/human/owner) if(..()) return if(!ismonkey(owner)) original_species = owner.dna.species.type + original_name = owner.real_name + owner.fully_replace_character_name(null, "monkey ([rand(1,999)])") . = owner.monkeyize() /datum/mutation/human/race/on_losing(mob/living/carbon/human/owner) if(owner && owner.stat != DEAD && (owner.dna.mutations.Remove(src)) && ismonkey(owner)) + owner.fully_replace_character_name(null, original_name) . = owner.humanize(original_species) /datum/mutation/human/glow