Use default values from cpp_api/s_env.cpp for register_abm in lua_api.txt (#13163)

This commit is contained in:
veprogames 2023-01-21 09:43:20 +01:00 committed by GitHub
parent 47c8b5d57a
commit cf5add1472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -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,