2024-06-14 21:40:36 -06:00

75 lines
2.0 KiB
Lua

minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:grass_block"},
sidelen = 16,
fill_ratio = 0.00004,
biomes = {"grassland"},
y_max = PyuTestCore_BiomeTops.grassland,
y_min = 1,
schematic = PyuTestCore.get_schem_path("hut"),
rotation = "random",
flags = "place_center_x, place_center_z"
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:snow_block"},
sidelen = 16,
fill_ratio = 0.00004,
biomes = {"frozen_plains"},
y_max = PyuTestCore_BiomeTops.frozen_plains,
y_min = 1,
schematic = PyuTestCore.get_schem_path("igloo"),
rotation = "random",
flags = "place_center_x, place_center_z"
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:snow_block"},
sidelen = 16,
fill_ratio = 0.00007,
biomes = {"frozen_plains"},
y_max = PyuTestCore_BiomeTops.frozen_plains,
y_min = 1,
schematic = PyuTestCore.get_schem_path("snowycamp"),
rotation = "random",
flags = "place_center_x, place_center_z"
})
minetest.register_decoration({
deco_type = "schematic",
place_on = {"pyutest_core:sand_block"},
sidelen = 16,
fill_ratio = 0.00006,
biomes = {"desert"},
y_max = PyuTestCore_BiomeTops.desert,
y_min = 1,
schematic = PyuTestCore.get_schem_path("desertwell"),
rotation = "random",
flags = "place_center_x, place_center_z"
})
minetest.register_decoration({
deco_type = "simple",
sidelen = 16,
fill_ratio = 0.0008,
place_on = {
"pyutest_core:grass_block",
"pyutest_core:dirt_block",
"pyutest_core:snow_block",
"pyutest_core:mycelium_block",
"pyutest_core:stone_block"
},
biomes = {"desert", "grassland", "mushroom_fields", "frozen_plains", "forest"},
y_max = PyuTestCore_BiomeTops.mountains,
y_min = PyuTestCore_SurfaceBiomeBottom,
decoration = {
"pyutest_core:trash_lootbox",
"pyutest_core:resource_lootbox",
"pyutest_core:griefer_lootbox",
"pyutest_core:liquid_sources_lootbox",
"pyutest_core:lighting_lootbox",
}
})