diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-28 19:27:43 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-28 19:27:43 +0100 |
commit | a455395a96de65bbbedf3d4bb8ab4530b80cfad3 (patch) | |
tree | 21638feebfe0695c76a4aeecfc41f9368d17cb28 /api.txt | |
parent | 5df8e9054e19b318ae17efca07555d8de4dbaf73 (diff) |
added mob_difficulty config setting
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |