RelanaEverglade.lua 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. --[[
  2. Script Name : SpawnScripts/Antonica/RelanaEverglade.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.12 12:07:04
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. Dialog10(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("It pleases me to know that you have more wit about you than I first thought. Do you wish to venture into the gully and defeat Arch Lich Udalan?")
  21. Dialog.AddOption("I will muster a force that will send Udalan back into the void!", "Dialog12")
  22. Dialog.AddOption("On second thought, I've decided to leave Norrath to its fate.")
  23. Dialog.Start()
  24. end
  25. function Dialog2(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("Greetings friend of men and elves. The Tunarian Alliance is in dire need of assistance this day. May you lend me an ear so I can tell you of our plight?")
  29. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", 0, 0)
  30. Dialog.AddOption("Actually yes, I will listen.", "Dialog15")
  31. Dialog.AddOption("I'm sorry, I just don't have time for that sort of thing.")
  32. Dialog.Start()
  33. end
  34. function Dialog3(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. Dialog.New(NPC, Spawn)
  37. Dialog.AddDialog("Greetings friend of men and elves. The Tunarian Alliance is in dire need of assistance this day. May you lend me an ear so I can tell you of our plight?")
  38. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1063.mp3", 0, 0)
  39. Dialog.AddOption("Actually yes, I will listen.", "Dialog15")
  40. Dialog.AddOption("I'm sorry, I just don't have time for that sort of thing.")
  41. Dialog.Start()
  42. end
  43. function Dialog4(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. Dialog.New(NPC, Spawn)
  46. Dialog.AddDialog("Hail and well met. I knew that one of your ilk would eventually find your way here. I know where your allegiances lie, but in this task I require help that the city of Qeynos cannot muster.")
  47. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1063.mp3", 0, 0)
  48. Dialog.AddOption("I'm not a friend of Qeynos, but I'm interested in profit. What do you need?", "Dialog5")
  49. Dialog.AddOption("I care little for your plight, be grateful that I leave you... standing.")
  50. Dialog.Start()
  51. end
  52. function Dialog5(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. Dialog.New(NPC, Spawn)
  55. Dialog.AddDialog("Beyond these doors waits a great and powerful evil, a foe that no longer slumbers. These great doors were made long ago to hold this evil in, but we know that it has been growing in strength and will soon surpass the might of both Qeynos and Freeport combined.")
  56. Dialog.AddOption("Is that so? Please do continue, you amuse me.", "Dialog8")
  57. Dialog.AddOption("I'll let the Overlord deal with diplomacy, I have not the time for this.")
  58. Dialog.Start()
  59. end
  60. function Dialog6(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. Dialog.New(NPC, Spawn)
  63. Dialog.AddDialog("In this gully lies the necromancer, Udalan and the army that he has summoned. We're not sure what has caused him to regain much of his former self or where he is drawing his power from, but we know that if he isn't stopped soon all of Norrath is doomed!")
  64. Dialog.AddOption("If he is truly as powerful as you say, than maybe something should be done.", "Dialog1")
  65. Dialog.AddOption("I'll leave you to this doom, this is not of my concern.")
  66. Dialog.Start()
  67. end
  68. function Dialog7(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. Dialog.New(NPC, Spawn)
  71. Dialog.AddDialog("Greetings friend of men and elves. The Tunarian Alliance is in dire need of assistance this day. May you lend me an ear so I can tell you of our plight?")
  72. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1063.mp3", 0, 0)
  73. Dialog.AddOption("Actually yes, I will listen.", "Dialog15")
  74. Dialog.AddOption("I'm sorry, I just don't have time for that sort of thing.")
  75. Dialog.Start()
  76. end
  77. function Dialog8(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. Dialog.New(NPC, Spawn)
  80. Dialog.AddDialog("I've seen other adventurers like you. I know that you are capable of great feats of power and prowess. I also know that there are others, others that have skill surpassing that of both the Qeynos Guard and the Freeport Militia. Do this for me and I will be forever in your debt.")
  81. Dialog.AddOption("I see. What is it exactly you need?", "Dialog6")
  82. Dialog.AddOption("Adventurers like myself did not become great wasting words on the likes of you.")
  83. Dialog.Start()
  84. end
  85. function Dialog9(NPC, Spawn)
  86. FaceTarget(NPC, Spawn)
  87. Dialog.New(NPC, Spawn)
  88. Dialog.AddDialog("Hail and well met. I knew that one of your ilk would eventually find your way here. I know where your allegiances lie, but in this task I require help that the city of Qeynos cannot muster.")
  89. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1063.mp3", 0, 0)
  90. Dialog.AddOption("I'm not a friend of Qeynos, but I'm interested in profit. What do you need?", "Dialog5")
  91. Dialog.AddOption("I care little for your plight, be grateful that I leave you... standing.")
  92. Dialog.Start()
  93. end
  94. function Dialog10(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. Dialog.New(NPC, Spawn)
  97. Dialog.AddDialog("Greetings friend of men and elves. The Tunarian Alliance is in dire need of assistance this day. May you lend me an ear so I can tell you of our plight?")
  98. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1063.mp3", 0, 0)
  99. Dialog.AddOption("Actually yes, I will listen.", "Dialog15")
  100. Dialog.AddOption("I'm sorry, I just don't have time for that sort of thing.")
  101. Dialog.Start()
  102. end
  103. function Dialog11(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. Dialog.New(NPC, Spawn)
  106. Dialog.AddDialog("Yes! Now is the time to strike, as he has not yet regained full strength. Already he is too strong for the Qeynos Guard and all of the Tunarian Alliance, so it falls to you and your band of powerful adventurers! Gather all that you can, but do not delay! With each passing day his strength grows and will consume all the land with disease and pestilence! ")
  107. Dialog.AddOption("For Qeynos!")
  108. Dialog.Start()
  109. end
  110. function Dialog12(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. Dialog.New(NPC, Spawn)
  113. Dialog.AddDialog("Excellent! There may be hope for all Norrathians after your deeds are complete. Go with speed. Be it for good or for ill, the blessings of the Tunarian Alliance go with you on your quest.")
  114. Dialog.AddOption("Until our paths cross again.")
  115. Dialog.Start()
  116. end
  117. function Dialog13(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. Dialog.New(NPC, Spawn)
  120. Dialog.AddDialog("Hail and well met. I knew that one of your ilk would eventually find your way here. I know where your allegiances lie, but in this task I require help that the city of Qeynos cannot muster.")
  121. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1063.mp3", 0, 0)
  122. Dialog.AddOption("I'm not a friend of Qeynos, but I'm interested in profit. What do you need?", "Dialog5")
  123. Dialog.AddOption("I care little for your plight, be grateful that I leave you... standing.")
  124. Dialog.Start()
  125. end
  126. function Dialog14(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. Dialog.New(NPC, Spawn)
  129. Dialog.AddDialog("Greetings to you, have you managed to defeat the Arch Lich? He must be stopped at all costs!")
  130. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1063.mp3", 0, 0)
  131. Dialog.AddOption("Not yet Relana, I'm still gathering the party.")
  132. Dialog.Start()
  133. end
  134. function Dialog15(NPC, Spawn)
  135. FaceTarget(NPC, Spawn)
  136. Dialog.New(NPC, Spawn)
  137. Dialog.AddDialog("Then please listen well. Beyond these doors lies an ever growing evil, one that threatens us all if left unchecked. An ancient necromancer named Udalan has returned to the gully and regained much of his former strength.")
  138. Dialog.AddOption("I see, do continue.", "Dialog16")
  139. Dialog.AddOption("This sounds to be a problem for the armies of Qeynos, not humble adventurers!")
  140. Dialog.Start()
  141. end
  142. function Dialog16(NPC, Spawn)
  143. FaceTarget(NPC, Spawn)
  144. Dialog.New(NPC, Spawn)
  145. Dialog.AddDialog("The Arch Lich Udalan has already begun summoning another army, one much greater than the last. Once he has amassed a large enough army he will unleash it upon his oldest and closest foe... the city of Qeynos. But the terror and wrath will not stop there, he will raise more dead as he goes, creating an army so vast and powerful that none on Norrath, save the Old Gods, will be able to contend with him. ")
  146. Dialog.AddOption("This is terrible, he must be stopped!", "Dialog11")
  147. Dialog.AddOption("This is not of my doing and as such, I must be off.")
  148. Dialog.Start()
  149. end