[
  {
    "type": "palette",
    "id": "gun_store_palette",
    "//": " P, U, S, h, F, e, |, o, k, z, c, and > are all still available for more terrain or furniture",
    "parameters": {
      "interior_wall_type": {
        "type": "ter_str_id",
        "default": {
          "distribution": [
            [ "t_wall_b", 1 ],
            [ "t_wall_g", 1 ],
            [ "t_wall_p", 1 ],
            [ "t_wall_P", 1 ],
            [ "t_wall_r", 1 ],
            [ "t_wall_w", 6 ],
            [ "t_wall_y", 1 ],
            [ "t_wall_gray", 1 ],
            [ "t_wall_brown", 1 ],
            [ "t_wall_cyan", 1 ],
            [ "t_wall_black", 1 ],
            [ "t_wall_orange", 1 ]
          ]
        }
      }
    },
    "toilets": { "&": {  } },
    "terrain": {
      "-": "t_wall_w",
      "#": "t_brick_wall",
      "q": "t_thconc_floor",
      "&": "t_thconc_floor",
      ":": "t_window_bars_alarm",
      "+": [ [ "t_door_metal_pickable", 90 ], [ "t_door_metal_o", 5 ], [ "t_door_metal_c", 15 ] ],
      "D": [ [ "t_door_o", 40 ], [ "t_door_c", 40 ], [ "t_door_locked_interior", 20 ] ],
      ",": [ [ "t_region_groundcover_urban", 100 ], [ "t_region_shrub", 10 ] ],
      "@": "t_region_shrub_decorative",
      "u": "t_region_shrub",
      "B": "t_region_groundcover_barren",
      "'": "t_sidewalk",
      "/": "t_sidewalk",
      "C": "t_thconc_floor",
      "`": "t_thconc_floor",
      ".": "t_thconc_floor",
      "a": "t_thconc_floor",
      "?": "t_thconc_floor",
      "l": "t_thconc_floor",
      "E": "t_thconc_floor",
      "d": "t_thconc_floor",
      "^": "t_thconc_floor",
      "Q": "t_thconc_floor",
      "x": "t_thconc_floor",
      "X": "t_thconc_floor",
      "A": "t_thconc_floor",
      "r": "t_thconc_floor",
      "R": "t_thconc_floor",
      "m": "t_thconc_floor",
      "M": "t_thconc_floor",
      "T": "t_thconc_floor",
      "N": "t_thconc_floor",
      "n": "t_thconc_floor",
      "K": "t_thconc_floor",
      "G": "t_thconc_floor",
      "g": "t_thconc_floor",
      "f": "t_thconc_floor",
      "L": "t_thconc_floor",
      "y": "t_thconc_floor",
      "Y": "t_thconc_floor",
      "v": "t_thconc_floor",
      "=": "t_thconc_floor",
      "_": "t_pavement",
      "*": "t_pavement_y",
      "<": "t_stairs_up",
      ";": "t_gutter_downspout",
      "W": "t_strconc_wall",
      "$": "t_atm",
      "Z": "t_bars",
      "I": { "param": "interior_wall_type", "fallback": "t_brick_wall" }
    },
    "furniture": {
      "C": "f_counter",
      "R": "f_counter",
      "3": "f_counter",
      "a": "f_stool",
      "?": "f_console_broken",
      "d": [ [ "f_displaycase", 65 ], [ "f_displaycase_o", 35 ] ],
      "p": "f_displaycase_b",
      "n": "f_table",
      "E": "f_desk",
      "^": "f_indoor_plant",
      "l": "f_locker",
      "N": "f_locker",
      "M": "f_locker",
      "m": "f_rack",
      "Y": "f_rack",
      "y": "f_rack",
      "|": "f_locker",
      "Q": "f_rack",
      "K": "f_rack",
      "L": [ [ "f_rack_l", 65 ], [ "f_rack", 35 ] ],
      "G": "f_rack",
      "v": "f_rack",
      "q": "f_sink",
      "r": "f_trashcan",
      "s": [ [ "f_crate_c", 55 ], [ "f_crate_o", 45 ] ],
      "S": "f_crate_o",
      "A": "f_chair",
      "T": "f_target",
      "w": "f_dumpster",
      "X": [ [ "f_gunsafe_ml", 90 ], [ "f_gunsafe_o", 10 ] ],
      "e": "f_gunsafe_o",
      "O": [ [ "f_gunsafe_ml", 90 ], [ "f_gunsafe_o", 10 ] ],
      "x": "f_sandbag_wall",
      "g": "f_sofa",
      "f": "f_fridge",
      "/": "f_flagpole"
    },
    "item": { "/": { "item": "american_flag" } },
    "items": {
      "X": { "item": "SUS_gunstore_safe", "chance": 50, "repeat": [ 10, 20 ] },
      "O": { "item": "SUS_gunstore_safe_obscure", "chance": 75, "repeat": [ 3, 6 ] },
      "s": { "item": "SUS_gunstore_crate", "chance": 75, "repeat": [ 1, 3 ] },
      "S": { "item": "SUS_gunstore_crate", "chance": 5, "repeat": [ 1, 3 ] },
      "`": { "item": "SUS_gunstore_looted_floor", "chance": 20, "repeat": [ 1, 2 ] },
      "m": { "item": "SUS_gunstore_looted_storage", "chance": 20, "repeat": [ 1, 2 ] },
      "M": { "item": "SUS_gunstore_looted_storage", "chance": 20, "repeat": [ 1, 2 ] },
      "d": { "item": "SUS_gunstore_displaycase", "chance": 95 },
      "p": { "item": "SUS_gunstore_displaycase", "chance": 25 },
      "K": {
        "item": {
          "//": "gun books kept on racks in the FoH",
          "subtype": "collection",
          "entries": [ { "group": "book_gunref", "prob": 5 }, { "group": "book_gunmags", "prob": 80 } ]
        },
        "repeat": 3,
        "chance": 75
      },
      "|": {
        "item": {
          "//": "civilian magazines kept on racks behind the counter in the FoH",
          "subtype": "collection",
          "entries": [ { "group": "mags_common_gunstore", "prob": 70 }, { "group": "mags_pistol_rare", "prob": 30 } ]
        },
        "repeat": 15,
        "chance": 65
      },
      "Y": { "item": "SUS_gunstore_gear", "chance": 90, "repeat": [ 1, 4 ] },
      "v": {
        "item": {
          "//": "gun mods kept on racks in the FoH",
          "subtype": "collection",
          "entries": [ { "group": "gunmod_common", "prob": 70 }, { "group": "gunmod_rare", "prob": 30 } ]
        },
        "repeat": [ 3, 6 ],
        "chance": 60
      },
      "l": {
        "item": {
          "//": "workers items that were placed in lockers before the CATA, kept in the BoH",
          "subtype": "collection",
          "entries": [ { "group": "unisex_coat_rack" } ]
        },
        "repeat": 2,
        "chance": 75
      },
      "N": {
        "item": {
          "//": "ear protection kept in the proximity of store gun ranges",
          "subtype": "collection",
          "entries": [ { "group": "ear_protection", "prob": 30 } ]
        },
        "repeat": 8,
        "chance": 75
      },
      "y": {
        "item": {
          "//": "gunsmithing tools kept on racks",
          "subtype": "collection",
          "entries": [ { "group": "ammo_parts", "prob": 80 }, { "group": "tools_gunsmith", "prob": 5 } ]
        },
        "repeat": 5,
        "chance": 50
      },
      "L": {
        "item": {
          "//": "locked racks for all common gun type of civilian firearms",
          "subtype": "collection",
          "entries": [ { "group": "guns_common_display" } ]
        },
        "repeat": [ 1, 3 ],
        "chance": 80
      },
      "f": {
        "item": { "//": "rec room fridge", "subtype": "collection", "entries": [ { "group": "fridgesnacks" } ] },
        "repeat": 10,
        "chance": 35
      },
      "R": {
        "item": {
          "//": "counters used for shooting at the gun range, chance of spawning any loaded common firearm as well as spent brass",
          "subtype": "collection",
          "entries": [ { "group": "guns_common_display", "prob": 25 }, { "group": "casings", "prob": 50 } ]
        },
        "repeat": 3,
        "chance": 80
      },
      "r": {
        "item": { "//": "contents of trashcans in store", "subtype": "collection", "entries": [ { "group": "trash" } ] },
        "repeat": 5,
        "chance": 45
      },
      "w": {
        "item": { "//": "contents of dumpsters", "subtype": "collection", "entries": [ { "group": "trash" } ] },
        "repeat": 30,
        "chance": 45
      },
      "Q": {
        "item": {
          "subtype": "collection",
          "//": "bulk casing on racks in the FoH",
          "entries": [ { "group": "ammo_casings_gunsmith_bulk" } ]
        },
        "repeat": 15,
        "chance": 35
      },
      "=": {
        "item": {
          "subtype": "collection",
          "//": "spent casings scattered around shooting ranges",
          "entries": [ { "group": "casings" } ]
        },
        "repeat": 1,
        "chance": 50
      },
      "C": {
        "item": {
          "subtype": "distribution",
          "//": "low chance of snacks and gun mags on counters",
          "entries": [
            { "group": "vending_food_items", "prob": 33 },
            { "group": "vending_drink_items", "prob": 33 },
            { "group": "book_gunmags", "prob": 33 }
          ]
        },
        "repeat": 2,
        "chance": 15
      },
      "n": {
        "item": {
          "subtype": "distribution",
          "//": "moderate chance of snacks and mags on tables",
          "entries": [
            { "group": "vending_food_items", "prob": 33 },
            { "group": "vending_drink_items", "prob": 33 },
            { "group": "book_gunmags", "prob": 33 }
          ]
        },
        "repeat": 2,
        "chance": 30
      },
      "E": {
        "item": { "subtype": "collection", "//": "items on store desks", "entries": [ { "group": "office_mess" } ] },
        "repeat": 3,
        "chance": 20
      }
    }
  }
]
