{
  "name": "betterfortresses:jungle/halls",
  "fallback": "betterfortresses:jungle/halls_terminators",
  "elements": [
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/halls_entrance_frame",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/halls_entrance_tunnel",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 12,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_straight_prop",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 12,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_3_prop",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_turn_left_prop_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_turn_left_prop_1",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 12,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_straight_decor",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 12,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_3_decor",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 8,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_turn_left_decor",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 12,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_straight",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 12,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_3",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 8,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_turn_left",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 20,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_4",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 16,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 6,
      "element": {
        "location": "betterfortresses:jungle/halls/hall_stairs",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "hall_stairs",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:all_of",
          "conditions": [
            {
              "type": "yungsapi:depth",
              "min_required_depth": 16,
              "max_possible_depth": 28
            },
            {
              "type": "yungsapi:altitude",
              "bottom_cutoff_y": 4
            }
          ]
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    // Small rooms
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/room/quarters_sm",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "quarters",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/room/officer_sm",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "officer",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/storeroom_sm_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "storeroom",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/storeroom_sm_1",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "storeroom",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/room/study_sm",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "study_sm",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/a_very_ethical_room",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "a_very_ethical_room",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    // Medium rooms (left/right)
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/mess_md_l_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "mess",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/mess_md_r_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "mess",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/room/study_md_l_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "study_md",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 4,
      "element": {
        "location": "betterfortresses:jungle/halls/room/study_md_r_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "study_md",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/jail_md_l_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "jail",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/jail_md_r_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "jail",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/quarters_md_l_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "quarters",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/quarters_md_r_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "quarters",
        "max_count": 2,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/worship_md_l_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "worship",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/worship_md_r_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "worship",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/nether_reactor_md_l_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "nether_reactor",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/nether_reactor_md_r_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "nether_reactor",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    // Medium rooms (side)
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/puzzle_md_side_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "puzzle_md_side_0",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/alchemy_md_side_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "alchemy_md_side_0",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "is_priority": true,
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 1,
      "element": {
        "location": "betterfortresses:jungle/halls/room/obsidan_md_side_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "obsidian_room",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    {
      "weight": 2,
      "element": {
        "location": "betterfortresses:jungle/halls/room/armory_md_side_0",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "armory",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:depth",
          "min_required_depth": 20,
          "max_possible_depth": 28
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    },
    // Large rooms
    {
      "weight": 20,
      "element": {
        "location": "betterfortresses:jungle/halls/room/better_portals",
        "processors": "betterfortresses:jungle/main",
        "projection": "rigid",
        "name": "better_portals",
        "max_count": 1,
        "condition": {
          "type": "yungsapi:all_of",
          "conditions": [
            {
              "type": "yungsapi:depth",
              "min_required_depth": 20,
              "max_possible_depth": 28
            },
            {
              "type": "yungsapi:altitude",
              "bottom_cutoff_y": 4,
              "top_cutoff_y": 30
            }
          ]
        },
        "enhanced_terrain_adaptation": {
          "type": "yungsapi:none"
        },
        "element_type": "yungsapi:yung_single_element"
      }
    }
  ]
}