From e50aa4ed06f36c74a892ec68d576c52ba9dc0b2c Mon Sep 17 00:00:00 2001 From: TeTpaAka Date: Sat, 30 May 2015 20:53:21 +0200 Subject: Add return list of individual counts to find_node_in_area --- doc/lua_api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index f8dc31875..4301762e2 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1917,6 +1917,7 @@ and `minetest.auth_reload` call the authetification handler. * `minetest.find_node_near(pos, radius, nodenames)`: returns pos or `nil` * `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"` * `minetest.find_nodes_in_area(minp, maxp, nodenames)`: returns a list of positions + * returns as second value a table with the count of the individual nodes found * `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"` * `minetest.find_nodes_in_area_under_air(minp, maxp, nodenames)`: returns a list of positions * returned positions are nodes with a node air above -- cgit v1.2.3