Move biggest trees to the top of decorations list

master
Wuzzy 2022-05-12 22:09:03 +02:00
parent 189ab3c5b1
commit 37b6faaf70
1 changed files with 58 additions and 59 deletions

View File

@ -986,6 +986,64 @@ end
-- Tree decorations
if mg_name ~= "v6" then
minetest.register_decoration(
{
name = "rp_default:giga_birch_tree",
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.023,
biomes = {"Deep Forest"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_giga_birch_tree.mts",
rotation = "random",
y_min = -32000,
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.004,
biomes = {"Grove"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_tall_grove_tree.mts",
y_min = 0,
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.008,
biomes = {"Forest"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_coniferlike_tree.mts",
y_min = -32000,
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.015,
biomes = {"Tall Birch Forest"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_birch_cuboid_tall.mts",
y_min = -32000,
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
@ -1165,36 +1223,6 @@ minetest.register_decoration(
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.008,
biomes = {"Forest"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_coniferlike_tree.mts",
y_min = -32000,
y_max = 32000,
})
minetest.register_decoration(
{
name = "rp_default:giga_birch_tree",
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.023,
biomes = {"Deep Forest"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_giga_birch_tree.mts",
rotation = "random",
y_min = -32000,
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
@ -1610,35 +1638,6 @@ minetest.register_decoration(
rotation = "0",
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.004,
biomes = {"Grove"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_tall_grove_tree.mts",
y_min = 0,
y_max = 32000,
})
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"rp_default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.015,
biomes = {"Tall Birch Forest"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("rp_default")
.. "/schematics/rp_default_birch_cuboid_tall.mts",
y_min = -32000,
y_max = 32000,
})
-- Wilderness apple trees: 50/50 split between
-- trees with apples and those without.
minetest.register_decoration(