2013-01-20 00:36:13 +01:00
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.beech_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
2013-04-09 04:54:22 +02:00
|
|
|
avoid_radius = 8,
|
2013-01-20 06:01:15 +01:00
|
|
|
seed_diff = 2,
|
2013-01-20 18:01:33 +01:00
|
|
|
rarity = 50,
|
2013-04-09 04:54:22 +02:00
|
|
|
max_count = 20,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.palm_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.sand,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 5,
|
|
|
|
seed_diff = 330,
|
|
|
|
min_elevation = -1,
|
|
|
|
max_elevation = 1,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2013-01-20 00:36:13 +01:00
|
|
|
near_nodes_size = 15,
|
|
|
|
near_nodes_count = 10,
|
2013-02-23 18:34:01 +01:00
|
|
|
temp_min = 0.25,
|
2013-01-20 00:36:13 +01:00
|
|
|
temp_max = -0.15,
|
2013-01-20 18:01:33 +01:00
|
|
|
rarity = 50,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 10,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2016-05-18 22:54:19 +02:00
|
|
|
moretrees.date_palm_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.desert_sand,
|
2016-05-18 22:54:19 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 339,
|
|
|
|
min_elevation = -1,
|
|
|
|
max_elevation = 10,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-05-18 22:54:19 +02:00
|
|
|
near_nodes_size = 20,
|
|
|
|
near_nodes_count = 100,
|
|
|
|
near_nodes_vertical = 20,
|
|
|
|
temp_min = -0.20,
|
|
|
|
humidity_max = 0.20,
|
|
|
|
rarity = 10,
|
|
|
|
max_count = 30,
|
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.date_palm_biome_2 = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.desert_sand,
|
2016-05-18 22:54:19 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 340,
|
|
|
|
min_elevation = 11,
|
|
|
|
max_elevation = 30,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-05-18 22:54:19 +02:00
|
|
|
near_nodes_size = 1,
|
|
|
|
near_nodes_count = 1,
|
|
|
|
near_nodes_vertical = 30,
|
|
|
|
temp_min = -0.20,
|
|
|
|
humidity_max = 0.20,
|
|
|
|
rarity = 10,
|
|
|
|
max_count = 30,
|
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.apple_tree_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
2013-01-20 19:38:23 +01:00
|
|
|
avoid_radius = 10,
|
2013-01-20 00:36:13 +01:00
|
|
|
seed_diff = 331,
|
|
|
|
min_elevation = 1,
|
|
|
|
max_elevation = 10,
|
|
|
|
temp_min = 0.1,
|
|
|
|
temp_max = -0.15,
|
2013-01-20 19:38:23 +01:00
|
|
|
rarity = 75,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 5,
|
2024-05-26 17:08:14 +02:00
|
|
|
place_on = {xcompat.materials.dirt_with_grass},
|
2022-10-25 01:09:19 +02:00
|
|
|
biomes = {"deciduous_forest"},
|
|
|
|
fill_ratio = 0.0001,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.oak_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 15,
|
|
|
|
seed_diff = 332,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 10,
|
|
|
|
temp_min = 0.4,
|
|
|
|
temp_max = 0.2,
|
2013-01-20 18:01:33 +01:00
|
|
|
rarity = 50,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 5,
|
2022-10-25 01:09:19 +02:00
|
|
|
fill_ratio = 0.0003
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.sequoia_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 333,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 10,
|
|
|
|
temp_min = 1,
|
|
|
|
temp_max = -0.4,
|
2013-02-20 17:46:36 +01:00
|
|
|
rarity = 90,
|
|
|
|
max_count = 5,
|
2022-10-25 01:09:19 +02:00
|
|
|
fill_ratio = 0.0001,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.birch_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 5,
|
|
|
|
seed_diff = 334,
|
|
|
|
min_elevation = 10,
|
|
|
|
max_elevation = 15,
|
|
|
|
temp_min = 0.9,
|
|
|
|
temp_max = 0.3,
|
2013-01-20 18:01:33 +01:00
|
|
|
rarity = 50,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 10,
|
2022-10-25 01:09:19 +02:00
|
|
|
fill_ratio = 0.001,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.willow_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
2013-01-20 19:38:23 +01:00
|
|
|
avoid_radius = 10,
|
2013-01-20 00:36:13 +01:00
|
|
|
seed_diff = 337,
|
|
|
|
min_elevation = -5,
|
|
|
|
max_elevation = 5,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2013-01-20 00:36:13 +01:00
|
|
|
near_nodes_size = 15,
|
|
|
|
near_nodes_count = 5,
|
2013-01-20 19:38:23 +01:00
|
|
|
rarity = 75,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 5,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.rubber_tree_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 00:36:13 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
2013-01-20 19:38:23 +01:00
|
|
|
avoid_radius = 10,
|
2013-01-20 00:36:13 +01:00
|
|
|
seed_diff = 338,
|
|
|
|
min_elevation = -5,
|
|
|
|
max_elevation = 5,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2013-01-20 00:36:13 +01:00
|
|
|
near_nodes_size = 15,
|
|
|
|
near_nodes_count = 10,
|
|
|
|
temp_min = -0.15,
|
2013-01-20 19:38:23 +01:00
|
|
|
rarity = 75,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 10,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.jungletree_biome = {
|
2015-08-14 20:38:35 +02:00
|
|
|
surface = {
|
2024-05-26 17:08:14 +02:00
|
|
|
xcompat.materials.dirt,
|
|
|
|
xcompat.materials.dirt_with_grass,
|
2015-08-14 20:38:35 +02:00
|
|
|
"woodsoils:dirt_with_leaves_1",
|
|
|
|
"woodsoils:grass_with_leaves_1",
|
2022-10-25 01:09:19 +02:00
|
|
|
"woodsoils:grass_with_leaves_2",
|
|
|
|
"default:dirt_with_rainforest_litter",
|
2015-08-14 20:38:35 +02:00
|
|
|
},
|
|
|
|
avoid_nodes = {"moretrees:jungletree_trunk"},
|
|
|
|
max_count = 12,
|
|
|
|
avoid_radius = 3,
|
|
|
|
rarity = 85,
|
2013-01-20 06:01:15 +01:00
|
|
|
seed_diff = 329,
|
2015-08-14 20:38:35 +02:00
|
|
|
min_elevation = 1,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = minetest.get_modpath("default") and {"default:jungletree"} or nil,
|
|
|
|
near_nodes_size = minetest.get_modpath("default") and 6 or nil,
|
|
|
|
near_nodes_vertical = minetest.get_modpath("default") and 2 or nil,
|
|
|
|
near_nodes_count = minetest.get_modpath("default") and 1 or nil,
|
2015-08-14 20:38:35 +02:00
|
|
|
plantlife_limit = -0.9,
|
2022-10-25 01:09:19 +02:00
|
|
|
biomes = {"rainforest", "rainforest_swamp"},
|
2013-01-20 06:01:15 +01:00
|
|
|
}
|
|
|
|
|
2013-02-23 18:34:01 +01:00
|
|
|
moretrees.spruce_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-02-23 18:34:01 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 335,
|
|
|
|
min_elevation = 20,
|
|
|
|
temp_min = 0.9,
|
|
|
|
temp_max = 0.7,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 5,
|
|
|
|
}
|
|
|
|
|
2016-05-18 16:54:45 +02:00
|
|
|
moretrees.cedar_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-02-23 18:34:01 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 336,
|
2020-11-22 06:12:09 +01:00
|
|
|
min_elevation = 0, --Added to solve an issue where cedar trees would sometimes spawn deep underground
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2013-02-23 18:34:01 +01:00
|
|
|
near_nodes_size = 15,
|
|
|
|
near_nodes_count = 5,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 10,
|
|
|
|
}
|
|
|
|
|
2016-07-01 16:06:29 +02:00
|
|
|
|
|
|
|
-- Poplar requires a lot of water.
|
|
|
|
moretrees.poplar_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2016-07-01 16:06:29 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 6,
|
|
|
|
seed_diff = 341,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 50,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-07-01 16:06:29 +02:00
|
|
|
near_nodes_size = 15,
|
|
|
|
near_nodes_vertical = 5,
|
|
|
|
near_nodes_count = 1,
|
|
|
|
humidity_min = -0.7,
|
|
|
|
humidity_max = -1,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 15,
|
|
|
|
}
|
|
|
|
|
|
|
|
-- The humidity requirement it quite restrictive (apparently).
|
|
|
|
-- Spawn an occasional poplar elsewhere.
|
|
|
|
moretrees.poplar_biome_2 = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2016-07-01 16:06:29 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 6,
|
|
|
|
seed_diff = 341,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 50,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-07-01 16:06:29 +02:00
|
|
|
near_nodes_size = 15,
|
|
|
|
near_nodes_vertical = 4,
|
|
|
|
near_nodes_count = 10,
|
|
|
|
humidity_min = 0.1,
|
|
|
|
humidity_max = -0.6,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Subterranean lakes provide enough water for poplars to grow
|
|
|
|
moretrees.poplar_biome_3 = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2016-07-01 16:06:29 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 6,
|
|
|
|
seed_diff = 342,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 50,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-07-01 16:06:29 +02:00
|
|
|
near_nodes_size = 1,
|
|
|
|
near_nodes_vertical = 25,
|
|
|
|
near_nodes_count = 1,
|
|
|
|
humidity_min = -0.5,
|
|
|
|
humidity_max = -1,
|
|
|
|
rarity = 0,
|
|
|
|
max_count = 30,
|
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.poplar_small_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2016-07-01 16:06:29 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 4,
|
|
|
|
seed_diff = 343,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 50,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-07-01 16:06:29 +02:00
|
|
|
near_nodes_size = 10,
|
|
|
|
near_nodes_vertical = 5,
|
|
|
|
near_nodes_count = 1,
|
|
|
|
humidity_min = -0.7,
|
|
|
|
humidity_max = -1,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 10,
|
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.poplar_small_biome_2 = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2016-07-01 16:06:29 +02:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 4,
|
|
|
|
seed_diff = 343,
|
|
|
|
min_elevation = 0,
|
|
|
|
max_elevation = 50,
|
2024-05-26 17:08:14 +02:00
|
|
|
near_nodes = {xcompat.materials.water_source},
|
2016-07-01 16:06:29 +02:00
|
|
|
near_nodes_size = 10,
|
|
|
|
near_nodes_vertical = 4,
|
|
|
|
near_nodes_count = 5,
|
|
|
|
humidity_min = 0.1,
|
|
|
|
humidity_max = -0.6,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 3,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-01-22 02:52:04 +01:00
|
|
|
moretrees.fir_biome = {
|
2024-05-26 17:08:14 +02:00
|
|
|
surface = xcompat.materials.dirt_with_grass,
|
2013-01-20 06:01:15 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 359,
|
|
|
|
min_elevation = 25,
|
|
|
|
temp_min = 0.9,
|
|
|
|
temp_max = 0.3,
|
2013-01-20 18:01:33 +01:00
|
|
|
rarity = 50,
|
2013-01-22 05:43:15 +01:00
|
|
|
max_count = 10,
|
2013-01-20 06:01:15 +01:00
|
|
|
}
|
2013-02-23 18:34:01 +01:00
|
|
|
|
|
|
|
moretrees.fir_biome_snow = {
|
|
|
|
surface = {"snow:dirt_with_snow", "snow:snow"},
|
2024-05-26 17:08:14 +02:00
|
|
|
below_nodes = {xcompat.materials.dirt, xcompat.materials.dirt_with_grass, "snow:dirt_with_snow"},
|
2013-02-23 18:34:01 +01:00
|
|
|
avoid_nodes = moretrees.avoidnodes,
|
|
|
|
avoid_radius = 10,
|
|
|
|
seed_diff = 359,
|
|
|
|
rarity = 50,
|
|
|
|
max_count = 10,
|
|
|
|
check_air = false,
|
|
|
|
delete_above = true,
|
|
|
|
spawn_replace_node = true
|
|
|
|
}
|