Fixes recorders translating mice and cult speak (#5955)

This fixes recorders being able to translate languages like cult, neither translate simple animals message, with some exceptions.
This commit is contained in:
Alberyk
2019-01-26 14:14:18 -02:00
committed by Erki
parent 3982da12d0
commit b067cf2b4e
6 changed files with 27 additions and 0 deletions
@@ -29,10 +29,16 @@
return ..()
/obj/item/device/taperecorder/hear_talk(mob/living/M as mob, msg, var/verb="says", datum/language/speaking=null)
if(isanimal(M))
if(!M.universal_speak)
return
if(recording)
timestamp += timerecorded
if(speaking)
if(!speaking.machine_understands)
msg = speaking.scramble(msg)
storedinfo += "\[[time2text(timerecorded*10,"mm:ss")]\] [M.name] [speaking.format_message_plain(msg, verb)]"
else
storedinfo += "\[[time2text(timerecorded*10,"mm:ss")]\] [M.name] [verb], \"[msg]\""