From 95bae4da54f8d81db26374b4004e6c14d46e3a3b Mon Sep 17 00:00:00 2001 From: Erthilo Date: Thu, 28 Jun 2012 22:33:07 +0100 Subject: [PATCH] Fixes AI holopad speech not being picked up by tape recorders. --- code/game/objects/devices/taperecorder.dm | 3 +++ code/modules/mob/living/silicon/say.dm | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/code/game/objects/devices/taperecorder.dm b/code/game/objects/devices/taperecorder.dm index 1d0b58ec04f..de57d8b96b4 100644 --- a/code/game/objects/devices/taperecorder.dm +++ b/code/game/objects/devices/taperecorder.dm @@ -23,6 +23,9 @@ if (recording) var/ending = copytext(msg, length(msg)) src.timestamp+= src.timerecorded + if (issilicon(M)) + src.storedinfo += "\[[time2text(src.timerecorded*10,"hh:mm:ss")]\] [M.name] states, \"[msg]\"" + return if (M.stuttering) src.storedinfo += "\[[time2text(src.timerecorded*10,"hh:mm:ss")]\] [M.name] stammers, \"[msg]\"" return diff --git a/code/modules/mob/living/silicon/say.dm b/code/modules/mob/living/silicon/say.dm index b6df38e8ef1..ad99c098f6a 100644 --- a/code/modules/mob/living/silicon/say.dm +++ b/code/modules/mob/living/silicon/say.dm @@ -70,6 +70,12 @@ M.show_message(rendered_a, 2) else//If they do not. M.show_message(rendered_b, 2) + + for (var/obj/item/device/taperecorder/O in range(T, 7)) //Puree hack for tap recorder + spawn (0) + if(O && !istype(O.loc, /obj/item/weapon/storage)) + O.hear_talk(src, message_a) + /*Radios "filter out" this conversation channel so we don't need to account for them. This is another way of saying that we won't bother dealing with them.*/ else