BattlepriestHerga.lua 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/BattlepriestHerga.lua
  3. Script Purpose : Battlepriest Herga
  4. Script Author : theFoof
  5. Script Date : 2013.06.04
  6. Script Notes :
  7. --]]
  8. local LooseningGrip = 51
  9. local TheCharge = 52
  10. local SiegeOver = 53
  11. local ForsakingGrave = 54
  12. local AllRemains = 55
  13. function spawn(NPC)
  14. ProvidesQuest(NPC, LooseningGrip)
  15. ProvidesQuest(NPC, TheCharge)
  16. ProvidesQuest(NPC, SiegeOver)
  17. ProvidesQuest(NPC, ForsakingGrave)
  18. ProvidesQuest(NPC, AllRemains)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. conversation = CreateConversation()
  26. if not HasCompletedQuest(Spawn, LooseningGrip) and not HasQuest(Spawn, LooseningGrip) then
  27. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga001.mp3", "", "", 2876924371, 439822818, Spawn)
  28. AddConversationOption(conversation, "Gadzooks! You're a ghost! And I'm leaving now, goodbye!")
  29. AddConversationOption(conversation, "I am " .. GetName(Spawn) .. ", and I'm looking for work, not a story. Give me a task to do!", "OfferLooseningGrip")
  30. AddConversationOption(conversation, "I am " .. GetName(Spawn) .. ". Who are you, and what is your story?", "Quest1Chat_1")
  31. StartConversation(conversation, NPC, Spawn, "Who approaches? Who dares to disturb the Battlepriest?")
  32. elseif GetQuestStep(Spawn, LooseningGrip) == 1 then
  33. PlayFlavor(NPC, "", "Remove the claws. Loosen their grip upon our land.", "sarcasm", 0, 0, Spawn)
  34. elseif GetQuestStep(Spawn, LooseningGrip) == 2 then
  35. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga011.mp3", "", "", 3711122888, 4098682136, Spawn)
  36. AddConversationOption(conversation, "I cut the lines tethering the spears to Ry'Gorr Isle.", "Quest1Chat_8")
  37. AddConversationOption(conversation, "I have done as you asked.", "Quest1Chat_8")
  38. StartConversation(conversation, NPC, Spawn, "I sense that the Ry'Gorr's grip upon our land has lessened.")
  39. elseif HasCompletedQuest(Spawn, LooseningGrip) and not HasCompletedQuest(Spawn, TheCharge) and not HasQuest(Spawn, TheCharge) then
  40. Quest2Chat_1(NPC, Spawn)
  41. elseif HasQuest(Spawn, TheCharge) and GetQuestStep(Spawn, TheCharge) < 4 then
  42. PlayFlavor(NPC, "", "The orcs cling to their foothold on the floating rock named Ry'Gorr isle, west of Erollis.", "agree", 0, 0, Spawn)
  43. elseif GetQuestStep(Spawn, TheCharge) == 4 then
  44. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga019.mp3", "", "", 3475035366, 1640801191, Spawn)
  45. AddConversationOption(conversation, "I have defeated the orcs, as promised.", "Quest2Chat_6")
  46. AddConversationOption(conversation, "Are you finishing the story you began earlier?", "Quest2Chat_6")
  47. StartConversation(conversation, NPC, Spawn, "The memories of that battle are as clear as if they'd happened yesterday. And echoes of that battle resonate to this day.")
  48. elseif HasCompletedQuest(Spawn, TheCharge) and not HasCompletedQuest(Spawn, SiegeOver) and not HasQuest(Spawn, SiegeOver) then
  49. Quest3Chat_1(NPC, Spawn)
  50. elseif GetQuestStep(Spawn, SiegeOver) == 1 then
  51. PlayFlavor(NPC, "", "The orcs have manufactured crude ballistae, and aimed them at our shores.", "", 0, 0, Spawn)
  52. elseif GetQuestStep(Spawn, SiegeOver) == 2 then
  53. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga030.mp3", "", "", 1190652772, 2390505398, Spawn)
  54. AddConversationOption(conversation, "I destroyed the ballistae, as promised.", "Quest3Chat_4")
  55. AddConversationOption(conversation, "It sounds like you're continuing your story. What happened next?", "Quest3Chat_4")
  56. AddConversationOption(conversation, "The siege weapons have been eliminated.", "Quest3Chat_4")
  57. StartConversation(conversation, NPC, Spawn, "To my surprise, I was still breathing. I crouched, unseen, behind their lines. The opportunity to scatter the orcs' formation was within my grasp.")
  58. elseif HasCompletedQuest(Spawn, SiegeOver) and not HasCompletedQuest(Spawn, ForsakingGrave) and not HasQuest(Spawn, ForsakingGrave) then
  59. Quest4Chat_1(NPC, Spawn)
  60. elseif GetQuestStep(Spawn, ForsakingGrave) == 1 then
  61. PlayFlavor(NPC, "", "The Ry'Gorr skeletons long for no repose or reward. They simply exist to serve.", "agree", 0, 0, Spawn)
  62. elseif GetQuestStep(Spawn, ForsakingGrave) == 2 then
  63. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga045.mp3", "", "", 776768426, 2553961972, Spawn)
  64. AddConversationOption(conversation, "I have eliminated several skeletons on the Forbidden Ossuary of Ice.", "Quest4Chat_5")
  65. AddConversationOption(conversation, "I'd like to hear the rest of your story. What happened next?", "Quest4Chat_5")
  66. StartConversation(conversation, NPC, Spawn, "I sense that the skeletal abominations have been destroyed.")
  67. elseif HasCompletedQuest(Spawn, ForsakingGraves) and not HasCompletedQuest(Spawn, AllRemains) and not HasQuest(Spawn, AllRemains) then
  68. Quest5Chat_1(NPC, Spawn)
  69. elseif GetQuestStep(Spawn, AllRemains) == 1 then
  70. PlayFlavor(NPC, "", "Ye would honor this Battlepriest if ye could recover her helm.", "agree", 0, 0, Spawn)
  71. elseif GetQuestStep(Spawn, AllRemains) == 4 then
  72. AddConversationOption(conversation, "What name would that be?", "Quest5Chat_4")
  73. AddConversationOption(conversation, "Go on, Herga.", "Quest5Chat_4")
  74. AddConversationOption(conversation, 'Is that name, by any chance, "lackey"?', "Quest5Chat_4")
  75. StartConversation(conversation, NPC, Spawn, "Ye've returned with the helmet, a relic passed down by my ancestors from the days when we fought with giants. And for yer efforts, I have one final name for ye.")
  76. elseif HasCompletedQuest(Spawn, AllRemains) then
  77. PlayFlavor(NPC, "", "Hello again, Friend of Thurga.", "", 0, 0, Spawn)
  78. end
  79. end
  80. function Quest1Chat_1(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga002.mp3", "", "", 3498579726, 1445907675, Spawn)
  84. AddConversationOption(conversation, "Ah, the choke is named after you.", "Quest1Chat_2")
  85. AddConversationOption(conversation, "That's a mouthful.", "Quest1Chat_5")
  86. AddConversationOption(conversation, "What do you mean by 'Thrice Slain'?", "Quest1Chat_3")
  87. AddConversationOption(conversation, "You lost me at 'Greetings.' Goodbye.")
  88. StartConversation(conversation, NPC, Spawn, "Greetings, " .. GetName(Spawn) .. ". I am Herga: Battlepriest of the Coldain, Master Tactician, Ouster of the Orcs, Leader of the Siege Upon the Choke, and She Who Was Thrice Slain.")
  89. end
  90. function Quest1Chat_2(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga004.mp3", "", "", 446943, 1149478700, Spawn)
  94. AddConversationOption(conversation, "What do you mean?", "Quest1Chat_3")
  95. AddConversationOption(conversation, "I see. Words are merely symbols.", "Quest1Chat_7")
  96. AddConversationOption(conversation, "I don't understand you. Goodbye.")
  97. StartConversation(conversation, NPC, Spawn, "The name is unimportant. It is the deed that matters.")
  98. end
  99. function Quest1Chat_3(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga006.mp3", "", "", 2461956836, 4011637342, Spawn)
  103. AddConversationOption(conversation, "I see...", "Quest1Chat_4")
  104. AddConversationOption(conversation, "Ah, you're not going to tell me.", "Quest1Chat_4")
  105. AddConversationOption(conversation, "I don't understand you. Goodbye.")
  106. StartConversation(conversation, NPC, Spawn, "All in due time.")
  107. end
  108. function Quest1Chat_4(NPC, Spawn)
  109. FaceTarget(NPC, Spawn)
  110. conversation = CreateConversation()
  111. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga008.mp3", "", "", 3901524477, 2476733850, Spawn)
  112. AddConversationOption(conversation, "I could deal with the Ry'Gorr for you.", "OfferLooseningGrip")
  113. AddConversationOption(conversation, "Why don't you deal with the Ry'Gorr yourself?", "Quest1Chat_6")
  114. AddConversationOption(conversation, "The troubles of your people are no problem of mine. Goodbye.")
  115. StartConversation(conversation, NPC, Spawn, "The battle for the choke rages on. The Ry'Gorr still cling to hope and they still yearn for revenge. They cast their claws upon the mainland of Erollis. They prowl the icy plains. They trouble my people.")
  116. end
  117. function Quest1Chat_5(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. conversation = CreateConversation()
  120. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga005.mp3", "", "", 3500318705, 1278765426, Spawn)
  121. AddConversationOption(conversation, "Where did you get all of these names?", "Quest1Chat_3")
  122. AddConversationOption(conversation, "Okay, okay, okay...")
  123. StartConversation(conversation, NPC, Spawn, "Also: Champion of the Iceclad Offensive, Unwitting Pilgrim of the Lost Dwarves, She Who Shall Never Find Repose, Bear-Wrestler, Giant-Slayer, Wurm-Slayer, Bane of the Unliving, Explorer of the .. GetName(Spawn) .. of Veeshan...")
  124. end
  125. function Quest1Chat_6(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. conversation = CreateConversation()
  128. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga009.mp3", "", "", 806621839, 625277708, Spawn)
  129. AddConversationOption(conversation, "Ah, you're barely here. Well, I could deal with the Ry'Gorr.", "OfferLooseningGrip")
  130. AddConversationOption(conversation, "I refuse to do your bidding. Goodbye.")
  131. AddConversationOption(conversation, "I'm not interested in helping a ghost.")
  132. StartConversation(conversation, NPC, Spawn, "My grasp upon this world is tenuous. I can no longer interfere personally.")
  133. end
  134. function Quest1Chat_7(NPC, Spawn)
  135. FaceTarget(NPC, Spawn)
  136. conversation = CreateConversation()
  137. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga007.mp3", "", "", 563806533, 3464673073, Spawn)
  138. AddConversationOption(conversation, "And what consideration would that be?", "Quest1Chat_3")
  139. AddConversationOption(conversation, "I must be going.")
  140. StartConversation(conversation, NPC, Spawn, "Aye. It's what the symbol represents that deserves consideration.")
  141. end
  142. function Quest1Chat_8(NPC, Spawn)
  143. SetStepComplete(Spawn, LooseningGrip, 2)
  144. FaceTarget(NPC, Spawn)
  145. conversation = CreateConversation()
  146. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga012.mp3", "", "", 2283183763, 3194399424, Spawn)
  147. AddConversationOption(conversation, "What else must be done? ", "Quest2Chat_1")
  148. AddConversationOption(conversation, "Even a declawed snow leopard has fangs.", "Quest2Chat_1")
  149. StartConversation(conversation, NPC, Spawn, "Ye've done well, " .. GetName(Spawn) .. ", but the orcs are nothing if not tenacious.")
  150. end
  151. function Quest2Chat_1(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga013.mp3", "", "", 2592535922, 910199991, Spawn)
  155. AddConversationOption(conversation, "Oh, I'm a Clawrender now?", "Quest2Chat_2")
  156. AddConversationOption(conversation, "I would be happy to be your champion, Herga.", "Quest2Chat_4")
  157. AddConversationOption(conversation, "Don't presume to name me.")
  158. StartConversation(conversation, NPC, Spawn, GetName(Spawn) .. ", Clawrender, will ye be my champion again?")
  159. end
  160. function Quest2Chat_2(NPC, Spawn)
  161. FaceTarget(NPC, Spawn)
  162. conversation = CreateConversation()
  163. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga014.mp3", "", "", 1089936534, 3828755008, Spawn)
  164. AddConversationOption(conversation, "What's the difference?", "Quest2Chat_3")
  165. AddConversationOption(conversation, "Was there something you wanted me to do? ", "Quest2Chat_4")
  166. AddConversationOption(conversation, "I must be going.")
  167. StartConversation(conversation, NPC, Spawn, "Yes. Ye carry this name with you even if others cannot see it, and even if ye yerself do not know it.")
  168. end
  169. function Quest2Chat_3(NPC, Spawn)
  170. FaceTarget(NPC, Spawn)
  171. conversation = CreateConversation()
  172. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga016.mp3", "", "", 364121145, 3220691624, Spawn)
  173. AddConversationOption(conversation, "I look forward to it.", "Quest2Chat_4")
  174. AddConversationOption(conversation, "Must you always speak in riddles? ", "Quest2Chat_4")
  175. AddConversationOption(conversation, "I don't feel like being lectured right now.")
  176. StartConversation(conversation, NPC, Spawn, "Ye'll learn the difference. All in due time.")
  177. end
  178. function Quest2Chat_4(NPC, Spawn)
  179. FaceTarget(NPC, Spawn)
  180. conversation = CreateConversation()
  181. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga015.mp3", "", "", 706935519, 853655924, Spawn)
  182. AddConversationOption(conversation, "What happened next?", "Quest2Chat_5")
  183. AddConversationOption(conversation, "Tell me more.", "Quest2Chat_5")
  184. AddConversationOption(conversation, "War stories bore me. Goodbye.")
  185. StartConversation(conversation, NPC, Spawn, "There was a great battle here. 'Twas a clash of epic proportions. We surrounded the orcish horde. We herded them onto the narrow precipice of the choke, overlooking the ocean. ")
  186. end
  187. function Quest2Chat_5(NPC, Spawn)
  188. FaceTarget(NPC, Spawn)
  189. conversation = CreateConversation()
  190. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga017.mp3", "", "", 4269378925, 1349634261, Spawn)
  191. AddConversationOption(conversation, "What do you mean?", "OfferTheCharge")
  192. AddConversationOption(conversation, "Was this the first time you were killed?", "OfferTheCharge")
  193. AddConversationOption(conversation, "Do you mean that you were the first to die?", "OfferTheCharge")
  194. AddConversationOption(conversation, "This history lesson is over. I'm out of here.")
  195. StartConversation(conversation, NPC, Spawn, "One final charge was all that was necessary to drive them off the edge. I led that charge, and for my valor I was first-slain.")
  196. end
  197. function Quest2Chat_6(NPC, Spawn)
  198. FaceTarget(NPC, Spawn)
  199. conversation = CreateConversation()
  200. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga020.mp3", "", "", 2112568660, 3269874473, Spawn)
  201. AddConversationOption(conversation, "Hardly a fair fight.", "Quest2Chat_7")
  202. AddConversationOption(conversation, "What do you mean by 'clinging to life'?", "Quest2Chat_7")
  203. AddConversationOption(conversation, "I must be going. Goodbye.")
  204. StartConversation(conversation, NPC, Spawn, "Clinging. Clinging to life. I led the final charge against the orcs, and for my valor I was the first to die. I was cut down, slaughtered, by the blades of a dozen grinning blue monsters. ")
  205. end
  206. function Quest2Chat_7(NPC, Spawn)
  207. FaceTarget(NPC, Spawn)
  208. conversation = CreateConversation()
  209. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga021.mp3", "", "", 1415485990, 2536139437, Spawn)
  210. AddConversationOption(conversation, "Ah, that's when you were killed in the battle of the choke.", "Quest2Chat_8")
  211. AddConversationOption(conversation, "Is this where the story ends?", "Quest2Chat_8")
  212. AddConversationOption(conversation, "I must be going. Goodbye.")
  213. StartConversation(conversation, NPC, Spawn, "As I fell, the Ry'Gorr forces roared in unison: a triumphant guttural shriek. Impassioned by the sight of my death, they met our charge head on, and the last thing I saw as my vision faded was the orcs rushing forth.")
  214. end
  215. function Quest2Chat_8(NPC, Spawn)
  216. FaceTarget(NPC, Spawn)
  217. conversation = CreateConversation()
  218. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga022.mp3", "", "", 3973009160, 332773140, Spawn)
  219. AddConversationOption(conversation, "Is this a description of the afterlife?", "Quest2Chat_9")
  220. AddConversationOption(conversation, "Did you succeed in regaining your consciousness?", "Quest2Chat_9")
  221. AddConversationOption(conversation, "I must be going. Goodbye.")
  222. StartConversation(conversation, NPC, Spawn, "The din of battle faded, and my world went black. Yet, I was not done yet. I fought to return to consciousness. I swam through a murky void... kicking, thrashing, and struggling to find the surface of a blind bubbling sea. It felt like an age passed.")
  223. end
  224. function Quest2Chat_9(NPC, Spawn)
  225. FaceTarget(NPC, Spawn)
  226. conversation = CreateConversation()
  227. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga023.mp3", "", "", 478728406, 1497661248, Spawn)
  228. AddConversationOption(conversation, "The orcs had forgotten about you?", "Quest2Chat_10")
  229. AddConversationOption(conversation, "I must be going. Goodbye.")
  230. StartConversation(conversation, NPC, Spawn, "And suddenly, the world snapped back into focus. I found myself back on the field of battle, covered in snow and blood. ")
  231. end
  232. function Quest2Chat_10(NPC, Spawn)
  233. FaceTarget(NPC, Spawn)
  234. conversation = CreateConversation()
  235. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga024.mp3", "", "", 2297746531, 802741759, Spawn)
  236. AddConversationOption(conversation, "You were not yet slain?", "Quest2Chat_11")
  237. AddConversationOption(conversation, "You were clinging to life.", "Quest2Chat_11")
  238. AddConversationOption(conversation, "I must be going. Goodbye.")
  239. StartConversation(conversation, NPC, Spawn, "The orcs had trampled over my broken body and were locked in battle with my coldain. I pulled myself to my feet. I drew breath again. The fight raged on, and I was alive.")
  240. end
  241. function Quest2Chat_11(NPC, Spawn)
  242. SetStepComplete(Spawn, TheCharge, 4)
  243. FaceTarget(NPC, Spawn)
  244. conversation = CreateConversation()
  245. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga025.mp3", "", "", 509339797, 2341366756, Spawn)
  246. AddConversationOption(conversation, "I hope you healed yourself before heading back into battle.", "Quest3Chat_1")
  247. AddConversationOption(conversation, "You must be hard to kill.", "Quest3Chat_1")
  248. AddConversationOption(conversation, "Sounds like the orcs were in for a surprise.", "Quest3Chat_1")
  249. StartConversation(conversation, NPC, Spawn, "I was slain. Yet somehow I returned, clinging to life. And though my wounds were terrible, I felt nothing but fury.")
  250. end
  251. function Quest3Chat_1(NPC, Spawn)
  252. FaceTarget(NPC, Spawn)
  253. conversation = CreateConversation()
  254. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga026.mp3", "", "", 3996082713, 3335501764, Spawn)
  255. AddConversationOption(conversation, "What do you mean?", "Quest3Chat_2")
  256. AddConversationOption(conversation, "Make up your mind.", "Quest3Chat_2")
  257. AddConversationOption(conversation, "This is all too confusing to follow.")
  258. StartConversation(conversation, NPC, Spawn, "The Siege was not over... is not over.")
  259. end
  260. function Quest3Chat_2(NPC, Spawn)
  261. FaceTarget(NPC, Spawn)
  262. conversation = CreateConversation()
  263. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga027.mp3", "", "", 1946406976, 651799863, Spawn)
  264. AddConversationOption(conversation, "What happened next?", "Quest3Chat_3")
  265. AddConversationOption(conversation, "Did you strike at the Ry'Gorr from behind?", "Quest3Chat_3")
  266. AddConversationOption(conversation, "I'm not even sure what you're talking about.")
  267. StartConversation(conversation, NPC, Spawn, "I crouched, unseen, behind their lines. Their backs were to me, and they were preoccupied with the dwarves before them. The opportunity to shatter the orcs' formation was within my grasp.")
  268. end
  269. function Quest3Chat_3(NPC, Spawn)
  270. FaceTarget(NPC, Spawn)
  271. conversation = CreateConversation()
  272. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga028.mp3", "", "", 1067012984, 342549842, Spawn)
  273. AddConversationOption(conversation, "I will take care of their siege weaponry.", "OfferSiegeOver")
  274. AddConversationOption(conversation, "It sounds like you want me to destroy their siege weapons.", "OfferSiegeOver")
  275. AddConversationOption(conversation, "Are you referring to the past or the present? This is too confusing.")
  276. StartConversation(conversation, NPC, Spawn, "The bloody Siege is not over. The Ry'Gorr still lurk on the floating islets below. They have manufactured crude ballistae, and aimed them at our shores.")
  277. end
  278. function Quest3Chat_4(NPC, Spawn)
  279. FaceTarget(NPC, Spawn)
  280. conversation = CreateConversation()
  281. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga031.mp3", "", "", 154139562, 114017871, Spawn)
  282. AddConversationOption(conversation, "Is this when you intervened?", "Quest3Chat_5")
  283. AddConversationOption(conversation, "Did the coldain realize you were still alive?", "Quest3Chat_5")
  284. AddConversationOption(conversation, "I must be going.")
  285. StartConversation(conversation, NPC, Spawn, "My coldain were givin' it their all, but they were losing ground. We stood to lose everything we'd fought and bled for that day. ")
  286. end
  287. function Quest3Chat_5(NPC, Spawn)
  288. FaceTarget(NPC, Spawn)
  289. conversation = CreateConversation()
  290. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga032.mp3", "", "", 2869284176, 4042655876, Spawn)
  291. AddConversationOption(conversation, "Please continue.", "Quest3Chat_6")
  292. AddConversationOption(conversation, "But you were half-dead!", "Quest3Chat_6")
  293. AddConversationOption(conversation, "I must be going.")
  294. StartConversation(conversation, NPC, Spawn, "I hefted my trusty shield and hammer. Screamin' a battle cry to Brell, I set upon the orcs with a vengeance. I was bristlin' with a quick that I'd never experienced before.")
  295. end
  296. function Quest3Chat_6(NPC, Spawn)
  297. FaceTarget(NPC, Spawn)
  298. conversation = CreateConversation()
  299. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga033.mp3", "", "", 4141123345, 649777350, Spawn)
  300. AddConversationOption(conversation, "I bet they were surprised.", "Quest3Chat_7")
  301. AddConversationOption(conversation, "I must be going.")
  302. StartConversation(conversation, NPC, Spawn, "They were caught completely unawares. The orcs within reach of my hammer fell before my onslaught like so many snowflakes. When they turned to see who had flanked them, their faces were aghast with horror.")
  303. end
  304. function Quest3Chat_7(NPC, Spawn)
  305. FaceTarget(NPC, Spawn)
  306. conversation = CreateConversation()
  307. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga034.mp3", "", "", 1128320376, 3066771275, Spawn)
  308. AddConversationOption(conversation, "What happened next?", "Quest3Chat_8")
  309. AddConversationOption(conversation, "The orcs must never have expected your return.", "Quest3Chat_8")
  310. AddConversationOption(conversation, "I must be going.")
  311. StartConversation(conversation, NPC, Spawn, "They cringed at the sight of me, certain that they'd already seen to my demise. Shrieks of fear rang out among the Ry'Gorr, and then...")
  312. end
  313. function Quest3Chat_8(NPC, Spawn)
  314. FaceTarget(NPC, Spawn)
  315. conversation = CreateConversation()
  316. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga035.mp3", "", "", 679495906, 2871959311, Spawn)
  317. AddConversationOption(conversation, "Go on.", "Quest3Chat_9")
  318. AddConversationOption(conversation, "Fortune, or the gods, smiled upon you.", "Quest3Chat_9")
  319. AddConversationOption(conversation, "I must be going.")
  320. StartConversation(conversation, NPC, Spawn, "And then, their lines broke. Orcs fled to either side to avoid my wrath. Fear spread through their ranks like wildfire. They scattered, and we pressed the advantage.")
  321. end
  322. function Quest3Chat_9(NPC, Spawn)
  323. FaceTarget(NPC, Spawn)
  324. conversation = CreateConversation()
  325. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga036.mp3", "", "", 1193017737, 3953773315, Spawn)
  326. AddConversationOption(conversation, "You drove them off the choke?", "Quest3Chat_10")
  327. AddConversationOption(conversation, "Ha! That'll teach the orcs!", "Quest3Chat_10")
  328. AddConversationOption(conversation, "I must be going.")
  329. StartConversation(conversation, NPC, Spawn, "They sought quarter from our attacks, but none was given. Our foes retreated up against the ledge of the choke, and then they spilled over it. ")
  330. end
  331. function Quest3Chat_10(NPC, Spawn)
  332. FaceTarget(NPC, Spawn)
  333. conversation = CreateConversation()
  334. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga037.mp3", "", "", 2443596305, 594093488, Spawn)
  335. AddConversationOption(conversation, "So you were victorious?", "Quest3Chat_11")
  336. AddConversationOption(conversation, "You didn't survive that battle, did you?", "Quest3Chat_11")
  337. AddConversationOption(conversation, "I must be going.")
  338. StartConversation(conversation, NPC, Spawn, "Scores of orcs toppled from the cliffs into the icy waters below. Our forces drove them into the ocean. In the chaos, I went over the edge with them, still swinging my hammer mid-descent.")
  339. end
  340. function Quest3Chat_11(NPC, Spawn)
  341. SetStepComplete(Spawn, SiegeOver, 2)
  342. FaceTarget(NPC, Spawn)
  343. conversation = CreateConversation()
  344. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga038.mp3", "", "", 873707687, 1731330082, Spawn)
  345. AddConversationOption(conversation, "How were you thrice-slain?", "Quest3Chat_12")
  346. AddConversationOption(conversation, "When did you return as a spirit?", "Quest3Chat_12")
  347. AddConversationOption(conversation, "I must be going.")
  348. StartConversation(conversation, NPC, Spawn, "I plunged into the frigid sea water, still grappling with an orc. My body was wracked with wounds and weariness. It was that moment that I breathed my last. I died again, and became she who was twice-slain.")
  349. end
  350. function Quest3Chat_12(NPC, Spawn)
  351. FaceTarget(NPC, Spawn)
  352. conversation = CreateConversation()
  353. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga039.mp3", "", "", 1915210781, 188105745, Spawn)
  354. AddConversationOption(conversation, "I hope that time comes soon.", "Quest4Chat_1")
  355. AddConversationOption(conversation, "I suppose you'll explain it to me, eventually.", "Quest4Chat_1")
  356. StartConversation(conversation, NPC, Spawn, "All in due time.")
  357. end
  358. function Quest4Chat_1(NPC, Spawn)
  359. FaceTarget(NPC, Spawn)
  360. conversation = CreateConversation()
  361. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga040.mp3", "", "", 3946585485, 2195203670, Spawn)
  362. AddConversationOption(conversation, "Is this when you came back as a ghost?", "Quest4Chat_2")
  363. AddConversationOption(conversation, "Are you speaking of the reanimated Ry'Gorr skeletons?", "Quest4Chat_2")
  364. AddConversationOption(conversation, "Who or what are you referring to?", "Quest4Chat_2")
  365. AddConversationOption(conversation, "I can never understand you. Goodbye.")
  366. StartConversation(conversation, NPC, Spawn, "It is not an arbitrary whim that leads the dead to forsake their graves and mingle again with their earthly associates.")
  367. end
  368. function Quest4Chat_2(NPC, Spawn)
  369. FaceTarget(NPC, Spawn)
  370. conversation = CreateConversation()
  371. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga041.mp3", "", "", 1296890403, 1990586167, Spawn)
  372. AddConversationOption(conversation, "You have continued to help them, as demonstrated by our arrangement.", "Quest4Chat_3")
  373. AddConversationOption(conversation, "Did you need assistance with something else?", "Quest4Chat_3")
  374. AddConversationOption(conversation, "Speaking of repose, I need a rest. Goodbye.")
  375. StartConversation(conversation, NPC, Spawn, "I long for no repose or reward. I simply wish to assist my brethren.")
  376. end
  377. function Quest4Chat_3(NPC, Spawn)
  378. FaceTarget(NPC, Spawn)
  379. conversation = CreateConversation()
  380. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga042.mp3", "", "", 3151113147, 3002768829, Spawn)
  381. AddConversationOption(conversation, "What do you mean?", "Quest4Chat_4")
  382. AddConversationOption(conversation, "You must be referring to the Ry'Gorr skeletons.", "Quest4Chat_4")
  383. AddConversationOption(conversation, "I'm not even sure what you're talking about.")
  384. StartConversation(conversation, NPC, Spawn, "They long for no repose or reward. They simply exist to serve, as tools of their masters.")
  385. end
  386. function Quest4Chat_4(NPC, Spawn)
  387. FaceTarget(NPC, Spawn)
  388. conversation = CreateConversation()
  389. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga043.mp3", "", "", 268915202, 3145348272, Spawn)
  390. AddConversationOption(conversation, "I will destroy the Ry'Gorr skeletons for you.", "OfferForsakingGrave")
  391. AddConversationOption(conversation, "Just tell me where to find them.", "OfferForsakingGrave")
  392. AddConversationOption(conversation, "I'm not even sure what you're talking about.")
  393. StartConversation(conversation, NPC, Spawn, "They are tools of destruction. They are marionettes dancing on invisible strings, controlled by the necromancers that created them. The Ry'Gorr skeletons are unholy abominations with no mind, no will, and a nefarious purpose.")
  394. end
  395. function Quest4Chat_5(NPC, Spawn)
  396. FaceTarget(NPC, Spawn)
  397. conversation = CreateConversation()
  398. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga046.mp3", "", "", 607398885, 1472725438, Spawn)
  399. AddConversationOption(conversation, "What was it?", "Quest4Chat_6")
  400. AddConversationOption(conversation, "It was a spirit ward, placed by a coldain shaman, wasn't it?", "Quest4Chat_6")
  401. AddConversationOption(conversation, "I don't have time for this. Goodbye.")
  402. StartConversation(conversation, NPC, Spawn, "I had returned from the grave to haunt my foes once again. Upon my second death, I was once again plunged into the inky darkness of the afterlife. And after what felt like another eternity of thrashing and struggling, I glimpsed a speck of luminance.")
  403. end
  404. function Quest4Chat_6(NPC, Spawn)
  405. FaceTarget(NPC, Spawn)
  406. conversation = CreateConversation()
  407. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga047.mp3", "", "", 3570519032, 1449010576, Spawn)
  408. AddConversationOption(conversation, "So you were able to lead them into battle once again?", "Quest4Chat_7")
  409. AddConversationOption(conversation, "Tell me more.", "Quest4Chat_7")
  410. AddConversationOption(conversation, "I don't have time for this. Goodbye.")
  411. StartConversation(conversation, NPC, Spawn, "It was the beacon, a spirit ward placed by one of our coldain shaman, and it was calling me home. I followed the light, and rejoined my brethren as a spirit.")
  412. end
  413. function Quest4Chat_7(NPC, Spawn)
  414. FaceTarget(NPC, Spawn)
  415. conversation = CreateConversation()
  416. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga048.mp3", "", "", 1091068909, 2556774809, Spawn)
  417. AddConversationOption(conversation, "The orcs must never have expected your return.", "Quest4Chat_8")
  418. AddConversationOption(conversation, "This story doesn't have a happy ending, does it?", "Quest4Chat_8")
  419. AddConversationOption(conversation, "I don't have time for this. Goodbye.")
  420. StartConversation(conversation, NPC, Spawn, "For awhile, I led the coldain that fought with me on the choke. The spirits of those that did not survive the battle followed me tirelessly. Our ranks swelled as more fallen coldain found their way back.")
  421. end
  422. function Quest4Chat_8(NPC, Spawn)
  423. FaceTarget(NPC, Spawn)
  424. conversation = CreateConversation()
  425. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga049.mp3", "", "", 2856349899, 3435957027, Spawn)
  426. AddConversationOption(conversation, "How was he able to stop you?", "Quest4Chat_9")
  427. AddConversationOption(conversation, "I don't like the sound of this Ry'Gorr necromancer.", "Quest4Chat_9")
  428. AddConversationOption(conversation, "I don't have time for this. Goodbye.")
  429. StartConversation(conversation, NPC, Spawn, "As a group, we were unstoppable. No one, man or beast, dead or breathing, could withstand our combined might. We continued to harass the orcs for months, until their necromancer, Orug Deathmaker, uncovered a method to stop me. ")
  430. end
  431. function Quest4Chat_9(NPC, Spawn)
  432. FaceTarget(NPC, Spawn)
  433. conversation = CreateConversation()
  434. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga050.mp3", "", "", 863524022, 660387417, Spawn)
  435. AddConversationOption(conversation, "I can understand why that would concern them.", "Quest4Chat_10")
  436. AddConversationOption(conversation, "The edges of Norrath aren't that far, here on Erollis.", "Quest4Chat_10")
  437. AddConversationOption(conversation, "I don't have time for this. Goodbye.")
  438. StartConversation(conversation, NPC, Spawn, "Orug Deathmaker recognized how much of a danger my existence represented. His orcs fear me, and for good reason. My spectral soldiers would follow me to the edges of Norrath, and beyond.")
  439. end
  440. function Quest4Chat_10(NPC, Spawn)
  441. FaceTarget(NPC, Spawn)
  442. conversation = CreateConversation()
  443. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga051.mp3", "", "", 3393923414, 4073776454, Spawn)
  444. AddConversationOption(conversation, "I see. And thus you were thrice slain.", "Quest4Chat_11")
  445. AddConversationOption(conversation, "I see. Your grasp is now tenuous.", "Quest4Chat_11")
  446. AddConversationOption(conversation, "I don't have time for this. Goodbye.")
  447. StartConversation(conversation, NPC, Spawn, "And so, the orcs recovered my body from the icy deep, and Orug destroyed it in a ritual meant to exorcise my spirit. His ritual was successful, as it eliminated my ability to directly affect this world. And thus...")
  448. end
  449. function Quest4Chat_11(NPC, Spawn)
  450. SetStepComplete(Spawn, ForsakingGrave, 2)
  451. FaceTarget(NPC, Spawn)
  452. conversation = CreateConversation()
  453. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga052.mp3", "", "", 1152246518, 887448784, Spawn)
  454. AddConversationOption(conversation, "I will happily help you in your endeavors.", "Quest5Chat_1")
  455. AddConversationOption(conversation, "Was there anything else you needed?", "Quest5Chat_1")
  456. StartConversation(conversation, NPC, Spawn, "Aye, and thus I was thrice slain. It is only through your deeds that I am able to continue my work here. I long for no repose or reward. I simply wish to assist my brethren.")
  457. end
  458. function Quest5Chat_1(NPC, Spawn)
  459. FaceTarget(NPC, Spawn)
  460. conversation = CreateConversation()
  461. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga053.mp3", "", "", 3620088043, 2212562054, Spawn)
  462. AddConversationOption(conversation, "Of course, Herga.", "Quest5Chat_2")
  463. AddConversationOption(conversation, "You addressed me with a title again.", "Quest5Chat_2")
  464. AddConversationOption(conversation, "I'm afraid I must be going.")
  465. StartConversation(conversation, NPC, Spawn, GetName(Spawn) .. ", Clawrender, Orcslayer, Siege Stopper, Bane of the Unliving, Friend to the coldain. Will ye be my champion again?")
  466. end
  467. function Quest5Chat_2(NPC, Spawn)
  468. FaceTarget(NPC, Spawn)
  469. conversation = CreateConversation()
  470. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga054.mp3", "", "", 817762038, 3762145835, Spawn)
  471. AddConversationOption(conversation, "It would be my honor.", "Quest5Chat_3")
  472. AddConversationOption(conversation, "I see what you mean.", "Quest5Chat_3")
  473. AddConversationOption(conversation, "This is an awful lot of work for a rusty old relic.")
  474. StartConversation(conversation, NPC, Spawn, "Though the orcs have destroyed my body, my battle helm still remains intact. It means much to me, as ye'll discover. Ye would honor this Battlepriest if ye could recover it from the ice jetty below the cliff named after me.")
  475. end
  476. function Quest5Chat_3(NPC, Spawn)
  477. FaceTarget(NPC, Spawn)
  478. conversation = CreateConversation()
  479. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga055.mp3", "", "", 2651064333, 3864508293, Spawn)
  480. AddConversationOption(conversation, "Should I give this helm to your family?", "OfferAllRemains")
  481. AddConversationOption(conversation, "I'm sure your people will want to have the helm back.", "OfferAllRemains")
  482. AddConversationOption(conversation, "It's not like you can wear it again. This is a waste of time.")
  483. StartConversation(conversation, NPC, Spawn, "There is not much left of me now. My corporeal form has been defiled and destroyed by the Ry'Gorr. My spirit is weak.")
  484. end
  485. function Quest5Chat_4(NPC, Spawn)
  486. FaceTarget(NPC, Spawn)
  487. conversation = CreateConversation()
  488. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga058.mp3", "", "", 2433653764, 1582075535, Spawn)
  489. AddConversationOption(conversation, "It's been a pleasure. ", "Quest5Chat_5")
  490. AddConversationOption(conversation, "Your valor is legendary.", "Quest5Chat_5")
  491. AddConversationOption(conversation, "If only friends were currency, that would mean something.", "Quest5Chat_5")
  492. StartConversation(conversation, NPC, Spawn, "Ye have many names, " .. GetName(Spawn) .. ", but today ye've earned the name 'Friend of Herga.'")
  493. end
  494. function Quest5Chat_5(NPC, Spawn)
  495. SetStepComplete(Spawn, AllRemains, 4)
  496. FaceTarget(NPC, Spawn)
  497. conversation = CreateConversation()
  498. PlayFlavor(NPC, "battlepriest_herga/halas/great_shelf/battlepriest_herga/battlepriest_herga059.mp3", "", "", 584614622, 2543315634, Spawn)
  499. AddConversationOption(conversation, "I'd wish you good rest, but I know you'll never rest so long as your people need you.")
  500. AddConversationOption(conversation, "Farewell, good Battlepriest. I will treasure the helm.")
  501. AddConversationOption(conversation, "I can't get out of here fast enough. Goodbye.")
  502. StartConversation(conversation, NPC, Spawn, "For retrieving my helm, I'd like to return the favor. Please take this. Yer helmet is oft all that stands between ye and the hereafter.")
  503. end
  504. function OfferLooseningGrip(NPC, Spawn)
  505. OfferQuest(NPC, Spawn, LooseningGrip)
  506. end
  507. function OfferTheCharge(NPC, Spawn)
  508. OfferQuest(NPC, Spawn, TheCharge)
  509. end
  510. function OfferSiegeOver(NPC, Spawn)
  511. OfferQuest(NPC, Spawn, SiegeOver)
  512. end
  513. function OfferForsakingGrave(NPC, Spawn)
  514. OfferQuest(NPC, Spawn, ForsakingGrave)
  515. end
  516. function OfferAllRemains(NPC, Spawn)
  517. OfferQuest(NPC, Spawn, AllRemains)
  518. end