diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-08-30 14:13:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 14:13:01 -0400 |
commit | 6e0e7c47d08225b8483540229ccb900a24cf4aed (patch) | |
tree | 35b6b14e3f1e0c08f1489ac5422d1875fa03d7c7 /wielder.lua | |
parent | a1ed3acd7a7b65825b2faba4cc81dd42b249ba44 (diff) | |
parent | 4fdf73fbcd992786cdbb60431e739cdcfc2362a2 (diff) | |
download | pipeworks-6e0e7c47d08225b8483540229ccb900a24cf4aed.tar pipeworks-6e0e7c47d08225b8483540229ccb900a24cf4aed.tar.gz pipeworks-6e0e7c47d08225b8483540229ccb900a24cf4aed.tar.bz2 pipeworks-6e0e7c47d08225b8483540229ccb900a24cf4aed.tar.xz pipeworks-6e0e7c47d08225b8483540229ccb900a24cf4aed.zip |
Merge pull request #150 from t4im/master
Add list rings and enable sorting tube reordering
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 |