summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-12-30 19:39:42 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-12-30 19:39:42 +0000
commit93ca01de003d132cb09c73740faf7e5df229f11a (patch)
tree9c990fa3eec9b32ad3e4a7de69b605a03574f33b /api.txt
parente5baaa5e130a0b74f75c9f191d8d4dbf82c551e8 (diff)
changed 'mob_spawn_amend' to 'mob_chance_multiplier'
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.txt b/api.txt
index 4eb297b..7f3959b 100644
--- a/api.txt
+++ b/api.txt
@@ -13,7 +13,7 @@ The mob api is a function that can be called on by other mods to add new animals
'mobname' can change specific mob chance rate (0 to disable) and spawn number e.g. mobs_animal:cow = 1000,5
'mob_difficulty' sets difficulty level (health and hit damage multiplied by this number), defaults to 1.0.
'mob_show_health' if false then punching mob will not show health status (true by default)
- 'mob_spawn_amend' defaults to 1.0 but can be set to 0.5 to half ALL spawn rates or 2.0 to double.
+ 'mob_chance_multiplier' multiplies chance of all mobs spawning and can be set to 0.5 to have mobs spawn more or 2.0 to spawn less. e.g. 1 in 7000 * 0.5 = 1 in 3500 so better odds of spawning.
mobs:register_mob(name, definition)