From 88f59a7e9f67188b09ee8b8994c53ad689d69c38 Mon Sep 17 00:00:00 2001 From: Rykka Date: Sat, 9 May 2020 13:38:22 -0400 Subject: [PATCH 1/2] Reduce maximum audible range of sounds [DNM] This is a global change - this reduces sounds to being audible at a MAXIMUM of 14 tiles from their source, unless the var is changed later. (I think). Discuss if this is needed or not, please, and give all feedback, marking DNM until staff can weigh in. --- code/game/sound.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/sound.dm b/code/game/sound.dm index 98e24a1f34..e8e25124b1 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -10,7 +10,7 @@ // Looping through the player list has the added bonus of working for mobs inside containers var/sound/S = sound(get_sfx(soundin)) - var/maxdistance = (world.view + extrarange) * 3 + var/maxdistance = (world.view + extrarange) * 2 var/list/listeners = player_list if(!ignore_walls) //these sounds don't carry through walls listeners = listeners & hearers(maxdistance,turf_source) From a45bd334bfa641266dea2a2b8f359b8f791bc7b2 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Sun, 10 May 2020 18:55:29 -0400 Subject: [PATCH 2/2] Update sound.dm --- code/game/sound.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/sound.dm b/code/game/sound.dm index e8e25124b1..7b16e0fd80 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -10,7 +10,7 @@ // Looping through the player list has the added bonus of working for mobs inside containers var/sound/S = sound(get_sfx(soundin)) - var/maxdistance = (world.view + extrarange) * 2 + var/maxdistance = (world.view + extrarange) * 2 //VOREStation Edit - 3 to 2 var/list/listeners = player_list if(!ignore_walls) //these sounds don't carry through walls listeners = listeners & hearers(maxdistance,turf_source)