Buffs Blockers and alters the new sound toggle verbs again

This commit is contained in:
Casey
2022-07-17 01:04:37 -04:00
committed by CHOMPStation2
parent 494be6adef
commit 69eba2c403
2 changed files with 58 additions and 0 deletions

View File

@@ -406,6 +406,61 @@
feedback_add_details("admin_verb","TRadioSounds")
<<<<<<< HEAD
=======
/client/verb/toggle_say_sounds()
set name = "Sound-Toggle-Say"
set category = "Preferences"
set desc = "Toggle hearing a sound when somebody speaks using say."
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 sounds.")
feedback_add_details("admin_verb","TSaySounds")
/client/verb/toggle_emote_sounds()
set name = "Sound-Toggle-Me"
set category = "Preferences"
set desc = "Toggle hearing a sound when somebody speaks using me ."
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 sounds.")
feedback_add_details("admin_verb","TMeSounds")
/client/verb/toggle_whisper_sounds()
set name = "Sound-Toggle-Whisper"
set category = "Preferences"
set desc = "Toggle hearing a sound when somebody speaks using whisper."
var/pref_path = /datum/client_preference/whisper_sounds
toggle_preference(pref_path)
SScharacter_setup.queue_preferences_save(prefs)
to_chat(src, "You will now [(is_preference_enabled(/datum/client_preference/whisper_sounds)) ? "hear" : "not hear"] whisper sounds.")
feedback_add_details("admin_verb","TWhisperSounds")
/client/verb/toggle_subtle_sounds()
set name = "Sound-Toggle-Subtle"
set category = "Preferences"
set desc = "Toggle hearing a sound when somebody uses subtle."
var/pref_path = /datum/client_preference/subtle_sounds
toggle_preference(pref_path)
SScharacter_setup.queue_preferences_save(prefs)
to_chat(src, "You will now [(is_preference_enabled(/datum/client_preference/subtle_sounds)) ? "hear" : "not hear"] subtle sounds.")
feedback_add_details("admin_verb","TSubtleSounds")
>>>>>>> 103d0e094b... Merge pull request #13352 from Very-Soft/master
// Not attached to a pref datum because those are strict binary toggles
/client/verb/toggle_examine_mode()
set name = "Toggle Examine Mode"