mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add InvRef::get/set_lists()
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user