MaareonaLudimintium.lua 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. --[[
  2. Script Name : SpawnScripts/Starcrest/MaareonaLudimintium.lua
  3. Script Purpose : Maareona Ludimintium <Erudite Mentor>
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Race ID's
  9. local Erudite = 3
  10. -- Quest ID's
  11. local MEETING_WITH_CAYAN = 316 -- was 32
  12. local INFORMATION_MERCHANTS = 318 -- was 33
  13. local HIDDEN_TREASURES = 320 -- was 34
  14. local CONFRONTATION = 321 -- was 35
  15. local DELIVERING_NEWS = 322
  16. -- Item ID's
  17. local NULLIFICATION_STONE = 10087
  18. local SOUL_SPIKE = 13134
  19. -- players name was
  20. -- Jinoira
  21. function spawn(NPC)
  22. ProvidesQuest(NPC, MEETING_WITH_CAYAN)
  23. ProvidesQuest(NPC, HIDDEN_TREASURES)
  24. ProvidesQuest(NPC, CONFRONTATION)
  25. ProvidesQuest(NPC, DELIVERING_NEWS)
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. if GetRace(Spawn) == Erudite then
  32. Begin(NPC, Spawn)
  33. else
  34. NotErudite(NPC, Spawn)
  35. end
  36. end
  37. function Begin(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. if HasCompletedQuest(Spawn, MEETING_WITH_CAYAN) then
  41. if HasCompletedQuest(Spawn, INFORMATION_MERCHANTS) then
  42. if HasCompletedQuest(Spawn, HIDDEN_TREASURES) then
  43. if HasCompletedQuest(Spawn, CONFRONTATION) then
  44. if not HasQuest(Spawn, DELIVERING_NEWS) and not HasCompletedQuest(Spawn, DELIVERING_NEWS) then
  45. dlg_56_3(NPC, Spawn)
  46. end
  47. elseif HasQuest(Spawn, CONFRONTATION) then
  48. IsItDestroyedYet(NPC, Spawn, conversation)
  49. else
  50. FoundPackageYet(NPC, Spawn)
  51. end
  52. elseif HasQuest(Spawn, HIDDEN_TREASURES) then
  53. FoundPackageYet(NPC, Spawn)
  54. else
  55. GottenTheInformationYet(NPC, Spawn, conversation)
  56. end
  57. elseif HasQuest(Spawn, INFORMATION_MERCHANTS) then
  58. GottenTheInformationYet(NPC, Spawn, conversation)
  59. else
  60. GottenTheInformationYet(NPC, Spawn, conversation)
  61. end
  62. elseif HasQuest(Spawn, MEETING_WITH_CAYAN) then
  63. GottenTheInformationYet(NPC, Spawn, conversation)
  64. else
  65. NoGreaterQuest(NPC, Spawn, conversation)
  66. end
  67. end
  68. function NotErudite(NPC, Spawn)
  69. Say(NPC, "I suppose I appreciate your interest in speaking with me, but I am here as a service to those of my own kind.", Spawn)
  70. end
  71. -------------------------------------------------------------------------------------------------------------------
  72. -- ERUDITE MENTOR QUEST 1
  73. -------------------------------------------------------------------------------------------------------------------
  74. function NoGreaterQuest(NPC, Spawn, conversation)
  75. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona001.mp3", "", "bow", 1982809476, 3400870964, Spawn)
  76. AddConversationOption(conversation, "Hello, I am " .. GetName(Spawn) .. ".", "dlg_20_1")
  77. StartConversation(conversation, NPC, Spawn, "There is no greater quest than the truth. Welcome to Starcrest Commune, Erudite. I am Maareona.")
  78. end
  79. function dlg_20_1(NPC, Spawn)
  80. FaceTarget(NPC, Spawn)
  81. conversation = CreateConversation()
  82. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona002.mp3", "", "", 284309716, 754775848, Spawn)
  83. AddConversationOption(conversation, "Truth.", "dlg_21_2")
  84. AddConversationOption(conversation, "Power.", "dlg_21_2")
  85. AddConversationOption(conversation, "Enlightenment.", "dlg_21_2")
  86. AddConversationOption(conversation, "I don't know.", "dlg_20_2")
  87. StartConversation(conversation, NPC, Spawn, "That you are. Tell me, " .. GetName(Spawn) .. ", what do you seek?")
  88. end
  89. function dlg_20_2(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona003a.mp3", "", "", 337061547, 3048757721, Spawn)
  93. AddConversationOption(conversation, "What do you seek?", "dlg_20_3")
  94. StartConversation(conversation, NPC, Spawn, "Good, it takes a long time to build the resolve to know what you seek. I would be concerned if you thought you already knew.")
  95. end
  96. function dlg_20_3(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. conversation = CreateConversation()
  99. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona006.mp3", "", "", 1647970244, 231936640, Spawn)
  100. AddConversationOption(conversation, "Why is that?", "dlg_20_4")
  101. StartConversation(conversation, NPC, Spawn, "Truth. Truth and Enlightenment. I seek individual enlightenment, and racial enlightenment, and eventually sentient enlightenment. I do not expect to succeed anytime soon, but I will succeed. Racial enlightenment is proving to be most difficult at this time, unfortunately.")
  102. end
  103. function dlg_20_4(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona007.mp3", "", "", 933673315, 142645817, Spawn)
  107. AddConversationOption(conversation, "That sounds like a reasonable goal.", "dlg_20_6")
  108. AddConversationOption(conversation, "That sounds a little intolerant.", "dlg_20_5")
  109. StartConversation(conversation, NPC, Spawn, "Well... I am not sure if you've been to Freeport recently, but there is a great ideological schism between the Erudites of our city and those of Freeport. Part of what I do here is work with Erudites who share those views and attempt to bring them around to a more, well, compassionate view of things.")
  110. end
  111. function dlg_20_5(NPC, Spawn)
  112. FaceTarget(NPC, Spawn)
  113. conversation = CreateConversation()
  114. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona008.mp3", "", "", 1279054800, 1194830102, Spawn)
  115. AddConversationOption(conversation, "I suppose that sounds reasonable.", "dlg_20_6")
  116. StartConversation(conversation, NPC, Spawn, "Views of all kinds I can tolerate. It is actions that I have trouble accepting. Those who subscribe to the views of Freeport commonly turn inappropriate views into inappropriate--and illegal--actions. And, yes, it is true, I cannot tolerate actions such as those. If I work with these people prior to actions of this type then Qeynos is stronger.")
  117. end
  118. function dlg_20_6(NPC, Spawn)
  119. FaceTarget(NPC, Spawn)
  120. conversation = CreateConversation()
  121. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona009.mp3", "", "", 2014412725, 134790625, Spawn)
  122. AddConversationOption(conversation, "Is there anything I can do to help?", "dlg_20_7")
  123. StartConversation(conversation, NPC, Spawn, "It is. We've given this much thought and this is the only acceptable solution, we cannot remain idle when Freeport gains influence among the citizens of Qeynos.")
  124. end
  125. function dlg_20_7(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. conversation = CreateConversation()
  128. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona010.mp3", "", "", 731226683, 4123988397, Spawn)
  129. AddConversationOption(conversation, "What would you like me to do?", "dlg_21_8")
  130. AddConversationOption(conversation, "Do you have anything a little more exciting and adventurous?", "dlg_20_8")
  131. StartConversation(conversation, NPC, Spawn, "There is always some way an Erudite such as yourself can help the cause. I am investigating a package that was recently delivered to Qeynos that was thought to contain a heretical relic of past ages. Whether or not the relic itself contains some curse that would promote its ideals, or would just serve to attract those who would do the same, we must rid Qeynos of such an object.")
  132. end
  133. function dlg_20_8(NPC, Spawn)
  134. FaceTarget(NPC, Spawn)
  135. conversation = CreateConversation()
  136. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona011.mp3", "", "", 296165667, 3976111075, Spawn)
  137. AddConversationOption(conversation, "All right, thank you.")
  138. StartConversation(conversation, NPC, Spawn, "Certainly. Well, I personally don't but I have friends who may. Go speak with Rujiarmo Oolamein in the Peat Bog. I am sure he could use any help you can offer.")
  139. end
  140. function dlg_21_2(NPC, Spawn)
  141. FaceTarget(NPC, Spawn)
  142. conversation = CreateConversation()
  143. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona003.mp3", "", "", 612001961, 3121169439, Spawn)
  144. AddConversationOption(conversation, "Yes.", "PerhapsYouWill")
  145. AddConversationOption(conversation, "No.", "dlg_21_3")
  146. AddConversationOption(conversation, "I don't know.", "dlg_21_3")
  147. StartConversation(conversation, NPC, Spawn, "Will you achieve it?")
  148. end
  149. function PerhapsYouWill(NPC, Spawn)
  150. FaceTarget(NPC, Spawn)
  151. conversation = CreateConversation()
  152. AddConversationOption(conversation, "What do you seek?", "dlg_20_3")
  153. StartConversation(conversation, NPC, Spawn, "Perhaps you will.")
  154. end
  155. function dlg_21_3(NPC, Spawn)
  156. FaceTarget(NPC, Spawn)
  157. conversation = CreateConversation()
  158. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona004.mp3", "", "", 738787463, 3083155196, Spawn)
  159. AddConversationOption(conversation, "What do you seek?", "dlg_20_3")
  160. StartConversation(conversation, NPC, Spawn, "It would seem not. Perhaps you should seek something else then.")
  161. end
  162. function dlg_21_4(NPC, Spawn)
  163. FaceTarget(NPC, Spawn)
  164. conversation = CreateConversation()
  165. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona006.mp3", "", "", 1647970244, 231936640, Spawn)
  166. AddConversationOption(conversation, "Why is that?", "dlg_21_5")
  167. StartConversation(conversation, NPC, Spawn, "Truth. Truth and Enlightenment. I seek individual enlightenment, and racial enlightenment, and eventually sentient enlightenment. I do not expect to succeed anytime soon, but I will succeed. Racial enlightenment is proving to be most difficult at this time, unfortunately.")
  168. end
  169. function dlg_21_8(NPC, Spawn)
  170. FaceTarget(NPC, Spawn)
  171. conversation = CreateConversation()
  172. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona012.mp3", "", "", 1465004350, 3954796796, Spawn)
  173. AddConversationOption(conversation, "Why is this important?", "dlg_21_9")
  174. StartConversation(conversation, NPC, Spawn, "As part of my job I routinely come in contact with various people of, uhm, ideologies not concurrent with my own. Although I eventually strive for enlightenment of all sentient beings, for I employ such people to help me with my first two goals: my own enlightenment and that of my race.")
  175. end
  176. function dlg_21_9(NPC, Spawn)
  177. FaceTarget(NPC, Spawn)
  178. conversation = CreateConversation()
  179. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona013.mp3", "", "", 3182974274, 1240192562, Spawn)
  180. AddConversationOption(conversation, "And once I've found him?", "dlg_21_10")
  181. StartConversation(conversation, NPC, Spawn, "Sorry, I just wanted to prepare you before you meet who I am sending you to. I would like you to speak with a human named Cayan Sable. Behind the armor shop, near its north western corner, there is a bench leaning against the wall. You can climb up it to find Cayan.")
  182. end
  183. function dlg_21_10(NPC, Spawn)
  184. FaceTarget(NPC, Spawn)
  185. conversation = CreateConversation()
  186. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona014.mp3", "", "", 3260022583, 3167071006, Spawn)
  187. AddConversationOption(conversation, "I will speak to him.", "OfferQuest1")
  188. StartConversation(conversation, NPC, Spawn, "Tell him we need to find the whereabouts of a package. It was delivered recently to someone by the name of Oolium Artanaes. We were watching him until he fled into South Qeynos. Because of the path he took, our agent could not follow him without revealing himself. Cayan will have friends who can help us find him, and learn the whereabouts of the package.")
  189. end
  190. function OfferQuest1(NPC, Spawn)
  191. FaceTarget(NPC, Spawn)
  192. OfferQuest(NPC, Spawn, MEETING_WITH_CAYAN)
  193. end
  194. function GottenTheInformationYet(NPC, Spawn, conversation)
  195. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona016.mp3", "", "", 1380727633, 48771667, Spawn)
  196. if (HasCompletedQuest(Spawn, INFORMATION_MERCHANTS) and not HasCompletedQuest(Spawn, HIDDEN_TREASURES)) or (HasQuest(Spawn, INFORMATION_MERCHANTS) and GetQuestStep(Spawn, INFORMATION_MERCHANTS) == 3) then
  197. AddConversationOption(conversation, "Yes, I have.", "GotInformation")
  198. else
  199. AddConversationOption(conversation, "No, I haven't.")
  200. end
  201. StartConversation(conversation, NPC, Spawn, "Have you gotten the information yet?")
  202. end
  203. --------------------------------------------------------------------------------------------------------------------
  204. -- ERUDITE MENTOR QUEST 2
  205. --------------------------------------------------------------------------------------------------------------------
  206. function GotInformation(NPC, Spawn)
  207. if HasQuest(Spawn, INFORMATION_MERCHANTS) then
  208. SetStepComplete(Spawn, INFORMATION_MERCHANTS, 3)
  209. end
  210. FaceTarget(NPC, Spawn)
  211. conversation = CreateConversation()
  212. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona017.mp3", "", "", 4022802579, 2271189733, Spawn)
  213. AddConversationOption(conversation, "Here you go.", "dlg_45_2")
  214. StartConversation(conversation, NPC, Spawn, "Wonderful. Let me see it.")
  215. end
  216. ---------------------------------------------------------------------------------------------------------------------
  217. -- ERUDITE MENTOR QUEST 3
  218. ---------------------------------------------------------------------------------------------------------------------
  219. function dlg_45_2(NPC, Spawn)
  220. FaceTarget(NPC, Spawn)
  221. conversation = CreateConversation()
  222. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona018.mp3", "", "", 4212736399, 3852768396, Spawn)
  223. AddConversationOption(conversation, "Couldn't the package still be recovered?", "dlg_45_3")
  224. StartConversation(conversation, NPC, Spawn, "Hmmm... this may be bad news. If he gave up the shipment that means we may never know to whom it was meant to finally be delivered. Worse still, who knows who may stumble upon the relic now. We were so close!")
  225. end
  226. function dlg_45_3(NPC, Spawn)
  227. FaceTarget(NPC, Spawn)
  228. conversation = CreateConversation()
  229. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona019.mp3", "", "", 2700828927, 1097914142, Spawn)
  230. AddConversationOption(conversation, "I can do that.", "dlg_45_4")
  231. AddConversationOption(conversation, "Not right now.")
  232. StartConversation(conversation, NPC, Spawn, "I don't know... not likely- actually... there are a pair of grates in the water ways that may have stopped the package. I don't know how big the package was, but these grates may have stopped it. I'll get one of my contacts to check the grates in Nettleville, I'd like you to check the grates in here in Starcrest. What do you say?")
  233. end
  234. function dlg_45_4(NPC, Spawn)
  235. FaceTarget(NPC, Spawn)
  236. conversation = CreateConversation()
  237. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona020.mp3", "", "", 3437539307, 3210013494, Spawn)
  238. AddConversationOption(conversation, "All right.", "OfferQuest3")
  239. StartConversation(conversation, NPC, Spawn, "Good. I know it is a lot to ask, but at a time like this I think it is best to put aside any fears. You'll have to go to the ferryway near the mariner's bells in the eastern side of Starcrest Commune. Once there swim to the grates and see if any packages were held up on them. It isn't very likely, but it is definitely worth taking a look.")
  240. end
  241. function OfferQuest3(NPC, Spawn)
  242. FaceTarget(NPC, Spawn)
  243. OfferQuest(NPC, Spawn, HIDDEN_TREASURES)
  244. end
  245. function FoundPackageYet(NPC, Spawn)
  246. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona021.mp3", "", "", 2659241094, 1582601118, Spawn)
  247. if (HasCompletedQuest(Spawn, HIDDEN_TREASURES) and not HasCompletedQuest(Spawn, 35)) or (HasQuest(Spawn, HIDDEN_TREASURES) and GetQuestStep(Spawn, HIDDEN_TREASURES) == 2) then
  248. AddConversationOption(conversation, "Yes, I have its contents here. And an unsigned delivery receipt.", "FoundPackage")
  249. else
  250. AddConversationOption(conversation, "Not yet, no.")
  251. end
  252. StartConversation(conversation, NPC, Spawn, "Have you found the package?")
  253. end
  254. function FoundPackage(NPC, Spawn)
  255. FaceTarget(NPC, Spawn)
  256. conversation = CreateConversation()
  257. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona022.mp3", "", "", 560393626, 4096174929, Spawn)
  258. AddConversationOption(conversation, "It's hard to read and soggy, but here.", "dlg_49_2")
  259. StartConversation(conversation, NPC, Spawn, "The receipt was with it? Wonderful!")
  260. end
  261. function dlg_49_2(NPC, Spawn)
  262. FaceTarget(NPC, Spawn)
  263. conversation = CreateConversation()
  264. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona023.mp3", "", "", 1854168160, 123679709, Spawn)
  265. AddConversationOption(conversation, "And...?", "dlg_49_3")
  266. StartConversation(conversation, NPC, Spawn, "Hmm, that is fine. It was not the ink that was important. I can sense who the intended recipient was. It will only take a moment...")
  267. end
  268. function dlg_49_3(NPC, Spawn)
  269. FaceTarget(NPC, Spawn)
  270. conversation = CreateConversation()
  271. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona024.mp3", "", "", 2925464109, 438548200, Spawn)
  272. AddConversationOption(conversation, "Here you go.", "dlg_49_4")
  273. StartConversation(conversation, NPC, Spawn, "Velderoth Malraen. He resides here in Starcrest. Now, let's see the package.")
  274. end
  275. function dlg_49_4(NPC, Spawn)
  276. if HasQuest(Spawn, HIDDEN_TREASURES) then
  277. SetStepComplete(Spawn, HIDDEN_TREASURES, 2)
  278. end
  279. FaceTarget(NPC, Spawn)
  280. conversation = CreateConversation()
  281. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona025.mp3", "", "", 4023924866, 963404506, Spawn)
  282. AddConversationOption(conversation, "A Soul Spike?", "dlg_49_5")
  283. StartConversation(conversation, NPC, Spawn, "Oh my! Boxes like this were made to hold objects of great metaphysical potential. Oh dear... these symbols... this box contains a Soul Spike.")
  284. end
  285. -------------------------------------------------------------------------------------------------------------
  286. -- QUEST 4
  287. -------------------------------------------------------------------------------------------------------------
  288. function dlg_49_5(NPC, Spawn)
  289. FaceTarget(NPC, Spawn)
  290. conversation = CreateConversation()
  291. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona026.mp3", "", "", 290912951, 2000708937, Spawn)
  292. AddConversationOption(conversation, "What do you need me to do?", "dlg_49_6")
  293. StartConversation(conversation, NPC, Spawn, "An ancient weapon of the heretic. Some say it has enormous power, others say it is for ritual only, others say it comes from a different plane of existence... all we know is it is a sure sign of a heretic. Velderoth Malraen is that heretic. He must not be allowed to stay a moment longer in Qeynos.")
  294. end
  295. function dlg_49_6(NPC, Spawn)
  296. FaceTarget(NPC, Spawn)
  297. conversation = CreateConversation()
  298. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona027.mp3", "", "", 3129182900, 3935897138, Spawn)
  299. AddConversationOption(conversation, "What do I need to do?", "dlg_49_7")
  300. StartConversation(conversation, NPC, Spawn, "We must make this Soul Spike public. To most it will mean very little, but to any heretic its destruction will be known.")
  301. end
  302. function dlg_49_7(NPC, Spawn)
  303. FaceTarget(NPC, Spawn)
  304. conversation = CreateConversation()
  305. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona028.mp3", "", "", 2750149120, 800404761, Spawn)
  306. AddConversationOption(conversation, "What if Velderoth confronts me?", "OfferQuest4")
  307. StartConversation(conversation, NPC, Spawn, "Speak with Cayan. There is a stand, he will know of what I speak. You will retrieve the stand from him. Take the stand into central Starcrest, near the fountain, and place it there. When it is destroyed Velderoth will feel it, he will flee.")
  308. end
  309. function OfferQuest4(NPC, Spawn)
  310. FaceTarget(NPC, Spawn)
  311. OfferQuest(NPC, Spawn, CONFRONTATION)
  312. end
  313. function TapIt(NPC, Spawn)
  314. FaceTarget(NPC, Spawn)
  315. conversation = CreateConversation()
  316. -- Nullification Stone
  317. -- Soul Spike
  318. SummonItem(Spawn, NULLIFICATION_STONE)
  319. SummonItem(Spawn, SOUL_SPIKE)
  320. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona030.mp3", "", "", 720107384, 4004540442, Spawn)
  321. AddConversationOption(conversation, "I will return.")
  322. StartConversation(conversation, NPC, Spawn, "Tap it with this stone. The rest will attend to itself. Again, do not be wary of Velderoth.")
  323. end
  324. function IsItDestroyedYet(NPC, Spawn, conversation)
  325. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona031.mp3", "", "", 2023690647, 3266928269, Spawn)
  326. if HasQuest(Spawn, CONFRONTATION) then
  327. if GetQuestStep(Spawn, CONFRONTATION) == 3 then
  328. AddConversationOption(conversation, "Yes. Velderoth came.", "dlg_56_1")
  329. else
  330. if not HasItem(Spawn, SOUL_SPIKE) then
  331. AddConversationOption(conversation, "I need the Soul Spike", "NeedSoulSpike")
  332. end
  333. if not HasItem(Spawn, NULLIFICATION_STONE) then
  334. AddConversationOption(conversation, "I need the Nullification Stone.", "NeedNullificationStone")
  335. end
  336. end
  337. end
  338. AddConversationOption(conversation, "Not yet.")
  339. StartConversation(conversation, NPC, Spawn, "Is it destroyed?")
  340. end
  341. function NeedSoulSpike(NPC, Spawn)
  342. SummonItem(Spawn, SOUL_SPIKE)
  343. if not HasItem(Spawn, NULLIFICATION_STONE) then
  344. SummonItem(Spawn, NULLIFICATION_STONE)
  345. end
  346. end
  347. function NeedNullificationStone(NPC, Spawn)
  348. SummonItem(Spawn, NULLIFICATION_STONE)
  349. if not HasItem(Spawn, SOUL_SPIKE) then
  350. SummonItem(Spawn, SOUL_SPIKE)
  351. end
  352. end
  353. function dlg_56_1(NPC, Spawn)
  354. FaceTarget(NPC, Spawn)
  355. conversation = CreateConversation()
  356. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona032.mp3", "", "", 632600853, 3687579453, Spawn)
  357. AddConversationOption(conversation, "Yes, that much seems obvious.", "dlg_56_2")
  358. StartConversation(conversation, NPC, Spawn, "That is not surprising. He knows he has been found out and will not return. Another heretic fleeing to the lands of Freeport. What an ironic name... Jinoira, this news is rather big for all citizens of Qeynos, but, to Erudites, it is even bigger. We struggle to maintain our image among the other races here in Qeynos.")
  359. end
  360. function dlg_56_2(NPC, Spawn)
  361. SetStepComplete(Spawn, CONFRONTATION, 3)
  362. FaceTarget(NPC, Spawn)
  363. conversation = CreateConversation()
  364. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona033.mp3", "", "", 3274371824, 4166492978, Spawn)
  365. AddConversationOption(conversation, "I understand. Where do we go from here?", "dlg_56_3")
  366. AddConversationOption(conversation, "I thought you were a seeker of the truth?")
  367. StartConversation(conversation, NPC, Spawn, "It is in our best interest as a race, and as citizens of this city, to keep this information to ourselves. Velderoth may indirectly cause more damage to our city if news of this gets out. The high men of Qeynos cannot have their names soiled by the actions of this individual, if anyone asks of your public encounter with Velderoth you are to claim that he was an illusion of your own creation, that the Soul Spike and he were merely meant as entertainment. Say no more of this to anyone.")
  368. end
  369. function dlg_56_3(NPC, Spawn)
  370. FaceTarget(NPC, Spawn)
  371. conversation = CreateConversation()
  372. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona035.mp3", "", "", 1033522094, 3989983909, Spawn)
  373. AddConversationOption(conversation, "I understand.", "dlg_56_4")
  374. StartConversation(conversation, NPC, Spawn, "I have a friend in the Peat Bog. He is the one person you will tell about this incident. He will do with this information what he must. After you have told him do not speak to him of it again.")
  375. end
  376. function dlg_56_4(NPC, Spawn)
  377. FaceTarget(NPC, Spawn)
  378. conversation = CreateConversation()
  379. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/maareona_ludimintium/qey_village02/quests/maareona/maareona036.mp3", "", "", 301046375, 3178279586, Spawn)
  380. AddConversationOption(conversation, "I will find him.", "OfferDeliveringNews")
  381. StartConversation(conversation, NPC, Spawn, "Good. His name is Rujiarmo Oolamein. He will have work to give you, I am certain.")
  382. end
  383. function OfferDeliveringNews(NPC, Spawn)
  384. OfferQuest(NPC, Spawn, DELIVERING_NEWS)
  385. end