diff options
author | SmallJoker <mk939@ymail.com> | 2018-05-09 22:24:36 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-10-04 20:42:38 +0200 |
commit | d77f3b3fdeb0da2a69547594b5a75570a54b02d1 (patch) | |
tree | 14027e2bb0d42b5698f2c738aa1b11e9e7356b4e /doc/lua_api.txt | |
parent | 1413b722a72d475e8f6cc6febbb5479504b90c04 (diff) | |
download | minetest-d77f3b3fdeb0da2a69547594b5a75570a54b02d1.tar.gz minetest-d77f3b3fdeb0da2a69547594b5a75570a54b02d1.tar.bz2 minetest-d77f3b3fdeb0da2a69547594b5a75570a54b02d1.zip |
Player hand list: require init by mods
Mods will now have to initialize the list/slot in order to define the default player hand.
They may use the inventory callbacks to prevent abuse of this list.
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 8ae4ddb03..e144a2c8f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2257,8 +2257,10 @@ Player Inventory lists * `main`: list containing the default inventory * `craft`: list containing the craft input -* `craftpreview`: list containing the craft output +* `craftpreview`: list containing the craft prediction +* `craftresult`: list containing the crafted output * `hand`: list containing an override for the empty hand + * Is not created automatically, use `InvRef:set_size` |