summaryrefslogtreecommitdiff
path: root/homedecor
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor')
-rw-r--r--homedecor/handlers/inventory.lua25
-rw-r--r--homedecor/kitchen_appliances.lua1
-rw-r--r--homedecor/trash_cans.lua3
-rw-r--r--homedecor/wardrobe.lua3
4 files changed, 22 insertions, 10 deletions
diff --git a/homedecor/handlers/inventory.lua b/homedecor/handlers/inventory.lua
index 44b6945..dc4b740 100644
--- a/homedecor/handlers/inventory.lua
+++ b/homedecor/handlers/inventory.lua
@@ -8,38 +8,47 @@ end
local background = default.gui_bg .. default.gui_bg_img .. default.gui_slots
local default_inventory_formspecs = {
["4"]="size[8,6]".. background ..
- "list[context;main;2,0;4,1;]"..
- "list[current_player;main;0,2;8,4;]",
+ "list[context;main;2,0;4,1;]" ..
+ "list[current_player;main;0,2;8,4;]" ..
+ "listring[]",
["6"]="size[8,6]".. background ..
"list[context;main;1,0;6,1;]"..
- "list[current_player;main;0,2;8,4;]",
+ "list[current_player;main;0,2;8,4;]" ..
+ "listring[]",
["8"]="size[8,6]".. background ..
"list[context;main;0,0;8,1;]"..
- "list[current_player;main;0,2;8,4;]",
+ "list[current_player;main;0,2;8,4;]" ..
+ "listring[]",
["12"]="size[8,7]".. background ..
"list[context;main;1,0;6,2;]"..
- "list[current_player;main;0,3;8,4;]",
+ "list[current_player;main;0,3;8,4;]" ..
+ "listring[]",
["16"]="size[8,7]".. background ..
"list[context;main;0,0;8,2;]"..
- "list[current_player;main;0,3;8,4;]",
+ "list[current_player;main;0,3;8,4;]" ..
+ "listring[]",
["24"]="size[8,8]".. background ..
"list[context;main;0,0;8,3;]"..
- "list[current_player;main;0,4;8,4;]",
+ "list[current_player;main;0,4;8,4;]" ..
+ "listring[]",
["32"]="size[8,9]".. background ..
"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[context;main]" ..
+ "listring[current_player;main]" ..
default.get_hotbar_bg(0,4.85),
["50"]="size[10,10]".. background ..
"list[context;main;0,0;10,5;]"..
- "list[current_player;main;1,6;8,4;]",
+ "list[current_player;main;1,6;8,4;]" ..
+ "listring[]",
}
local function get_formspec_by_size(size)
diff --git a/homedecor/kitchen_appliances.lua b/homedecor/kitchen_appliances.lua
index af3009b..70d0703 100644
--- a/homedecor/kitchen_appliances.lua
+++ b/homedecor/kitchen_appliances.lua
@@ -48,6 +48,7 @@ minetest.register_alias("homedecor:refrigerator_steel_top", "air")
minetest.register_alias("homedecor:refrigerator_white_bottom_locked", "homedecor:refrigerator_white_locked")
minetest.register_alias("homedecor:refrigerator_white_top_locked", "air")
+minetest.register_alias("homedecor:refrigerator_locked", "homedecor:refrigerator_white_locked")
minetest.register_alias("homedecor:refrigerator_steel_bottom_locked", "homedecor:refrigerator_steel_locked")
minetest.register_alias("homedecor:refrigerator_steel_top_locked", "air")
diff --git a/homedecor/trash_cans.lua b/homedecor/trash_cans.lua
index a7aa5d3..70c45d8 100644
--- a/homedecor/trash_cans.lua
+++ b/homedecor/trash_cans.lua
@@ -36,7 +36,8 @@ homedecor.register("trash_can_green_open", {
formspec = "size[8,9]" .. default.gui_bg .. default.gui_bg_img .. default.gui_slots ..
"button[2.5,3.8;3,1;empty;Empty Trash]"..
"list[context;main;2.5,0.5;3,3;]"..
- "list[current_player;main;0,5;8,4;]",
+ "list[current_player;main;0,5;8,4;]" ..
+ "listring[]",
},
on_receive_fields = function(pos, formname, fields, sender)
if fields.empty then
diff --git a/homedecor/wardrobe.lua b/homedecor/wardrobe.lua
index 86b29ef..c7dde42 100644
--- a/homedecor/wardrobe.lua
+++ b/homedecor/wardrobe.lua
@@ -39,7 +39,8 @@ homedecor.register("wardrobe", {
clothes_strings..
"vertlabel[0,5.2;STORAGE]"..
"list[current_name;main;0.5,4.5;5,2;]"..
- "list[current_player;main;0.5,6.8;5,2;]")
+ "list[current_player;main;0.5,6.8;5,2;]" ..
+ "listring[]")
end,
on_receive_fields = function(pos, formname, fields, sender)
local meta = minetest.get_meta(pos)