mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 03:53:33 +00:00
Alter playsound paradigm
This commit is contained in:
@@ -405,7 +405,7 @@
|
||||
drain_loc = interfaced_with.loc
|
||||
|
||||
holder.spark_system.start()
|
||||
playsound(H.loc, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
playsound(H, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
|
||||
return 1
|
||||
|
||||
@@ -429,7 +429,7 @@
|
||||
return 0
|
||||
|
||||
holder.spark_system.start()
|
||||
playsound(H.loc, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
playsound(H, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
|
||||
H.break_cloak()
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
for(var/mob/O in oviewers(H))
|
||||
O.show_message("[H.name] appears from thin air!",1)
|
||||
playsound(get_turf(H), 'sound/effects/stealthoff.ogg', 75, 1)
|
||||
playsound(src, 'sound/effects/stealthoff.ogg', 75, 1)
|
||||
|
||||
|
||||
/obj/item/rig_module/teleporter
|
||||
@@ -83,8 +83,8 @@
|
||||
return
|
||||
|
||||
holder.spark_system.start()
|
||||
playsound(T, 'sound/effects/phasein.ogg', 25, 1)
|
||||
playsound(T, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
playsound(src, 'sound/effects/phasein.ogg', 25, 1)
|
||||
playsound(src, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
anim(T,M,'icons/mob/mob.dmi',,"phasein",,M.dir)
|
||||
|
||||
/obj/item/rig_module/teleporter/proc/phase_out(var/mob/M,var/turf/T)
|
||||
|
||||
@@ -50,4 +50,4 @@
|
||||
H.alpha = initial(H.alpha)
|
||||
|
||||
H.visible_message("[H.name] appears from thin air!")
|
||||
playsound(get_turf(H), 'sound/effects/stealthoff.ogg', 75, 1)
|
||||
playsound(H, 'sound/effects/stealthoff.ogg', 75, 1)
|
||||
@@ -57,7 +57,7 @@
|
||||
drain_loc = interfaced_with.loc
|
||||
|
||||
holder.spark_system.start()
|
||||
playsound(H.loc, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
playsound(H, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
|
||||
return 1
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
return 0
|
||||
|
||||
holder.spark_system.start()
|
||||
playsound(H.loc, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
playsound(H, 'sound/effects/sparks2.ogg', 50, 1)
|
||||
|
||||
H.break_cloak()
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
tacknife.loc = get_turf(src)
|
||||
if(M.put_in_active_hand(tacknife))
|
||||
to_chat(M, "<span class='notice'>You slide \the [tacknife] out of [src].</span>")
|
||||
playsound(M, 'sound/weapons/flipblade.ogg', 40, 1)
|
||||
playsound(src, 'sound/weapons/flipblade.ogg', 40, 1)
|
||||
tacknife = null
|
||||
update_icon()
|
||||
return
|
||||
@@ -83,7 +83,7 @@
|
||||
tacknife = I
|
||||
I.loc = src
|
||||
to_chat(M, "<span class='notice'>You slide the [I] into [src].</span>")
|
||||
playsound(M, 'sound/weapons/flipblade.ogg', 40, 1)
|
||||
playsound(src, 'sound/weapons/flipblade.ogg', 40, 1)
|
||||
update_icon()
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user