mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Expose dtime_s to LBM handler
This commit is contained in:
parent
aa3505a9e4
commit
37386b9c3c
5 changed files with 16 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue