From bd8ddf1a526c57648028bbee192d92e1289219ac Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 4 Jan 2014 19:07:30 -0500 Subject: Add InvRef::get/set_lists() --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 4e73136de..afb142513 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1761,6 +1761,8 @@ methods: - set_stack(listname, i, stack): copy stack to index i in list - get_list(listname): return full list - set_list(listname, list): set full list (size will not change) +- get_lists(): returns list of inventory lists +- set_lists(lists): sets inventory lists (size will not change) - add_item(listname, stack): add item somewhere in list, returns leftover ItemStack - room_for_item(listname, stack): returns true if the stack of items can be fully added to the list -- cgit v1.2.3