aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTeTpaAka <TeTpaAka@users.noreply.github.com>2015-05-30 20:53:21 +0200
committerest31 <MTest31@outlook.com>2015-06-13 19:39:18 +0200
commite50aa4ed06f36c74a892ec68d576c52ba9dc0b2c (patch)
treea37a101cd9184a8e62528bfa24bb2527df26d95c /doc
parent502e40a649137461947c36ea52205f058f81296f (diff)
downloadminetest-e50aa4ed06f36c74a892ec68d576c52ba9dc0b2c.tar.gz
minetest-e50aa4ed06f36c74a892ec68d576c52ba9dc0b2c.tar.bz2
minetest-e50aa4ed06f36c74a892ec68d576c52ba9dc0b2c.zip
Add return list of individual counts to find_node_in_area
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
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