summaryrefslogtreecommitdiff
path: root/biome_defs.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-20 00:01:15 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-20 00:59:42 -0500
commit2c3345aa046f779c41fa7428e1efa0a0176b4e0f (patch)
treebe6b8b303c4e1676cce10babb8478da186a2d616 /biome_defs.lua
parent1bd0afbc842aaacbfd7eb31ac88be4f9c08eba5c (diff)
Enabled several new types of trees, all spawned at mapgen time!
This code will slow the map generator down a little due to bugs therein, and is generally still in the experimental stages, but it works and is actually quite fast!
Diffstat (limited to 'biome_defs.lua')
-rw-r--r--biome_defs.lua49
1 files changed, 28 insertions, 21 deletions
diff --git a/biome_defs.lua b/biome_defs.lua
index c03f673..3b48117 100644
--- a/biome_defs.lua
+++ b/biome_defs.lua
@@ -2,7 +2,7 @@
-- Example biome definition:
-mytree_biome = {
+moretrees.mytree_biome = {
surface = "default:dirt_with_grass", -- must grow on these nodes only
avoid_nodes = {"default:tree"}, -- avoid spawning near these
avoid_radius = 12, -- Keep this much room around the above avoid items
@@ -20,27 +20,11 @@ mytree_biome = {
}
]]--
-moretrees.jungletree_biome = {
- surface = "default:dirt_with_grass",
- avoid_nodes = moretrees.avoidnodes,
- avoid_radius = 12,
- 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,
-}
-
-moretrees.conifer_biome = {
+moretrees.beech_biome = {
surface = "default:dirt_with_grass",
avoid_nodes = moretrees.avoidnodes,
avoid_radius = 10,
- seed_diff = 359,
- min_elevation = 25,
- temp_min = 0.9,
- temp_max = 0.3,
+ seed_diff = 2,
}
moretrees.palm_biome = {
@@ -57,7 +41,7 @@ moretrees.palm_biome = {
temp_max = -0.15,
}
-moretrees.apple_biome = {
+moretrees.apple_tree_biome = {
surface = "default:dirt_with_grass",
avoid_nodes = moretrees.avoidnodes,
avoid_radius = 15,
@@ -133,7 +117,7 @@ moretrees.willow_biome = {
near_nodes_count = 5,
}
-moretrees.rubber_biome = {
+moretrees.rubber_tree_biome = {
surface = "default:dirt_with_grass",
avoid_nodes = moretrees.avoidnodes,
avoid_radius = 20,
@@ -146,3 +130,26 @@ moretrees.rubber_biome = {
temp_min = -0.15,
}
+
+moretrees.jungletree_biome = {
+ surface = "default:dirt_with_grass",
+ avoid_nodes = moretrees.avoidnodes,
+ avoid_radius = 12,
+ 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,
+}
+
+moretrees.conifer_biome = {
+ surface = "default:dirt_with_grass",
+ avoid_nodes = moretrees.avoidnodes,
+ avoid_radius = 10,
+ seed_diff = 359,
+ min_elevation = 25,
+ temp_min = 0.9,
+ temp_max = 0.3,
+}