From eedb63f606ab8d63f1ca71304266c49fddf19c22 Mon Sep 17 00:00:00 2001 From: kaadmy Date: Tue, 1 Sep 2015 14:29:41 -0700 Subject: [PATCH] patched up deep forests and giga trees --- mods/default/mapgen.lua | 46 +++++++++++++++++-- mods/default/schematics/default_gigatree.mts | Bin 0 -> 307 bytes 2 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 mods/default/schematics/default_gigatree.mts diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index 3b93a95..e16984f 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -221,7 +221,7 @@ minetest.clear_registered_biomes() minetest.register_biome( { name = "Deep Forest", - node_top = "default:dirt", depth_top = 1, + node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 6, node_underwater = "default:dirt", node_shore_top = "default:dirt", @@ -296,12 +296,26 @@ minetest.register_decoration( minetest.register_decoration( { deco_type = "schematic", - place_on = {"default:dirt_with_grass", "default:dirt"}, + place_on = {"default:dirt_with_grass"}, sidelen = 16, fill_ratio = 0.009, biomes = {"Forest", "Deep Forest"}, flags = "place_center_x, place_center_z", replacements = {["default:leaves"] = "default:leaves_oak", ["default:tree"] = "default:tree_oak", ["default:apple"] = "air"}, + schematic = minetest.get_modpath("default").."/schematics/default_tree.mts", + y_min = -32000, + y_max = 32000, + }) + +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"default:dirt_with_grass"}, + sidelen = 16, + fill_ratio = 0.028, + biomes = {"Deep Forest"}, + flags = "place_center_x, place_center_z", +-- replacements = {["default:leaves"] = "default:leaves_birch", ["default:tree"] = "default:tree_birch"}, schematic = minetest.get_modpath("default").."/schematics/default_gigatree.mts", y_min = -32000, y_max = 32000, @@ -355,8 +369,20 @@ minetest.register_decoration( deco_type = "simple", place_on = "default:dirt_with_grass", sidelen = 16, - fill_ratio = 0.15, - biomes = {"Grassland", "Forest"}, + fill_ratio = 0.18, + biomes = {"Grassland"}, + decoration = {"default:grass"}, + y_min = 0, + y_max = 32000, + }) + +minetest.register_decoration( + { + deco_type = "simple", + place_on = "default:dirt_with_grass", + sidelen = 16, + fill_ratio = 0.08, + biomes = {"Forest", "Deep Forest"}, decoration = {"default:grass"}, y_min = 0, y_max = 32000, @@ -374,6 +400,18 @@ minetest.register_decoration( y_max = 32000, }) +minetest.register_decoration( + { + deco_type = "simple", + place_on = "default:dirt_with_grass", + sidelen = 16, + fill_ratio = 0.15, + biomes = {"Deep Forest"}, + decoration = {"default:tall_grass"}, + y_min = 0, + y_max = 32000, + }) + minetest.register_decoration( { deco_type = "simple", diff --git a/mods/default/schematics/default_gigatree.mts b/mods/default/schematics/default_gigatree.mts new file mode 100644 index 0000000000000000000000000000000000000000..ff5d9ef2233b7122baf3715306a93706915540bd GIT binary patch literal 307 zcmeYb3HD`RVc=m9V&JLA01V6w%!!#r3?eD1X^EvdC0049iDjw9@kyCQ$r%hnFwv5t z)KrLA#hka(AM!OT@U$Eh|9*A5>MV}eQ@3s4e75hOwcr;&AJ5K`iT#^iE#WQly`(z7 zICOF8C8sjqZ=1u;YcDRbJ-$3W`=fo);p!_QLY?4S8b6=jZ>ws9K-(x4P!#ztHmm`>pk#r0c|+_}~A0rE==O zDgTmd*X~jJZ+O4r{i?u4e`mkhyd>-E{ykyr^Lwj4&DwsyLMgZW*@@RX|L%G2Ge?Ad oi}99R`%nMPj8FWQPu(Q!#G%+CP?T7*-xI`ey7r8