diff options
author | Tim <t4im@users.noreply.github.com> | 2016-08-29 18:28:43 +0200 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2016-08-29 18:28:43 +0200 |
commit | 4fdf73fbcd992786cdbb60431e739cdcfc2362a2 (patch) | |
tree | 35b6b14e3f1e0c08f1489ac5422d1875fa03d7c7 /wielder.lua | |
parent | aba1ce5b36393878dff35c5a3fe37dc8aa6ca474 (diff) |
add list rings to pipework inventories
Diffstat (limited to 'wielder.lua')
-rw-r--r-- | wielder.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 |