players no longer hear a malf ai hack an apc (#21211)

This commit is contained in:
GDN
2023-06-14 15:16:53 -05:00
committed by GitHub
parent 7fbed925cc
commit 6fa7eec1e0
+3 -3
View File
@@ -1350,10 +1350,10 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
if(!istype(apc) || QDELETED(apc) || apc.stat & BROKEN)
to_chat(src, "<span class='danger'>Hack aborted. The designated APC no longer exists on the power network.</span>")
playsound(get_turf(src), 'sound/machines/buzz-two.ogg', 50, 1)
SEND_SOUND(src, sound('sound/machines/buzz-two.ogg'))
else if(apc.aidisabled)
to_chat(src, "<span class='danger'>Hack aborted. [apc] is no longer responding to our systems.</span>")
playsound(get_turf(src), 'sound/machines/buzz-sigh.ogg', 50, 1)
SEND_SOUND(src, sound('sound/machines/buzz-sigh.ogg'))
else
malf_picker.processing_time += 10
@@ -1361,7 +1361,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
apc.malfhack = TRUE
apc.locked = TRUE
playsound(get_turf(src), 'sound/machines/ding.ogg', 50, 1)
SEND_SOUND(src, sound('sound/machines/ding.ogg'))
to_chat(src, "Hack complete. [apc] is now under your exclusive control.")
apc.update_icon()