summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-04-14 03:01:27 -0400
committerPilzAdam <pilzadam@minetest.net>2013-05-20 13:43:13 +0200
commit127c48835573f9e7bd89137ecb2176c2a8e5f783 (patch)
tree8964b12dfd2079d2525e6860e4c659dc3fd592e1 /doc
parent981c6c9bf249f15945ca63c34d78d8c5a81ce469 (diff)
downloadminetest-127c48835573f9e7bd89137ecb2176c2a8e5f783.tar.gz
minetest-127c48835573f9e7bd89137ecb2176c2a8e5f783.tar.bz2
minetest-127c48835573f9e7bd89137ecb2176c2a8e5f783.zip
Use the group "soil" for nodes that saplings grow on
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b7be50206..e2abcbfe7 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -510,7 +510,7 @@ Usage:
- Groups are stored in a table, having the group names with keys and the
group ratings as values. For example:
groups = {crumbly=3, soil=1}
- ^ Default dirt (soil group actually currently not defined; TODO)
+ ^ Default dirt
groups = {crumbly=2, soil=1, level=2, outerspace=1}
^ A more special dirt-kind of thing
- Groups always have a rating associated with them. If there is no
@@ -583,6 +583,7 @@ Special groups
- attached_node: if the node under it is not a walkable block the node will be
dropped as an item. If the node is wallmounted the
wallmounted direction is checked.
+- soil: saplings will grow on nodes in this group
Known damage and digging time defining groups
----------------------------------------------