max_elevation = 10,
temp_min = 1,
temp_max = -0.4,
- rarity = 50,
- max_count = 15,
+ rarity = 90,
+ max_count = 5,
}
moretrees.birch_biome = {
max_count = 10,
}
-
moretrees.jungletree_biome = {
surface = "default:dirt_with_grass",
avoid_nodes = moretrees.avoidnodes,
- avoid_radius = 12,
+ avoid_radius = 5,
seed_diff = 329,
min_elevation = -5,
max_elevation = 10,
near_nodes = {"default:water_source"},
- near_nodes_size = 15,
- near_nodes_count = 10,
--- temp_min = 0.05,
- rarity = 50,
+ near_nodes_size = 20,
+ near_nodes_count = 7,
+ rarity = 10,
max_count = 10,
}
end
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_trunk")
- table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_leaves")
end
-- Extra leaves for jungle trees:
table.insert(moretrees.avoidnodes, "default:jungletree")
table.insert(moretrees.avoidnodes, "moretrees:jungletree_trunk")
-table.insert(moretrees.avoidnodes, "moretrees:jungletree_leaves_red")
-table.insert(moretrees.avoidnodes, "moretrees:jungletree_leaves_green")
-table.insert(moretrees.avoidnodes, "moretrees:jungletree_leaves_yellow")
table.insert(moretrees.avoidnodes, "moretrees:fir_trunk")
-table.insert(moretrees.avoidnodes, "moretrees:fir_leaves")
-table.insert(moretrees.avoidnodes, "moretrees:fir_leaves_bright")
-- Backward compatbility with old mods/nodes:
minetest.registered_items["jungletree"] = nil
Elevation Temperature Nearness to Nearby What nodes Perlin Avoid\r
Tree type (m) (approx., °C) some node water to spawn on seed diff radius\r
-----------------------------------------------------------------------------------------------------------------------\r
-jungle tree - 5 to +10 above +26 water, 15 10 dirt_with_grass 329 7\r
+jungle tree - 5 to +10 n/a water, 20 10 dirt_with_grass 329 5\r
fir above +25 -20 to +10 n/a n/a dirt_with_grass 359 8\r
palm - 1 to + 1 +18 to +32 water, 15 10 sand 330 5\r
apple + 1 to +10 +23 to +32 n/a n/a dirt_with grass 331 15\r