#Luanti update: the "reason" table for set_hp and get_hp now also supports the /kill command and eating. There is also now an official method to introduce custom set_hp reasons.
This should simplify mods like death message mods a little.
Commit: 3d2903684dc2e699b878432f8346407e16ad5f7f
GitHub PR: https://github.com/luanti-org/luanti/pull/16024

Add more information in PlayerHPChangeReason by Wuzzy2 · Pull Request #16024 · luanti-org/luanti
This PR adds more details to the PlayerHPChangeReason and improves the documentation. Specifically, it does the following: Add node and node_pos field for the drown field (analog to node_damage ty...




