[
  {
    "type": "npc",
    "id": "scavenger_merc",
    "//": "Appears in the refugee center as a partner for hire.",
    "name_suffix": "Merc",
    "class": "NC_SCAVENGER_MERC",
    "attitude": 0,
    "mission": 7,
    "chat": "TALK_SCAVENGER_MERC",
    "faction": "no_faction"
  },
  {
    "type": "npc_class",
    "id": "NC_SCAVENGER_MERC",
    "name": { "str": "Mercenary" },
    "job_description": "Fighting for the all-mighty dollar.",
    "common": false,
    "traits": [
      { "trait": "BGSS_Scavenger_Merc_1" },
      { "trait": "PSYCHOPATH" },
      { "trait": "TOUGH" },
      { "trait": "PARKOUR" },
      { "trait": "BADTEMPER" },
      { "trait": "SLOWREADER" },
      { "trait": "INSOMNIA" },
      { "group": "Appearance_demographics" }
    ],
    "bonus_str": { "rng": [ 0, 1 ] },
    "bonus_dex": { "rng": [ 1, 2 ] },
    "bonus_int": { "rng": [ -2, 0 ] },
    "bonus_per": { "rng": [ 1, 2 ] },
    "worn_override": "NC_SCAVENGER_MERC_worn",
    "carry_override": "NC_SCAVENGER_MERC_carry",
    "weapon_override": "NC_SCAVENGER_MERC_wield",
    "skills": [
      { "skill": "ALL", "level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "rng": [ 0, -4 ] } ] } ] } },
      { "skill": "gun", "bonus": { "rng": [ 2, 5 ] } },
      { "skill": "pistol", "bonus": { "rng": [ 1, 3 ] } },
      { "skill": "rifle", "bonus": { "rng": [ 3, 6 ] } }
    ]
  },
  {
    "type": "item_group",
    "id": "NC_SCAVENGER_MERC_worn",
    "subtype": "collection",
    "items": [
      { "item": "ballistic_vest_esapi" },
      { "item": "legpouch_large", "contents-group": "army_mags_m4" },
      { "item": "boxer_briefs" },
      { "item": "pants_army" },
      { "item": "duster" },
      { "item": "boots_combat" },
      { "item": "socks_wool" },
      { "item": "knife_combat", "container-item": "bootsheath" },
      { "item": "army_top" },
      { "item": "gloves_fingerless_mod" }
    ]
  },
  {
    "type": "item_group",
    "id": "NC_SCAVENGER_MERC_carry",
    "subtype": "collection",
    "items": [
      { "item": "ear_plugs", "custom-flags": [ "no_auto_equip" ] },
      { "item": "stanag30", "ammo-item": "556", "charges": 30 },
      { "group": "any_MRE", "count": 2 }
    ]
  },
  {
    "type": "item_group",
    "id": "NC_SCAVENGER_MERC_wield",
    "subtype": "collection",
    "items": [
      { "item": "m4a1", "ammo-item": "556", "charges": 30, "contents-item": [ "shoulder_strap", "holo_sight", "suppressor" ] }
    ]
  },
  {
    "id": "TALK_SCAVENGER_MERC",
    "type": "talk_topic",
    "dynamic_line": { "u_is_wearing": "badge_marshal", "yes": "I haven't done anything wrong…", "no": "…" },
    "responses": [
      { "text": "Who are you?", "topic": "TALK_SCAVENGER_MERC_NEW" },
      { "text": "Any tips for surviving?", "topic": "TALK_SCAVENGER_MERC_TIPS" },
      { "text": "What would it cost to hire you?", "topic": "TALK_SCAVENGER_MERC_HIRE" },
      { "text": "Well, bye.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": "TALK_SCAVENGER_MERC_NEW",
    "type": "talk_topic",
    "dynamic_line": "I'm just a hired hand.  Someone pays me and I do what needs to be done.",
    "responses": [ { "text": "…", "topic": "TALK_SCAVENGER_MERC" } ]
  },
  {
    "id": "TALK_SCAVENGER_MERC_TIPS",
    "type": "talk_topic",
    "dynamic_line": "If you have to fight your way out of an ambush, the only thing that is going to save you is having a party that can return fire.  People who work alone are easy pickings for monsters and bandits.",
    "responses": [ { "text": "I suppose I should hire a party then?", "topic": "TALK_SCAVENGER_MERC" } ]
  },
  {
    "id": "TALK_SCAVENGER_MERC_HIRE",
    "type": "talk_topic",
    "dynamic_line": "I'm currently waiting for a customer to return… I'll make you a deal though, 750 Merch will cover my expenses if I get a small cut of the loot.",
    "responses": [
      { "text": "What the heck is a Merch?", "topic": "TALK_SCAVENGER_MERC_MERCH" },
      { "text": "I might be back.", "topic": "TALK_SCAVENGER_MERC" },
      {
        "text": "[FMC750] You have a deal.",
        "topic": "TALK_SCAVENGER_MERC_HIRE_SUCCESS",
        "condition": { "u_has_items": { "item": "FMCNote", "count": 750 } },
        "effect": { "u_consume_item": "FMCNote", "count": 750 }
      }
    ]
  },
  {
    "id": "TALK_SCAVENGER_MERC_MERCH",
    "type": "talk_topic",
    "dynamic_line": "Merchs are what they call dollar bills around here.  Free Merchant Credit Notes or something.  If you want to buy stuff around here and you don't want to barter away your guns, you need Merch.",
    "responses": [
      { "text": "I see.  Let's try this again from the start.", "topic": "TALK_SCAVENGER_MERC" },
      { "text": "Okay, how much Merch do I need?", "topic": "TALK_SCAVENGER_MERC_HIRE" },
      { "text": "Well, thanks for the info.  Bye!", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": "TALK_SCAVENGER_MERC_HIRE_SUCCESS",
    "type": "talk_topic",
    "dynamic_line": "I guess you're the boss.",
    "responses": [
      {
        "text": "Glad to have you aboard.",
        "success": { "effect": "follow", "opinion": { "trust": 1, "value": 1 }, "topic": "TALK_DONE" }
      }
    ]
  }
]
