[
  {
    "type": "npc",
    "id": "NPC_lighthouse_girl",
    "name_unique": "Angelina Frolova",
    "gender": "female",
    "class": "NC_NONE",
    "attitude": 1,
    "mission": 8,
    "chat": "TALK_lighthouse_girl_start",
    "faction": "fisherman_family"
  },
  {
    "type": "talk_topic",
    "id": "TALK_lighthouse_girl_start",
    "dynamic_line": "I'm scared.  Where is my papa?",
    "speaker_effect": { "sentinel": "met", "effect": [ "follow_only", { "add_mission": "MISSION_lighthouse_girl_0" } ] },
    "responses": [
      {
        "text": "I want you to use this item.",
        "topic": "TALK_lighthouse_girl_start",
        "condition": "npc_following",
        "effect": "npc_gets_item_to_use"
      },
      {
        "text": "We're here.",
        "topic": "TALK_lighthouse_girl_safe",
        "condition": { "npc_at_om_location": "lighthouse_ground" },
        "effect": [
          "mission_success",
          "clear_mission",
          "stop_following",
          { "npc_first_topic": "TALK_lighthouse_girl_safe" },
          { "u_add_var": "flag_safe_lighthouse_girl", "value": "yes" }
        ]
      },
      { "text": "<lets_go>", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_lighthouse_girl_safe",
    "dynamic_line": {
      "u_has_mission": "MISSION_lighthouse_man_3",
      "yes": {
        "compare_string": [ "yes", { "u_val": "flag_death_lighthouse_woman_dead" } ],
        "yes": "Thank you for saving me.  It's a shame my mother didn't make it… you did everything you could, and I don't blame you for it…",
        "no": "Thank you!"
      },
      "no": {
        "compare_string": [ "yes", { "u_val": "flag_death_lighthouse_woman_dead" } ],
        "yes": "Poor, poor mama…",
        "no": "Hello."
      }
    },
    "responses": [
      {
        "text": "Hi.",
        "condition": { "compare_string": [ "yes", { "u_val": "flag_help_lighthouse_family_safe" } ] },
        "topic": "TALK_lighthouse_girl_1",
        "effect": { "npc_first_topic": "TALK_lighthouse_girl_1" },
        "switch": true
      },
      {
        "truefalsetext": {
          "true": "I'm sorry…",
          "false": "…",
          "condition": { "compare_string": [ "yes", { "u_val": "flag_death_lighthouse_woman_dead" } ] }
        },
        "topic": "TALK_DONE",
        "switch": true
      }
    ]
  },
  {
    "type": "talk_topic",
    "id": [ "TALK_lighthouse_girl_1", "TALK_lighthouse_girl_Background" ],
    "dynamic_line": "How are you today?",
    "responses": [
      { "text": "About that job…", "condition": "has_assigned_mission", "topic": "TALK_MISSION_INQUIRE" },
      { "text": "<BGSS_intro_question>", "topic": "TALK_lighthouse_girl_Background" },
      { "text": "Do you need any help?", "topic": "TALK_MISSION_LIST" },
      { "text": "<end_talking_bye>", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "TALK_lighthouse_girl_Background",
    "dynamic_line": "I don't have much to tell, sorry.  I'm busy with helping my mom, tiding this place to make it our new home.  You should talk to my dad, he doesn't look busy right now.  Or always…"
  },
  {
    "id": "MISSION_lighthouse_girl_0",
    "type": "mission_definition",
    "has_generic_rewards": false,
    "name": { "str": "Protect fisherman's daughter" },
    "description": "She looks like a nice girl.  Maybe you should not let her die?",
    "goal": "MGOAL_CONDITION",
    "difficulty": 0,
    "value": 0,
    "origins": [ "ORIGIN_SECONDARY" ],
    "dialogue": {
      "describe": "-",
      "offer": "-",
      "accepted": "-",
      "rejected": "-",
      "advice": "-",
      "inquire": "-",
      "success": "-",
      "success_lie": "-",
      "failure": "-"
    },
    "fail": { "effect": [ { "u_add_var": "flag_death_lighthouse_girl_dead", "value": "yes" } ] }
  }
]
