1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

added mob_difficulty config setting

This commit is contained in:
TenPlus1
2016-09-28 19:27:43 +01:00
parent 5df8e9054e
commit a455395a96
3 changed files with 10 additions and 7 deletions

View File

@ -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)