diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ebad1dad2..124344cad 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1231,6 +1231,8 @@ methods: can be fully taken from the list remove_item(listname, stack): take as many items as specified from the list, returns the items that were actually removed (as an ItemStack) +- get_location() -> location compatible to minetest.get_inventory(location) + -> {type="undefined"} in case location is not known ItemStack: A stack of items. - Can be created via ItemStack(itemstack or itemstring or table or nil) |