SneelValiyn.lua 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. --[[
  2. Script Name : SpawnScripts/Freeport/SneelValiyn.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.15 06:07:50
  5. Script Purpose :
  6. :
  7. --]]
  8. QUEST1 = 574
  9. QUEST2 = 575
  10. QUEST3 = 576
  11. function spawn(NPC)
  12. ProvidesQuest(NPC, QUEST1)
  13. ProvidesQuest(NPC, QUEST2)
  14. ProvidesQuest(NPC, QUEST3)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. local conversation = CreateConversation()
  19. if GetRace(Spawn) == 13 then
  20. if not HasQuest(Spawn, QUEST1) and not HasCompletedQuest(Spawn, QUEST1) then
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "hello", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Apologies, friend. What is it you were doing?", "dlg1")
  23. AddConversationOption(conversation, "Ah, perhaps I should leave you be, then.")
  24. StartConversation(conversation, NPC, Spawn, "Oh, why, hello! I'm sorry, you startled me a bit.")
  25. elseif HasQuest(Spawn, QUEST1) then
  26. quest1progress(NPC, Spawn)
  27. elseif HasCompletedQuest(Spawn, QUEST1) and not HasCompletedQuest(Spawn, QUEST2) then
  28. dlg2_1(NPC, Spawn)
  29. elseif HasQuest(Spawn, QUEST2) and not GetQuestStep(Spawn, QUEST2) == 3 then
  30. quest2progress(NPC, Spawn)
  31. elseif GetQuestStep(Spawn, QUEST2) == 3 or GetQuestStep(Spawn, QUEST2) == 6 then
  32. quest2progress1(NPC, Spawn)
  33. elseif GetQuestStep(Spawn, QUEST2) == 7 or GetQuestStep(Spawn, QUEST2) == 8 then
  34. quest2progress2(NPC, Spawn)
  35. elseif HasCompletedQuest(Spawn, QUEST2) and not HasQuest(Spawn, QUEST3) then
  36. dlg4_6(NPC, Spawn)
  37. elseif HasQuest(Spawn, QUEST3) and GetQuestStep(Spawn, QUEST2) < 4 then
  38. quest3progress(NPC, Spawn)
  39. end
  40. if HasQuest(Spawn, QUEST3) and GetQuestStep(Spawn, QUEST3) >= 5 then
  41. quest3progress1(NPC, Spawn)
  42. end
  43. elseif GetRace(Spawn) ~= 13 then
  44. PlayFlavor(NPC, "", "The Grand Inquisitor speaks for Sir Lucan in all matters regarding the Dismal Rage.", "bow", 1689589577, 4560189, Spawn)
  45. end
  46. end
  47. -- QUEST IN PROGRESS DIALOGUES
  48. function quest3progress1(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "bow", 0, 0, Spawn)
  52. if HasQuest(Spawn, QUEST3) and GetQuestStep(Spawn, QUEST3) < 8 then
  53. AddConversationOption(conversation, "I'm still searching, but I will let you know soon.")
  54. elseif GetQuestStep(Spawn, QUEST3) == 8 then
  55. AddConversationOption(conversation, "It isn't good, Sneel. The true roekillik, the masters of the Dark Agenda, are here in Freeport. Or they were, until I destroyed them.")
  56. end
  57. StartConversation(conversation, NPC, Spawn, "Oh, "..GetName(Spawn).." You're here! What did you find out?")
  58. end
  59. function quest3progress(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "bow", 0, 0, Spawn)
  63. if HasQuest(Spawn, QUEST3) and GetQuestStep(Spawn, QUEST3) < 4 then
  64. AddConversationOption(conversation, "No, I am still looking for them all. I'll come back when I've found them.")
  65. elseif HasQuest(Spawn, QUEST3) and GetQuestStep(Spawn, QUEST3) == 4 then
  66. AddConversationOption(conversation, "Yes, I believe I found them. I couldn't tell you what they were sick with, but they all had the same symptoms. Shallow breath, burning with fever, non-responsive to touch, and a green mist around them. They looked like death itself had already taken them.", "dlg4_8")
  67. end
  68. StartConversation(conversation, NPC, Spawn, "Hello, "..GetName(Spawn)..". I have been looking forward to you coming back. Did you find the sickened citizens?")
  69. end
  70. function quest2progress2(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. conversation = CreateConversation()
  73. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "bow", 0, 0, Spawn)
  74. if HasQuest(Spawn, QUEST2) and GetQuestStep(Spawn, QUEST2) == 7 then
  75. AddConversationOption(conversation, "I haven't found any yet, but I haven't searched the whole city. Give me some more time.")
  76. elseif HasQuest(Spawn, QUEST2) and GetQuestStep(Spawn, QUEST2) == 8 then
  77. AddConversationOption(conversation, "No, you were right. The false roekillik are indeed within Freeport. But what does that mean?", "dlg4_0")
  78. end
  79. StartConversation(conversation, NPC, Spawn, "I'm been waiting for you to come back. Please tell me that the impostor roekillik aren't within Freeport's walls.")
  80. end
  81. function quest2progress1(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "bow", 0, 0, Spawn)
  85. if HasQuest(Spawn, QUEST2) and GetQuestStep(Spawn, QUEST2) == 3 then
  86. AddConversationOption(conversation, "I haven't finished speaking with them yet. Give me a little while longer.")
  87. elseif HasQuest(Spawn, QUEST2) and GetQuestStep(Spawn, QUEST2) == 6 then
  88. AddConversationOption(conversation, "A few things, none of which was very comforting.", "dlg3_5")
  89. end
  90. StartConversation(conversation, NPC, Spawn, "Well? I've been waiting for you. What did they have to say?")
  91. end
  92. function quest2progress(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. conversation = CreateConversation()
  95. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "bow", 0, 0, Spawn)
  96. if HasQuest(Spawn, QUEST2) and GetQuestStep(Spawn, QUEST2) == 1 then
  97. AddConversationOption(conversation, "No, I'm still searching for them. I'll return soon.")
  98. elseif HasQuest(Spawn, QUEST2) and GetQuestStep(Spawn, QUEST2) == 2 then
  99. AddConversationOption(conversation, "I was. Here they are.", "dlg2_9")
  100. end
  101. StartConversation(conversation, NPC, Spawn, "You've come back! Excellent, were you able to get the slates?")
  102. end
  103. function quest1progress(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1032.mp3", "", "bow", 0, 0, Spawn)
  107. if HasQuest(Spawn, QUEST1) and GetQuestStep(Spawn, QUEST1) < 6 then
  108. AddConversationOption(conversation, "I'm still working on it - these gnomes can be maddening! I'll come back when I have it done.")
  109. elseif HasQuest(Spawn, QUEST1) and GetQuestStep(Spawn, QUEST1) == 6 then
  110. AddConversationOption(conversation, "I sure did. It was even easier than I thought it would be!", "dlg7")
  111. end
  112. StartConversation(conversation, NPC, Spawn, "Welcome back, "..GetName(Spawn).." ! Were you able to decipher the gnomish equations?")
  113. end
  114. function dlg1(NPC, Spawn)
  115. FaceTarget(NPC, Spawn)
  116. conversation = CreateConversation()
  117. PlayAnimation(NPC, 11882)
  118. AddConversationOption(conversation, "Is that so? What's so funny?", "dlg2")
  119. AddConversationOption(conversation, "I'll bet they are! I'll leave you to figure them out then. Farewell.")
  120. StartConversation(conversation, NPC, Spawn, "I was going over some of these equations that another friend of mine, Deelsi, brought me from Temple Street. Apparently they were made by gnomes - they're hilarious!")
  121. end
  122. function dlg2(NPC, Spawn)
  123. FaceTarget(NPC, Spawn)
  124. conversation = CreateConversation()
  125. AddConversationOption(conversation, "Why do we even care? Those gnomes will blow themselves up one of these days, anyway.", "dlg3")
  126. AddConversationOption(conversation, "Well, best of luck! I have places to be!")
  127. StartConversation(conversation, NPC, Spawn, "They have good fundamentals, but their expressions are all wrong. I'm not surprised that they aren't finishing these - they couldn't solve them the way they are!")
  128. end
  129. function dlg3(NPC, Spawn)
  130. FaceTarget(NPC, Spawn)
  131. conversation = CreateConversation()
  132. PlayAnimation(NPC, 12030)
  133. AddConversationOption(conversation, "Let me do it! This sounds like a bit of fun!", "dlg4")
  134. AddConversationOption(conversation, "Well, let me know if you find anything out, then. Farewell.")
  135. StartConversation(conversation, NPC, Spawn, "Well, I'm curious. I think these are formulas for operating some of the strange machines the gnomes build... but I'm willing to bet that one of us could build them better, if we could work through these confusing formulas...")
  136. end
  137. function dlg4(NPC, Spawn)
  138. FaceTarget(NPC, Spawn)
  139. conversation = CreateConversation()
  140. PlayAnimation(NPC, 20601)
  141. AddConversationOption(conversation, "Oh? What is that?", "dlg5")
  142. AddConversationOption(conversation, "Eh, you know what? I have some other things to do. Maybe another time.")
  143. StartConversation(conversation, NPC, Spawn, "Well, who am I to stop you if you're so eager... besides, I've got other things to worry about anyway.")
  144. end
  145. function dlg5(NPC, Spawn)
  146. FaceTarget(NPC, Spawn)
  147. conversation = CreateConversation()
  148. PlayAnimation(NPC, 12030)
  149. AddConversationOption(conversation, "All right. I'll head into Temple Street and make some copies of the equations, then. It's probably safer than trying to solve them there.", "dlg6")
  150. AddConversationOption(conversation, "I'm pretty sure solving gnomish equations would drive me insane. Maybe another time.")
  151. StartConversation(conversation, NPC, Spawn, "Mmm... you know what, you might be useful. I don't want to send you to just get killed, so consider this a test. Go ahead and see if you can figure out those gnomish equations. You might need some of the tomes in the library to help decipher their insanity.")
  152. end
  153. function dlg6(NPC, Spawn)
  154. FaceTarget(NPC, Spawn)
  155. conversation = CreateConversation()
  156. PlayAnimation(NPC, 11882)
  157. AddConversationOption(conversation, "I don't think that'll be a problem. I'll let you know how it goes.", "offer1")
  158. StartConversation(conversation, NPC, Spawn, "Well, if you can get those solved, you might be able to take over one of their own machines. We've had to live for so long with those insane creations over there, I'd love to see you take one and smash theirs with it!")
  159. end
  160. function dlg7(NPC, Spawn)
  161. FaceTarget(NPC, Spawn)
  162. conversation = CreateConversation()
  163. PlayAnimation(NPC, 20601)
  164. AddConversationOption(conversation, "It was no trouble. Once I had the formulas down, I was able to use the machine I found to destroy the ones the gnomes had working. Very simple.", "complete1")
  165. StartConversation(conversation, NPC, Spawn, "Of course it was! I had a feeling you would get through it quickly. And the machine? How did that go?")
  166. end
  167. function complete1(NPC, Spawn)
  168. FaceTarget(NPC, Spawn)
  169. SetStepComplete(Spawn, QUEST1, 6)
  170. conversation = CreateConversation()
  171. AddConversationOption(conversation, "What is it you need me for?", "dlg2_1")
  172. StartConversation(conversation, NPC, Spawn, "Excellent work. However, the next foe is not going to be so easy. I think, though, with your aptitude, maybe you can help us.")
  173. end
  174. function dlg2_1(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. conversation = CreateConversation()
  177. AddConversationOption(conversation, "I have seen that, but I figured it was because of the civil unrest in the city. But now that Sir Lucan is back, that shouldn't be a problem any more, right?", "dlg2_2")
  178. StartConversation(conversation, NPC, Spawn, "Before we get started, there's something you need to know. I'm not sure if you've noticed, but many of us have been keeping a wary eye over our shoulders.")
  179. end
  180. function dlg2_2(NPC, Spawn)
  181. FaceTarget(NPC, Spawn)
  182. conversation = CreateConversation()
  183. AddConversationOption(conversation, "Why is that?", "dlg2_3")
  184. StartConversation(conversation, NPC, Spawn, "That isn't it. A few of us believe the danger to Freeport, and indeed, all of Norrath, goes much, much deeper than that.")
  185. end
  186. function dlg2_3(NPC, Spawn)
  187. FaceTarget(NPC, Spawn)
  188. conversation = CreateConversation()
  189. AddConversationOption(conversation, "In Freeport? We've been here since the Age of Cataclysms. We can live freely here - this city suits our personality well.", "dlg2_4")
  190. StartConversation(conversation, NPC, Spawn, "I think you'll need a little bit of background first. Let me ask you a question... do you know why the ratonga are here?")
  191. end
  192. function dlg2_4(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. conversation = CreateConversation()
  195. AddConversationOption(conversation, "Ah, you mean the roekillik?", "dlg2_5")
  196. StartConversation(conversation, NPC, Spawn, "It does. But I didn't mean Freeport itself, I meant the surface of Norrath entirely.")
  197. end
  198. function dlg2_5(NPC, Spawn)
  199. FaceTarget(NPC, Spawn)
  200. local conversation = CreateConversation()
  201. AddConversationOption(conversation, "How does that affect us, though? Aren't they still trapped?", "dlg2_6")
  202. StartConversation(conversation, NPC, Spawn, "Shh!! Don't say that name too loudly! But yes, you're right... the roekillik, and their Dark Agenda.")
  203. end
  204. function dlg2_6(NPC, Spawn)
  205. FaceTarget(NPC, Spawn)
  206. local conversation = CreateConversation()
  207. AddConversationOption(conversation, "I know what I've heard. What more should I know?", "dlg2_7")
  208. StartConversation(conversation, NPC, Spawn, "What do you know about the roekillik?")
  209. end
  210. function dlg2_7(NPC, Spawn)
  211. FaceTarget(NPC, Spawn)
  212. conversation = CreateConversation()
  213. AddConversationOption(conversation, "So what can we do?", "dlg2_8")
  214. StartConversation(conversation, NPC, Spawn, "The roekillik are no longer trapped within the Underfoot! We've had reports of them showing up in the land of Odus, and we fear they might have found a way from there to Norrath. If that's the case... then all of us are in danger.")
  215. end
  216. function dlg2_8(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. OfferQuest(NPC, Spawn, QUEST2)
  219. conversation = CreateConversation()
  220. AddConversationOption(conversation, "All right, I'll see what I can find. Should I just meet you back here?", "offer2")
  221. StartConversation(conversation, NPC, Spawn, "It's up to us to see what we can find out, and verify if the roekillik really have come here. I'll see what I can find out, but I'll need you to go back into Temple Street, and pick up some writing of ours that was left behind there... some of those slates are hundreds of years old, and might have information we need.")
  222. end
  223. function dlg2_9(NPC, Spawn)
  224. FaceTarget(NPC, Spawn)
  225. conversation = CreateConversation()
  226. AddConversationOption(conversation, "What is written on those?", "dlg3_0")
  227. StartConversation(conversation, NPC, Spawn, "Ah yes... give me a moment to look through these.")
  228. end
  229. function dlg3_0(NPC, Spawn)
  230. FaceTarget(NPC, Spawn)
  231. conversation = CreateConversation()
  232. AddConversationOption(conversation, "What split are you talking about?", "dlg3_1")
  233. StartConversation(conversation, NPC, Spawn, "I'll need some time to really go through these, but I know they talk a bit about the split in the ratonga.")
  234. end
  235. function dlg3_1(NPC, Spawn)
  236. FaceTarget(NPC, Spawn)
  237. conversation = CreateConversation()
  238. AddConversationOption(conversation, "Ah yes... you mean the ratonga who call themselves, ''roekillik''? ", "dlg3_2")
  239. StartConversation(conversation, NPC, Spawn, "The split between those of us who fled the roekillik and came to the surface, and those who chose to stay and serve them. It's those ratonga who chose to continue their enslavement who have been the main threat up until now.")
  240. end
  241. function dlg3_2(NPC, Spawn)
  242. FaceTarget(NPC, Spawn)
  243. conversation = CreateConversation()
  244. AddConversationOption(conversation, "They aren't here in Freeport though, right? We're safe within its walls, as we always have been.", "dlg3_3")
  245. StartConversation(conversation, NPC, Spawn, "That's right. They called themselves ''roekillik'' as an homage to their masters, and have been doing their bidding here on the surface. They act as spies and informants for the roekillik, and can easily infiltrate the surface cities, since they blend in with other ratonga.")
  246. end
  247. function dlg3_3(NPC, Spawn)
  248. FaceTarget(NPC, Spawn)
  249. conversation = CreateConversation()
  250. AddConversationOption(conversation, "I'll search around the city and see what I can find, then. Maybe I should speak with some of the other ratonga and see if they have heard anything?", "dlg3_4")
  251. StartConversation(conversation, NPC, Spawn, "Are we? I know they were doing some digging out in the Commonlands, but since they can blend in so easily, can we really know... hmm... I think we should find out.")
  252. end
  253. function dlg3_4(NPC, Spawn)
  254. FaceTarget(NPC, Spawn)
  255. SetStepComplete(Spawn, QUEST2, 2)
  256. PlayAnimation(NPC, 12028)
  257. conversation = CreateConversation()
  258. AddConversationOption(conversation, "I will. Farewell.")
  259. StartConversation(conversation, NPC, Spawn, "I have a few friends here that might be able to help. Salla was once a scout for the Militia, and has good eyes and ears. Feepsin works with the Coalition of Tradesfolke, using the sudden boom of crafting work to earn a pretty gold coin. Cles works with the Academy, and fills his days with research. Speak with them, and see what they might know.")
  260. end
  261. function dlg3_5(NPC, Spawn)
  262. FaceTarget(NPC, Spawn)
  263. conversation = CreateConversation()
  264. AddConversationOption(conversation, "Cles and Salla were completely convinced that the followers of the roekillik are here in Freeport. They seemed... I don't know... jumpy and frightened.", "dlg3_6")
  265. StartConversation(conversation, NPC, Spawn, "I was afraid of that. What did they tell you?")
  266. end
  267. function dlg3_6(NPC, Spawn)
  268. FaceTarget(NPC, Spawn)
  269. conversation = CreateConversation()
  270. AddConversationOption(conversation, "It appeared that he believed the roekillik were recruiting somehow. He mentioned that associates of his have disappeared, only to reappear later, seemingly out of their minds.", "dlg3_7")
  271. StartConversation(conversation, NPC, Spawn, "What about Feepsin? What did he have to say?")
  272. end
  273. function dlg3_7(NPC, Spawn)
  274. FaceTarget(NPC, Spawn)
  275. conversation = CreateConversation()
  276. AddConversationOption(conversation, "Why don't I look for the roekillik? All of the evidence points to them in the shadows of Freeport. I can begin searching the city and seeing what I can find.", "dlg3_8")
  277. StartConversation(conversation, NPC, Spawn, "This is troubling - if the roekillik are here, and ''recruiting'', as it were, the implications could be dire. We need to know for sure if this is possible, and if they are here.")
  278. end
  279. function dlg3_8(NPC, Spawn)
  280. FaceTarget(NPC, Spawn)
  281. SetStepComplete(Spawn, QUEST2, 6)
  282. conversation = CreateConversation()
  283. AddConversationOption(conversation, "I'll watch out. Farewell for now.", "dlg3_9")
  284. StartConversation(conversation, NPC, Spawn, "All right, but be careful. If the followers of the roekillik realize they've been spotted, they aren't going to hesitate to attack. They will not answer to the laws of Freeport, only to their roekillik masters.")
  285. end
  286. function dlg3_9(NPC, Spawn)
  287. FaceTarget(NPC, Spawn)
  288. PlayAnimation(NPC, 10745)
  289. conversation = CreateConversation()
  290. AddConversationOption(conversation, "I haven't found any yet, but I haven't searched the whole city. Give me some more time.")
  291. StartConversation(conversation, NPC, Spawn, "I'm been waiting for you to come back. Please tell me that the impostor roekillik aren't within Freeport's walls.")
  292. end
  293. function dlg4_0(NPC, Spawn)
  294. FaceTarget(NPC, Spawn)
  295. conversation = CreateConversation()
  296. AddConversationOption(conversation, "I had that sense as well. These false roekillik weren't just scouting.", "dlg4_1")
  297. StartConversation(conversation, NPC, Spawn, "I don't think it means anything good. I fear... I fear there is much more to this.")
  298. end
  299. function dlg4_1(NPC, Spawn)
  300. FaceTarget(NPC, Spawn)
  301. PlayAnimation(NPC, 12030)
  302. conversation = CreateConversation()
  303. AddConversationOption(conversation, "What? What are you thinking?" , "dlg4_2")
  304. StartConversation(conversation, NPC, Spawn, "Actually... I think... oh no...")
  305. end
  306. function dlg4_2(NPC, Spawn)
  307. FaceTarget(NPC, Spawn)
  308. PlayAnimation(NPC, 12028)
  309. conversation = CreateConversation()
  310. AddConversationOption(conversation, "Certainly. What is it that you need?", "dlg4_3")
  311. StartConversation(conversation, NPC, Spawn, "I just made a connection, but I need to do some research. Can you do me a favor?")
  312. end
  313. function dlg4_3(NPC, Spawn)
  314. FaceTarget(NPC, Spawn)
  315. PlayAnimation(NPC, 11882)
  316. conversation = CreateConversation()
  317. AddConversationOption(conversation, "I will. What am I looking for?", "dlg4_5")
  318. StartConversation(conversation, NPC, Spawn, "I've heard of a few people falling ill around the city. This is nothing too alarming - it happens all of the time. A few are gravely sick, and I want to know more about their symptoms. Can you look into this?")
  319. end
  320. function dlg4_5(NPC, Spawn)
  321. FaceTarget(NPC, Spawn)
  322. SetStepComplete(Spawn, QUEST2, 8)
  323. PlayAnimation(NPC, 10745)
  324. conversation = CreateConversation()
  325. AddConversationOption(conversation, "I see. All right, I'll look for them and let you know what I find out.", "dlg4_6")
  326. StartConversation(conversation, NPC, Spawn, "There's three I know about. One is in one of the taverns, right where he fell when the sickness took hold. There's another that apparently tried to seek help at the Temple of War, but their magic did not help. And I've heard of one who simply fell in the streets near the docks, and was left there.")
  327. end
  328. -- QUEST 3 PART
  329. function dlg4_6(NPC, Spawn)
  330. FaceTarget(NPC, Spawn)
  331. conversation = CreateConversation()
  332. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1032.mp3", "", "bow", 0, 0, Spawn)
  333. AddConversationOption(conversation, "I will. What am I looking for?", "dlg4_7")
  334. StartConversation(conversation, NPC, Spawn, "I've heard of a few people falling ill around the city. This is nothing too alarming - it happens all of the time. A few are gravely sick, and I want to know more about their symptoms. Can you look into this?")
  335. end
  336. function dlg4_7(NPC, Spawn)
  337. FaceTarget(NPC, Spawn)
  338. conversation = CreateConversation()
  339. AddConversationOption(conversation, "I see. All right, I'll look for them and let you know what I find out." , "offer3")
  340. StartConversation(conversation, NPC, Spawn, "There's three I know about. One is in one of the taverns, right where he fell when the sickness took hold. There's another that apparently tried to seek help at the Temple of War, but their magic did not help. And I've heard of one who simply fell in the streets near the docks, and was left there.")
  341. end
  342. function dlg4_8(NPC, Spawn)
  343. FaceTarget(NPC, Spawn)
  344. conversation = CreateConversation()
  345. AddConversationOption(conversation, "Of course! It really couldn't be missed.", "dlg4_9")
  346. StartConversation(conversation, NPC, Spawn, "A green haze? Are you certain?")
  347. end
  348. function dlg4_9(NPC, Spawn)
  349. FaceTarget(NPC, Spawn)
  350. conversation = CreateConversation()
  351. AddConversationOption(conversation, "What do you mean? You don't suppose this has something to do with the Dark Agenda, do you?", "dlg5_0")
  352. StartConversation(conversation, NPC, Spawn, "Oh no... I don't want to imagine it, but too many things are beginning to add up in a frightening way.")
  353. end
  354. function dlg5_0(NPC, Spawn)
  355. FaceTarget(NPC, Spawn)
  356. conversation = CreateConversation()
  357. AddConversationOption(conversation, "Could the followers of the roekillik really unleash such a thing? I thought the roekillik would do that themselves.", "dlg5_1")
  358. StartConversation(conversation, NPC, Spawn, "I'm afraid it might! Those sickened people were only a sample - the sickness of the Dark Agenda would wipe out all life on Norrath. We'd all suffer and die, while the roekillik laughed and took Norrath as their own. We have to know if this is what is happening!")
  359. end
  360. function dlg5_1(NPC, Spawn)
  361. FaceTarget(NPC, Spawn)
  362. SetStepComplete(Spawn, QUEST3, 4)
  363. conversation = CreateConversation()
  364. AddConversationOption(conversation, "I will. I'll come back once I know what's happening.")
  365. StartConversation(conversation, NPC, Spawn, "I don't know. We need to find out, though. The followers must be hiding out here someplace. Find them! See what they are hiding! I need to warn others of the danger!")
  366. end
  367. function offer2(NPC, Spawn)
  368. FaceTarget(NPC, Spawn)
  369. OfferQuest(NPC, Spawn, QUEST2)
  370. end
  371. function offer1(NPC, Spawn)
  372. FaceTarget(NPC, Spawn)
  373. OfferQuest(NPC, Spawn, QUEST1)
  374. end
  375. function offer3(NPC, Spawn)
  376. FaceTarget(NPC, Spawn)
  377. OfferQuest(NPC, Spawn, QUEST3)
  378. end
  379. function respawn(NPC)
  380. end