From 0e733f1677a63008d3f2a086e2db8b4243a68062 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 3 Oct 2019 12:12:50 +0200 Subject: [PATCH] Fix outdated mob settings help --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- mods/ENTITIES/mcl_mobs/api.txt | 10 ++-------- settingtypes.txt | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 21a6b39d8b..5533ac085c 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3141,7 +3141,7 @@ minetest.register_entity(name, { lifetimer = def.lifetimer or 57.73, hp_min = scale_difficulty(def.hp_min, 5, 1), hp_max = scale_difficulty(def.hp_max, 10, 1), - breath_max = scale_difficulty(def.breath_max, 15, 1, -1), + breath_max = def.breath_max or 15, breathes_in_water = def.breathes_in_water or false, physical = true, collisionbox = def.collisionbox or {-0.25, -0.25, -0.25, 0.25, 0.25, 0.25}, diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index ba4e92d211..f9759e8bea 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -596,15 +596,9 @@ External Settings for "minetest.conf" is false) 'mobs_spawn_protected' if set to false then mobs will not spawn in protected areas (default is true) - 'remove_far_mobs' if true then untamed mobs that are outside players - visual range will be removed (default is true) - '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 + 'mob_difficulty' [EXPERIMENTAL] 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_chance_multiplier' multiplies chance of all mobs spawning and can be set + 'mob_spawn_chance' 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. diff --git a/settingtypes.txt b/settingtypes.txt index 2c3eae7a52..76ff1e0362 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -70,7 +70,7 @@ mobs_drop_items (Mobs drop items) bool true # If enabled, mobs can take, place, change and destroy blocks around them. mobs_griefing (Mobs change blocks) bool true -# If enable, mobs won't damage particles when they got hurt. +# If enabled, mobs won't damage particles when they got hurt. mobs_disable_blood (Disable mob damage particles) bool false [Audio]