From 91138c55021df0504424dbe953c39f4a4e281fbe Mon Sep 17 00:00:00 2001 From: ThePython Date: Sat, 25 Mar 2023 12:31:19 -0700 Subject: [PATCH] I don't know how formspecs work... --- deconstructor.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deconstructor.lua b/deconstructor.lua index 05e88bd..d6ed6e4 100644 --- a/deconstructor.lua +++ b/deconstructor.lua @@ -11,14 +11,15 @@ function get_element_deconstructor_formspec() }, "") else local formspec = "size[8,9]".. - "no_prepend[]".. - mcl_vars.gui_nonbg..mcl_vars.gui_bg_color.. "background[-0.19,-0.25;10.5,9.87]".. "label[2,1;"..minetest.formspec_escape(minetest.colorize("#313131", "Fuel")).."]".. "list[context;fuel;2,2;1,1;]".. + mcl_formspec.get_itemslot_bg(2,2,1,1).. "label[5,1;"..minetest.formspec_escape(minetest.colorize("#313131", "Orb")).."]".. "list[context;dst;5,2;1,1;]".. - "list[current_player;main;0,5;8,4;]".. + mcl_formspec.get_itemslot_bg(5,2,1,1).. + "list[current_player;main;0,5;9,4;]".. + mcl_formspec.get_itemslot_bg(0,5,9,4).. "listring[context;fuel]".. "listring[current_player;main]".. "listring[context;dst]"