Document hpchange callback ordering thing (#3981)
authorraymoo <raymoo@users.noreply.github.com>
Sun, 10 Apr 2016 11:52:18 +0000 (04:52 -0700)
committerest31 <est31@users.noreply.github.com>
Sun, 10 Apr 2016 11:52:18 +0000 (13:52 +0200)
commitc566a8f2de162fa985aca53647efdc82a82c2d29
treef4f133239bc033e44c46bb60c5b1cdb8fb6f1b15
parentaf799d4bd2d277a108154f815ff6b6b7a8394a9a
Document hpchange callback ordering thing (#3981)

Document hpchange callback ordering thing

Callbacks registered by register_on_player_hpchange are ordered so that non-modifiers are called after modifiers are called. Credit to @TeTpaAka who mentioned this previously-undocumented feature in #3799.

See also commit

aa13baa30a45b0f834c23bd5c0407895eb8ec0ee "Add minetest.register_on_player_hpchange"
doc/lua_api.txt