[
  {
    "//1": "This list tracks the things that Smokes will sell the player.",
    "//2": "As a general rule of thumb, Smokes should stock tools, spare parts, and other stuff that scavengers bring in; they canonically have a surplus that they trade for food.",
    "//3": "Speaking of food, Smokes shouldn't ever offer food!  At the moment they need all the stuff they can get.",
    "//4": "Smokes offers the following things:",
    "//5": "- A large quantity of merch, always available;",
    "//6": "- A guaranteed handful of welding gear, like you might find on a garage rack;",
    "//7": "- Huge quantities of spare parts, such as solder, thread, nails, tailoring supplies, and so on;",
    "//8": "- Civilian-grade ammo;",
    "//9": "- Small quantities of low-end melee weapons, with a chance for civilian-grade guns;",
    "//10": "- A selection of mens' and womens' clothing;",
    "//11": "- A lot of assorted tools and other hardware.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop",
    "subtype": "collection",
    "items": [
      { "item": "FMCNote", "count": [ 200, 300 ] },
      { "item": "money_strap_FMCNote", "count": [ 1, 3 ] },
      { "group": "SUS_welding_gear", "count": [ 1, 2 ] },
      { "group": "FREE_MERCHANTS_Shop_Parts_Generic", "count": [ 40, 50 ] },
      { "group": "FREE_MERCHANTS_Shop_Parts_Tailoring", "count": [ 5, 8 ] },
      { "group": "FREE_MERCHANTS_Shop_Parts_Mechanics", "count": [ 5, 8 ] },
      { "group": "FREE_MERCHANTS_Shop_Weapons_Ammo", "count": [ 2, 4 ] },
      { "group": "FREE_MERCHANTS_Shop_Weapons_Guns", "prob": 75 },
      { "group": "FREE_MERCHANTS_Shop_Weapons_Melee" },
      { "group": "FREE_MERCHANTS_Shop_Clothes", "count": [ 1, 2 ] },
      { "group": "FREE_MERCHANTS_Shop_Hardware" }
    ]
  },
  {
    "//": "Generic spare parts that can be used in a lot of different places, like nails and such. Thread is included here due to how it's used a lot even outside of tailoring.",
    "//2": "Also includes duct tape, but it's useful to them too, not just outsiders. They won't sell as much of it as other crafting goods. Same goes for superglue.",
    "//3": "To a lesser degree, this also includes building materials, but not that many.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Parts_Generic",
    "subtype": "distribution",
    "items": [
      { "item": "solder_wire", "charges": [ 75, 90 ] },
      { "item": "thread", "charges": [ 100, 240 ] },
      { "item": "nail", "charges": [ 80, 100 ] },
      { "item": "duct_tape", "charges": [ 35, 50 ] },
      { "item": "superglue", "count": [ 0, 1 ] },
      { "item": "glass_shard", "count": [ 150, 200 ] },
      { "item": "clay_lump", "count": [ 2, 3 ] },
      { "item": "splinter", "count": [ 5, 7 ] },
      { "item": "2x4", "count": [ 1, 3 ] }
    ]
  },
  {
    "//": "Random tailoring parts, including rags, cloth sheets, and fasteners.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Parts_Tailoring",
    "subtype": "distribution",
    "items": [
      { "item": "cotton_patchwork", "count": [ 5, 10 ], "prob": 40 },
      { "group": "SUS_tailoring_materials", "count": [ 1, 2 ] },
      { "group": "SUS_tailoring_fasteners", "count": [ 2, 3 ] }
    ]
  },
  {
    "//": "A collection of welding consumables for both steel and aluminium.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Parts_Mechanics",
    "subtype": "collection",
    "items": [
      {
        "distribution": [
          { "item": "welding_rod_steel", "prob": 65, "charges": [ 1000, 6000 ] },
          { "item": "welding_wire_steel", "prob": 45, "charges": [ 1000, 6000 ] },
          { "item": "brazing_rod_bronze", "prob": 25, "charges": [ 500, 4000 ] }
        ]
      },
      {
        "distribution": [
          { "item": "welding_rod_alloy", "prob": 35, "charges": [ 1000, 6000 ] },
          { "item": "welding_wire_alloy", "prob": 15, "charges": [ 1000, 6000 ] },
          { "item": "brazing_rod_alloy", "prob": 10, "charges": [ 500, 4000 ] }
        ]
      }
    ]
  },
  {
    "//": "Clothes for both men and women. Distribution chance should be even for both sexes.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Clothes",
    "subtype": "collection",
    "items": [
      { "group": "SUS_wardrobe_mens", "count": [ 0, 1 ] },
      { "group": "SUS_wardrobe_womens", "count": [ 0, 1 ] },
      { "group": "SUS_dresser_mens", "count": [ 0, 1 ] },
      { "group": "SUS_dresser_womens", "count": [ 0, 1 ] }
    ]
  },
  {
    "//": "Ammo for common guns. Note that this is a collection - the shop will always stock some quantity of ammo, even if it doesn't carry guns in a given rotation.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Weapons_Ammo",
    "subtype": "collection",
    "items": [
      { "group": "ammo_pistol_common", "count": [ 4, 6 ] },
      { "group": "ammo_rifle_common", "count": [ 1, 3 ] },
      { "group": "ammo_shotgun_common", "count": [ 2, 4 ] }
    ]
  },
  {
    "//": "Common weapons. Pistols should be much more common than long weapons, since they're using good weapons for their own defense.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Weapons_Guns",
    "subtype": "distribution",
    "items": [
      { "group": "guns_pistol_common", "count": [ 1, 2 ] },
      { "group": "guns_rifle_common", "count": [ 0, 1 ] },
      { "group": "guns_shotgun_common", "count": [ 0, 1 ] }
    ]
  },
  {
    "//": "Low-end melee implements. As with guns, they're using good weapons for themselves, so make sure this doesn't have overly strong ones.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Weapons_Melee",
    "subtype": "distribution",
    "items": [ { "group": "survivor_melee", "count": [ 3, 5 ] } ]
  },
  {
    "//": "Tools you might find in a house or construction site. They have a ton of common stuff to go around, and quite a bit of heavy-duty hardware as well.",
    "//2": "Groups like home_hw and similar are deliberately excluded here since they spawn things that the merchants would definitely want to hold onto for themselves instead of selling.",
    "type": "item_group",
    "id": "FREE_MERCHANTS_Shop_Hardware",
    "subtype": "collection",
    "items": [
      { "group": "hand_tools", "count": [ 9, 12 ] },
      { "group": "tools_home", "count": [ 5, 6 ] },
      { "group": "tools_construction", "count": [ 2, 3 ] },
      { "group": "hardware_bulk", "count": [ 4, 5 ] }
    ]
  }
]
