fix the rest of the mod menu not having button sounds
This commit is contained in:
@@ -744,7 +744,7 @@ screen mod_menu():
|
||||
style_prefix "main_menu"
|
||||
add Null(30,30)
|
||||
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
|
||||
if persistent.use_epilogue_menu:
|
||||
idle_foreground Transform("gui/button/menubuttons/up.png",xalign=0.5,yalign=0.5,matrixcolor=TintMatrix("#000000"))
|
||||
@@ -771,7 +771,7 @@ screen mod_menu():
|
||||
|
||||
if x["Scripts"]:
|
||||
action Function(toggle_persistent_mods, i)
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
if persistent.enabled_mods[i][1]:
|
||||
idle_foreground Transform("gui/button/menubuttons/check.png",xalign=0.5,yalign=0.5,matrixcolor=TintMatrix("#00ff40"))
|
||||
hover_foreground Transform("gui/button/menubuttons/check.png",xalign=0.5,yalign=0.5,matrixcolor=TintMatrix("#ffffff"))
|
||||
@@ -787,7 +787,7 @@ screen mod_menu():
|
||||
style_prefix "main_menu"
|
||||
add Null(30,30)
|
||||
action Function(swapMods, i, i+1)
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
|
||||
if persistent.use_epilogue_menu:
|
||||
idle_foreground Transform("gui/button/menubuttons/down.png",xalign=0.5,yalign=0.5,matrixcolor=TintMatrix("#000000"))
|
||||
@@ -814,7 +814,7 @@ screen mod_menu():
|
||||
at transform:
|
||||
truecenter
|
||||
alpha mod_button_alpha
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
hovered SetScreenVariable("mod_metadata", x)
|
||||
|
||||
# Clicking the mod button starts the mod on PC, but we have to click a seperate button to start on Android.
|
||||
@@ -864,7 +864,7 @@ screen mod_menu():
|
||||
ysize 160
|
||||
button:
|
||||
at truecenter
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
action Start(x["Label"])
|
||||
|
||||
frame:
|
||||
@@ -1033,7 +1033,7 @@ screen mod_menu():
|
||||
|
||||
text _("Show Errors") xalign 0.5 yalign 0.5 size 50 outlines [ (absolute(1), "#000", absolute(0), absolute(0)) ]
|
||||
action SetScreenVariable("mod_metadata", {})
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
|
||||
if mod_metadata.get("Label") != None:
|
||||
$ mod_button_alpha = 1.0 if mod_metadata["Enabled"] == True else 0.4 # Fade mod button out if mod is disabled
|
||||
@@ -1051,7 +1051,7 @@ screen mod_menu():
|
||||
|
||||
text _("Start") xalign 0.5 yalign 0.5 size 50 outlines [ (absolute(1), "#000", absolute(0), absolute(0)) ]
|
||||
action Start(mod_metadata["Label"])
|
||||
activate_sound "audio/ui/snd_ui_click.wav"
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
|
||||
|
||||
if not persistent.seenModWarning:
|
||||
|
Reference in New Issue
Block a user