[
  {
    "type": "palette",
    "id": "mil_surplus",
    "parameters": {
      "window_type": { "type": "ter_str_id", "default": { "distribution": [ [ "t_window", 1 ], [ "t_window_alarm", 1 ] ] } }
    },
    "terrain": {
      ".": "t_region_groundcover_urban",
      "[": "t_region_groundcover_urban",
      "~": "t_sidewalk",
      "=": "t_sidewalk",
      "-": "t_railing",
      "_": "t_linoleum_white",
      "&": "t_linoleum_white",
      "%": "t_linoleum_white",
      "|": "t_wall_w",
      "'": { "param": "window_type", "fallback": "t_window" },
      "+": "t_door_c",
      "!": "t_door_locked",
      "/": "t_door_curtain_c",
      "Y": "t_concrete",
      "U": "t_concrete",
      "4": "t_gutter_downspout",
      "<": "t_ladder_up"
    },
    "furniture": {
      "#": "f_counter",
      "U": [ "f_dumpster", "f_recycle_bin" ],
      "h": "f_chair",
      "%": "f_sink",
      "@": "f_mannequin",
      "L": "f_locker",
      "l": "f_locker",
      "^": [ [ "f_bigmirror", 3 ], "f_bigmirror_b" ],
      "S": "f_stool",
      "A": "f_rack",
      "B": "f_rack",
      "C": "f_rack",
      "D": "f_rack",
      "E": "f_rack",
      "F": "f_rack",
      "А": "f_rack",
      "Б": "f_rack",
      "В": "f_rack",
      "Г": "f_rack",
      "Д": "f_rack",
      "Е": "f_rack",
      "*": "f_canvas_wall",
      "8": "f_groundsheet",
      "]": "f_canvas_door",
      "Q": "f_camp_chair",
      "b": "f_brazier",
      "r": "f_tourist_table",
      "t": "f_table",
      "y": [ "f_indoor_plant_y", "f_indoor_plant" ],
      "=": "f_sandbag_half",
      "[": "f_flagpole"
    },
    "item": { "[": { "item": "american_flag" } },
    "toilets": { "&": {  } }
  },
  {
    "type": "palette",
    "id": "mil_surplus_intact",
    "palettes": [ "mil_surplus" ],
    "items": {
      "@": {
        "item": { "subtype": "distribution", "entries": [ { "group": "clothing_military" }, { "group": "clothing_military_winter" } ] },
        "chance": 70
      },
      "A": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "canteen", "prob": 3 },
            { "item": "e_tool", "prob": 3 },
            { "item": "two_way_radio", "prob": 1 },
            { "item": "mess_kit", "prob": 3 },
            { "item": "camelbak", "prob": 2 },
            { "collection": [ { "item": "esbit_stove" }, { "item": "chem_hexamine", "count": [ 1, 3 ] } ], "prob": 2 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 70
      },
      "B": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "ballistic_vest_esapi", "prob": 15 },
            { "group": "contractor_ballistic_vest_light", "prob": 15 },
            { "group": "armor_plates", "count": [ 2, 6 ], "prob": 70 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 70
      },
      "C": { "item": "MRE", "chance": 90, "repeat": [ 1, 3 ] },
      "D": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "helmet_army", "prob": 60 },
            { "item": "tac_helmet", "prob": 10 },
            { "item": "helmet_liner", "prob": 10 },
            { "item": "glasses_bal", "prob": 10 },
            { "item": "mask_gas", "prob": 10 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 70
      },
      "E": { "item": "SUS_field_manual_bookcase", "chance": 60 },
      "F": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "hat_boonie", "prob": 1 },
            { "item": "webbing_belt", "prob": 1 },
            { "item": "pants_army", "prob": 1 },
            { "item": "jacket_army", "prob": 1 },
            { "item": "winter_pants_army", "prob": 1 },
            { "item": "winter_jacket_army", "prob": 1 },
            { "item": "knee_pads", "prob": 1 },
            { "item": "elbow_pads", "prob": 1 },
            { "item": "legpouch_large", "prob": 1 },
            { "item": "gloves_tactical", "prob": 1 },
            { "item": "molle_pack", "prob": 1 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 60
      },
      "L": { "item": "SUS_janitors_closet", "chance": 60 },
      "t": [ { "item": "antique_guns", "chance": 10 }, { "item": "knife_shop", "chance": 20 } ],
      "l": [
        { "item": "jackets", "chance": 30 },
        { "item": "softdrugs", "chance": 30 },
        { "item": "bags", "chance": 30 },
        { "item": "winter", "chance": 30 }
      ],
      "U": { "item": "trash" }
    },
    "nested": { "T": { "chunks": [ "tent_3x3_N" ] } }
  },
  {
    "type": "palette",
    "id": "mil_surplus_looted",
    "palettes": [ "mil_surplus" ],
    "terrain": {
      "'": [ [ "t_window_frame", 70 ], [ "t_window_empty", 20 ], [ "t_window", 5 ] ],
      "+": [ [ "t_door_b", 20 ], [ "t_door_frame", 10 ], [ "t_door_o", 70 ], [ "t_door_c", 5 ] ],
      "!": [ [ "t_door_b", 20 ], [ "t_door_frame", 10 ], [ "t_door_o", 70 ], [ "t_door_c", 5 ], [ "t_door_locked_interior", 3 ] ]
    },
    "furniture": {
      "Q": [ [ "f_camp_chair", 5 ], [ "f_null", 95 ] ],
      "r": [ [ "f_tourist_table", 5 ], [ "f_null", 95 ] ],
      "b": [ [ "f_brazier", 5 ], [ "f_null", 95 ] ]
    },
    "items": {
      "@": {
        "item": { "subtype": "distribution", "entries": [ { "group": "clothing_military" }, { "group": "clothing_military_winter" } ] },
        "chance": 2
      },
      "А": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "canteen", "prob": 3 },
            { "item": "e_tool", "prob": 3 },
            { "item": "two_way_radio", "prob": 1 },
            { "item": "mess_kit", "prob": 3 },
            { "item": "camelbak", "prob": 2 },
            { "collection": [ { "item": "esbit_stove" }, { "item": "chem_hexamine", "count": [ 1, 3 ] } ], "prob": 2 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "Б": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "ballistic_vest_esapi", "prob": 15 },
            { "item": "ballistic_vest_light", "prob": 15 },
            { "item": "soft_3a_vest", "variant": "security_armor_vest", "prob": 10 },
            { "group": "armor_plates", "count": [ 2, 6 ], "prob": 70 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "В": { "item": "MRE", "chance": 2, "repeat": [ 1, 3 ] },
      "Г": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "helmet_army", "prob": 60 },
            { "item": "tac_helmet", "prob": 10 },
            { "item": "helmet_liner", "prob": 10 },
            { "item": "glasses_bal", "prob": 10 },
            { "item": "mask_gas", "prob": 10 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "Д": { "item": "SUS_field_manual_bookcase", "chance": 2 },
      "F": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "hat_boonie", "prob": 1 },
            { "item": "webbing_belt", "prob": 1 },
            { "item": "pants_army", "prob": 1 },
            { "item": "jacket_army", "prob": 1 },
            { "item": "winter_pants_army", "prob": 1 },
            { "item": "winter_jacket_army", "prob": 1 },
            { "item": "knee_pads", "prob": 1 },
            { "item": "elbow_pads", "prob": 1 },
            { "item": "legpouch_large", "prob": 1 },
            { "item": "gloves_tactical", "prob": 1 },
            { "group": "molle_backpacks_and_accessories", "prob": 1 },
            { "group": "loaded_lbv", "prob": 1 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "L": { "item": "SUS_janitors_closet", "chance": 50 },
      " ": { "item": "trash_cart", "chance": 5 }
    },
    "nested": {
      "|": { "chunks": [ [ "bile_field", 10 ], [ "shelter_graffiti", 5 ], [ "general_graffiti", 20 ], [ "null", 75 ] ] },
      "А": { "chunks": [ [ "destroyed_furniture", 20 ], [ "null", 80 ] ] },
      "Б": { "chunks": [ [ "destroyed_furniture", 20 ], [ "null", 80 ] ] },
      "В": { "chunks": [ [ "destroyed_furniture", 20 ], [ "null", 80 ] ] },
      "Г": { "chunks": [ [ "destroyed_furniture", 20 ], [ "null", 80 ] ] },
      "Д": { "chunks": [ [ "destroyed_furniture", 20 ], [ "null", 80 ] ] },
      "Е": { "chunks": [ [ "destroyed_furniture", 20 ], [ "null", 80 ] ] },
      "@": { "chunks": [ [ "destroyed_furniture", 80 ], [ "null", 20 ] ] },
      "T": { "chunks": [ [ "deployed_small_tent", 20 ], [ "destroyed_small_tent", 20 ], [ "null", 60 ] ] },
      "S": { "chunks": [ [ "destroyed_furniture", 80 ], [ "null", 20 ] ] },
      "t": { "chunks": [ [ "destroyed_furniture", 80 ], [ "null", 20 ] ] },
      "1": { "chunks": [ [ "corpse_blood_casings_3x3", 50 ], [ "null", 50 ] ] }
    }
  },
  {
    "type": "palette",
    "id": "mil_surplus_boarded",
    "palettes": [ "mil_surplus" ],
    "terrain": { "'": "t_window_boarded", "!": "t_door_boarded" },
    "furniture": {
      "Q": [ [ "f_camp_chair", 5 ], [ "f_null", 95 ] ],
      "r": [ [ "f_tourist_table", 5 ], [ "f_null", 95 ] ],
      "b": [ [ "f_brazier", 5 ], [ "f_null", 95 ] ]
    },
    "items": {
      "@": {
        "item": { "subtype": "distribution", "entries": [ { "group": "clothing_military" }, { "group": "clothing_military_winter" } ] },
        "chance": 2
      },
      "А": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "canteen", "prob": 3 },
            { "item": "e_tool", "prob": 3 },
            { "item": "two_way_radio", "prob": 1 },
            { "item": "mess_kit", "prob": 3 },
            { "item": "camelbak", "prob": 2 },
            { "collection": [ { "item": "esbit_stove" }, { "item": "chem_hexamine", "count": [ 1, 3 ] } ], "prob": 2 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "Б": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "ballistic_vest_esapi", "prob": 15 },
            { "item": "ballistic_vest_light", "prob": 15 },
            { "item": "soft_3a_vest", "variant": "security_armor_vest", "prob": 10 },
            { "group": "armor_plates", "count": [ 2, 6 ], "prob": 70 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "В": { "item": "MRE", "chance": 2, "repeat": [ 1, 3 ] },
      "Г": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "helmet_army", "prob": 60 },
            { "item": "tac_helmet", "prob": 10 },
            { "item": "helmet_liner", "prob": 10 },
            { "item": "glasses_bal", "prob": 10 },
            { "item": "mask_gas", "prob": 10 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "Д": { "item": "SUS_field_manual_bookcase", "chance": 2 },
      "F": {
        "item": {
          "subtype": "distribution",
          "entries": [
            { "item": "hat_boonie", "prob": 1 },
            { "item": "webbing_belt", "prob": 1 },
            { "item": "pants_army", "prob": 1 },
            { "item": "jacket_army", "prob": 1 },
            { "item": "winter_pants_army", "prob": 1 },
            { "item": "winter_jacket_army", "prob": 1 },
            { "item": "knee_pads", "prob": 1 },
            { "item": "elbow_pads", "prob": 1 },
            { "item": "legpouch_large", "prob": 1 },
            { "item": "gloves_tactical", "prob": 1 },
            { "item": "molle_pack", "prob": 1 }
          ]
        },
        "repeat": [ 1, 3 ],
        "chance": 2
      },
      "L": { "item": "SUS_janitors_closet", "chance": 50 }
    },
    "nested": { "T": { "chunks": [ [ "tent_3x3_N", 25 ], [ "deployed_small_tent", 25 ], [ "null", 50 ] ] } }
  }
]
