diff options
author | est31 <MTest31@outlook.com> | 2015-06-16 10:48:54 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-16 14:51:26 +0200 |
commit | c977fbd9288d0e80019554411a2f1885f7760568 (patch) | |
tree | a93117e0af24167084e6189e0da9f909120f9c83 /doc | |
parent | 3ae8b92be6e527054a3f291dee995230528141ca (diff) | |
download | minetest-c977fbd9288d0e80019554411a2f1885f7760568.tar.gz minetest-c977fbd9288d0e80019554411a2f1885f7760568.tar.bz2 minetest-c977fbd9288d0e80019554411a2f1885f7760568.zip |
Add list-rings
Adds list-rings, a method to implement item sending between inventories via shift-click.
Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method.
Also adds them to minimal game, and the standard inventory.
Craft output slots are not supported.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 012c6eae1..a65c53c1a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1340,6 +1340,17 @@ examples. #### `list[<inventory location>;<list name>;<X>,<Y>;<W>,<H>;<starting item index>]` * Show an inventory list +#### `listring[<inventory location>;<list name>]` +* Allows to create a ring of inventory lists +* Shift-clicking on items in one element of the ring +* will send them to the next inventory list inside the ring +* The first occurrence of an element inside the ring will +* determine the inventory where items will be sent to + +#### `listring[]` +* Shorthand for doing `listring[<inventory location>;<list name>]` +* for the last two inventory lists added by list[...] + #### `listcolors[<slot_bg_normal>;<slot_bg_hover>]` * Sets background color of slots as `ColorString` * Sets background color of slots on mouse hovering |