diff --git a/mods/default/README.txt b/mods/default/README.txt index 950deb1..d8715cd 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -19,6 +19,10 @@ Sound licenses: * default_tool_breaks.ogg: * Source: https://freesound.org/people/JustInvoke/sounds/446118/ * 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 Texture license: CC BY-SA 4.0 Model license: CC BY-SA 4.0 diff --git a/mods/default/formspec.lua b/mods/default/formspec.lua index b1ae1a6..d7f23ba 100644 --- a/mods/default/formspec.lua +++ b/mods/default/formspec.lua @@ -17,7 +17,8 @@ default.ui.current_page = {} -- Colors 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]" -- bgcolor intentionally not included because it would make pause menu transparent, too :( diff --git a/mods/default/sounds/default_gui_button.ogg b/mods/default/sounds/default_gui_button.ogg new file mode 100644 index 0000000..bf8f2e8 Binary files /dev/null and b/mods/default/sounds/default_gui_button.ogg differ