aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorveprogames <75524847+veprogames@users.noreply.github.com>2023-01-21 09:43:20 +0100
committerGitHub <noreply@github.com>2023-01-21 09:43:20 +0100
commitcf5add14728f6f00eec0cc8221050ba91e6a9646 (patch)
treec07b16bfea4fc287e14de8fd4ac2812e2aeb4bff
parent47c8b5d57a9cb97f52f45bf6633827b73db496ac (diff)
downloadminetest-cf5add14728f6f00eec0cc8221050ba91e6a9646.tar.xz
Use default values from cpp_api/s_env.cpp for register_abm in lua_api.txt (#13163)
-rw-r--r--doc/lua_api.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index de0517d42..61743e5f4 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -7941,12 +7941,11 @@ Used by `minetest.register_abm`.
-- If left out or empty, any neighbor will do.
-- `group:groupname` can also be used here.
- interval = 1.0,
+ interval = 10.0,
-- Operation interval in seconds
- chance = 1,
- -- Chance of triggering `action` per-node per-interval is 1.0 / this
- -- value
+ chance = 50,
+ -- Chance of triggering `action` per-node per-interval is 1.0 / chance
min_y = -32768,
max_y = 32767,