aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-08 18:34:05 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-08 18:39:55 +0300
commit2b4d21160f1376b80068e2dec4fde3036fd9d6b4 (patch)
tree4721b1ab9f3a0bc7cf5d0672a5ece23d4b60db4a /doc
parente29a5b11e4d6356c41806f3cc43c62d810e8cdb3 (diff)
downloadminetest-2b4d21160f1376b80068e2dec4fde3036fd9d6b4.tar.gz
minetest-2b4d21160f1376b80068e2dec4fde3036fd9d6b4.tar.bz2
minetest-2b4d21160f1376b80068e2dec4fde3036fd9d6b4.zip
minetest.get_node_group(name, group)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 9c70037a5..3072b1f57 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -615,6 +615,8 @@ Random:
minetest.get_connected_players() -> list of ObjectRefs
minetest.hash_node_position({x=,y=,z=}) -> 48-bit integer
^ Gives a unique hash number for a node position (16+16+16=48bit)
+minetest.get_node_group(name, group) -> rating
+^ Get rating of a group of a node. (0 = not in group)
Global objects:
minetest.env - environment reference