[
  {
    "type": "npc",
    "id": "free_merchants_merchant",
    "name_unique": "Smokes",
    "//": "Appears in the refugee center as shopkeeper with missions.  Faction critical.  Real name: Gavin Wheeler",
    "gender": "male",
    "name_suffix": "Merchant",
    "class": "NC_FREE_MERCHANTS_MERCHANT",
    "attitude": 0,
    "mission": 3,
    "chat": "TALK_FREE_MERCHANTS_MERCHANT",
    "mission_offered": "MISSION_FREE_MERCHANTS_EVAC_1",
    "faction": "free_merchants"
  },
  {
    "type": "npc_class",
    "id": "NC_FREE_MERCHANTS_MERCHANT",
    "name": { "str": "Merchant" },
    "job_description": "I'm a local shopkeeper.",
    "common": false,
    "sells_belongings": false,
    "//": "Smokes is a firefighter that volunteered to take stock of what was available and keep inventory. He's gradually had more lumped onto him as the Free Merchants struggle to put themselves together, but he feels obligated to help, even though he doesn't really want to have all the responsibility he does.",
    "//2": "He's also quite chatty and will gladly talk about the way things are these days. This is deliberate, since Free Merchants are very likely to be the first faction players encounter.",
    "//3": "Most of his dialogue goes in 'free_merchant_shopkeep_dialogue.json'. Dialogue that just does worldbuilding goes into 'free_merchant_shopkeep_dialogue_fluff.json'.",
    "bonus_str": 4,
    "bonus_dex": 2,
    "shopkeeper_item_group": [ { "group": "FREE_MERCHANTS_Shop", "rigid": true } ],
    "shopkeeper_consumption_rates": "smokes_shop_rates",
    "worn_override": "NC_FREE_MERCHANTS_MERCHANT_worn",
    "weapon_override": "NC_FREE_MERCHANTS_MERCHANT_carried",
    "traits": [
      { "trait": "GOODCARDIO" },
      { "trait": "FLEET" },
      { "trait": "OPTIMISTIC" },
      { "trait": "STRONGBACK" },
      { "trait": "THIRST" },
      { "trait": "SLEEPY" },
      { "trait": "CLUMSY" },
      { "trait": "IGNORE_SOUND" },
      { "trait": "NO_BASH" },
      { "trait": "RETURN_TO_START_POS" },
      { "group": "Appearance_Irish" }
    ],
    "skills": [
      { "skill": "firstaid", "bonus": 3 },
      { "skill": "mechanics", "bonus": 2 },
      { "skill": "melee", "bonus": 2 },
      { "skill": "speech", "bonus": 3 },
      { "skill": "swimming", "bonus": 3 }
    ]
  },
  {
    "type": "npc_class",
    "id": "NC_EVAC_SHOPKEEP",
    "name": { "str": "Merchant" },
    "job_description": "I'm a local shopkeeper.",
    "//": "Retained to prevent errors.",
    "traits": [ { "group": "NPC_starting_traits" }, { "group": "Appearance_demographics" } ],
    "common": false,
    "bonus_int": { "one_in": 4 },
    "bonus_per": { "one_in": 4 },
    "bonus_collector": { "rng": [ 1, 5 ] },
    "shopkeeper_item_group": "NC_EVAC_SHOPKEEP_misc",
    "carry_override": "NC_EVAC_SHOPKEEP_misc",
    "skills": [
      {
        "skill": "ALL",
        "level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "constant": -2 }, { "one_in": 4 } ] } ] }
      },
      { "skill": "mechanics", "bonus": { "one_in": 2 } },
      { "skill": "electronics", "bonus": { "rng": [ 0, 2 ] } },
      { "skill": "speech", "bonus": { "rng": [ 3, 5 ] } }
    ]
  },
  {
    "type": "item_group",
    "id": "NC_EVAC_SHOPKEEP_misc",
    "subtype": "collection",
    "items": [
      { "item": "RobofacCoin", "count-min": 5, "count-max": 30, "prob": 30 },
      { "item": "FlatCoin", "count-min": 50, "count-max": 300, "prob": 30 },
      { "group": "tools_general", "prob": 80, "count": [ 1, 3 ] },
      { "group": "tools_home", "prob": 80, "count": [ 1, 3 ] },
      { "group": "tools_construction", "prob": 30, "count": [ 1, 3 ] },
      { "group": "tools_carpentry", "prob": 30, "count": [ 1, 3 ] },
      { "group": "tools_earthworking", "prob": 30, "count": [ 1, 3 ] },
      { "group": "tools_electronics", "prob": 20, "count": [ 1, 3 ] },
      { "group": "tools_lighting_industrial", "prob": 20, "count": [ 1, 3 ] },
      { "group": "tools_mechanic", "prob": 20, "count": [ 1, 3 ] },
      { "group": "tools_plumbing", "prob": 20, "count": [ 1, 3 ] },
      { "group": "supplies_electronics", "prob": 20, "count": [ 1, 3 ] },
      { "group": "supplies_plumbing", "prob": 20, "count": [ 1, 3 ] },
      { "group": "supplies_hardware", "prob": 20, "count": [ 1, 3 ] },
      { "group": "supplies_fuel", "prob": 20, "count": [ 1, 3 ] },
      { "group": "supplies_metal", "prob": 20, "count": [ 1, 3 ] },
      { "group": "supplies_mechanics", "prob": 20, "count": [ 1, 3 ] },
      { "group": "ammo_any_batteries_full", "prob": 20, "count": [ 1, 3 ] },
      { "group": "magazines", "prob": 30, "count": [ 1, 3 ] },
      { "group": "book_gunref", "prob": 15 },
      { "group": "hardware_books", "prob": 30, "count": [ 1, 3 ] },
      { "group": "religious_books", "prob": 30, "count": [ 1, 3 ] },
      { "group": "homebooks", "prob": 40, "count": [ 1, 3 ] },
      { "group": "manuals", "prob": 30 },
      { "group": "book_survival", "prob": 15 },
      { "group": "novels", "prob": 50, "count": [ 1, 3 ] },
      { "group": "textbooks", "prob": 30 },
      { "group": "cigar_box_unopened", "prob": 10 },
      { "item": "case_cigar", "prob": 5 },
      [ "vest", 40 ],
      [ "kevlar", 15 ],
      [ "jacket_army_modern", 30 ],
      [ "trenchcoat", 25 ],
      [ "trenchcoat_leather", 20 ],
      [ "trenchcoat_fur", 10 ],
      [ "vest_leather", 15 ],
      [ "football_armor", 30 ],
      [ "jacket_leather", 25 ],
      [ "jacket_jean", 15 ],
      [ "jacket_flannel", 15 ],
      [ "pants_cargo", 40 ],
      [ "shorts_cargo", 25 ],
      [ "pants_army", 30 ],
      [ "pants_leather", 15 ],
      [ "gloves_fingerless", 30 ],
      [ "gloves_tactical", 15 ],
      [ "gauntlets_larmor", 25 ],
      [ "gloves_fur", 5 ],
      [ "gloves_leather", 35 ],
      [ "gloves_work", 20 ],
      [ "boots", 20 ],
      [ "boots_steel", 20 ],
      [ "sneakers_steel", 15 ],
      [ "boots_hiking", 30 ],
      [ "knee_high_boots", 5 ],
      [ "boots_combat", 15 ],
      [ "boots_larmor", 10 ],
      [ "boots_fur", 10 ],
      [ "helmet_army", 25 ],
      [ "tac_helmet", 20 ],
      [ "helmet_riot", 20 ],
      [ "tac_fullhelmet", 10 ],
      [ "helmet_larmor", 15 ],
      [ "firehelmet", 5 ],
      [ "hood_rain", 15 ],
      [ "dive_bag", 10 ],
      [ "dry_bag", 10 ],
      [ "dry_duffelbag", 10 ],
      [ "dry_bag_large", 5 ],
      [ "runner_bag", 20 ],
      [ "molle_pack", 10 ],
      [ "backpack", 40 ],
      [ "backpack_leather", 35 ],
      [ "mbag", 25 ],
      [ "slingpack", 15 ],
      [ "rucksack", 10 ],
      [ "duffelbag", 10 ],
      [ "mask_hockey", 15 ],
      [ "mask_gas", 25 ],
      [ "mask_filter", 20 ],
      [ "sunglasses", 15 ],
      [ "glasses_safety", 15 ],
      [ "goggles_ski", 5 ],
      [ "tacvest", 20 ],
      [ "legrig", 15 ],
      [ "tool_belt", 15 ],
      [ "fanny", 5 ],
      [ "dump_pouch", 5 ],
      [ "ragpouch", 15 ],
      [ "leather_pouch", 15 ],
      [ "quiver", 15 ],
      [ "quiver_large", 5 ],
      [ "wristwatch", 30 ],
      [ "diving_watch", 5 ],
      [ "pocketwatch", 10 ],
      [ "holster", 25 ],
      [ "bandana", 20 ],
      [ "scarf", 15 ],
      [ "hat_boonie", 20 ],
      [ "balclava", 10 ],
      [ "pickaxe", 20 ],
      [ "makeshift_machete", 15 ],
      [ "fungicide", 20 ],
      [ "insecticide", 20 ],
      [ "antifungal", 20 ],
      [ "antiparasitic", 20 ],
      [ "diazepam", 15 ],
      [ "small_repairkit", 20 ],
      [ "grapnel", 5 ],
      [ "misc_repairkit", 15 ],
      { "group": "tools_toolbox", "prob": 20 },
      [ "crowbar", 25 ],
      [ "machete", 25 ],
      [ "ax", 25 ],
      [ "spear_knife", 30 ],
      [ "22_lr", 25 ],
      [ "22_fmj", 1 ],
      [ "223", 15 ],
      [ "308", 10 ],
      [ "3006", 10 ],
      [ "reloaded_9mm", 30 ],
      [ "9mm", 25 ],
      [ "9mmfmj", 5 ],
      [ "45_acp", 10 ],
      [ "reloaded_45_acp", 25 ],
      [ "45_jhp", 1 ],
      [ "rifle_9mm", 20 ],
      [ "rifle_22", 20 ],
      [ "uzi", 10 ],
      [ "mac_10", 10 ],
      [ "crossbow", 15 ],
      [ "sig_mosquito", 15 ],
      [ "sw_22", 15 ],
      [ "glock_19", 15 ],
      [ "usp_9mm", 10 ],
      [ "m9", 35 ],
      [ "cx4", 1 ],
      [ "usp_45", 10 ],
      [ "m1911", 10 ],
      { "group": "modular_ar15", "prob": 10 },
      [ "savage_111f", 5 ],
      [ "remington_700", 5 ],
      [ "ruger_1022", 10 ],
      [ "marlin_9a", 10 ],
      [ "remington_870", 10 ],
      [ "mossberg_500", 5 ],
      [ "shotgun_d", 5 ],
      [ "pipebomb", 10 ],
      [ "molotov", 10 ],
      [ "longbow", 5 ],
      [ "recurbow", 15 ],
      [ "shortbow", 10 ],
      { "group": "archery_ammo", "prob": 25 },
      { "group": "crossbow_bolts", "prob": 10 },
      [ "laser_sight", 15 ],
      [ "rail_laser_sight", 10 ],
      [ "rifle_scope", 20 ],
      [ "pistol_scope", 10 ],
      [ "improve_sights", 20 ],
      [ "ashot", 5 ]
    ]
  },
  {
    "type": "effect_type",
    "id": "u_Gavin_onetime_greeting",
    "//": "12-hour period for the player to ask why his greeting was so blunt (basically 'before you ask, we're full')."
  },
  {
    "id": "smokes_shop_rates",
    "copy-from": "basic_shop_rates",
    "type": "shopkeeper_consumption_rates",
    "extend": { "rates": [ { "item": "FMCNote", "rate": -1 } ] }
  }
]
