diff --git a/mods/default/init.lua b/mods/default/init.lua index 871e5ab..997b5ab 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -10,7 +10,7 @@ default.LIGHT_MAX = 14 -- GUI related stuff default.gui_bg = "bgcolor[#080808BB;true]" -default.gui_bg_img = "background[5,5;1,1;gui_formbg.png;true]" +default.gui_bg_img = "" default.gui_slots = "listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]" function default.get_hotbar_bg(x,y) diff --git a/mods/default/legacy.lua b/mods/default/legacy.lua index 1cf3d7f..cb7918b 100644 --- a/mods/default/legacy.lua +++ b/mods/default/legacy.lua @@ -25,6 +25,7 @@ LIGHT_MAX = default.LIGHT_MAX default.gui_suvival_form = default.gui_survival_form default.gui_bg = "" default.gui_bg_img = "" +default.gui_slots = "" -- Players if minetest.get_modpath("player_api") then diff --git a/mods/default/player.lua b/mods/default/player.lua index a3d7e63..3f84bbc 100644 --- a/mods/default/player.lua +++ b/mods/default/player.lua @@ -123,9 +123,6 @@ minetest.register_on_joinplayer(function(player) default.player_set_model(player, modelchar) player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30) player:set_properties({hp_max = hp_player_maximun}) - - player:hud_set_hotbar_image("gui_hotbar.png") - player:hud_set_hotbar_selected_image("gui_hotbar_selected.png") end) minetest.register_on_leaveplayer(function(player) diff --git a/mods/default/textures/gui_formbg.png b/mods/default/textures/gui_formbg.png deleted file mode 100644 index 7c913fb..0000000 Binary files a/mods/default/textures/gui_formbg.png and /dev/null differ diff --git a/mods/default/textures/gui_hotbar.png b/mods/default/textures/gui_hotbar.png deleted file mode 100644 index 747ec09..0000000 Binary files a/mods/default/textures/gui_hotbar.png and /dev/null differ diff --git a/mods/default/textures/gui_hotbar_selected.png b/mods/default/textures/gui_hotbar_selected.png deleted file mode 100644 index 9068b4c..0000000 Binary files a/mods/default/textures/gui_hotbar_selected.png and /dev/null differ