From ff6079ff0da4de776a81cc72d9583ae0d73cfca2 Mon Sep 17 00:00:00 2001 From: VerySoft Date: Sun, 20 Mar 2022 06:07:31 -0400 Subject: [PATCH] Promethean blobs should understand the radio now. --- .../carbon/human/species/station/prommie_blob.dm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm b/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm index 5ec9a83bb71..64e5ddabcac 100644 --- a/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm +++ b/code/modules/mob/living/carbon/human/species/station/prommie_blob.dm @@ -495,4 +495,15 @@ /mob/living/simple_mob/slime/promethean/examine(mob/user) . = ..() if(hat) - . += "They are wearing \a [hat]." \ No newline at end of file + . += "They are wearing \a [hat]." + +/mob/living/simple_mob/slime/promethean/say_understands(var/mob/other, var/datum/language/speaking = null) + if(speaking?.name == LANGUAGE_PROMETHEAN) //Promethean and sign are both nonverbal, so won't work with the same trick as below, so let's check for them + return TRUE + else if(speaking?.name == LANGUAGE_SIGN) + for(var/datum/language/L in humanform.languages) + if(L.name == LANGUAGE_SIGN) + return TRUE + else if(humanform.say_understands(other, speaking)) //So they're speaking something other than promethean or sign, let's just ask our original mob if it understands + return TRUE + else return FALSE