From ec3142af990ea55775185e04e46ebf8eb16e2268 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 21 Feb 2019 00:36:17 +0100 Subject: 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 --- doc/lua_api.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3