Merge pull request #3641 from PrismaticGynoid/voiceshearsilicons

Communicator voices can understand speech with no default language.
This commit is contained in:
Anewbe
2017-07-25 16:38:09 -05:00
committed by GitHub
+11
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)