aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorpecksin <78765996+pecksin@users.noreply.github.com>2022-09-27 16:22:36 -0400
committerGitHub <noreply@github.com>2022-09-27 16:22:36 -0400
commit6ac38aa2c82d83971226c8a07236aeb79479522d (patch)
treeae17a2945a6a5f564f1e8eba4f863a4cde7108ab /doc/lua_api.txt
parent907dcdcf7bb513ecfeb1c988f071f497dcfbf765 (diff)
downloadminetest-6ac38aa2c82d83971226c8a07236aeb79479522d.tar.xz
Restore and enhance bouncy behavior (#11939)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a801c6019..dac242f67 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1868,7 +1868,9 @@ to games.
* `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.
-* `bouncy`: value is bounce speed in percent
+* `bouncy`: value is bounce speed in percent.
+ If positive, jump/sneak on floor impact will increase/decrease bounce height.
+ Negative value is the same bounciness, but non-controllable.
* `connect_to_raillike`: makes nodes of raillike drawtype with same group value
connect to each other
* `dig_immediate`: Player can always pick up node without reducing tool wear