Adds Sound Environments: Reverb and Echo (#15378)

This commit is contained in:
Fox McCloud
2021-02-23 11:52:34 +00:00
committed by GitHub
parent 8c7e847174
commit 64064019d8
16 changed files with 163 additions and 18 deletions
@@ -75,7 +75,7 @@
/datum/contractor_hub/proc/first_login(mob/user)
if(!is_user_authorized(user))
return
user.playsound_local(user, 'sound/effects/contractstartup.ogg', 30, FALSE)
user.playsound_local(user, 'sound/effects/contractstartup.ogg', 30, FALSE, use_reverb = FALSE)
generate_contracts()
SStgui.update_uis(src)
@@ -39,4 +39,4 @@
to_chat(M, "<span class='notice'>[bicon(src)] Incoming encrypted transmission from your handlers. Message as follows:</span><br />"\
+ "<span class='boldnotice'>[text]</span>")
if(sndfile)
M.playsound_local(get_turf(M), sndfile, 30, FALSE)
M.playsound_local(get_turf(M), sndfile, 30, FALSE, use_reverb = FALSE)
@@ -272,13 +272,13 @@
switch(traitor_kind)
if(TRAITOR_AI)
add_law_zero()
owner.current.playsound_local(get_turf(owner.current), 'sound/ambience/antag/malf.ogg', 100, FALSE, pressure_affected = FALSE)
owner.current.playsound_local(get_turf(owner.current), 'sound/ambience/antag/malf.ogg', 100, FALSE, pressure_affected = FALSE, use_reverb = FALSE)
var/mob/living/silicon/ai/A = owner.current
A.show_laws()
if(TRAITOR_HUMAN)
if(should_equip)
equip_traitor()
owner.current.playsound_local(get_turf(owner.current), 'sound/ambience/antag/tatoralert.ogg', 100, FALSE, pressure_affected = FALSE)
owner.current.playsound_local(get_turf(owner.current), 'sound/ambience/antag/tatoralert.ogg', 100, FALSE, pressure_affected = FALSE, use_reverb = FALSE)
/datum/antagonist/traitor/proc/give_codewords()