Add button GUI sound

This commit is contained in:
Wuzzy 2021-02-04 22:29:47 +01:00
parent e78dd6d2ad
commit e869787ef3
3 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,10 @@ Sound licenses:
* default_tool_breaks.ogg: * default_tool_breaks.ogg:
* Source: https://freesound.org/people/JustInvoke/sounds/446118/ * Source: https://freesound.org/people/JustInvoke/sounds/446118/
* Author: JustInvoke (CC BY 3.0) * Author: JustInvoke (CC BY 3.0)
* default_gui_button.ogg:
* Source: https://freesound.org/people/joedeshon/sounds/117413/
* Sound was changed!
* Author: joedeshon (CC BY 3.0)
* All other sounds: CC0 * All other sounds: CC0
Texture license: CC BY-SA 4.0 Texture license: CC BY-SA 4.0
Model license: CC BY-SA 4.0 Model license: CC BY-SA 4.0

View File

@ -17,7 +17,8 @@ default.ui.current_page = {}
-- Colors -- Colors
local prepend = "listcolors[#00000000;#00000010;#00000000;#68B259;#FFF]" .. local prepend = "listcolors[#00000000;#00000010;#00000000;#68B259;#FFF]" ..
"tableoptions[background=#DDDDDD30;highlight=#539646]" "tableoptions[background=#DDDDDD30;highlight=#539646]" ..
"style_type[button,image_button,checkbox,tabheader;sound=default_gui_button]"
default.ui.default.bg = "bgcolor[#00000000]" default.ui.default.bg = "bgcolor[#00000000]"
-- bgcolor intentionally not included because it would make pause menu transparent, too :( -- bgcolor intentionally not included because it would make pause menu transparent, too :(

Binary file not shown.