summaryrefslogtreecommitdiff
path: root/settings.lua
blob: 85a3a5d6238e44ce527717b7011f38a95408633f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- 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\
-- will slow it WAY down.

moretrees.enable_replace_default_trees = false

-- Set this to true to enable leaf decay of all trees except the default ones.

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.

moretrees.enable_redefine_apple = true

-- various settings to configure leaf decay in general.

moretrees.leafdecay_delay = 2
moretrees.leafdecay_chance = 200
moretrees.leafdecay_radius = 5

moretrees.palm_leafdecay_radius = 8

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
-- above the elevation where firs normally generate.

moretrees.firs_remove_default_trees = false
moretrees.firs_remove_interval = 2
moretrees.firs_remove_chance = 150

-- Sapling settings

moretrees.sapling_interval = 500
moretrees.sapling_chance = 20