[
  {
    "id": [ "TALK_GUARD" ],
    "type": "talk_topic",
    "responses": [
      {
        "text": "[Premonition] *Determine if <npc_name> is a threat*",
        "topic": "TALK_GUARD_GENERIC_REFUGEE_danger_sense",
        "condition": {
          "or": [
            { "math": [ "u_spell_level('clair_danger_sense') >= 2" ] },
            { "math": [ "u_spell_level('clair_danger_sense_knack') >= 8" ] }
          ]
        }
      },
      {
        "text": "[Telepathy] *Read <npc_name>'s mind*",
        "topic": "TALK_GUARD_GENERIC_REFUGEE_scan",
        "condition": { "or": [ { "u_has_trait": "TELEPATH" }, { "math": [ "jmath_telepathy_knacks_combined_level() > 10" ] } ] }
      }
    ]
  },
  {
    "id": [ "TALK_GUARD_GENERIC_REFUGEE_danger_sense" ],
    "type": "talk_topic",
    "dynamic_line": "&A quick check reveals nothing out of the ordinary.  To <npc_name>, you're just another face in the crowd.",
    "responses": [ { "text": "…", "topic": "TALK_GUARD" } ]
  },
  {
    "id": [ "TALK_GUARD_GENERIC_REFUGEE_scan" ],
    "type": "talk_topic",
    "dynamic_line": [ "<telepathy_refugee_guard>", "<telepathy_refugee_guard>", "<telepathy_refugee_guard>", "<telepathy_generic>" ],
    "responses": [ { "text": "…", "topic": "TALK_GUARD" } ]
  },
  {
    "id": [ "TALK_EVAC_GUARD1" ],
    "type": "talk_topic",
    "responses": [
      {
        "text": "[Premonition] *Determine if <npc_name> is a threat*",
        "topic": "TALK_EVAC_GUARD1_danger_sense",
        "condition": {
          "or": [
            { "math": [ "u_spell_level('clair_danger_sense') >= 2" ] },
            { "math": [ "u_spell_level('clair_danger_sense_knack') >= 8" ] }
          ]
        }
      },
      {
        "text": "[Telepathy] *Read <npc_name>'s mind*",
        "topic": "TALK_EVAC_GUARD1_scan",
        "condition": { "or": [ { "u_has_trait": "TELEPATH" }, { "math": [ "jmath_telepathy_knacks_combined_level() > 10" ] } ] }
      }
    ]
  },
  {
    "id": [ "TALK_EVAC_GUARD1_danger_sense" ],
    "type": "talk_topic",
    "dynamic_line": "&You open your senses, alert for danger, but don't sense anything.  <npc_name> bears you no ill will at all.",
    "responses": [ { "text": "…", "topic": "TALK_EVAC_GUARD1" } ]
  },
  {
    "id": [ "TALK_EVAC_GUARD1_scan" ],
    "type": "talk_topic",
    "dynamic_line": [
      "«Oh great.  Another one.»",
      "«Idle hands make a waste of time.»",
      {
        "is_day": [ "«We need to post sentries outside that'll turn some of these people away.»" ],
        "no": [ "«We really should start locking the doors at night so these people can't get in.»" ]
      },
      {
        "math": [ "time_since('cataclysm', 'unit':'days') >= 60" ],
        "yes": [
          { "u_male": [ "«Wow, I'm amazed he's lived this long.»" ], "no": [ "«Wow, I'm amazed she's lived this long.»" ] }
        ],
        "no": [
          {
            "u_male": [ "«No point in learning his name.  He'll probably be dead soon anyway.»" ],
            "no": [ "«No point in learning her name.  She'll probably be dead soon anyway.»" ]
          }
        ]
      }
    ],
    "responses": [ { "text": "…", "topic": "TALK_EVAC_GUARD1" } ]
  },
  {
    "id": [ "TALK_EVAC_GUARD2" ],
    "type": "talk_topic",
    "responses": [
      {
        "text": "[Premonition] *Determine if <npc_name> is a threat*",
        "topic": "TALK_EVAC_GUARD2_danger_sense",
        "condition": {
          "or": [
            { "math": [ "u_spell_level('clair_danger_sense') >= 2" ] },
            { "math": [ "u_spell_level('clair_danger_sense_knack') >= 8" ] }
          ]
        }
      },
      {
        "text": "[Telepathy] *Read <npc_name>'s mind*",
        "topic": "TALK_EVAC_GUARD2_scan",
        "condition": { "or": [ { "u_has_trait": "TELEPATH" }, { "math": [ "jmath_telepathy_knacks_combined_level() > 10" ] } ] }
      }
    ]
  },
  {
    "id": [ "TALK_EVAC_GUARD2_danger_sense" ],
    "type": "talk_topic",
    "dynamic_line": "&You open your senses, alert for danger, but don't sense anything.  <npc_name> is sincere in their friendliness, or least isn't hiding a dagger behind their back.",
    "responses": [ { "text": "…", "topic": "TALK_GUARD" } ]
  },
  {
    "id": [ "TALK_EVAC_GUARD2_scan" ],
    "type": "talk_topic",
    "dynamic_line": [
      "«Not bad playing tour guide.  Better than having to fight.»",
      {
        "is_day": [ "«Another day after <the_cataclysm>.  One foot in front of the other.»" ],
        "no": [
          "«So tired.  That's what I get for drawing the night shift.»",
          "«At least in here I can see them coming.  If I were out there…»"
        ]
      },
      {
        "u_male": [ "«How much did it take to get here?  What has he lost?»" ],
        "no": [ "«How much did it take to get here?  What has she lost?»" ]
      }
    ],
    "responses": [ { "text": "…", "topic": "TALK_EVAC_GUARD2" } ]
  }
]
