1
0
Fork 0

Generate the new acacias

This commit is contained in:
Wuzzy 2017-09-09 08:15:49 +02:00
parent f64423e983
commit 22131e588e
1 changed files with 15 additions and 40 deletions

View File

@ -1611,46 +1611,21 @@ local function register_decorations()
flags = "place_center_x, place_center_z",
})
-- Acacia
minetest.register_decoration({
deco_type = "schematic",
place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
sidelen = 16,
noise_params = {
offset = 0.00075,
scale = 0.002,
spread = {x = 250, y = 250, z = 250},
seed = 26,
octaves = 3,
persist = 0.66
},
biomes = {"savanna"},
y_min = 1,
y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_classic_1.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:coarse_dirt"},
sidelen = 16,
noise_params = {
offset = 0.00075,
scale = 0.002,
spread = {x = 250, y = 250, z = 250},
seed = 25,
octaves = 3,
persist = 0.66
},
biomes = {"savanna"},
y_min = 1,
y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_classic_2.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
-- Acacia (many variants)
for a=1, 7 do
minetest.register_decoration({
deco_type = "schematic",
place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
sidelen = 16,
fill_ratio = 0.0002,
biomes = {"savanna"},
y_min = 1,
y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_"..a..".mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
end
-- Birch
minetest.register_decoration({