Remove duplicate GUI stuff

This commit is contained in:
Wuzzy 2024-11-27 14:56:54 +01:00
parent 8bab2a268b
commit 4445580096

View File

@ -7,10 +7,13 @@ local S = minetest.get_translator("tutorial_default")
-- Definitions made by this mod that other mods can use too
default = {}
-- GUI related stuff
default.gui_bg = "bgcolor[#080808BB;true]"
default.gui_bg_img = "background[5,5;1,1;gui_formbg.png;true]"
default.gui_slots = "listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]"
-- GUI-related stuff
-- Legacy stuff; we use formspec prepend now
default.gui_bg = ""
default.gui_bg_img = ""
default.gui_slots = ""
default.gui_controls = minetest.formspec_escape(S("[Left click]: Take/drop stack\n[Right click]: Take half stack / drop 1 item\n[Middle click]: Take/drop 10 items\n[Esc] or [I]: Close"))
function default.get_hotbar_bg(x,y)