Talk Sound Refactor (#17691)

* voices use a unified list

* Move that back

* unneeded file

* use subsystem

* old order

* matching

* matching again

* whitespace

* another whitespace line

* global that's never used

* more cleanup

* little better naming

* lets just use the vars

* oops needed that

* incorrect comment

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Will
2025-05-15 00:30:52 -07:00
committed by GitHub
co-authored by Kashargul
parent 3ee9ccd629
commit 71cc89be87
7 changed files with 30 additions and 107 deletions
+1 -1
View File
@@ -181,7 +181,7 @@
var/list/possible_voice_types = get_talk_sound()
var/choice = tgui_input_list(src, "Which set of sounds would you like to use for your character's speech sounds?", "Voice Sounds", possible_voice_types)
if(!choice)
voice_sounds_list = GLOB.talk_sound
voice_sounds_list = DEFAULT_TALK_SOUNDS
voice_sounds_list = get_talk_sound(choice)
/mob/living/proc/save_private_notes(mob/user)
+1 -1
View File
@@ -42,7 +42,7 @@
var/prefsound = client.prefs.voice_sound
voice_sounds_list = get_talk_sound(prefsound)
else
voice_sounds_list = GLOB.talk_sound
voice_sounds_list = DEFAULT_TALK_SOUNDS
resize(size_multiplier, animate = FALSE, uncapped = has_large_resize_bounds(), ignore_prefs = TRUE, aura_animation = FALSE)
return .