[
  {
    "type": "npc",
    "id": "xe_vampire_mentor",
    "//": "Maybe there will be non-mentor vampire NPCs someday.  For now, there's only the mentors.",
    "//2": "When vampires will gain random weaknesses, no mentor will ever have the Barred from Mortal Joys weakness.",
    "name_suffix": "vampire",
    "class": "NC_NPC_XE_VAMPIRE_MENTOR",
    "attitude": 0,
    "mission": 2,
    "chat": "TALK_VAMPIRE_MENTOR",
    "faction": "no_faction"
  },
  {
    "type": "npc_class",
    "id": "NC_NPC_XE_VAMPIRE_MENTOR",
    "name": "Vampire Mentor",
    "job_description": "An ancient vampire, willing to assist those who want to further their curse.",
    "common": false,
    "sells_belongings": false,
    "skills": [
      { "skill": "speech", "bonus": { "rng": [ 3, 6 ] } },
      { "skill": "chemistry", "bonus": { "rng": [ 2, 3 ] } },
      { "skill": "gun", "bonus": { "rng": [ 2, 3 ] } },
      { "skill": "pistol", "bonus": { "rng": [ 2, 3 ] } },
      { "skill": "rifle", "bonus": { "rng": [ 2, 3 ] } },
      { "skill": "swimming", "bonus": { "rng": [ 2, 3 ] } },
      { "skill": "firstaid", "bonus": { "rng": [ 2, 3 ] } },
      { "skill": "cooking", "bonus": { "rng": [ 2, 3 ] } }
    ],
    "bonus_int": { "rng": [ 2, 4 ] },
    "bonus_per": { "rng": [ 2, 4 ] },
    "bonus_str": { "rng": [ 2, 4 ] },
    "bonus_dex": { "rng": [ 2, 4 ] },
    "weapon_override": "EMPTY_GROUP",
    "traits": [
      { "group": "Appearance_demographics" },
      { "group": "BG_survival_story_UNIVERSAL" },
      { "group": "NPC_starting_traits" },
      { "group": "trait_group_complete_vampire" },
      { "trait": "MENTOR_PEACE", "prob": 100 }
    ]
  },
  {
    "id": "TALK_VAMPIRE_MENTOR",
    "type": "talk_topic",
    "//": "When dialogue conditions will be possible to chain, there needs to be a 1% chance of a dialogue where the mentor gets mad at the fact that there is now another Anathema.  Around 1% of mentors knew about it.",
    "//2": "Their response focuses on not panicking, for that tends to provoke hostiles into attacking.  However, they will refuse to stay near the Anathema even for a second.",
    "dynamic_line": {
      "u_has_trait": "VAMPIRE_ANATHEMA",
      "yes": "Sorry I must go.  Bye!",
      "no": {
        "compare_string": [ "yes", { "u_val": "general_meeting_u_met_mentor" } ],
        "yes": [ "Welcome back.", "Hello again." ],
        "no": "Welcome.  What do you seek here?  Fortune?  Safety?  A friend?  A mentor?  What brought you here?"
      }
    },
    "responses": [
      {
        "text": "I want to talk.",
        "topic": "TALK_VAMPIRE_MENTOR_TALK",
        "condition": { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } },
        "effect": { "u_add_var": "general_meeting_u_met_mentor", "value": "yes" }
      },
      {
        "text": "I want a mentor.",
        "topic": "TALK_VAMPIRE_MENTOR_MENTORING",
        "condition": { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } },
        "effect": { "u_add_var": "general_meeting_u_met_mentor", "value": "yes" }
      },
      {
        "text": "I want to kill vampires.",
        "topic": "TALK_VAMPIRE_MENTOR_KILLING",
        "condition": { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } },
        "effect": { "u_add_var": "general_meeting_u_met_mentor", "value": "yes" }
      },
      {
        "text": "I've done it.  I am now a true vampire.",
        "topic": "TALK_VAMPIRE_MENTOR_TRUEVAMP",
        "condition": {
          "and": [
            { "u_has_trait": "VAMPIRE4" },
            { "not": { "compare_string": [ "yes", { "u_val": "told_about_trueness" } ] } },
            { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } }
          ]
        },
        "effect": { "u_add_var": "told_about_trueness", "value": "yes" }
      },
      {
        "text": "Before, you said there was more that I needed to learn?",
        "topic": "TALK_VAMPIRE_MENTOR_BLOOD_GIFT_RESEARCH",
        "//": "Anathema who haven't obtained these recipes need not to worry, for one of their powers will give them the remaining gifts and they will have almost all the weaknesses anyway.",
        "condition": {
          "and": [
            { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } },
            { "not": { "u_know_recipe": "xe_vampire_blood_gift_research" } },
            { "compare_string": [ "yes", { "u_val": "told_about_trueness" } ] }
          ]
        }
      },
      {
        "text": "I've lost the book you gave me.  Do you have another?",
        "topic": "TALK_VAMPIRE_MENTOR_BOOK_NEED_NEW",
        "condition": {
          "and": [
            { "compare_string": [ "yes", { "u_val": "received_mentor_book" } ] },
            { "not": { "u_has_item": "vampire_mentor_book" } },
            { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } }
          ]
        }
      },
      {
        "text": "I have brought back the components you need for the ritual.",
        "topic": "TALK_VAMPIRE_MENTOR_MAKE_TIER_5",
        "condition": {
          "and": [
            { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" },
            { "u_has_item": "stormwrought_blood_charged" },
            { "u_has_items": { "item": "concentrated_underhill_essence", "count": 400 } },
            { "u_has_item": "dream_drainer_heart" },
            { "u_has_item": "moonstruck_pearl" },
            { "u_has_item": "abyssal_hunger_shard" }
          ]
        },
        "effect": [
          { "u_sell_item": "stormwrought_blood_charged", "count": 1 },
          { "u_sell_item": "concentrated_underhill_essence", "count": 400 },
          { "u_sell_item": "dream_drainer_heart", "count": 1 },
          { "u_sell_item": "moonstruck_pearl", "count": 1 },
          { "u_sell_item": "abyssal_hunger_shard", "count": 1 }
        ]
      },
      {
        "text": "…",
        "topic": "TALK_DONE",
        "condition": { "u_has_trait": "VAMPIRE_ANATHEMA" },
        "effect": [
          { "npc_die": { "remove_corpse": true, "supress_message": true, "remove_from_creature_tracker": true } },
          { "u_message": "The mentor vanishes in a fine mist." }
        ]
      },
      {
        "text": "Do you want to chat for a bit?",
        "topic": "TALK_MENTOR_NO_CHAT",
        "condition": { "and": [ { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } }, { "npc_has_trait": "PSYCHOPATH" } ] },
        "effect": { "u_add_var": "general_meeting_u_met_mentor", "value": "yes" }
      },
      {
        "text": "Do you want to chat for a bit?",
        "topic": "TALK_MENTOR_CHAT",
        "//": "Non-uncaring mentors enjoy a good chat, both for fun and purpose.",
        "//2": "If you're a vampire, it keeps them on your good side and cement that you made the right choice.",
        "//3": "If you're not a vampire, it builds trust so you're more receptive when they will offer you to become a vampire.",
        "condition": { "and": [ { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } }, { "not": { "npc_has_trait": "PSYCHOPATH" } } ] },
        "effect": { "u_add_var": "general_meeting_u_met_mentor", "value": "yes" }
      },
      {
        "text": "Just passing through, don't mind me.",
        "topic": "TALK_DONE",
        "condition": { "not": { "u_has_trait": "VAMPIRE_ANATHEMA" } },
        "effect": { "u_add_var": "general_meeting_u_met_mentor", "value": "yes" }
      }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_TALK" ],
    "type": "talk_topic",
    "dynamic_line": { "str": "What do you wish to discuss?" },
    "responses": [
      { "text": "Who are you?", "topic": "TALK_VAMPIRE_MENTOR_SELF" },
      { "text": "What is this place?", "topic": "TALK_VAMPIRE_MENTOR_PLACE" },
      { "text": "Can I do something for you?", "topic": "TALK_VAMPIRE_MENTOR_ASSISTANCE" },
      { "text": "What did you meant by \"mentor\"?", "topic": "TALK_VAMPIRE_MENTOR_MENTORING" },
      { "text": "I just wanted to look around.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_MENTORING" ],
    "type": "talk_topic",
    "dynamic_line": {
      "u_has_effect": "vampire_virus",
      "no": "I can share with you the gift of vampirism, if it is what you wish.",
      "yes": "I can help you become a stronger vampire, if it is what you wish."
    },
    "responses": [
      {
        "text": "I want to become a stronger vampire.",
        "condition": { "and": [ { "u_has_effect": "vampire_virus" }, { "not": { "u_has_trait": "VAMPIRE4" } } ] },
        "topic": "TALK_VAMPIRE_MENTOR_BECOME_STRONGER"
      },
      {
        "text": "I want to become a stronger vampire.",
        "condition": {
          "and": [
            { "u_has_trait": "VAMPIRE4" },
            { "not": { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" } },
            { "not": { "u_has_trait": "BLOOD_DRINKER" } }
          ]
        },
        "topic": "TALK_VAMPIRE_MENTOR_BECOME_MORE_STRONGER"
      },
      {
        "text": "I want to become a vampire.",
        "condition": { "not": { "u_has_effect": "vampire_virus" } },
        "topic": "TALK_VAMPIRE_MENTOR_BECOME_VAMPIRE"
      },
      {
        "text": "You already made me as strong as a vampire can be.  See you.",
        "condition": { "u_has_trait": "BLOOD_DRINKER" },
        "topic": "TALK_DONE"
      },
      { "text": "Maybe later.  Bye.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_KILLING" ],
    "type": "talk_topic",
    "dynamic_line": { "str": "There are many vampires in this place.  Feel free to kill the others, I am not affiliated with them." },
    "responses": [
      {
        "text": "I'm here to kill all vampires, no exceptions.  Prepare to die.",
        "topic": "TALK_DONE",
        "effect": [
          "hostile",
          { "npc_die": { "remove_corpse": true, "supress_message": true, "remove_from_creature_tracker": true } },
          { "u_message": "The mentor vanishes in a fine mist." }
        ]
      },
      {
        "text": "You seem more reasonable than the rest.  Would you like to be cured of your curse?",
        "topic": "TALK_VAMPIRE_MENTOR_CURE"
      },
      { "text": "It can wait.  Can we talk?", "topic": "TALK_VAMPIRE_MENTOR_TALK" },
      {
        "text": "It can wait.  Can we discuss what you meant by \"mentor\"?",
        "topic": "TALK_VAMPIRE_MENTOR_MENTORING"
      },
      { "text": "I just wanted to look around.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_SELF" ],
    "type": "talk_topic",
    "dynamic_line": { "str": "I am an old vampire, wishing to see more embrace and develop that gift." },
    "responses": [
      { "text": "I want to talk.", "topic": "TALK_VAMPIRE_MENTOR_TALK" },
      { "text": "What is this place?", "topic": "TALK_VAMPIRE_MENTOR_PLACE" },
      { "text": "Can I do something for you?", "topic": "TALK_VAMPIRE_MENTOR_ASSISTANCE" },
      { "text": "I just wanted to look around.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_PLACE" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "It's a safe place for the blood-drinkers.  Here, it's only them, their servants and their food.  And also those who wish to become blood-drinkers themselves."
    },
    "responses": [
      { "text": "Who are you?", "topic": "TALK_VAMPIRE_MENTOR_SELF" },
      { "text": "I want to talk.", "topic": "TALK_VAMPIRE_MENTOR_TALK" },
      { "text": "Can I do something for you?", "topic": "TALK_VAMPIRE_MENTOR_ASSISTANCE" },
      { "text": "I just wanted to look around.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_TRUEVAMP" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "I am overjoyed that a new person decided to take their place as a new ruler of the night!  Soon, you'll be ready for the final step, the one that will allow you to fully walk the path!"
    },
    "responses": [
      { "text": "I want to talk.", "topic": "TALK_VAMPIRE_MENTOR_TALK" },
      {
        "text": "Before, you said there was more that I needed to learn?",
        "condition": { "not": { "u_know_recipe": "xe_vampire_blood_gift_research" } },
        "topic": "TALK_VAMPIRE_MENTOR_BLOOD_GIFT_RESEARCH"
      },
      { "text": "Can you help me walk that path?", "topic": "TALK_VAMPIRE_MENTOR_BECOME_MORE_STRONGER" },
      { "text": "I just wanted to share the news.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BLOOD_GIFT_RESEARCH" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "Yes.  The gifts of the blood are somewhat random, as are its curses.  But now that you have come into your true power, there are ways to expand your talents and to modify your weaknesses.  It will require a great deal of blood and time, but I can show you the way."
    },
    "responses": [
      {
        "text": "Yes.  I want more power.",
        "effect": [
          { "u_learn_recipe": "xe_vampire_blood_gift_research" },
          { "u_learn_recipe": "xe_vampire_blood_weaknesses_reshuffle" }
        ],
        "topic": "TALK_VAMPIRE_MENTOR_BLOOD_GIFT_RESEARCH_LEARNED"
      },
      { "text": "Maybe later, but not now.", "topic": "TALK_VAMPIRE_MENTOR_TALK" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BLOOD_GIFT_RESEARCH_LEARNED" ],
    "type": "talk_topic",
    "dynamic_line": { "str": "Concentrate on the blood and watch closely." },
    "responses": [
      {
        "text": "…",
        "effect": [
          { "u_message": "You learn how to expand your blood gifts and how to change your vampiric weaknesses.", "type": "good" }
        ],
        "topic": "TALK_DONE"
      }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BECOME_VAMPIRE" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "I can do it, if you truly want it.  I've seen that those who willingly become vampires are more likely to fully walk the path so I won't attempt to force you."
    },
    "responses": [
      {
        "text": "I am sure.  Grant me vampirism.",
        "effect": [ { "u_add_effect": "vampire_virus", "intensity": 1, "duration": "PERMANENT" } ],
        "topic": "TALK_VAMPIRE_MENTOR_NEWVAMPIRE"
      },
      { "text": "Maybe later, but not now.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_NEWVAMPIRE" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "[bites you] Here you go.  You might not notice the effects at first, but keep some human blood close for when your thirst will appear and some shelter for when the sun will start to burn your skin.  There are levels of vampiric power that cannot be achieved through time alone.  When you'll reach that point, come back here and I'll help you reach them."
    },
    "responses": [
      { "text": "Can we talk about something else?", "topic": "TALK_VAMPIRE_MENTOR_TALK" },
      { "text": "Got it.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BECOME_STRONGER" ],
    "type": "talk_topic",
    "dynamic_line": {
      "u_has_trait": "VAMPIRE3",
      "yes": "You are ready for the next step.  However, I must warn you: there is no coming back from that.  Your vampirism will become impossible to lose.  Do you wish to proceed?",
      "no": "Your vampirism isn't potent enough.  Come back when your mortal hungers will begin to be replaced by immortal hungers.  They are the signs that your power increased enough to withstand what you'll gain from my help."
    },
    "responses": [
      {
        "text": "I am certain.  Make me more powerful.",
        "condition": { "u_has_trait": "VAMPIRE3" },
        "topic": "TALK_VAMPIRE_MENTOR_POWER"
      },
      {
        "text": "I do not wish to be struck as a vampire forever.",
        "condition": { "u_has_trait": "VAMPIRE3" },
        "topic": "TALK_DONE"
      },
      { "text": "Got it.  See you.", "condition": { "not": { "u_has_trait": "VAMPIRE3" } }, "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BECOME_MORE_STRONGER" ],
    "type": "talk_topic",
    "dynamic_line": {
      "u_has_mission": "GET_COMPONENTS_FOR_TIER_5",
      "yes": "I cannot assist you until you bring back the components.  How is the search going?",
      "no": "You are now ready to fully walk the path.  This time, you'll need to gather a few components before the ritual can be done.  I'll give you this book so you know what to look for."
    },
    "responses": [
      {
        "text": "I'll begin the search then.",
        "topic": "TALK_VAMPIRE_MENTOR_GATHER_TIER_5",
        "condition": { "not": { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" } },
        "effect": [
          { "u_spawn_item": "vampire_mentor_book" },
          { "u_add_var": "received_mentor_book", "value": "yes" },
          { "assign_mission": "GET_COMPONENTS_FOR_TIER_5" }
        ]
      },
      {
        "text": "A book?  You said I would only need a few components!",
        "condition": { "not": { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" } },
        "topic": "TALK_VAMPIRE_MENTOR_WHY_BOOK"
      },
      {
        "text": "It's progressing.  See you.",
        "condition": { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" },
        "topic": "TALK_DONE"
      },
      {
        "text": "It'll wait for now.  See you.",
        "condition": { "not": { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" } },
        "topic": "TALK_DONE"
      }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_POWER" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "It's not something I do, it's something you'll do.  I know it'll be asking a lot from you, but I hope you'll understand why we are doing it."
    },
    "responses": [
      { "text": "What is it?", "topic": "TALK_VAMPIRE_MENTOR_SACRIFICE" },
      { "text": "Don't tell me.  I'm going.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_SACRIFICE" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "To become a true vampire, you must kill someone that cherishes you with your own hands.  It might be hard to bear at first, but with time you'll see how much it was worth it."
    },
    "responses": [
      {
        "text": "That's all?",
        "effect": { "assign_mission": "KILL_YOUR_BEST_FRIEND" },
        "topic": "TALK_VAMPIRE_MENTOR_SACRIFICE_1"
      },
      {
        "text": "I'll do it, if it what it takes.",
        "effect": { "assign_mission": "KILL_YOUR_BEST_FRIEND" },
        "topic": "TALK_VAMPIRE_MENTOR_SACRIFICE_2"
      },
      {
        "text": "[Uncaring] Make someone love me and then kill them in return for immortality and power?  What's the downside?",
        "topic": "TALK_VAMPIRE_MENTOR_SACRIFICE_1",
        "condition": { "u_has_trait": "PSYCHOPATH" },
        "effect": { "assign_mission": "KILL_YOUR_BEST_FRIEND" }
      },
      {
        "text": "[Pacifist] That's monstrous, of course I won't do that!",
        "topic": "TALK_DONE",
        "condition": { "u_has_trait": "PACIFIST" }
      },
      { "text": "I'm not doing that.  Bye.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_SACRIFICE_1" ],
    "type": "talk_topic",
    "//": "Note: the part about the kill being in melee only is due to bug #72281.  Remove it when the bug gets fixed",
    "dynamic_line": {
      "str": "They need to be completely trusting of you, someone that consider themselves your \"best friend forever\".  They also need to declare how much they love you right before you kill them, then you'll become a true vampire.  And I almost forgot: you also need to kill them in melee combat or else it won't work.\n\nAnd when you are done, return to me.  There is more that you must learn."
    },
    "responses": [ { "text": "Got it.  See you.", "topic": "TALK_DONE" } ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_SACRIFICE_2" ],
    "//": "Note: the part about the kill being in melee only is due to bug #72281.  Remove it when the bug gets fixed",
    "type": "talk_topic",
    "dynamic_line": {
      "str": "Do not worry about the pain, my friend.  It is always temporary, no matter how much it hurts.  After that, you won't ever be temporary again.  Keep in mind that they need to be completely trusting of you, someone that consider themselves your \"best friend forever\".  They also need to declare how much they love you right before you kill them, then you'll be freed from your limited time as you become a true vampire.  And I almost forgot: you also need to kill them in melee combat or else it won't work.\n\nAnd when you are done, return to me.  There is more that you must learn."
    },
    "responses": [ { "text": "Got it.  See you.", "topic": "TALK_DONE" } ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_GATHER_TIER_5" ],
    "type": "talk_topic",
    "dynamic_line": "Here's the book.  It contains everything you need to know about the components you need to acquire.  Be sure to read it thoroughly as the rituals have very specific conditions to be accomplished.  Come back here when you'll have them all and you will fully walk the path.",
    "responses": [ { "text": "Thank you.  I'll bring back these components.", "topic": "TALK_DONE" } ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_WHY_BOOK" ],
    "type": "talk_topic",
    "dynamic_line": "This book contains the rituals allowing to obtain the components.  Each of them requires a complicated process to get.  I'm giving you this book so you won't come back asking for more information every two hours.",
    "responses": [
      {
        "text": "I'll begin the search then.",
        "topic": "TALK_VAMPIRE_MENTOR_GATHER_TIER_5",
        "condition": { "not": { "u_has_mission": "GET_COMPONENTS_FOR_TIER_5" } },
        "effect": [
          { "u_spawn_item": "vampire_mentor_book" },
          { "u_add_var": "received_mentor_book", "value": "yes" },
          { "assign_mission": "GET_COMPONENTS_FOR_TIER_5" }
        ]
      }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BOOK_NEED_NEW" ],
    "type": "talk_topic",
    "dynamic_line": "I do have another copy, however you'll have to buy it at a steep price.  Each of these are written by hand these days so we can't let people treat them like disposable things.",
    "responses": [
      {
        "text": "[$100] I'll buy the book.",
        "topic": "TALK_DONE",
        "effect": { "u_buy_item": "vampire_mentor_book", "count": 1, "cost": 10000 }
      },
      { "text": "We?", "topic": "TALK_VAMPIRE_MENTOR_WE" },
      { "text": "I'll come back later for that.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_WE" ],
    "type": "talk_topic",
    "//": "the lore is that a bunch of vampires decided to try and make becoming a true vampire as accessible as possible.  Some of them are doing it out of wanting to help new vampires, most are in to make many powerful vampires to fight the hunters, a few have other motivations.  This lore isn't communicated to the player.",
    "dynamic_line": "I'm not the only vampire looking to assist others on the path.  We wrote this book together and occasionally meet to update and refine it, all in the goal of helping new vampires reach their true potential as easily as possible.",
    "responses": [
      { "text": "Alright.  What were we talking about before?", "topic": "TALK_NONE" },
      { "text": "Where are these other mentors?", "topic": "TALK_VAMPIRE_MENTOR_WE_WHERE" },
      { "text": "See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_WE_WHERE" ],
    "type": "talk_topic",
    "dynamic_line": "I do not know of their whereabouts.  All what matters is that we know where to meet, but with the end of the world all meetings has been postponed indefinitely.",
    "responses": [
      { "text": "Alright.  What were we talking about before?", "topic": "TALK_NONE" },
      { "text": "See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_MAKE_TIER_5" ],
    "type": "talk_topic",
    "dynamic_line": "[Your mentor takes the components and engages in a complex ritual, before passing you a bowl filled with a red liquid].  Drink it, and you'll have completed the process of walking the path.",
    "responses": [
      { "text": "[Drink it]", "topic": "TALK_VAMPIRE_MENTOR_BECAME_TIER_5", "effect": { "run_eocs": [ "EOC_VAMPIRE_5" ] } }
    ]
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_VAMPIRE_5",
    "effect": [
      { "finish_mission": "GET_COMPONENTS_FOR_TIER_5", "success": true },
      { "u_add_trait": "BLOOD_DRINKER" },
      { "run_eocs": [ "EOC_VAMPIRE_ADD_ONE_WEAKNESS" ] },
      { "run_eocs": [ "EOC_VAMPIRE_ADD_ONE_WEAKNESS" ] },
      { "u_add_effect": "vampire_virus_post_mortal", "intensity": 1, "duration": "PERMANENT" },
      {
        "u_message": "Your thirst for blood grows, and so does your power, as you reach the final state of vampirism.",
        "type": "mixed"
      }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_BECAME_TIER_5" ],
    "type": "talk_topic",
    "dynamic_line": "You have now reached the apex of the vampiric condition and do not need further guidance.  Go forth and claim your title and crown of ruler of the night!  Make it clear that you are the one on the throne!",
    "responses": [ { "text": "Got it.  Farewell, my friend.", "topic": "TALK_DONE" } ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_CURE" ],
    "type": "talk_topic",
    "dynamic_line": { "str": "No.  I've long passed the point of no return.  Either your cure won't do anything, or it'll kill me." },
    "responses": [
      {
        "text": "Then you must die.",
        "topic": "TALK_DONE",
        "effect": [
          "hostile",
          { "npc_die": { "remove_corpse": true, "supress_message": true, "remove_from_creature_tracker": true } },
          { "u_message": "The mentor vanishes in a fine mist." }
        ]
      },
      { "text": "I understand.  Can we talk?", "topic": "TALK_VAMPIRE_MENTOR_TALK" },
      { "text": "I just wanted to look around.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_ASSISTANCE" ],
    "type": "talk_topic",
    "dynamic_line": { "str": "No thanks.  I am here to help others, not because I need help." },
    "responses": [
      { "text": "Then I'd like your help as a mentor.", "topic": "TALK_VAMPIRE_MENTOR_MENTORING" },
      { "text": "Then I'd like your help as a vampire slayer.", "topic": "TALK_VAMPIRE_MENTOR_KILLING_HELP" },
      { "text": "Got it.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_VAMPIRE_MENTOR_KILLING_HELP" ],
    "type": "talk_topic",
    "dynamic_line": {
      "str": "No thanks.  I've decided long ago to never gamble my life for someone else's cause.  I prefer waiting on the side, helping those who want my help."
    },
    "responses": [
      { "text": "I want your help, mentor.", "topic": "TALK_VAMPIRE_MENTOR_MENTORING" },
      {
        "text": "Then you must die.",
        "topic": "TALK_DONE",
        "effect": [
          "hostile",
          { "npc_die": { "remove_corpse": true, "supress_message": true, "remove_from_creature_tracker": true } },
          { "u_message": "The mentor vanishes in a fine mist." }
        ]
      },
      { "text": "Got it.  See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": [ "TALK_MENTOR_NO_CHAT" ],
    "type": "talk_topic",
    "dynamic_line": "I do not care for such frivolous things.",
    "responses": [
      { "text": "Alright.  What were we talking about before?", "topic": "TALK_NONE" },
      { "text": "See you.", "topic": "TALK_DONE" }
    ]
  },
  {
    "id": "TALK_MENTOR_CHAT",
    "//": "Mostly the same as TALK_FRIEND_CHAT, but without the things vampires don't care for.",
    "type": "talk_topic",
    "dynamic_line": [
      { "npc_has_intelligence": 8, "yes": "<insightfulchitchat>", "no": "<thoughtfulchitchat>" },
      { "npc_has_perception": 8, "yes": "<insightfulchitchat>", "no": "<thoughtfulchitchat>" }
    ],
    "responses": [
      {
        "text": "<chitchat_player_responses>",
        "topic": "TALK_DONE",
        "switch": true,
        "condition": { "not": { "u_has_trait": "PSYCHOPATH" } },
        "effect": [ "morale_chat_activity", { "npc_add_effect": "asked_to_socialize", "duration": 7000 } ]
      },
      {
        "text": "<chitchat_player_responses>",
        "topic": "TALK_DONE",
        "switch": true,
        "condition": { "u_has_trait": "PSYCHOPATH" },
        "effect": [
          {
            "u_add_morale": "morale_chat_uncaring",
            "bonus": -10,
            "max_bonus": -20,
            "duration": "120 minutes",
            "decay_start": "60 minutes"
          },
          { "npc_add_effect": "asked_to_socialize", "duration": 7000 }
        ]
      }
    ]
  },
  {
    "id": "KILL_YOUR_BEST_FRIEND",
    "type": "mission_definition",
    "name": { "str": "Kill your best friend" },
    "goal": "MGOAL_CONDITION",
    "goal_condition": { "math": [ "0 == 1" ] },
    "difficulty": 2,
    "value": 240,
    "origins": [ "ORIGIN_SECONDARY" ],
    "has_generic_rewards": false,
    "dialogue": {
      "describe": "Kill someone that is very close to you to push your vampirism further.",
      "offer": "If you wish to become a true vampire, you must sacrifice someone that really, really likes you.",
      "accepted": "It brings me joy to see someone willing to fully walk the path.  Remember, pain is always temporary, no matter how it hurts.  By this sacrifice, you won't ever be temporary again.",
      "rejected": "I understand.  Some never wanted to walk the path.  Such wasted potential.",
      "advice": "They need to be completely trusting of you, someone that thinks of themselves as your \"best friend forever\".  In addition, keep in mind that the sacrifice must be killed by none and nothing other than you, or else you'll have to find a new sacrifice.",
      "inquire": "Have you found someone that considers you the best person in the world?",
      "success": "You visibly succeeded.  You should gain more vampiric aptitudes soon.  However, you haven't fully walked the path yet.  Give your powers some time to grow, come here again and I'll explain what to do to completely walk the path!",
      "success_lie": "Either your vampirism isn't advanced enough, or you tried to bypass the sacrifice.  Either way, do that sacrifice.",
      "failure": "Someday you'll find a suitable sacrifice."
    }
  },
  {
    "id": "GET_COMPONENTS_FOR_TIER_5",
    "type": "mission_definition",
    "name": { "str": "Find the components for the vampiric ritual" },
    "goal": "MGOAL_CONDITION",
    "goal_condition": { "math": [ "0 == 1" ] },
    "difficulty": 2,
    "value": 240,
    "origins": [ "ORIGIN_SECONDARY" ],
    "has_generic_rewards": false,
    "dialogue": {
      "describe": "Gather the components your book mention and bring them to your mentor.",
      "offer": "",
      "accepted": "",
      "rejected": "",
      "advice": "",
      "inquire": "",
      "success": "",
      "success_lie": "",
      "failure": ""
    }
  }
]
