From 18b90da2571e70cc0f9355efb991c3291c3619cb Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 10 Jun 2017 09:47:24 +0100 Subject: added mob suffocation setting (only inside full blocks) --- api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api.txt') 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) -- cgit v1.2.3