mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Fixes the range and dropoff of some sounds (#7405)
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
var/burst_time = (min_burst_delay + max_burst_delay)/2 + 2*(burst_shots-1)
|
||||
var/power_per_shot = active_power_usage * (burst_time/10) / burst_shots
|
||||
|
||||
playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1)
|
||||
playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1, 3, 0.5, 1)
|
||||
if(prob(35))
|
||||
spark_system.queue()
|
||||
|
||||
|
||||
@@ -335,7 +335,7 @@
|
||||
if(silenced)
|
||||
playsound(src, fire_sound, 10, 1)
|
||||
else
|
||||
playsound(src, fire_sound, 75, 1, 5, 0.9, 1)
|
||||
playsound(src, fire_sound, 75, 1, 3, 0.5, 1)
|
||||
|
||||
if (muzzle_flash)
|
||||
set_light(muzzle_flash)
|
||||
@@ -378,7 +378,7 @@
|
||||
if(silenced)
|
||||
playsound(user, fire_sound, 10, 1)
|
||||
else
|
||||
playsound(user, fire_sound, 75, 1, 5, 0.9, 1)
|
||||
playsound(user, fire_sound, 75, 1, 3, 0.5, 1)
|
||||
|
||||
if (playemote)
|
||||
if(reflex)
|
||||
@@ -490,7 +490,7 @@
|
||||
if(silenced)
|
||||
playsound(user, fire_sound, 10, 1)
|
||||
else
|
||||
playsound(user, fire_sound, 75, 1, 5, 0.9, 1)
|
||||
playsound(user, fire_sound, 75, 1, 3, 0.5, 1)
|
||||
|
||||
in_chamber.on_hit(M)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user