summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-12-27 11:10:10 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-12-27 11:10:10 +0000
commit671fab54eb9a63362b017ac30a9a60e77c65cb03 (patch)
treefb6fed1f5f26f11a38427ae1c4185dc7043e0935 /api.txt
parent3ed2bd9ff62be14a6b13db3b59095939c1842d4f (diff)
add mob_show_health flag to minetest.conf
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.txt b/api.txt
index 8a6b876..a9a1e51 100644
--- a/api.txt
+++ b/api.txt
@@ -1,5 +1,5 @@
-MOB API (28th September 2016)
+MOB API (27th December 2016)
The mob api is a function that can be called on by other mods to add new animals or monsters into minetest.
@@ -12,7 +12,7 @@ The mob api is a function that can be called on by other mods to add new animals
'remove_far_mobs' if true then mobs that are outside players visual range will be removed (default is false)
'mobname' can change specific mob chance rate (0 to disable) and spawn number e.g. mobs_animal:cow = 1000,5
'mob_difficulty' sets difficulty level (health and hit damage multiplied by this number), defaults to 1.0.
-
+ 'mob_show_health' if false then punching mob will not show health status (true by default)
mobs:register_mob(name, definition)