WIP_uisounds #69

Closed
Nio wants to merge 3 commits from master into Monster-Update-6
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 8f6393ab79 - Show all commits

View File

@ -53,7 +53,7 @@ define config.play_channel = "uisounds"
##Custom Channels?
init -1 python:
renpy.music.register_channel("uisounds", "voice", loop=False, stop_on_mute=True)
renpy.music.register_channel("uisounds", "ui", loop=False, stop_on_mute=True)
## To allow the user to play a test sound on the sound or voice channel,

View File

@ -912,6 +912,12 @@ screen preferences():
hbox:
bar value Preference("music volume")
if config.has_music:
label _("UI Sounds Volume")
hbox:
bar value Preference("ui volume")
if config.has_sound:
label _("Sound Volume")
@ -932,7 +938,7 @@ screen preferences():
if config.sample_voice:
textbutton _("Test") action Play("voice", config.sample_voice)
if config.has_music or config.has_sound or config.has_voice:
if config.has_music or config.has_sound or config.has_voice or config.has_ui:
null height gui.pref_spacing
textbutton _("Mute All"):