aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-30 12:41:27 +0100
committersfan5 <sfan5@live.de>2021-01-31 20:38:12 +0100
commita01a02f7a1ec915c207632085cd5f24eab28da17 (patch)
treefd4eb76bf161237cf59e389821a6865ec0c74ef0 /doc
parentfd1c1a755eaa2251c99680df3c72ca8886ca0a4e (diff)
downloadminetest-a01a02f7a1ec915c207632085cd5f24eab28da17.tar.gz
minetest-a01a02f7a1ec915c207632085cd5f24eab28da17.tar.bz2
minetest-a01a02f7a1ec915c207632085cd5f24eab28da17.zip
Preserve immortal group for players when damage is disabled
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index df9e3f8b0..18499e15a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1745,8 +1745,9 @@ to games.
### `ObjectRef` groups
* `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.
+ will also hide the integrated HUD status bars for players. It is
+ automatically set to all players when damage is disabled on the server and
+ cannot be reset (subject to change).
* `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.