From 667f6064d71c1c9e5d1eca36bc3a813dfb77b936 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sun, 12 Dec 2021 19:29:20 +0100 Subject: Add documentation --- doc/client_lua_api.txt | 1 + doc/lua_api.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 32be8c849..9d2f8b645 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1047,6 +1047,7 @@ Methods: sneak = boolean, sneak_glitch = boolean, new_move = boolean, + new_acceleration = boolean, } ``` diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e26497555..2f2fd2c8d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -6727,6 +6727,8 @@ object you are working with still exists. (default: `false`) * `new_move`: use new move/sneak code. When `false` the exact old code is used for the specific old sneak behaviour (default: `true`) + * `new_acceleration`: use new, physically correct acceleration/gravity + code (default: `false`) * `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 -- cgit v1.2.3