From 9b1030cac4409b262dca73d2f0741fe78d4998ee Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 22 Aug 2020 15:45:06 +0200 Subject: Added minetest.get_inventory(location) --- doc/client_lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 48d5c73bf..e2cebcb10 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -902,6 +902,8 @@ Call these functions only at load time! * Delete `ParticleSpawner` with `id` (return value from `minetest.add_particlespawner`) ### Misc +* `minetest.get_inventory(location)` + * Returns the inventory at location * `minetest.register_cheat(name, category, setting | function)` * Register an entry for the cheat menu * If the Category is nonexistant, it will be created -- cgit v1.2.3