["8"] = "size[8,6]"..xbg..
"list[context;main;0,0;8,1;]"..
"list[current_player;main;0,2;8,4;]"..
+ "listring[current_player;main]"..
+ "listring[context;main]"..
default.get_hotbar_bg(0, 2),
["16"] = "size[8,7]"..xbg..
"list[context;main;0,0;8,2;]"..
"list[current_player;main;0,3;8,4;]"..
+ "listring[current_player;main]"..
+ "listring[context;main]"..
default.get_hotbar_bg(0, 3),
["24"] = "size[8,8]"..xbg..
"list[context;main;0,0;8,3;]"..
"list[current_player;main;0,4;8,4;]"..
+ "listring[current_player;main]"..
+ "listring[context;main]"..
default.get_hotbar_bg(0, 4),
["32"] = "size[8,9]"..xbg..
"list[context;main;0,0.3;8,4;]"..
"list[current_player;main;0,4.85;8,1;]"..
"list[current_player;main;0,6.08;8,3;8]"..
+ "listring[current_player;main]"..
+ "listring[context;main]"..
default.get_hotbar_bg(0, 4.85)
}
default.get_hotbar_bg(0.75,5.25)..
"label[0,0;Mailbox :]"..
"label[6,0;Last donators :]"..
- "box[6,0.72;3.3,3.92;#555555]"..
+ "box[6,0.72;3.3,3.5;#555555]"..
"tablecolumns[color;text;image,"..
"1="..img_col(def_stack1)..","..
"2="..img_col(def_stack2)..","..
"tableoptions[background=#00000000;highlight=#00000000;border=false]"..
"table[6,0.75;3.3,4;givers;"..giver.."]"..
"list[nodemeta:"..spos..";mailbox;0,0.75;6,4;]"..
- "list[current_player;main;0.75,5.25;8,4;]"
+ "list[current_player;main;0.75,5.25;8,4;]"..
+ "listring[nodemeta:"..spos..";mailbox]"..
+ "listring[current_player;main]"
else
return "size[8,5]"..xbg..
default.get_hotbar_bg(0,1.25)..
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "size[8,9]"..xbg..default.get_hotbar_bg(0,5)..
"list[current_player;enderchest;0,0;8,4;]"..
- "list[current_player;main;0,5;8,4;]")
+ "list[current_player;main;0,5;8,4;]"..
+ "listring[current_player;enderchest]"..
+ "listring[current_player;main]")
meta:set_string("infotext", "Ender Chest")
end
})
"list[current_player;main;0,3.3;8,4;]"..
"image[5,1;1,1;gui_furnace_arrow_bg.png^[transformR270]"..
"list[current_player;craft;2,0;3,3;]"..
- "list[current_player;craftpreview;6,1;1,1;]"
+ "list[current_player;craftpreview;6,1;1,1;]"..
+ "listring[current_player;main]"..
+ "listring[current_player;craft]"
end
function worktable.storage(pos)
inv:set_size("storage", 8*2)
return "size[8,7]"..xbg..
"list[context;storage;0,0;8,2;]"..
- "list[current_player;main;0,3.25;8,4;]"
+ "list[current_player;main;0,3.25;8,4;]"..
+ "listring[context;storage]"..
+ "listring[current_player;main]"
end
function worktable.construct(pos)