[
  {
    "type": "npc",
    "id": "forge_lord_pirate",
    "name_suffix": "Former Pirate",
    "class": "NC_FORGE_PIRATE",
    "attitude": 0,
    "mission": 8,
    "chat": "TALK_FORGE_PIRATE",
    "faction": "forge_lords"
  },
  {
    "type": "npc_class",
    "id": "NC_FORGE_PIRATE",
    "name": { "str": "Pirate" },
    "job_description": "My adventures would curdle your blood.",
    "traits": [
      { "trait": "VAULT_DEFENDER" },
      { "group": "NPC_starting_traits" },
      { "group": "Appearance_demographics" },
      { "trait": "TOUGH3" }
    ],
    "//": "This is a unique NPC who doesn't get randomly selected background traits",
    "common": false,
    "bonus_dex": { "one_in": 4 },
    "bonus_per": { "one_in": 4 },
    "bonus_str": { "one_in": 4 },
    "worn_override": "NC_FORGE_PIRATE_clothes",
    "weapon_override": "NC_FORGE_PIRATE_wield",
    "skills": [
      {
        "skill": "ALL",
        "level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "constant": -2 }, { "one_in": 4 } ] } ] }
      },
      { "skill": "unarmed", "bonus": { "one_in": 2 } },
      { "skill": "cutting", "bonus": { "one_in": 2 } },
      { "skill": "pistol", "bonus": { "rng": [ 0, 2 ] } },
      { "skill": "gun", "bonus": { "rng": [ 1, 3 ] } },
      { "skill": "melee", "bonus": { "rng": [ 3, 5 ] } }
    ]
  },
  {
    "type": "item_group",
    "id": "NC_FORGE_PIRATE_clothes",
    "subtype": "collection",
    "entries": [
      { "item": "cavalry_sabre_plus_one", "prob": 100, "container-item": "scabbard" },
      { "item": "bandana", "prob": 100 },
      { "item": "boots", "prob": 100 },
      { "item": "parabolan_enchanted_breeches", "prob": 100 },
      { "item": "enchanted_pirate_blouse", "prob": 100 },
      { "item": "flintlock_pouch", "contents-group": "flintlock_pouch_reenactor" }
    ]
  },
  {
    "type": "item_group",
    "id": "NC_FORGE_PIRATE_wield",
    "subtype": "collection",
    "items": [ { "item": "enchanted_blackpowder_pistol", "prob": 100, "charges": 1 } ]
  },
  {
    "id": "TALK_FORGE_PIRATE",
    "type": "talk_topic",
    "dynamic_line": {
      "u_is_wearing": "badge_marshal",
      "yes": [
        "Walk away afore I kill ya where you stand.",
        "You've got a lot of nerve wearing that badge these days.",
        "Boys, I think we should drown this fool."
      ],
      "no": [ "Watch your step.", "Talk to Captain Tavrel.", "Ahoy and other nautical terms!" ]
    },
    "responses": [
      { "text": "Obviously I should speak to someone else.", "topic": "TALK_DONE" },
      { "text": "Pirates should be hung until dead.", "topic": "TALK_DONE", "effect": "hostile" }
    ]
  }
]
