From 23f0571dee054bf1a3bb41ce54077b755753d2f5 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Wed, 23 May 2018 08:41:10 +0100 Subject: [PATCH] remove_far_mobs now defaults to true --- api.lua | 4 ++-- api.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api.lua b/api.lua index 1d3abf5..e606d5e 100644 --- a/api.lua +++ b/api.lua @@ -3,7 +3,7 @@ mobs = {} mobs.mod = "redo" -mobs.version = "20180517" +mobs.version = "20180523" -- Intllib @@ -60,7 +60,7 @@ local mobs_drop_items = minetest.settings:get_bool("mobs_drop_items") ~= false local mobs_griefing = minetest.settings:get_bool("mobs_griefing") ~= false local creative = minetest.settings:get_bool("creative_mode") local spawn_protected = minetest.settings:get_bool("mobs_spawn_protected") ~= false -local remove_far = minetest.settings:get_bool("remove_far_mobs") +local remove_far = minetest.settings:get_bool("remove_far_mobs") ~= false local difficulty = tonumber(minetest.settings:get("mob_difficulty")) or 1.0 local show_health = minetest.settings:get_bool("mob_show_health") ~= false local max_per_block = tonumber(minetest.settings:get("max_objects_per_block") or 99) diff --git a/api.txt b/api.txt index c6e4cc8..324ae90 100644 --- a/api.txt +++ b/api.txt @@ -563,8 +563,8 @@ 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 mobs that are outside players visual - range will be removed (default is false) + '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