summaryrefslogtreecommitdiff
path: root/settings.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-11 22:07:40 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-11 22:07:40 -0500
commit6da6bda95e57ebf217b943fd134823d95a6e6465 (patch)
tree53a2a3948108747b3f0fb4ba65f2492932cf99b8 /settings.lua
parenta0af3f26de0028e832eac202d3fd9ce93d68f65d (diff)
made leaves depend on the trunks they spawn with to avoid decaying
rather than just any trunk being enough to stop just any leaves from decaying. Re-tuned the leaf decay interval/chance values accordingly. Changed a few variables to avoid possible conflicts. Added a setting to allow one to disable the new leaf decay code. Moved sapling growth code into its own file. Minor changes to comments here and there. Got rid of simple trees list (made the code do various checks in realtime instead, since it's just startup code anyway). Fixed messed-up crafting for jungle trees; condensed most of the crafting code into main craft registry loop. Mostly fixed broken aliases of default jungletrees.
Diffstat (limited to 'settings.lua')
-rw-r--r--settings.lua22
1 files changed, 14 insertions, 8 deletions
diff --git a/settings.lua b/settings.lua
index f9974ef..85a3a5d 100644
--- a/settings.lua
+++ b/settings.lua
@@ -1,4 +1,4 @@
--- Configuration variables
+-- Global configuration variables
-- Enable replacement of default trees with birch if you want but be warned -
-- due to bugs in the speed of the engine's map generator/loader, doing so\
@@ -6,11 +6,17 @@
moretrees.enable_replace_default_trees = false
--- Enable the first one if you want this mod's leafdecay code to affect the
--- old default trees. You'll want to manually disable the default leafdecay
--- code in minetest_game if you enable this.
+-- Set this to true to enable leaf decay of all trees except the default ones.
-moretrees.enable_default_leafdecay = false
+moretrees.enable_leafdecay = true
+
+-- Enable this one if you want this mod's leafdecay code to affect the old
+-- default trees too; this setting is independent of the one above. You'll
+-- want to manually disable the default leafdecay code in minetest_game if
+-- you enable this, otherwise you'll have two sets of leaf decay code running
+-- at the same time, which will just waste CPU for no benefit.
+
+moretrees.enable_default_leafdecay = true
-- Enable this if you want moretrees to redefine default apples so that they
-- fall when leaves decay/are dug.
@@ -20,13 +26,13 @@ moretrees.enable_redefine_apple = true
-- various settings to configure leaf decay in general.
moretrees.leafdecay_delay = 2
-moretrees.leafdecay_chance = 150
+moretrees.leafdecay_chance = 200
moretrees.leafdecay_radius = 5
moretrees.palm_leafdecay_radius = 8
-moretrees.default_leafdecay_delay = 2
-moretrees.default_leafdecay_chance = 50
+moretrees.default_leafdecay_delay = 3
+moretrees.default_leafdecay_chance = 100
moretrees.default_leafdecay_radius = 4
-- Change these settings if you want default trees to be gradually cut down