diff --git a/CREDITS.md b/CREDITS.md
index 3bd90c0..31c3191 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -61,6 +61,10 @@ Sounds:
- by Fupicat
- Edit by Wuzzy (higher pitch)
- License: CC0
+- `lzr_sounds_button.ogg`:
+ - by Fourier
+ - Edit by Wuzzy (shortened)
+ - License: CC BY 3.0
- All other sounds come from Minetest Game (see license of Minetest Game 5.4.1 for details)
Code:
diff --git a/mods/lzr_gui/init.lua b/mods/lzr_gui/init.lua
index 9c102a0..762ff41 100644
--- a/mods/lzr_gui/init.lua
+++ b/mods/lzr_gui/init.lua
@@ -41,7 +41,9 @@ minetest.register_on_joinplayer(function(player)
player:set_formspec_prepend([=[
listcolors[#5c4432;#a87d5d;#3b2b20;#b75647;#ffffff]
bgcolor[#503b2c;false]
- style_type[button;bgcolor=#5c4432]]=])
+ style_type[button;bgcolor=#5c4432]
+ style_type[button;sound=lzr_sounds_button]
+ style_type[image_button;sound=lzr_sounds_button]]=])
player:hud_set_hotbar_selected_image("lzr_gui_hotbar_selected.png")
local name = player:get_player_name()
diff --git a/mods/lzr_sounds/sounds/lzr_sounds_button.ogg b/mods/lzr_sounds/sounds/lzr_sounds_button.ogg
new file mode 100644
index 0000000..e482741
Binary files /dev/null and b/mods/lzr_sounds/sounds/lzr_sounds_button.ogg differ