diff options
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) |