diff options
Diffstat (limited to 'castle_storage')
-rw-r--r-- | castle_storage/crate.lua | 5 | ||||
-rw-r--r-- | castle_storage/ironbound_chest.lua | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/castle_storage/crate.lua b/castle_storage/crate.lua index e370b87..e0e697f 100644 --- a/castle_storage/crate.lua +++ b/castle_storage/crate.lua @@ -20,7 +20,8 @@ minetest.register_node("castle_storage:crate", { default.gui_bg_img .. default.gui_slots .. "list[current_name;main;0,0;8,5;]".. - "list[current_player;main;0,5;8,4;]") + "list[current_player;main;0,5;8,4;]".. + "listring[]") meta:set_string("infotext", S("Crate")) local inv = meta:get_inventory() inv:set_size("main", 8*4) @@ -56,4 +57,4 @@ if minetest.get_modpath("hopper") and hopper ~= nil and hopper.add_container ~= {"side", "castle_storage:crate", "main"}, {"bottom", "castle_storage:crate", "main"}, }) -end
\ No newline at end of file +end diff --git a/castle_storage/ironbound_chest.lua b/castle_storage/ironbound_chest.lua index c042244..7cc8c89 100644 --- a/castle_storage/ironbound_chest.lua +++ b/castle_storage/ironbound_chest.lua @@ -12,7 +12,8 @@ local get_ironbound_chest_formspec = function(pos) default.gui_bg_img .. default.gui_slots .. "list[nodemeta:".. spos .. ";main;,0;8,4;]".. - "list[current_player;main;,5;8,4;]" + "list[current_player;main;,5;8,4;]".. + "listring[]" return formspec end @@ -140,4 +141,4 @@ if minetest.get_modpath("hopper") and hopper ~= nil and hopper.add_container ~= {"side", "castle_storage:ironbound_chest", "main"}, {"bottom", "castle_storage:ironbound_chest", "main"}, }) -end
\ No newline at end of file +end |