mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 08:20:21 +01:00
use the default background for all automatic inventory formspecs
This commit is contained in:
parent
382eba6860
commit
faf6cefa99
@ -7,38 +7,39 @@ local default_can_dig = function(pos,player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local default_inventory_size = 32
|
local default_inventory_size = 32
|
||||||
|
local background = default.gui_bg .. default.gui_bg_img .. default.gui_slots
|
||||||
local default_inventory_formspecs = {
|
local default_inventory_formspecs = {
|
||||||
["4"]="size[8,6]"..
|
["4"]="size[8,6]".. background ..
|
||||||
"list[context;main;2,0;4,1;]"..
|
"list[context;main;2,0;4,1;]"..
|
||||||
"list[current_player;main;0,2;8,4;]",
|
"list[current_player;main;0,2;8,4;]",
|
||||||
|
|
||||||
["6"]="size[8,6]"..
|
["6"]="size[8,6]".. background ..
|
||||||
"list[context;main;1,0;6,1;]"..
|
"list[context;main;1,0;6,1;]"..
|
||||||
"list[current_player;main;0,2;8,4;]",
|
"list[current_player;main;0,2;8,4;]",
|
||||||
|
|
||||||
["8"]="size[8,6]"..
|
["8"]="size[8,6]".. background ..
|
||||||
"list[context;main;0,0;8,1;]"..
|
"list[context;main;0,0;8,1;]"..
|
||||||
"list[current_player;main;0,2;8,4;]",
|
"list[current_player;main;0,2;8,4;]",
|
||||||
|
|
||||||
["12"]="size[8,7]"..
|
["12"]="size[8,7]".. background ..
|
||||||
"list[context;main;1,0;6,2;]"..
|
"list[context;main;1,0;6,2;]"..
|
||||||
"list[current_player;main;0,3;8,4;]",
|
"list[current_player;main;0,3;8,4;]",
|
||||||
|
|
||||||
["16"]="size[8,7]"..
|
["16"]="size[8,7]".. background ..
|
||||||
"list[context;main;0,0;8,2;]"..
|
"list[context;main;0,0;8,2;]"..
|
||||||
"list[current_player;main;0,3;8,4;]",
|
"list[current_player;main;0,3;8,4;]",
|
||||||
|
|
||||||
["24"]="size[8,8]"..
|
["24"]="size[8,8]".. background ..
|
||||||
"list[context;main;0,0;8,3;]"..
|
"list[context;main;0,0;8,3;]"..
|
||||||
"list[current_player;main;0,4;8,4;]",
|
"list[current_player;main;0,4;8,4;]",
|
||||||
|
|
||||||
["32"]="size[8,9]".. default.gui_bg .. default.gui_bg_img .. default.gui_slots ..
|
["32"]="size[8,9]".. background ..
|
||||||
"list[context;main;0,0.3;8,4;]"..
|
"list[context;main;0,0.3;8,4;]"..
|
||||||
"list[current_player;main;0,4.85;8,1;]"..
|
"list[current_player;main;0,4.85;8,1;]"..
|
||||||
"list[current_player;main;0,6.08;8,3;8]"..
|
"list[current_player;main;0,6.08;8,3;8]"..
|
||||||
default.get_hotbar_bg(0,4.85),
|
default.get_hotbar_bg(0,4.85),
|
||||||
|
|
||||||
["50"]="size[10,10]"..
|
["50"]="size[10,10]".. background ..
|
||||||
"list[context;main;0,0;10,5;]"..
|
"list[context;main;0,0;10,5;]"..
|
||||||
"list[current_player;main;1,6;8,4;]",
|
"list[current_player;main;1,6;8,4;]",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user