From 4fdf73fbcd992786cdbb60431e739cdcfc2362a2 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 29 Aug 2016 18:28:43 +0200 Subject: add list rings to pipework inventories --- wielder.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wielder.lua') diff --git a/wielder.lua b/wielder.lua index 3cb1649..4e2882b 100644 --- a/wielder.lua +++ b/wielder.lua @@ -14,7 +14,8 @@ local function set_wielder_formspec(data, meta) "item_image[0,0;1,1;"..data.name_base.."_off]".. "label[1,0;"..minetest.formspec_escape(data.description).."]".. "list[current_name;"..minetest.formspec_escape(data.wield_inv_name)..";"..((8-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]".. - "list[current_player;main;0,"..(2+data.wield_inv_height)..";8,4;]") + "list[current_player;main;0,"..(2+data.wield_inv_height)..";8,4;]" .. + "listring[]") meta:set_string("infotext", data.description) end -- cgit v1.2.3