summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-06-10 09:47:24 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-06-10 09:47:24 +0100
commit18b90da2571e70cc0f9355efb991c3291c3619cb (patch)
tree5a5056191a59cb15618af8c59e18bb07c382ea7f /api.txt
parent4eb1c937e56066dbc8ab7ee833aab23488e93f1a (diff)
added mob suffocation setting (only inside full blocks)
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.txt b/api.txt
index dd56748..de3c0fb 100644
--- a/api.txt
+++ b/api.txt
@@ -1,5 +1,5 @@
-MOB API (12th May 2017)
+MOB API (10th June 2017)
The mob api is a function that can be called on by other mods to add new animals or monsters into minetest.
@@ -70,6 +70,7 @@ This functions registers a new mob as a Minetest entity.
'water_damage' the damage per second if the mob is in water
'lava_damage' the damage per second if the mob is in lava
'light_damage' the damage per second if the mob is in light
+ 'suffocation' health value mob loses when inside a solid node
'fall_damage' will mob be hurt when falling from height
'fall_speed' speed mob falls (default: -10 and has to be lower than -2)
'fear_height' when mob walks near a drop then anything over this value makes it stop and turn back (default is 0 to disable)