summaryrefslogtreecommitdiff
path: root/biome_defs.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-23 12:34:01 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-23 12:34:01 -0500
commit6d74d09c9daac6939525a909ab1401ebe8a174b7 (patch)
tree59d0cf3044cdb563c158c80ca646956f781f9cda /biome_defs.lua
parentd21d4d2fb4126d08b26b5cff85ad0a0773edaaa8 (diff)
Added support for spawning small fir trees in snow biomes. Made jungletrees
and palms require at least +15°C to grow. This is supposed to keep them away from snow biomes, but the engine doesn't let me tell the snow mod to always run first. Also please note that due to the load that snow biomes + moretrees adds to the map generator, well... stuff will look cut off, broken, etc. due to bugs in the map generator.
Diffstat (limited to 'biome_defs.lua')
-rw-r--r--biome_defs.lua64
1 files changed, 39 insertions, 25 deletions
diff --git a/biome_defs.lua b/biome_defs.lua
index c3b8957..b92c2d6 100644
--- a/biome_defs.lua
+++ b/biome_defs.lua
@@ -18,7 +18,7 @@ moretrees.palm_biome = {
near_nodes = {"default:water_source"},
near_nodes_size = 15,
near_nodes_count = 10,
- temp_min = 0.15,
+ temp_min = 0.25,
temp_max = -0.15,
rarity = 50,
max_count = 10,
@@ -76,30 +76,6 @@ moretrees.birch_biome = {
max_count = 10,
}
-moretrees.spruce_biome = {
- surface = "default:dirt_with_grass",
- 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,
-}
-
-moretrees.pine_biome = {
- surface = "default:dirt_with_grass",
- avoid_nodes = moretrees.avoidnodes,
- avoid_radius = 10,
- seed_diff = 336,
- near_nodes = {"default:water_source"},
- near_nodes_size = 15,
- near_nodes_count = 5,
- rarity = 50,
- max_count = 10,
-}
-
moretrees.willow_biome = {
surface = "default:dirt_with_grass",
avoid_nodes = moretrees.avoidnodes,
@@ -136,6 +112,7 @@ moretrees.jungletree_biome = {
seed_diff = 329,
min_elevation = -5,
max_elevation = 10,
+ temp_min = 0.25,
near_nodes = {"default:water_source"},
near_nodes_size = 20,
near_nodes_count = 7,
@@ -143,6 +120,30 @@ moretrees.jungletree_biome = {
max_count = 10,
}
+moretrees.spruce_biome = {
+ surface = "default:dirt_with_grass",
+ 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,
+}
+
+moretrees.pine_biome = {
+ surface = "default:dirt_with_grass",
+ avoid_nodes = moretrees.avoidnodes,
+ avoid_radius = 10,
+ seed_diff = 336,
+ near_nodes = {"default:water_source"},
+ near_nodes_size = 15,
+ near_nodes_count = 5,
+ rarity = 50,
+ max_count = 10,
+}
+
moretrees.fir_biome = {
surface = "default:dirt_with_grass",
avoid_nodes = moretrees.avoidnodes,
@@ -154,3 +155,16 @@ moretrees.fir_biome = {
rarity = 50,
max_count = 10,
}
+
+moretrees.fir_biome_snow = {
+ surface = {"snow:dirt_with_snow", "snow:snow"},
+ below_nodes = {"default:dirt", "default:dirt_with_grass", "snow:dirt_with_snow"},
+ 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
+}