summaryrefslogtreecommitdiff
path: root/settings.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-11 12:09:17 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-11 12:09:17 -0500
commit1445263d734eabd017d3af1b57e19dc4e9870545 (patch)
tree3c3189d2042c90e3a9deebf5fafa66a1c7a88359 /settings.lua
parent9208a8bd75f488e521ecfbb6e775304083111ed6 (diff)
Added ability to do leaf decay on default trees, moved several configuration
settings into a separate file. You should disable leaf decay in minetest_game if you enable it here.
Diffstat (limited to 'settings.lua')
-rw-r--r--settings.lua33
1 files changed, 33 insertions, 0 deletions
diff --git a/settings.lua b/settings.lua
new file mode 100644
index 0000000..0da6be3
--- /dev/null
+++ b/settings.lua
@@ -0,0 +1,33 @@
+-- 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\
+-- will slow it WAY down.
+
+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.
+
+moretrees.enable_default_leafdecay = false
+
+-- various settings to configure leaf decay in general.
+
+moretrees.leafdecay_delay = 2
+moretrees.leafdecay_chance = 150
+moretrees.leafdecay_radius = 5
+
+moretrees.palm_leafdecay_radius = 8
+
+moretrees.default_leafdecay_delay = 2
+moretrees.default_leafdecay_chance = 50
+moretrees.default_leafdecay_radius = 4
+
+-- Change these settings if you want default trees to be gradually cut down
+-- above the elevation where firs normally generate.
+
+moretrees.firs_remove_default_trees = false
+moretrees.firs_remove_interval = 2
+moretrees.firs_remove_chance = 150
+