From fa565f0b63ea71b907922662599251e56e99fdf4 Mon Sep 17 00:00:00 2001 From: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Date: Mon, 1 Apr 2024 16:47:42 +0200 Subject: [PATCH] sdaf (#18760) --- code/game/machinery/newscaster.dm | 4 +- code/modules/clothing/clothing.dm | 2 +- .../computers/modular_computer/core.dm | 2 +- .../fluffyghost-additionalsoundstweaks.yml | 41 +++++++++++++++++++ 4 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/fluffyghost-additionalsoundstweaks.yml diff --git a/code/game/machinery/newscaster.dm b/code/game/machinery/newscaster.dm index 63e95e23970..a5358e881ee 100644 --- a/code/game/machinery/newscaster.dm +++ b/code/game/machinery/newscaster.dm @@ -1100,11 +1100,11 @@ var/list/obj/machinery/newscaster/allCasters = list() update_icon() addtimer(CALLBACK(src, PROC_REF(clearAlert)), 300, TIMER_UNIQUE) - playsound(src.loc, 'sound/machines/twobeep.ogg', 75, 1) + playsound(src.loc, 'sound/machines/twobeep.ogg', 75, TRUE, SHORT_RANGE_SOUND_EXTRARANGE, ignore_walls = FALSE) else for(var/mob/O in hearers(world.view-1, T)) O.show_message("[src.name] beeps, \"Attention! Wanted issue distributed!\"",2) - playsound(loc, 'sound/machines/warning-buzzer.ogg', 75, 1) + playsound(loc, 'sound/machines/warning-buzzer.ogg', 75, TRUE, SHORT_RANGE_SOUND_EXTRARANGE, ignore_walls = FALSE) return /obj/machinery/newscaster/proc/clearAlert() diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index d9f7b54e899..e7fc79b6cfa 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -1253,7 +1253,7 @@ if(ismob(src.loc)) var/mob/M = src.loc M.update_inv_w_uniform() - playsound(M, /singleton/sound_category/rustle_sound, 15, 1, -5) + playsound(M, /singleton/sound_category/rustle_sound, 15, TRUE, SILENCED_SOUND_EXTRARANGE, ignore_walls = FALSE) /obj/item/clothing/under/get_examine_text(mob/user, distance, is_adjacent, infix, suffix) . = ..() diff --git a/code/modules/modular_computers/computers/modular_computer/core.dm b/code/modules/modular_computers/computers/modular_computer/core.dm index 7cf4309f064..8b7b698a7e3 100644 --- a/code/modules/modular_computers/computers/modular_computer/core.dm +++ b/code/modules/modular_computers/computers/modular_computer/core.dm @@ -516,7 +516,7 @@ P.event_registered() output_notice("Registration successful!") - playsound(get_turf(src), 'sound/machines/ping.ogg', 10, 0) + playsound(get_turf(src), 'sound/machines/ping.ogg', 10, falloff_distance = SHORT_RANGE_SOUND_EXTRARANGE, ignore_walls = FALSE) return registered_id /obj/item/modular_computer/proc/unregister_account() diff --git a/html/changelogs/fluffyghost-additionalsoundstweaks.yml b/html/changelogs/fluffyghost-additionalsoundstweaks.yml new file mode 100644 index 00000000000..b0cb4ef227a --- /dev/null +++ b/html/changelogs/fluffyghost-additionalsoundstweaks.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: FluffyGhost + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - tweak: "Reduced the range and marked as wall unpassable some additional trivial sounds."