forked from VoxeLibre/VoxeLibre
Generate the new acacias
This commit is contained in:
parent
f64423e983
commit
22131e588e
|
@ -1611,46 +1611,21 @@ local function register_decorations()
|
||||||
flags = "place_center_x, place_center_z",
|
flags = "place_center_x, place_center_z",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Acacia
|
-- Acacia (many variants)
|
||||||
|
for a=1, 7 do
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "schematic",
|
deco_type = "schematic",
|
||||||
place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
|
place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
fill_ratio = 0.0002,
|
||||||
offset = 0.00075,
|
|
||||||
scale = 0.002,
|
|
||||||
spread = {x = 250, y = 250, z = 250},
|
|
||||||
seed = 26,
|
|
||||||
octaves = 3,
|
|
||||||
persist = 0.66
|
|
||||||
},
|
|
||||||
biomes = {"savanna"},
|
biomes = {"savanna"},
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
y_max = mcl_vars.mg_overworld_max,
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_classic_1.mts",
|
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_"..a..".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",
|
flags = "place_center_x, place_center_z",
|
||||||
rotation = "random",
|
rotation = "random",
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- Birch
|
-- Birch
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
|
|
Loading…
Reference in New Issue