mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
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:
@@ -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]\""
|
||||
|
||||
Reference in New Issue
Block a user