diff --git a/homedecor/misc-bathroom.lua b/homedecor/misc-bathroom.lua index 5daf87df..33e88a79 100644 --- a/homedecor/misc-bathroom.lua +++ b/homedecor/misc-bathroom.lua @@ -89,7 +89,7 @@ homedecor.register("medicine_cabinet", { end, infotext=S("Medicine cabinet"), inventory = { - size=16, + size=6, }, }) diff --git a/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index e3e4ea48..4a58b390 100644 --- a/homedecor/misc-nodes.lua +++ b/homedecor/misc-nodes.lua @@ -327,7 +327,7 @@ homedecor.register("cardboard_box", { sounds = default.node_sound_wood_defaults(), infotext=S("Cardboard box"), inventory = { - size=8, + size=4, }, }) diff --git a/homedecor/registration_handler.lua b/homedecor/registration_handler.lua index a66561cb..a79d817b 100644 --- a/homedecor/registration_handler.lua +++ b/homedecor/registration_handler.lua @@ -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]"..