summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-04-15 18:40:02 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-04-15 18:40:02 +0100
commit604765b13592b0f268a531c04538c5c6bf41b3ed (patch)
treee34f6147bbf9eeafaa3247f1956106c8652f459b /api.txt
parenta4671719a00c30535d3e950ec7b698a9bff1090d (diff)
updated api guide
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/api.txt b/api.txt
index ac54154..69ad6a7 100644
--- a/api.txt
+++ b/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*
- 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)
- 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)
- remove_far_mobs if true then mobs that are outside players visual range will be removed (default is false)
+ '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)
+ '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)
+ '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
mobs:register_mob(name, definition)