From 6d74d09c9daac6939525a909ab1401ebe8a174b7 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 23 Feb 2013 12:34:01 -0500 Subject: =?UTF-8?q?Added=20support=20for=20spawning=20small=20fir=20trees?= =?UTF-8?q?=20in=20snow=20biomes.=20=20Made=20jungletrees=20and=20palms=20?= =?UTF-8?q?require=20at=20least=20+15=C2=B0C=20to=20grow.=20=20This=20is?= =?UTF-8?q?=20supposed=20to=20keep=20them=20away=20from=20snow=20biomes,?= =?UTF-8?q?=20but=20the=20engine=20doesn't=20let=20me=20tell=20the=20snow?= =?UTF-8?q?=20mod=20to=20always=20run=20first.=20=20Also=20please=20note?= =?UTF-8?q?=20that=20due=20to=20the=20load=20that=20snow=20biomes=20+=20mo?= =?UTF-8?q?retrees=20adds=20to=20the=20map=20generator,=20well...=20stuff?= =?UTF-8?q?=20will=20look=20cut=20off,=20broken,=20etc.=20due=20to=20bugs?= =?UTF-8?q?=20in=20the=20map=20generator.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- biome_defs.lua | 64 +++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 25 deletions(-) (limited to 'biome_defs.lua') 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 +} -- cgit v1.2.3