aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorRiley Adams <radar6255@yahoo.com>2023-04-10 18:04:52 -0400
committerGitHub <noreply@github.com>2023-04-10 23:04:52 +0100
commit73391013f7fbc0558b96146e2014bdcf3c675e4d (patch)
tree194359ce008c07fc25e971cf68d496907c5812e3 /doc/lua_api.txt
parent1d88d85f1c132fc0c84cb19f5540ebab822c9c58 (diff)
downloadminetest-73391013f7fbc0558b96146e2014bdcf3c675e4d.tar.xz
Add node pos to node damage HP change reason (#13196)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 2179f44b5..3e85da2f6 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -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.