diff options
author | paramat <mat.gregory@virginmedia.com> | 2017-04-05 12:18:22 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-04-17 10:13:05 +0100 |
commit | f6da7b3fda5bbb793c7795a228ea6f2602b93fbe (patch) | |
tree | ca2bd50fdf29414cbee58576786170928676b8a5 /doc | |
parent | 907be0ab918a99c30c37c4abfe3e11722691f3bc (diff) | |
download | minetest-f6da7b3fda5bbb793c7795a228ea6f2602b93fbe.tar.gz minetest-f6da7b3fda5bbb793c7795a228ea6f2602b93fbe.tar.bz2 minetest-f6da7b3fda5bbb793c7795a228ea6f2602b93fbe.zip |
Sneak: Add option for old move code
Temporary option for the old move code for specific old sneak behaviour.
Enabled by setting the added 'new move' physics override to false.
By default 'new move' is true.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 7b967726d..4427e26d8 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3021,7 +3021,11 @@ This is basically a reference to a C++ `ServerActiveObject` * `jump`: multiplier to default jump value (default: `1`) * `gravity`: multiplier to default gravity value (default: `1`) * `sneak`: whether player can sneak (default: `true`) - * `sneak_glitch`: whether player can use the sneak glitch (default: `true`) + * `sneak_glitch`: whether player can use the new move code replications + of the old sneak side-effects: sneak ladders and 2 node sneak jump + when next to a ledge 2 nodes up (default: `true`) + * `new_move`: use new move/sneak code. When `false` the exact old code + is used for the specific old sneak behaviour (default: `true`) * `get_physics_override()`: returns the table given to set_physics_override * `hud_add(hud definition)`: add a HUD element described by HUD def, returns ID number on success |