Voice mobs in communicators can now understand speech they hear from mobs that have no default language set - in other words, all silicon mobs - as well as speech not attached to a mob, such as from the Arrivals Announcement Computer.

This commit is contained in:
PrismaticGynoid
2017-07-19 19:27:07 -07:00
parent d7875f5377
commit 34f9e11d76

View File

@@ -121,6 +121,17 @@
..(message, speaking, verb, alt_name, whispering) //mob/living/say() can do the actual talking.
/mob/living/voice/say_understands(var/other,var/datum/language/speaking = null)
//These only pertain to common. Languages are handled by mob/say_understands()
if (!speaking)
if (istype(other, /mob/living/carbon))
return 1
if (istype(other, /mob/living/silicon))
return 1
if (istype(other, /mob/living/carbon/brain))
return 1
return ..()
/mob/living/voice/custom_emote(var/m_type=1,var/message = null,var/range=world.view)
if(!comm) return
..(m_type,message,comm.video_range)