mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
forgot some comments
This commit is contained in:
@@ -187,7 +187,7 @@
|
|||||||
"goon speak skelly")
|
"goon speak skelly")
|
||||||
var/choice = tgui_input_list(usr, "Which set of sounds would you like to use for your character's speech sounds?", "Voice Sounds", possible_voice_types)
|
var/choice = tgui_input_list(usr, "Which set of sounds would you like to use for your character's speech sounds?", "Voice Sounds", possible_voice_types)
|
||||||
if(!choice)
|
if(!choice)
|
||||||
pref.voice_sound = "goon speak 1"
|
pref.voice_sound = "goon speak 1" //CHOMPEdit - Defaults voice to a less jarring sound
|
||||||
else
|
else
|
||||||
pref.voice_sound = choice
|
pref.voice_sound = choice
|
||||||
/* Maybe later
|
/* Maybe later
|
||||||
|
|||||||
@@ -407,7 +407,7 @@
|
|||||||
feedback_add_details("admin_verb","TRadioSounds")
|
feedback_add_details("admin_verb","TRadioSounds")
|
||||||
|
|
||||||
/client/verb/toggle_say_sounds()
|
/client/verb/toggle_say_sounds()
|
||||||
set name = "Toggle Voice Sounds"
|
set name = "Toggle Voice Sounds" //CHOMPEdit - changed name to one that doesn't interfere with say autofill
|
||||||
set category = "Preferences"
|
set category = "Preferences"
|
||||||
set desc = "Toggle hearing a sound when somebody speaks or emotes."
|
set desc = "Toggle hearing a sound when somebody speaks or emotes."
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,7 @@
|
|||||||
if(!T) return
|
if(!T) return
|
||||||
|
|
||||||
if(client)
|
if(client)
|
||||||
playsound(T, pick(voice_sounds_list), 75, TRUE, falloff = 1 , is_global = TRUE, frequency = voice_freq, ignore_walls = FALSE, preference = /datum/client_preference/say_sounds)
|
playsound(T, pick(voice_sounds_list), 75, TRUE, falloff = 1 , is_global = TRUE, frequency = voice_freq, ignore_walls = FALSE, preference = /datum/client_preference/say_sounds) //CHOMPEdit - use say prefs instead
|
||||||
var/list/in_range = get_mobs_and_objs_in_view_fast(T,range,2,remote_ghosts = client ? TRUE : FALSE)
|
var/list/in_range = get_mobs_and_objs_in_view_fast(T,range,2,remote_ghosts = client ? TRUE : FALSE)
|
||||||
var/list/m_viewers = in_range["mobs"]
|
var/list/m_viewers = in_range["mobs"]
|
||||||
var/list/o_viewers = in_range["objs"]
|
var/list/o_viewers = in_range["objs"]
|
||||||
|
|||||||
@@ -415,12 +415,12 @@ var/list/channel_to_radio_key = new
|
|||||||
message = "([message_mode == "headset" ? "Common" : capitalize(message_mode)]) [message]" //Adds radio keys used if available
|
message = "([message_mode == "headset" ? "Common" : capitalize(message_mode)]) [message]" //Adds radio keys used if available
|
||||||
if(whispering)
|
if(whispering)
|
||||||
if(do_sound && message)
|
if(do_sound && message)
|
||||||
playsound(T, pick(voice_sounds_list), 25, TRUE, extrarange = -6, falloff = 1 , is_global = TRUE, frequency = voice_freq, ignore_walls = FALSE, preference = /datum/client_preference/say_sounds)
|
playsound(T, pick(voice_sounds_list), 25, TRUE, extrarange = -6, falloff = 1 , is_global = TRUE, frequency = voice_freq, ignore_walls = FALSE, preference = /datum/client_preference/say_sounds) //CHOMPEdit - Use say sound prefs
|
||||||
|
|
||||||
log_whisper(message, src)
|
log_whisper(message, src)
|
||||||
else
|
else
|
||||||
if(do_sound && message)
|
if(do_sound && message)
|
||||||
playsound(T, pick(voice_sounds_list), 75, TRUE, falloff = 1 , is_global = TRUE, frequency = voice_freq, ignore_walls = FALSE, preference = /datum/client_preference/say_sounds)
|
playsound(T, pick(voice_sounds_list), 75, TRUE, falloff = 1 , is_global = TRUE, frequency = voice_freq, ignore_walls = FALSE, preference = /datum/client_preference/say_sounds) //CHOMPEdit - tiny fix
|
||||||
log_say(message, src)
|
log_say(message, src)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user