[
  {
    "id": "BOSS_NC_SURVIVOR_CHEF_Story1",
    "type": "talk_topic",
    "dynamic_line": "I found a cell phone a while ago and it started ringing.  I picked it up and just listened.  It was this cook, and they just kept talking on and on about some restaurant and all the good food there and asking to be rescued.  Maybe they were just dialing random numbers?  I don't know.  But they might still be out there, and I wouldn't mind a good meal.",
    "responses": [
      {
        "text": "Let's see how to get there and go check on them.",
        "topic": "BOSS_NC_SURVIVOR_CHEF_Story2",
        "condition": {
          "and": [
            {
              "compare_num": [ { "npc_val": "var", "var_name": "direction", "type": "randomize", "context": "dialogue" }, "=", { "const": 1 } ]
            },
            { "npc_has_trait": "BOSS_NC_SURVIVOR_CHEF_01" },
            { "not": { "u_has_var": "directions", "type": "BOSS", "context": "mission", "value": "chef" } }
          ]
        },
        "effect": { "assign_mission": "directions_chef" },
        "switch": true
      },
      { "text": "<done_conversation_section>", "topic": "TALK_FRIEND" },
      { "text": "<end_talking>", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": "BOSS_NC_SURVIVOR_CHEF_Story2",
    "type": "talk_topic",
    "dynamic_line": "*shows you on your map where to find it.  \"This looks right to me.",
    "responses": [ { "text": "Thanks for the directions.  I'll check it out.", "topic": "TALK_DONE" } ]
  },
  {
    "id": "directions_chef",
    "type": "mission_definition",
    "name": { "str": "Check out that restaurant" },
    "description": "Maybe that chef is still alive.",
    "goal": "MGOAL_GO_TO",
    "difficulty": 2,
    "value": 0,
    "start": {
      "assign_mission_target": { "om_terrain": "s_restaurant", "om_special": "restraunt", "reveal_radius": 5, "search_range": 400 },
      "effect": { "u_add_var": "directions", "type": "BOSS", "context": "mission", "value": "chef" }
    },
    "origins": [ "ORIGIN_SECONDARY" ],
    "dialogue": {
      "describe": "Maybe that chef is still alive.",
      "offer": "Maybe that chef is still alive.",
      "accepted": "Good good.",
      "rejected": "Sure, fine.",
      "advice": "Maybe bring like a bat or something?",
      "inquire": "How is the search going?",
      "success": "Great.",
      "success_lie": "Great.",
      "failure": "Not that surprising."
    }
  }
]
