[
  {
    "type": "npc",
    "id": "refugee_StanBorichenko",
    "name_unique": "Stan Borichenko",
    "gender": "male",
    "name_suffix": "refugee",
    "class": "NC_REFUGEE_Stan",
    "attitude": 0,
    "mission": 7,
    "chat": "TALK_REFUGEE_Stan_1",
    "faction": "free_merchants"
  },
  {
    "type": "npc_class",
    "id": "NC_REFUGEE_Stan",
    "name": { "str": "Refugee" },
    "job_description": "I'm just trying to survive.",
    "common": false,
    "//": "Stan is a broken man since he and Boris lost their son in the Cataclysm.  It might be possible to help put him back together slowly.",
    "bonus_str": { "rng": [ -2, 2 ] },
    "bonus_dex": { "rng": [ -2, 2 ] },
    "bonus_int": { "rng": [ -2, 2 ] },
    "bonus_per": { "rng": [ -2, 2 ] },
    "worn_override": "REFUGEE_Stan_worn",
    "carry_override": "REFUGEE_Stan_carried",
    "weapon_override": "REFUGEE_Stan_wield",
    "traits": [ { "trait": "MYOPIC" }, { "group": "Appearance_Germanic" } ],
    "skills": [
      { "skill": "ALL", "level": { "mul": [ { "one_in": 3 }, { "sum": [ { "dice": [ 2, 2 ] }, { "rng": [ 0, -4 ] } ] } ] } },
      { "skill": "cooking", "bonus": { "rng": [ 3, 4 ] } },
      { "skill": "computer", "bonus": { "rng": [ 1, 2 ] } }
    ]
  },
  {
    "type": "item_group",
    "id": "REFUGEE_Stan_worn",
    "subtype": "collection",
    "entries": [
      { "item": "briefs" },
      { "item": "socks" },
      { "item": "tie_skinny" },
      { "item": "dress_shirt" },
      { "item": "pants" },
      { "item": "blazer" },
      { "item": "glasses_eye" },
      { "item": "sneakers" }
    ]
  },
  {
    "type": "item_group",
    "id": "REFUGEE_Stan_carried",
    "subtype": "collection",
    "entries": [ { "item": "photo_album" } ]
  },
  {
    "type": "item_group",
    "id": "REFUGEE_Stan_wield",
    "subtype": "collection",
    "entries": [ { "item": "camera_pro" } ]
  },
  {
    "type": "talk_topic",
    "//": "common talk responses",
    "id": [ "TALK_REFUGEE_Stan_2", "TALK_REFUGEE_Stan_Background", "TALK_REFUGEE_Stan_Situation" ],
    "responses": [
      {
        "text": "I'm trying to put a cleanup crew together to tidy up the back room.  Can you help?",
        "condition": {
          "and": [
            { "u_has_mission": "MISSION_REFUGEE_Boris_CLEANUP" },
            {
              "not": { "npc_has_var": "cleanup_asked", "type": "mission", "context": "Boris_mission_1", "value": "yes" }
            }
          ]
        },
        "topic": "TALK_REFUGEE_Refuse_Boris_Mission_1"
      },
      { "text": "Do you want to talk about your story?", "topic": "TALK_REFUGEE_Stan_Background" },
      { "text": "How are things here?", "topic": "TALK_REFUGEE_Stan_Situation" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_REFUGEE_Stan_1",
    "dynamic_line": {
      "u_has_var": "u_met_Stan_Borichenko",
      "type": "general",
      "context": "meeting",
      "value": "yes",
      "yes": [ "Hi.", "Hello.", "Hm?  Oh, hi.", "…Hi." ],
      "no": "Hello.  I'm sorry, if we've met before, I don't really remember.  I'm… I'm Stan."
    },
    "responses": [
      {
        "text": "Stan, hey?  Nice to meet you.",
        "effect": { "u_add_var": "u_met_Stan_Borichenko", "type": "general", "context": "meeting", "value": "yes" },
        "condition": { "not": { "u_has_var": "u_met_Stan_Borichenko", "type": "general", "context": "meeting", "value": "yes" } },
        "topic": "TALK_REFUGEE_Stan_1_firstmeet"
      },
      {
        "text": "Hi, Stan.  What's up?",
        "topic": "TALK_REFUGEE_Stan_2",
        "condition": { "u_has_var": "u_met_Stan_Borichenko", "type": "general", "context": "meeting", "value": "yes" }
      },
      {
        "text": "Hi Stan, nice to meet you.  I gotta go though.",
        "effect": { "u_add_var": "u_met_Stan_Borichenko", "type": "general", "context": "meeting", "value": "yes" },
        "condition": { "not": { "u_has_var": "u_met_Stan_Borichenko", "type": "general", "context": "meeting", "value": "yes" } },
        "topic": "TALK_DONE"
      },
      {
        "text": "Hi Stan.  I can't stay to talk.",
        "condition": { "u_has_var": "u_met_Stan_Borichenko", "type": "general", "context": "meeting", "value": "yes" },
        "topic": "TALK_DONE"
      }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_REFUGEE_Stan_1_firstmeet",
    "dynamic_line": "Huh?  Sorry, yes, nice to meet you too.",
    "responses": [
      { "text": "You seem distracted.", "topic": "TALK_REFUGEE_Stan_2" },
      { "text": "I just wanted to say hi.  I'll be on my way.", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_REFUGEE_Stan_2",
    "dynamic_line": "I'm sorry, I've been through some hard stuff.  I'm not really myself lately.",
    "responses": [ { "text": "Sorry to hear that.  I'll leave you be.", "topic": "TALK_DONE" } ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_REFUGEE_Stan_Background",
    "dynamic_line": "No, I don't particularly want to talk about it, but I can I guess.  Before <the_cataclysm> I was an insurance adjuster.  My husband Boris and I were evacuated with my brother Garry, and from our evacuation center we caught a commissioned bus out here.  The bus was attacked by a monster, we lived.  Not everyone on the bus did.  We lost people dear to us, now we're stuck here with little to do but think about it.",
    "responses": [
      { "text": "I'm sorry for your loss.  What were you saying before?", "topic": "TALK_NONE" },
      { "text": "Sorry to hear that.  I'll leave you be.", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_REFUGEE_Stan_Situation",
    "dynamic_line": "Mostly my family and I have just been mourning.  This isn't the best place to do it.  I hope we'll have something productive to do soon; Boris, in particular, has skills to contribute that might help him feel alive again.",
    "responses": [
      { "text": "What were you saying before?", "topic": "TALK_NONE" },
      { "text": "I had better be going.", "topic": "TALK_DONE" }
    ]
  }
]
