summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-05-23 08:41:10 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-05-23 08:41:10 +0100
commit23f0571dee054bf1a3bb41ce54077b755753d2f5 (patch)
treea9c61f81425850a4b123ee4bb6990a2651efb2aa
parent60eb37b3afeef5d1813be3659ba30d6f66a88a81 (diff)
remove_far_mobs now defaults to true
-rw-r--r--api.lua4
-rw-r--r--api.txt4
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