diff --git a/mods/rp_default/mapgen.lua b/mods/rp_default/mapgen.lua index 136bc84..8256573 100644 --- a/mods/rp_default/mapgen.lua +++ b/mods/rp_default/mapgen.lua @@ -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(