summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2021-01-27 19:42:02 +0100
committerGitHub <noreply@github.com>2021-01-27 18:42:02 +0000
commit44a9510c8143cfe54587b09c233501ba3a8533f6 (patch)
tree71b37d8b3fb2737f9c1e76349d1a902f7ce3d102 /doc
parent8dae7b47fcc1c26251c8006efbc9ee8af152f87a (diff)
downloadminetest-44a9510c8143cfe54587b09c233501ba3a8533f6.tar.gz
minetest-44a9510c8143cfe54587b09c233501ba3a8533f6.tar.bz2
minetest-44a9510c8143cfe54587b09c233501ba3a8533f6.zip
Consistently use "health points" (#10868)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f751eb512..12ea85345 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6221,8 +6221,8 @@ object you are working with still exists.
* `time_from_last_punch` = time since last punch action of the puncher
* `direction`: can be `nil`
* `right_click(clicker)`; `clicker` is another `ObjectRef`
-* `get_hp()`: returns number of hitpoints (2 * number of hearts)
-* `set_hp(hp, reason)`: set number of hitpoints (2 * number of hearts).
+* `get_hp()`: returns number of health points
+* `set_hp(hp, reason)`: set number of health points
* See reason in register_on_player_hpchange
* Is limited to the range of 0 ... 65535 (2^16 - 1)
* For players: HP are also limited by `hp_max` specified in the player's