From cf5add14728f6f00eec0cc8221050ba91e6a9646 Mon Sep 17 00:00:00 2001 From: veprogames <75524847+veprogames@users.noreply.github.com> Date: Sat, 21 Jan 2023 09:43:20 +0100 Subject: [PATCH] Use default values from cpp_api/s_env.cpp for register_abm in lua_api.txt (#13163) --- doc/lua_api.txt | 7 +++---- 1 file 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,