aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPilzAdam <adam-k@outlook.com>2012-12-01 13:32:32 +0100
committerPilzAdam <adam-k@outlook.com>2012-12-01 13:32:32 +0100
commitfa76057e7f6811a8e7388a70d6fde7af61aa0bee (patch)
tree4e24bbecd4951a116d97405225149f14ac8c92d9 /doc
parentbb454b184656735b51fea17a0cb6276514b1c8c1 (diff)
downloadminetest-fa76057e7f6811a8e7388a70d6fde7af61aa0bee.tar.gz
minetest-fa76057e7f6811a8e7388a70d6fde7af61aa0bee.tar.bz2
minetest-fa76057e7f6811a8e7388a70d6fde7af61aa0bee.zip
Add the group attached_node
Nodes in this group will be dropped as items if the node under them or the node in the wallmounted direction is not walkable.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index e32efc6df..08619b72a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -457,6 +457,9 @@ Special groups
- fall_damage_add_percent: damage speed = speed * (1 + value/100)
- bouncy: value is bounce speed in percent
- falling_node: if there is no walkable block under the node it will fall
+- 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.
Known damage and digging time defining groups
----------------------------------------------