diff options
author | darkrose <lisa@ltmnet.com> | 2012-06-03 20:37:55 +1000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:02 +0300 |
commit | 3e419ffb38df3f802ed30c5e114b8b3e8b7a6c1f (patch) | |
tree | ad8f48991e7ed65d127021f4974243ddf5855cbb /doc | |
parent | a149c6ecde66a89bd1080bddf8848a19115a79d4 (diff) | |
download | minetest-3e419ffb38df3f802ed30c5e114b8b3e8b7a6c1f.tar.gz minetest-3e419ffb38df3f802ed30c5e114b8b3e8b7a6c1f.tar.bz2 minetest-3e419ffb38df3f802ed30c5e114b8b3e8b7a6c1f.zip |
Add InvRef:is_empty(listname) and make chests/furnaces not diggable if not empty in minimal game
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3f640da4c..8b2b81c75 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -926,6 +926,7 @@ Player-only: (no-op for other objects) InvRef: Reference to an inventory methods: +- is_empty(listname): return true if list is empty - get_size(listname): get size of a list - set_size(listname, size): set size of a list - get_stack(listname, i): get a copy of stack index i in list |