9
3

Borthen.lua 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. --[[
  2. Script Name : SpawnScripts/CryptBetrayal/Borthen.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.15 03:10:25
  5. Script Purpose :
  6. :
  7. --]]
  8. local VegalysKeldranesBetrayal = 5371
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if GetQuestStep(Spawn, VegalysKeldranesBetrayal) == 2 then
  14. local conversation = CreateConversation()
  15. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog000.mp3", "", "", 1859725564, 2729819197, Spawn)
  16. AddConversationOption(conversation, "Too late?", "Option1")
  17. AddConversationOption(conversation, "I do not meddle with the dead.")
  18. StartConversation(conversation, NPC, Spawn, "Why do you disturb me, now that it's too late?")
  19. else
  20. PlayFlavor(NPC, "", "", "hail", 0, 0, Spawn)
  21. end
  22. end
  23. function Option1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. local conversation = CreateConversation()
  26. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog001.mp3", "", "", 3582490002, 2484282879, Spawn)
  27. AddConversationOption(conversation, "I do not know what you mean. I come on behalf of Vegalys Keldrane.", "Option2")
  28. AddConversationOption(conversation, "I have no time for this.")
  29. StartConversation(conversation, NPC, Spawn, "I'm haunted by thoughts of my betrothed. Are you bringing me news of her at last? Where has she gone that I cannot follow? Did she find her way safely to another city? Did she perish? All I have left are questions.")
  30. end
  31. function Option2(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. local conversation = CreateConversation()
  34. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog002.mp3", "", "", 3066175271, 1728924342, Spawn)
  35. AddConversationOption(conversation, "You were engaged to Keldrane's daughter?", "Option3")
  36. AddConversationOption(conversation, "I have no time for this.")
  37. StartConversation(conversation, NPC, Spawn, "Yes, her father sent you! I loved Verilys from the moment I saw her. Where has she gone? In this forsaken place, I feel many things, yet never have I felt Verilys - and for that, I am thankful. A woman of her grace does not belong among these horrors.")
  38. end
  39. function Option3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. local conversation = CreateConversation()
  42. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog003.mp3", "", "", 1730300145, 652598453, Spawn)
  43. AddConversationOption(conversation, "How did you feel to see your betrothed leave Qeynos?", "Option4")
  44. AddConversationOption(conversation, "I am not interested in your love story.")
  45. StartConversation(conversation, NPC, Spawn, "Vegalys Keldrane was my commanding officer. He did me a great honor, allowing his daughter to return my affections. We were to be married, but the War intervened. Keldrane ordered the women who did not bear arms away from the city as the plague approached. Verilys went with them.")
  46. end
  47. function Option4(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. local conversation = CreateConversation()
  50. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog004.mp3", "", "", 3922266123, 3054575897, Spawn)
  51. AddConversationOption(conversation, "He asked me to speak to his friends.", "Option5")
  52. AddConversationOption(conversation, "I will leave now.")
  53. StartConversation(conversation, NPC, Spawn, "To see Verilys leave was to see my heart break. Yet, I do not blame Keldrane for this. He did what he felt was best for the city. Always, the city was his first love and he died fighting for it. Tell me, why did he send you to me?")
  54. end
  55. function Option5(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. local conversation = CreateConversation()
  58. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog005.mp3", "", "", 3376778356, 2145563241, Spawn)
  59. AddConversationOption(conversation, "Vargon told you that Keldrane died?", "Option6")
  60. AddConversationOption(conversation, "I've had enough of this for now.")
  61. StartConversation(conversation, NPC, Spawn, "I'm glad that to the end he thought of me as his friend. Keldrane was more my friend, more than my beloved's father. When Vargon told me Keldrane was dead, I could not believe it. Keldrane, the invincible - dead? Yet here I am, too. Dead and unsung.")
  62. end
  63. function Option6(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. local conversation = CreateConversation()
  66. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog006.mp3", "", "", 2741512075, 2105464734, Spawn)
  67. AddConversationOption(conversation, "[continue]", "Option7")
  68. AddConversationOption(conversation, "I will leave now.")
  69. StartConversation(conversation, NPC, Spawn, "Yes, Vargon came to me, pulling our friend Adun behind him, screaming at me to drop my weapons and flee. \"Keldrane is lost!\" he cried, \"And now we will all perish!\" His warning was prophetic, but untimely.")
  70. end
  71. function Option7(NPC, Spawn)
  72. SetStepComplete(Spawn, VegalysKeldranesBetrayal, 2)
  73. FaceTarget(NPC, Spawn)
  74. local conversation = CreateConversation()
  75. PlayFlavor(NPC, "voiceover/english/borthen/qey_catacomb03/borthen_dialog007.mp3", "", "", 3460747949, 501696403, Spawn)
  76. AddConversationOption(conversation, "Thank you, you've been most helpful. I bid you peace.")
  77. StartConversation(conversation, NPC, Spawn, "All time is eternity without Verilys, yet if Keldrane's spirit would be at peace, I know I would rest as well. Fulfill whatever quest Keldrane has set you upon; even in death, I would follow his guidance.")
  78. end
  79. function respawn(NPC)
  80. spawn(NPC)
  81. end