local S = minetest.get_translator("nativevillages")

minetest.register_decoration({
    name = "nativevillages:icehouse1",
    deco_type = "schematic",
    place_on = {"default:snowblock", "default:ice"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.0001,
    biomes = {"icesheet", "icesheet_ocean"},
    y_max = 3.5,
    y_min = 1.0,
    schematic = minetest.get_modpath("nativevillages").."/schematics/icehouse1_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:icehouse2",
    deco_type = "schematic",
    place_on = {"default:snowblock", "default:ice"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.0001,
    biomes = {"icesheet", "icesheet_ocean"},
    y_max = 3.5,
    y_min = 1.0,
    schematic = minetest.get_modpath("nativevillages").."/schematics/icehouse2_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:icehouse3",
    deco_type = "schematic",
    place_on = {"default:snowblock", "default:ice"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.0001,
    biomes = {"icesheet", "icesheet_ocean"},
    y_max = 3.5,
    y_min = 1.0,
    schematic = minetest.get_modpath("nativevillages").."/schematics/icehouse3_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:icelogs",
    deco_type = "schematic",
    place_on = {"default:snowblock", "default:ice"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.0001,
    biomes = {"icesheet", "icesheet_ocean"},
    y_max = 3.5,
    y_min = 1.0,
    schematic = minetest.get_modpath("nativevillages").."/schematics/icelogs_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:icepelts",
    deco_type = "schematic",
    place_on = {"default:snowblock", "default:ice"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.0001,
    biomes = {"icesheet", "icesheet_ocean"},
    y_max = 3.5,
    y_min = 1.0,
    schematic = minetest.get_modpath("nativevillages").."/schematics/icepelts_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:icesledge",
    deco_type = "schematic",
    place_on = {"default:snowblock", "default:ice"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.0001,
    biomes = {"icesheet", "icesheet_ocean"},
    y_max = 3.5,
    y_min = 1.0,
    schematic = minetest.get_modpath("nativevillages").."/schematics/icesledge_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})