9
3

DayliatheVigil.lua 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/DayliatheVigil.lua
  3. Script Author : Rylec
  4. Script Date : 2021.08.10 03:08:53
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local voice = MakeRandomInt(1,3)
  13. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1003.mp3", "", "", 0, 0, Spawn)
  14. conversation = CreateConversation()
  15. AddConversationOption(conversation, "Wait, you knew I was coming here?", "conv_01")
  16. AddConversationOption(conversation, "My apologies, this was my mistake. Farewell.")
  17. StartConversation(conversation, NPC, Spawn, "I was wondering when you might come to speak to me. I welcome you.")
  18. end
  19. function conv_01(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. conversation = CreateConversation()
  22. AddConversationOption(conversation, "But why?", "conv_02")
  23. AddConversationOption(conversation, "Hmm... I think I'll be going now.")
  24. StartConversation(conversation, NPC, Spawn, "I did. Nothing escapes my notice in this city. I have had my eye on you since you got here.")
  25. end
  26. function conv_02(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. AddConversationOption(conversation, "Who are you?", "conv_03")
  30. AddConversationOption(conversation, "Then I best leave you to your duties. Farewell.")
  31. StartConversation(conversation, NPC, Spawn, "It is our duty to watch the shadows, to ensure that Qeynos remains safe even from that which lurks where it can't be seen. When those threats are found, it is our duty to see that it is dealt with.")
  32. end
  33. function conv_03(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. AddConversationOption(conversation, "What do you mean?", "conv_04")
  37. AddConversationOption(conversation, "Sounds like quite the job. I should be going, though.")
  38. StartConversation(conversation, NPC, Spawn, "I am Daylia. I am the Vigil of the Eye of Bayle, and it is I who directs the actions of our guild. We have emerged from the shadows to take a more active role in the defense of Qeynos and of the Bayle bloodline.")
  39. end
  40. function conv_04(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. AddConversationOption(conversation, "So what happened?", "conv_05")
  44. AddConversationOption(conversation, "This sounds like an interesting story, but I must be going. Farewell.")
  45. StartConversation(conversation, NPC, Spawn, "To give that answer is to give you background on the Eye of Bayle themselves. You see, the Eye was formed after the sudden death of Antonius Bayle the first. His passing was unexpected, and there were whispers of an assassination. Although there was no evidence to prove this to be the case, enough of the court believed it, even if in secret.")
  46. end
  47. function conv_05(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. AddConversationOption(conversation, "They formed an assassin guild?", "conv_06")
  51. AddConversationOption(conversation, "Please tell me more about this later. Farewell.")
  52. StartConversation(conversation, NPC, Spawn, "They surmised that if indeed there was an assassination, it was unlikely the assassin would ever be caught, and even if they were, the assassination was already done. They felt that it was best to attempt to head these threats off before they happened. To wage a war with the shadows in the shadows, to fight them on their ground.")
  53. end
  54. function conv_06(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. conversation = CreateConversation()
  57. AddConversationOption(conversation, "So why have you come out now?", "conv_07")
  58. AddConversationOption(conversation, "I can see how some might not care for that. I'll come back another time to discuss this with you.")
  59. StartConversation(conversation, NPC, Spawn, "Correct. We were created to meet these dark threats head on, out of sight from the rest of the world. We conducted our work in secret, keeping all knowledge of our existence only to ourselves and to select members of the Council. It was imperative that the populace at large was unaware of our existence, for many would find our methods less than palatable.")
  60. end
  61. function conv_07(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. AddConversationOption(conversation, "What happened then?", "conv_08")
  65. AddConversationOption(conversation, "Hmm... I'd like to hear more, but I must go. Farewell.")
  66. StartConversation(conversation, NPC, Spawn, "We were caught off guard during the attempted kidnapping of Antonia Bayle. Our order was powerless to stop the attempt, and had it not been for the intervention of others, it's likely that she would have been taken from us. Our contacts in the Council were not pleased, and we wore the blame for the kidnapping attempt for not having stopped it.")
  67. end
  68. function conv_08(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. AddConversationOption(conversation, "I see. What did you do?", "conv_09")
  72. AddConversationOption(conversation, "And sometimes, there's little you can do about it. Farewell.")
  73. StartConversation(conversation, NPC, Spawn, "They threatened to disband us, and have us arrested as assassins. They said that we were no longer a necessary part of the protection of the Bayle line, as others had proven themselves more capable. We argued that there was no way to prevent what happened, given the nature of the attempt, but there was no give. They were going to do what they were going to do.")
  74. end
  75. function conv_09(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. AddConversationOption(conversation, "What did she say?", "conv_10")
  79. AddConversationOption(conversation, "Interesting, you'll have to finish that story for me later.")
  80. StartConversation(conversation, NPC, Spawn, "Little did we know, Antonia herself had overheard part of the conversation, and she entered the room. She demanded an explanation, which we were bound to give. She was shocked to learn of our existence, and asked question after question trying to learn all that she could. When we were finished, she dismissed everyone save me.")
  81. end
  82. function conv_10(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. AddConversationOption(conversation, "To come forth from the shadows?", "conv_11")
  86. AddConversationOption(conversation, "I don't mean to be rude, but I must leave now. Farewell.")
  87. StartConversation(conversation, NPC, Spawn, "She told me that she could not protect the order as things were. As long as we remained hidden, the Councilors could have us dismantled from the inside, and no one would ever miss us ... we never existed. She felt that the Eye of Bayle was a necessary functioning part of Qeynos's security, and did not want to see us disbanded. Thus, she made a bold decision.")
  88. end
  89. function conv_11(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. AddConversationOption(conversation, "So why are you telling everyone your whole story?", "conv_12")
  93. AddConversationOption(conversation, "Quite the ordeal for sure. I'll come back another time.")
  94. StartConversation(conversation, NPC, Spawn, "That is correct. She recognized that there may be some political backlash from the assassins coming forth ... the word \"assassin\" itself conjures up thoughts of villainy and shadowy deeds. However, nothing could be further from the truth. We operate under a strict code of behavior, which all of our number are required to adhere to. We work to protect not only the Queen, but the citizens as well. We are the first and last line of defense against the shadows.")
  95. end
  96. function conv_12(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. conversation = CreateConversation()
  99. AddConversationOption(conversation, "Thank you for your time. I'll leave you to your duties.")
  100. StartConversation(conversation, NPC, Spawn, "So that they might know the truth. We are not hidden any more. Whether we are honored or hated, we now want it to be for honest reasons. We will continue to operate in the shadows, but the citizens will know, for good or ill, that we walk among them, ever vigilant in the unseen war.")
  101. end
  102. function respawn(NPC)
  103. spawn(NPC)
  104. end