39 lines
1.0 KiB
Lua

minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:grass_block"},
sidelen = 16,
fill_ratio = 0.004,
biomes = {"forest"},
y_max = PyuTestCore_BiomeEndings.grassland,
y_min = 1,
schematic = PyuTestCore.get_schem_path("tree"),
rotation = "random",
flags = "place_center_x, place_center_z"
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:grass_block"},
sidelen = 16,
fill_ratio = 0.004,
biomes = {"forest"},
y_max = PyuTestCore_BiomeEndings.grassland,
y_min = 1,
schematic = PyuTestCore.get_schem_path("tree2"),
rotation = "random",
flags = "place_center_x, place_center_z"
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:mycelium_block"},
sidelen = 16,
fill_ratio = 0.003,
biomes = {"mushroom_fields"},
y_max = PyuTestCore_BiomeEndings.mushroom_fields,
y_min = 1,
schematic = PyuTestCore.get_schem_path("mushroom"),
rotation = "random",
flags = "place_center_x, place_center_z"
})