From 9a08825681845d0589dbaad9f654f6e9710ade4e Mon Sep 17 00:00:00 2001 From: Neerti Date: Fri, 7 Jul 2017 01:01:48 -0400 Subject: [PATCH] Receiving Communicator messages and voice requests as a ghost now plays sounds to the ghost, which may help them notice in their chatlog. --- code/game/objects/items/devices/communicator/communicator.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/items/devices/communicator/communicator.dm b/code/game/objects/items/devices/communicator/communicator.dm index 49999f12de..e2f4137cb4 100644 --- a/code/game/objects/items/devices/communicator/communicator.dm +++ b/code/game/objects/items/devices/communicator/communicator.dm @@ -520,6 +520,7 @@ var/global/list/obj/item/device/communicator/all_communicators = list() return src << "\icon[origin_atom] Receiving communicator request from [origin_atom]. To answer, use the Call Communicator \ verb, and select that name to answer the call." + src << 'sound/machines/defib_SafetyOn.ogg' comm.voice_invites |= src if(message == "ping") if(client && client.prefs.communicator_visibility) @@ -528,6 +529,7 @@ var/global/list/obj/item/device/communicator/all_communicators = list() exonet.send_message(origin_address, "64 bytes received from [exonet.address] ecmp_seq=1 ttl=51 time=[random] ms") if(message == "text") src << "\icon[origin_atom] Received text message from [origin_atom]: \"[text]\"" + src << 'sound/machines/defib_safetyOff.ogg' exonet_messages.Add("From [origin_atom]:
[text]") return