mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add InvRef::get/set_lists()
This commit is contained in:
parent
6f6f289db4
commit
bd8ddf1a52
3 changed files with 56 additions and 0 deletions
|
@ -79,6 +79,12 @@ private:
|
|||
// set_list(self, listname, list)
|
||||
static int l_set_list(lua_State *L);
|
||||
|
||||
// get_lists(self) -> list of InventoryLists
|
||||
static int l_get_lists(lua_State *L);
|
||||
|
||||
// set_lists(self, lists)
|
||||
static int l_set_lists(lua_State *L);
|
||||
|
||||
// add_item(self, listname, itemstack or itemstring or table or nil) -> itemstack
|
||||
// Returns the leftover stack
|
||||
static int l_add_item(lua_State *L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue