[
  {
    "type": "talk_topic",
    "id": "TALK_NPC_LUMBERMILL_MERCHANT",
    "dynamic_line": {
      "npc_has_var": "talked_to_merchant",
      "type": "dialogue",
      "context": "first_meeting",
      "value": "yes",
      "yes": "Hello there.  Nice to see you again.",
      "no": "A new face at the mill?  Who might you be?"
    },
    "speaker_effect": { "effect": { "npc_add_var": "talked_to_merchant", "type": "dialogue", "context": "first_meeting", "value": "yes" } },
    "responses": [
      {
        "text": "Nice to meet you.",
        "topic": "TALK_NPC_LUMBERMILL_MERCHANT_INTRO",
        "condition": { "not": { "npc_has_var": "talked_to_merchant", "type": "dialogue", "context": "first_meeting", "value": "yes" } }
      },
      {
        "text": "Hands up!",
        "trial": { "type": "INTIMIDATE", "difficulty": 30 },
        "success": { "topic": "TALK_WEAPON_DROPPED", "effect": "drop_weapon", "opinion": { "trust": -4, "fear": 3 } },
        "failure": { "topic": "TALK_DONE", "effect": "hostile" },
        "condition": { "not": { "npc_has_var": "talked_to_merchant", "type": "dialogue", "context": "first_meeting", "value": "yes" } }
      },
      {
        "text": "Pleasure to see you again.",
        "topic": "TALK_NPC_LUMBERMILL_MERCHANT_INTRO",
        "condition": { "npc_has_var": "talked_to_merchant", "type": "dialogue", "context": "first_meeting", "value": "yes" }
      },
      { "text": "See ya.", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_NPC_LUMBERMILL_MERCHANT_INTRO",
    "dynamic_line": "So, what's up?",
    "responses": [
      { "text": "What are you doing here?", "topic": "TALK_NPC_LUMBERMILL_MERCHANT_STORY" },
      { "text": "Can I purchase some of your wares?", "topic": "TALK_LUMBERMILL_FABRICATE" },
      {
        "text": "Any jobs you need done?",
        "condition": { "and": [ { "not": "has_assigned_mission" }, { "not": "has_many_assigned_missions" } ] },
        "topic": "TALK_MISSION_LIST"
      },
      { "text": "I gotta go.", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_NPC_LUMBERMILL_MERCHANT_STORY",
    "dynamic_line": "I'm the manager here at the mill.  It's a tight-knit crew, unionized operation.  When <the_cataclysm> broke out, we didn't even know about it till some <zombies> wandered onto the yard.  Now, we've just held up here.  I imagine any folks left out there might be needing our machinery and skills to keep civilization alive.  Might make new customers yet.",
    "responses": [ { "text": "Hm.", "topic": "TALK_NONE" } ]
  }
]
