mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Say Sounds!
Now people will make noise when they say/me/whisper/subtle, and everyone will be annoyed by it!
This commit is contained in:
@@ -406,6 +406,32 @@
|
||||
|
||||
feedback_add_details("admin_verb","TRadioSounds")
|
||||
|
||||
/client/verb/toggle_say_sounds()
|
||||
set name = "Toggle Say Sounds"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggle hearing a sound when somebody speaks using say or whisper."
|
||||
|
||||
var/pref_path = /datum/client_preference/say_sounds
|
||||
toggle_preference(pref_path)
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
to_chat(src, "You will now [(is_preference_enabled(/datum/client_preference/say_sounds)) ? "hear" : "not hear"] say/whisper sounds.")
|
||||
|
||||
feedback_add_details("admin_verb","TSaySounds")
|
||||
|
||||
/client/verb/toggle_emote_sounds()
|
||||
set name = "Toggle Me Sounds"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggle hearing a sound when somebody speaks using me or subtle."
|
||||
|
||||
var/pref_path = /datum/client_preference/emote_sounds
|
||||
toggle_preference(pref_path)
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
to_chat(src, "You will now [(is_preference_enabled(/datum/client_preference/emote_sounds)) ? "hear" : "not hear"] me/subtle sounds.")
|
||||
|
||||
feedback_add_details("admin_verb","TMeSounds")
|
||||
|
||||
// Not attached to a pref datum because those are strict binary toggles
|
||||
/client/verb/toggle_examine_mode()
|
||||
set name = "Toggle Examine Mode"
|
||||
|
||||
Reference in New Issue
Block a user