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)
|
||||||
minetest.register_decoration({
|
for a=1, 7 do
|
||||||
deco_type = "schematic",
|
minetest.register_decoration({
|
||||||
place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
|
deco_type = "schematic",
|
||||||
sidelen = 16,
|
place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
|
||||||
noise_params = {
|
sidelen = 16,
|
||||||
offset = 0.00075,
|
fill_ratio = 0.0002,
|
||||||
scale = 0.002,
|
biomes = {"savanna"},
|
||||||
spread = {x = 250, y = 250, z = 250},
|
y_min = 1,
|
||||||
seed = 26,
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
octaves = 3,
|
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_"..a..".mts",
|
||||||
persist = 0.66
|
flags = "place_center_x, place_center_z",
|
||||||
},
|
rotation = "random",
|
||||||
biomes = {"savanna"},
|
})
|
||||||
y_min = 1,
|
end
|
||||||
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",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Birch
|
-- Birch
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
|
|
Loading…
Reference in New Issue