mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 22:54:32 +01:00
players no longer hear a malf ai hack an apc (#21211)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user