mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 02:00:21 +01:00
updated api guide
This commit is contained in:
parent
a4671719a0
commit
604765b135
10
api.txt
10
api.txt
@ -5,11 +5,11 @@ The mob api is a function that can be called on by other mods to add new animals
|
|||||||
|
|
||||||
minetest.conf settings*
|
minetest.conf settings*
|
||||||
|
|
||||||
enable_damage if true monsters will attack players (default is true)
|
'enable_damage' if true monsters will attack players (default is true)
|
||||||
only_peaceful_mobs if true only animals will spawn in game (default is false)
|
'only_peaceful_mobs' if true only animals will spawn in game (default is false)
|
||||||
mobs_disable_blood if false blood effects appear when mob is hit (default is false)
|
'mobs_disable_blood' if false blood effects appear when mob is hit (default is false)
|
||||||
mobs_spawn_protected if set to 1 then mobs will not spawn in protected areas (default is 0)
|
'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)
|
'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:cow_chance = 1000
|
mobname_chance can change specific mob chance rates or set to 0 to disable e.g. mobs:cow_chance = 1000
|
||||||
|
|
||||||
mobs:register_mob(name, definition)
|
mobs:register_mob(name, definition)
|
||||||
|
Loading…
Reference in New Issue
Block a user