Ambience no longer uses reverb (#69003)

* no more local sound

* setup volume settings

* Update code/controllers/subsystem/ambience.dm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>

* Update ambience.dm

Co-authored-by: Capybara <Capybara@CapybaraMailingServices.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
CapybaraExtravagante
2022-08-13 18:19:48 -04:00
committed by GitHub
co-authored by MrMelbert Capybara
parent 7514ecdb57
commit 5a4f5d54ea
+2 -9
View File
@@ -50,16 +50,9 @@ SUBSYSTEM_DEF(ambience)
///Attempts to play an ambient sound to a mob, returning the cooldown in deciseconds
/area/proc/play_ambience(mob/M, sound/override_sound, volume = 27)
var/turf/T = get_turf(M)
var/sound/new_sound = override_sound || pick(ambientsounds)
new_sound = sound(new_sound, channel = CHANNEL_AMBIENCE)
M.playsound_local(
T,
new_sound,
volume,
FALSE,
channel = CHANNEL_AMBIENCE
)
new_sound = sound(new_sound, repeat = 0, wait = 0, volume = volume, channel = CHANNEL_AMBIENCE)
SEND_SOUND(M, new_sound)
return rand(min_ambience_cooldown, max_ambience_cooldown)