summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWuzzy <Wuzzy2@mail.ru>2019-02-21 00:36:17 +0100
committersfan5 <sfan5@live.de>2019-08-01 14:45:23 +0200
commitec3142af990ea55775185e04e46ebf8eb16e2268 (patch)
tree3ada15363f854f8cf0fefcab1e045cac091f6984 /doc
parent3296952ae55231d601686b69c037ec1366381fc5 (diff)
downloadminetest-ec3142af990ea55775185e04e46ebf8eb16e2268.tar.gz
minetest-ec3142af990ea55775185e04e46ebf8eb16e2268.tar.bz2
minetest-ec3142af990ea55775185e04e46ebf8eb16e2268.zip
Group "immortal" also protects players from damage
Document new meaning of immortal=1 for players Disable breathing if player is immortal Hide builtin statbars if player immortal (delayed) Co-authored-by: ClobberXD <ClobberXD@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 22bd6f548..4026821dd 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1533,7 +1533,9 @@ Another example: Make red wool from white wool and red dye:
Special groups
--------------
-* `immortal`: Disables the group damage system for an entity
+* `immortal`: Skips all damage and breath handling for an object. This group
+ will also hide the integrated HUD status bars for players, and is
+ automatically set to all players when damage is disabled on the server.
* `punch_operable`: For entities; disables the regular damage mechanism for
players punching it by hand or a non-tool item, so that it can do something
else than take damage.