Add some scifi-ish GUI sounds

master
Wuzzy 2021-02-04 21:31:02 +01:00
parent 974a934bc7
commit 2a4c766e6a
4 changed files with 10 additions and 1 deletions

View File

@ -10,3 +10,8 @@ Amatvejuk721 (CC BY 3.0):
hades_player_death.ogg (changes were made)
hades_player_respawn.ogg (changes were made)
Origin: <https://freesound.org/people/Amatvejuk721/sounds/171050/>
rubberduck (CC0 1.0):
hades_player_gui_button.ogg
hades_player_gui_tab.ogg
Origin: <https://opengameart.org/content/50-cc0-sci-fi-sfx>

View File

@ -104,7 +104,11 @@ minetest.register_on_joinplayer(function(player)
player:hud_set_hotbar_itemcount(10)
player:hud_set_hotbar_image("hades_gui_hotbar.png")
player:hud_set_hotbar_selected_image("hades_gui_hotbar_selected.png")
player:set_formspec_prepend("listcolors[#000000;#C68D3C;#ffffff;#C68D3C;#000000]")
player:set_formspec_prepend(
[=[listcolors[#000000;#C68D3C;#ffffff;#C68D3C;#000000]
style_type[*;sound=hades_player_gui_button]]
style_type[tabheader;sound=hades_player_gui_tab]]
style_type[dropdown;sound=hades_player_gui_tab]]=])
end)
minetest.register_on_leaveplayer(function(player)

Binary file not shown.

Binary file not shown.