diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-06-10 09:47:24 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-06-10 09:47:24 +0100 |
commit | 18b90da2571e70cc0f9355efb991c3291c3619cb (patch) | |
tree | 5a5056191a59cb15618af8c59e18bb07c382ea7f /api.txt | |
parent | 4eb1c937e56066dbc8ab7ee833aab23488e93f1a (diff) |
added mob suffocation setting (only inside full blocks)
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |