From 47d08ed542b31f706205b33b63f6e7834a9d8961 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Sep 2017 04:32:49 +0200 Subject: [PATCH] Very rarely make oaks and birches in ice plains --- mods/MAPGEN/mcl_biomes/init.lua | 39 ++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 5661d7b832..e08207abe9 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1168,6 +1168,25 @@ local function register_decorations() flags = "place_center_x, place_center_z", rotation = "random", }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:dirt_with_grass_snow"}, + sidelen = 16, + noise_params = { + offset = 0.0, + scale = 0.0002, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.7 + }, + biomes = {"ice_plains"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + }) minetest.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, @@ -1329,7 +1348,7 @@ local function register_decorations() offset = 0.001, scale = -0.0015, spread = {x = 250, y = 250, z = 250}, - seed = 2, + seed = 11, octaves = 3, persist = 0.66 }, @@ -1339,6 +1358,24 @@ local function register_decorations() schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch.mts", flags = "place_center_x, place_center_z", }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt_with_grass_snow"}, + sidelen = 16, + noise_params = { + offset = -0.0005, + scale = -0.0015, + spread = {x = 250, y = 250, z = 250}, + seed = 11, + octaves = 3, + persist = 0.7 + }, + biomes = {"ice_plains"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch.mts", + flags = "place_center_x, place_center_z", + }) -- Dark Oak minetest.register_decoration({