local S = minetest.get_translator("nativevillages")

minetest.register_decoration({
    name = "nativevillages:junglehouse1",
    deco_type = "schematic",
    place_on = {"default:dirt_with_rainforest_litter"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.00005,
    biomes = {"rainforest"},
    y_max = 20.5,
    y_min = 10.5,
    schematic = minetest.get_modpath("nativevillages").."/schematics/cannibalhouse1_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:junglehouse2",
    deco_type = "schematic",
    place_on = {"default:dirt_with_rainforest_litter"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.00005,
    biomes = {"rainforest"},
    y_max = 20.5,
    y_min = 10.5,
    schematic = minetest.get_modpath("nativevillages").."/schematics/cannibalhouse2_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:junglehouse3",
    deco_type = "schematic",
    place_on = {"default:dirt_with_rainforest_litter"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.00005,
    biomes = {"rainforest"},
    y_max = 20.5,
    y_min = 10.5,
    schematic = minetest.get_modpath("nativevillages").."/schematics/cannibalhouse3_30_90.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:junglecage",
    deco_type = "schematic",
    place_on = {"default:dirt_with_rainforest_litter"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.00005,
    biomes = {"rainforest"},
    y_max = 20.5,
    y_min = 10.5,
    schematic = minetest.get_modpath("nativevillages").."/schematics/cannibalcage_30_270.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:junglepit",
    deco_type = "schematic",
    place_on = {"default:dirt_with_rainforest_litter"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.00005,
    biomes = {"rainforest"},
    y_max = 20.5,
    y_min = 10.5,
    schematic = minetest.get_modpath("nativevillages").."/schematics/cannibalpit_30_270.mts",
    flags = "force_placement",
    rotation = "random",
})

minetest.register_decoration({
    name = "nativevillages:jungletower",
    deco_type = "schematic",
    place_on = {"default:dirt_with_rainforest_litter"},
    place_offset_y = -29,
    sidelen = 16,
    fill_ratio = 0.00005,
    biomes = {"rainforest"},
    y_max = 20.5,
    y_min = 10.5,
    schematic = minetest.get_modpath("nativevillages").."/schematics/cannibaltower_30_180.mts",
    flags = "force_placement",
    rotation = "random",
})