From a455395a96de65bbbedf3d4bb8ab4530b80cfad3 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Wed, 28 Sep 2016 19:27:43 +0100 Subject: added mob_difficulty config setting --- api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api.txt') diff --git a/api.txt b/api.txt index 6af7eb5..9b5461c 100644 --- a/api.txt +++ b/api.txt @@ -1,5 +1,5 @@ -MOB API (26th September 2016) +MOB API (28th September 2016) The mob api is a function that can be called on by other mods to add new animals or monsters into minetest. @@ -11,6 +11,7 @@ The mob api is a function that can be called on by other mods to add new animals 'mobs_spawn_protected' if set to 1 then mobs will not spawn in protected areas (default is 0) 'remove_far_mobs' if true then mobs that are outside players visual range will be removed (default is false) 'mobname_chance' can change specific mob chance rates or set to 0 to disable e.g. mobs_animal:cow_chance = 1000 + 'mob_difficulty' sets difficulty level (health and hit damage multiplied by this number), defaults to 1.0. mobs:register_mob(name, definition) -- cgit v1.2.3