diff options
author | sfan5 <sfan5@live.de> | 2022-12-04 12:35:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 12:35:14 +0100 |
commit | 37386b9c3cfc6746734f8c00fa99a44a63b8aeed (patch) | |
tree | 9baec3820a02044290eee400db4bcd2f2ddb674f /doc/lua_api.txt | |
parent | aa3505a9e4523c2a8bec5ca6368b3bc2068185ef (diff) | |
download | minetest-37386b9c3cfc6746734f8c00fa99a44a63b8aeed.tar.xz |
Expose dtime_s to LBM handler
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e8e32c536..e017df880 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7972,8 +7972,10 @@ gets activated (not loaded!) -- and not only the first time the block gets activated after the LBM -- was introduced. - action = function(pos, node), + action = function(pos, node, dtime_s), -- Function triggered for each qualifying node. + -- `dtime_s` is the in-game time (in seconds) elapsed since the block + -- was last active } Tile definition |