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:
3
api.txt
3
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)
|
||||
|
Reference in New Issue
Block a user