diff --git a/mods/darkage/nodes.lua b/mods/darkage/nodes.lua index a26e3586..53918cfe 100755 --- a/mods/darkage/nodes.lua +++ b/mods/darkage/nodes.lua @@ -266,7 +266,9 @@ minetest.register_node("darkage:box", { meta:set_string("formspec", "size[8,8]".. "list[current_name;main;0,0;8,3;]".. - "list[current_player;main;0,4;8,4;]") + "list[current_player;main;0,4;8,4;]".. + "listring[current_name;main]" .. + "listring[current_player;main]") meta:set_string("infotext", "Box") local inv = meta:get_inventory() inv:set_size("main", 16) @@ -305,7 +307,11 @@ minetest.register_node("darkage:wood_shelves", { "size[8,10]".. "list[context;up;0,0;8,3;]".. "list[context;down;0,3;8,3;]".. - "list[current_player;main;0,6;8,4;]") + "list[current_player;main;0,6;8,4;]".. + "listring[context;down]".. + "listring[current_player;main]".. + "listring[context;up]".. + "listring[current_player;main]") meta:set_string("infotext", "Wooden Shelves") local inv = meta:get_inventory() inv:set_size("up", 16) diff --git a/mods/more_chests/cobble.lua b/mods/more_chests/cobble.lua index c6301bbf..40f6c1b4 100755 --- a/mods/more_chests/cobble.lua +++ b/mods/more_chests/cobble.lua @@ -24,7 +24,9 @@ minetest.register_node("more_chests:cobble", { meta:set_string("formspec", "size[8,9]".. "list[current_name;main;0,0;8,4;]".. - "list[current_player;main;0,5;8,4;]") + "list[current_player;main;0,5;8,4;]".. + "listring[current_name;main]".. + "listring[current_player;main]") -- meta:set_string("infotext", "Locked Chest") meta:set_string("owner", "") local inv = meta:get_inventory() diff --git a/mods/more_chests/dropbox.lua b/mods/more_chests/dropbox.lua index 9c7b632e..330154db 100755 --- a/mods/more_chests/dropbox.lua +++ b/mods/more_chests/dropbox.lua @@ -24,7 +24,9 @@ minetest.register_node("more_chests:dropbox", { meta:set_string("formspec", "size[8,9]".. "list[current_name;main;0,0;8,4;]".. - "list[current_player;main;0,5;8,4;]") + "list[current_player;main;0,5;8,4;]".. + "listring[current_name;main]" .. + "listring[current_player;main]") meta:set_string("infotext", "Chest") local inv = meta:get_inventory() inv:set_size("main", 8*4) diff --git a/mods/more_chests/secret.lua b/mods/more_chests/secret.lua index ad1c5382..cff0b3f1 100755 --- a/mods/more_chests/secret.lua +++ b/mods/more_chests/secret.lua @@ -8,6 +8,8 @@ end local open = "size[8,10]".. "list[current_name;main;0,0;8,4;]".. "list[current_player;main;0,5;8,4;]".. + "listring[current_name;main]" .. + "listring[current_player;main]".. "button[3,9;2,1;open;close]" local closed = "size[2,1]".. "button[0,0;2,1;open;open]" diff --git a/mods/more_chests/shared.lua b/mods/more_chests/shared.lua index 1f78e7b6..395baaff 100755 --- a/mods/more_chests/shared.lua +++ b/mods/more_chests/shared.lua @@ -15,6 +15,8 @@ local function get_formspec(string) return "size[8,10]".. "list[current_name;main;0,0;8,4;]".. "list[current_player;main;0,5;8,4;]".. + "listring[current_name;main]" .. + "listring[current_player;main]".. "field[.25,9.5;6,1;shared;Shared with (separate names with spaces):;"..string.."]".. "button[6,9;2,1;submit;submit]" end diff --git a/mods/more_chests/wifi.lua b/mods/more_chests/wifi.lua index 1cc80799..c4f1b66b 100755 --- a/mods/more_chests/wifi.lua +++ b/mods/more_chests/wifi.lua @@ -13,7 +13,9 @@ minetest.register_node("more_chests:wifi", { meta:set_string("formspec", "size[8,9]".. "list[current_player;more_chests:wifi;0,0;8,4;]".. - "list[current_player;main;0,5;8,4;]") + "list[current_player;main;0,5;8,4;]".. + "listring[current_player;more_chests:wifi]" .. + "listring[current_player;main]") meta:set_string("infotext", "Wifi Chest") end, on_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)