summaryrefslogtreecommitdiff
path: root/default_settings.txt
blob: 2bfb27667f2e9d4b5f507bb5f79812e9014f9a6f (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
-- Global configuration variables

-- Enable the various kinds of trees.

moretrees.enable_apple_tree		= true
moretrees.enable_oak			= true
moretrees.enable_sequoia		= true
moretrees.enable_palm			= true
moretrees.enable_date_palm		= true
moretrees.enable_cedar			= true
moretrees.enable_rubber_tree	= true
moretrees.enable_willow			= true
moretrees.enable_acacia			= true
moretrees.enable_birch			= true
moretrees.enable_spruce			= true
moretrees.enable_jungle_tree	= true
moretrees.enable_fir			= true
moretrees.enable_beech			= false

-- set this to true to make moretrees spawn saplings at mapgen time instead
-- of fully-grown trees, which will grow into full trees after a very short
-- delay.  This reduces mapgen lag in some situations.

moretrees.spawn_saplings		= false

-- Set this to true to allow defining stairs/slabs/etc.  If Moreblocks is
-- installed, this will use that mod's Stairs Plus component.  Otherwise, it 
-- will use the default stairs mod in minetest_game, if present

moretrees.enable_stairs			= true

-- Set this to true if you want the plantlike drawtype for leaves, which 
-- improves some peoples' framerates without resorting to making leaf nodes opaque.
-- Affects default leaves and default jungle leaves also.

moretrees.plantlike_leaves		= false

-- Enable this if you want moretrees to redefine default apples so that they
-- fall when leaves decay/are dug.

moretrees.enable_redefine_apple		= true

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

moretrees.enable_leafdecay		= true

-- various related settings to configure leaf decay.

moretrees.leafdecay_delay		= 2
moretrees.leafdecay_chance		= 5
moretrees.leafdecay_radius		= 5
moretrees.palm_leafdecay_radius		= 10

-- 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

-- Date palm settings

moretrees.dates_regrow			= true
moretrees.dates_female_percent		= 57		-- Ratio of female to male trees - tune this to improve # of generated trees that actually bear fruit
							-- ~57% gives near optimal results for groups of 3 random trees, while it is only slightly suboptimal
							-- for groups of 2 and 4 random trees (~2% less fruit than optimal).
							-- Optimal values per group size: 2: 50%, 3: 57.78%, 4: 63%, 5: 66.9%, 6: 69.9%, [...], 12: 79.8%
							-- So 57% is optimal for small groups of trees. As larger groups have more female palms anyway, a
							-- less than optimal proportion of female to male trees is not a problem.
moretrees.dates_pollination_distance	= 120
moretrees.dates_blossom_search_time_treshold = 1000	-- If average male blossom search time exceeds this, start limiting the search load.
moretrees.dates_blossom_search_iload = 10		-- Inverse fraction of CPU time that male blossom searching search may consume.
							-- As searching a large area (radius: dates_pollination_distance/3 per attempt) can cause lag,
							-- this limits the search frequency server-wide so that the impact on server lag is minimised
							-- For personal servers, this can be set lower, or even to 1 or 0 (0 disables load limiting).
							-- Obtain the current average search time using /dates_stats
moretrees.dates_flower_interval		= 59
moretrees.dates_flower_chance		= 181
moretrees.dates_grow_interval		= 2 * moretrees.dates_flower_interval * moretrees.dates_flower_chance
							-- As date palms have a high yield, don't grow dates too fast
							-- The actual interval will vary randomly between 67% and 133% of this value.
							-- 2 * 59 * 181 ~ 6 hours. So by default flowers become dates in about one (human) day.
moretrees.dates_item_drop_ichance	= 10 		-- inverse probability of ripe dates dropping as items (instead of disappearing)

-- Sapling settings

moretrees.sapling_interval		= 500
moretrees.sapling_chance		= 20

-- If this variable is set to true, drop leaves out as entities during leaf
-- decay, rather than just disappearing them.

moretrees.decay_leaves_as_items = false