mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
add option to disable end of round sound (#26014)
* add option to disable end of round sound * fix sleep position * add EOR sound to enable/disable preferences * invert logic so that existing players don't mute the sound * fix inconsistent mute/hear variable --------- Co-authored-by: pwbokie <pmerkamp@butler.edu>
This commit is contained in:
@@ -172,6 +172,16 @@
|
||||
if(user.prefs.sound & ~SOUND_LOBBY)
|
||||
usr.stop_sound_channel(CHANNEL_ADMIN)
|
||||
|
||||
/datum/preference_toggle/toggle_end_of_round_sound
|
||||
name = "Toggle Mute End of Round Sound"
|
||||
description = "Toggles muting the end of round sound"
|
||||
preftoggle_bitflag = SOUND_MUTE_END_OF_ROUND
|
||||
preftoggle_toggle = PREFTOGGLE_SOUND
|
||||
preftoggle_category = PREFTOGGLE_CATEGORY_GENERAL
|
||||
enable_message = "You have muted the end of round sound."
|
||||
disable_message = "You have unmuted the end of round sound."
|
||||
blackbox_message = "Toggle End of Round Sound"
|
||||
|
||||
/datum/preference_toggle/toggle_ooc
|
||||
name = "Toggle OOC chat"
|
||||
description = "Toggles seeing OutOfCharacter chat"
|
||||
|
||||
Reference in New Issue
Block a user