mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
fix formspecs and use the inventory sizes for cardboard box and medicine cabinet, that their formspecs allowed to use before
This commit is contained in:
parent
cc9a1a9c3c
commit
3c357b4b49
@ -89,7 +89,7 @@ homedecor.register("medicine_cabinet", {
|
||||
end,
|
||||
infotext=S("Medicine cabinet"),
|
||||
inventory = {
|
||||
size=16,
|
||||
size=6,
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -327,7 +327,7 @@ homedecor.register("cardboard_box", {
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
infotext=S("Cardboard box"),
|
||||
inventory = {
|
||||
size=8,
|
||||
size=4,
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -8,12 +8,20 @@ end
|
||||
|
||||
local default_inventory_size = 32
|
||||
local default_inventory_formspecs = {
|
||||
["4"]="size[8,6]"..
|
||||
"list[context;main;2,0;4,1;]"..
|
||||
"list[current_player;main;0,2;8,4;]",
|
||||
|
||||
["6"]="size[8,6]"..
|
||||
"list[context;main;1,0;6,1;]"..
|
||||
"list[current_player;main;0,2;8,4;]",
|
||||
|
||||
["8"]="size[8,6]"..
|
||||
"list[context;main;0,0;8,1;]"..
|
||||
"list[current_player;main;0,2;8,4;]",
|
||||
|
||||
["12"]="size[8,7]"..
|
||||
"list[context;main;0,0;8,2;]"..
|
||||
"list[context;main;1,0;6,2;]"..
|
||||
"list[current_player;main;0,3;8,4;]",
|
||||
|
||||
["16"]="size[8,7]"..
|
||||
|
Loading…
Reference in New Issue
Block a user