mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Fix shock sounds (#20457)
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
var/mob/living/carbon/C = A
|
||||
if(cell.use(stun_cost))
|
||||
do_sparks(5, 0, loc)
|
||||
playsound(loc, 'sound/weapons/Egloves.ogg', 50, 1, -1)
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', 50, 1, -1)
|
||||
H.do_attack_animation(C)
|
||||
visible_message("<span class='danger'>[C] has been touched with [src] by [H]!</span>")
|
||||
add_attack_logs(H, C, "Touched with stun gloves")
|
||||
|
||||
@@ -349,7 +349,7 @@
|
||||
turfs += T
|
||||
|
||||
var/turf/T = pick(turfs)
|
||||
target.playsound_local(T, 'sound/weapons/Egloves.ogg', 25, TRUE)
|
||||
target.playsound_local(T, 'sound/weapons/egloves.ogg', 25, TRUE)
|
||||
target.playsound_local(T, get_sfx("bodyfall"), 25, TRUE)
|
||||
target.playsound_local(T, "sparks", 50, TRUE)
|
||||
|
||||
|
||||
@@ -569,7 +569,7 @@
|
||||
shootAt(A)
|
||||
|
||||
/mob/living/simple_animal/bot/ed209/proc/stun_attack(mob/living/carbon/C)
|
||||
playsound(loc, 'sound/weapons/Egloves.ogg', 50, 1, -1)
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', 50, 1, -1)
|
||||
icon_state = "[lasercolor]ed209-c"
|
||||
addtimer(VARSET_CALLBACK(src, icon_state, "[lasercolor]ed209[on]"), 2)
|
||||
var/threat = C.assess_threat(src)
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
back_to_idle()
|
||||
|
||||
/mob/living/simple_animal/bot/secbot/proc/stun_attack(mob/living/carbon/C)
|
||||
playsound(loc, 'sound/weapons/Egloves.ogg', 50, 1, -1)
|
||||
playsound(loc, 'sound/weapons/egloves.ogg', 50, 1, -1)
|
||||
if(harmbaton)
|
||||
playsound(loc, 'sound/weapons/genhit1.ogg', 50, 1, -1)
|
||||
do_attack_animation(C)
|
||||
|
||||
Reference in New Issue
Block a user