mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[MIRROR] Audio falloff re-work, and increased audio range. (#1406)
* Audio falloff re-work, and increased audio range. * a * a Co-authored-by: Qustinnus <Floydje123@hotmail.com> Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
co-authored by
Qustinnus
Azarak
parent
b9fe7a0402
commit
d1315d9474
@@ -87,5 +87,5 @@
|
||||
L.apply_status_effect(STATUS_EFFECT_GOOD_MUSIC)
|
||||
if(!(M?.client?.prefs?.toggles & SOUND_INSTRUMENTS))
|
||||
continue
|
||||
M.playsound_local(source, null, volume * using_instrument.volume_multiplier, falloff = 5, S = music_played)
|
||||
M.playsound_local(source, null, volume * using_instrument.volume_multiplier, S = music_played)
|
||||
// Could do environment and echo later but not for now
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
L.apply_status_effect(STATUS_EFFECT_GOOD_MUSIC)
|
||||
if(!(M?.client?.prefs?.toggles & SOUND_INSTRUMENTS))
|
||||
continue
|
||||
M.playsound_local(get_turf(parent), null, volume, FALSE, K.frequency, INSTRUMENT_DISTANCE_NO_FALLOFF, channel, null, copy, distance_multiplier = INSTRUMENT_DISTANCE_FALLOFF_BUFF)
|
||||
M.playsound_local(get_turf(parent), null, volume, FALSE, K.frequency, null, channel, null, copy)
|
||||
// Could do environment and echo later but not for now
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user