From 3e419ffb38df3f802ed30c5e114b8b3e8b7a6c1f Mon Sep 17 00:00:00 2001 From: darkrose Date: Sun, 3 Jun 2012 20:37:55 +1000 Subject: Add InvRef:is_empty(listname) and make chests/furnaces not diggable if not empty in minimal game --- doc/lua_api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/lua_api.txt') 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 -- cgit v1.2.3