mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add node pos to node damage HP change reason (#13196)
This commit is contained in:
parent
1d88d85f1c
commit
73391013f7
4 changed files with 10 additions and 2 deletions
|
@ -5266,6 +5266,7 @@ Call these functions only at load time!
|
|||
* `fall`
|
||||
* `node_damage`: `damage_per_second` from a neighboring node.
|
||||
`reason.node` will hold the node name or nil.
|
||||
`reason.node_pos` will hold the position of the node
|
||||
* `drown`
|
||||
* `respawn`
|
||||
* Any of the above types may have additional fields from mods.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue