From bc2b58ab8eb7593bd40abb5b6bf7ad0eded8a3d4 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 14 Nov 2015 10:21:06 +0000 Subject: Added birch tree, tweaked mapgen and abm's --- mapgen_v7n.lua | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'mapgen_v7n.lua') diff --git a/mapgen_v7n.lua b/mapgen_v7n.lua index bc4f9cb..a9cabe1 100644 --- a/mapgen_v7n.lua +++ b/mapgen_v7n.lua @@ -9,6 +9,7 @@ dofile(path.."apple_tree.lua") dofile(path.."orange_tree.lua") dofile(path.."banana_tree.lua") dofile(path.."bamboo_tree.lua") +dofile(path.."birch_tree.lua") dofile(path.."bush.lua") --= Biomes (Minetest 0.4.13 and above) @@ -26,20 +27,20 @@ if ethereal.glacier == 1 then depth_water_top = 10, y_min = -8, y_max = 31000, - heat_point = -5, + heat_point = 0, humidity_point = 50, }) minetest.register_biome({ name = "glacier_ocean", - node_dust = "default:sand", -- was snowblock - node_top = "default:gravel", + node_dust = "default:snowblock", + node_top = "default:sand", depth_top = 1, - node_filler = "default:gravel", - depth_filler = 2, + node_filler = "default:sand", + depth_filler = 3, y_min = -112, y_max = -9, - heat_point = -5, + heat_point = 0, humidity_point = 50, }) end @@ -624,13 +625,25 @@ minetest.register_decoration({ flags = "place_center_x, place_center_z", }) +-- big old tree minetest.register_decoration({ deco_type = "schematic", - place_on = {"ethereal:green_dirt"}, + place_on = "ethereal:green_dirt", sidelen = 80, fill_ratio = 0.005, + biomes = {"jumble"}, + schematic = path.."bigtree.mts", + flags = "place_center_x, place_center_z", +}) + +-- birch tree (was apple) +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"ethereal:green_dirt"}, + sidelen = 80, + fill_ratio = 0.03, biomes = {"grassytwo"}, - schematic = ethereal.appletree, + schematic = ethereal.birchtree, flags = "place_center_x, place_center_z", }) @@ -639,7 +652,7 @@ minetest.register_decoration({ deco_type = "schematic", place_on = {"ethereal:prairie_dirt"}, sidelen = 80, - fill_ratio = 0.005, + fill_ratio = 0.01, biomes = {"prairie"}, schematic = ethereal.orangetree, flags = "place_center_x, place_center_z", @@ -677,17 +690,6 @@ minetest.register_decoration({ rotation = "random", }) --- big old tree -minetest.register_decoration({ - deco_type = "schematic", - place_on = "ethereal:green_dirt", - sidelen = 80, - fill_ratio = 0.01, - biomes = {"grassytwo"}, - schematic = path.."bigtree.mts", - flags = "place_center_x, place_center_z", -}) - -- palm tree minetest.register_decoration({ deco_type = "schematic", -- cgit v1.2.3