From 8c6228443b94d100e8829693cf520ed4e1fa2ebd Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 27 May 2022 00:24:52 +0200 Subject: [PATCH] [MIRROR] Fix slime potions used on simple mobs to inherit all language abilities from the user [MDB IGNORE] (#13923) * Fix slime potions used on simple mobs to inherit all language abilities from the user (#67176) * Fix slime potions to grant simple mob languages * Fix typo * Fix slime potions used on simple mobs to inherit all language abilities from the user Co-authored-by: Tim --- code/modules/research/xenobiology/xenobiology.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/research/xenobiology/xenobiology.dm b/code/modules/research/xenobiology/xenobiology.dm index e626ea76467..a1a00c2be10 100644 --- a/code/modules/research/xenobiology/xenobiology.dm +++ b/code/modules/research/xenobiology/xenobiology.dm @@ -724,7 +724,7 @@ if(dumb_mob.flags_1 & HOLOGRAM_1) //Check to see if it's a holodeck creature to_chat(dumb_mob, span_userdanger("You also become depressingly aware that you are not a real creature, but instead a holoform. Your existence is limited to the parameters of the holodeck.")) to_chat(user, span_notice("[dumb_mob] accepts [src] and suddenly becomes attentive and aware. It worked!")) - dumb_mob.copy_languages(user) + dumb_mob.copy_languages(user, LANGUAGE_MASTER) after_success(user, dumb_mob) qdel(src) else @@ -791,6 +791,7 @@ user.mind.transfer_to(switchy_mob) switchy_mob.faction = user.faction.Copy() + switchy_mob.copy_languages(user, LANGUAGE_MIND) user.death() to_chat(switchy_mob, span_notice("In a quick flash, you feel your consciousness flow into [switchy_mob]!")) to_chat(switchy_mob, span_warning("You are now [switchy_mob]. Your allegiances, alliances, and role is still the same as it was prior to consciousness transfer!"))