Very rarely make oaks and birches in ice plains

This commit is contained in:
Wuzzy 2017-09-06 04:32:49 +02:00
parent 951cc5366e
commit 47d08ed542

View File

@ -1168,6 +1168,25 @@ local function register_decorations()
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
rotation = "random", 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({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"},
@ -1329,7 +1348,7 @@ local function register_decorations()
offset = 0.001, offset = 0.001,
scale = -0.0015, scale = -0.0015,
spread = {x = 250, y = 250, z = 250}, spread = {x = 250, y = 250, z = 250},
seed = 2, seed = 11,
octaves = 3, octaves = 3,
persist = 0.66 persist = 0.66
}, },
@ -1339,6 +1358,24 @@ local function register_decorations()
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch.mts", schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch.mts",
flags = "place_center_x, place_center_z", 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 -- Dark Oak
minetest.register_decoration({ minetest.register_decoration({