GeldaxXalylharil.lua 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. --[[
  2. Script Name : SpawnScripts/DarklightWood/GeldaxXalylharil.lua
  3. Script Purpose : Geldax Xalylharil
  4. Script Author : fearfx
  5. Script Date : 2017.01.26
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local TheWarpfontSpire = 192
  9. local ComparisonsToTheHarrowglade = 193
  10. local OtherMaterials = 194
  11. local ResonanceCapture = 195
  12. function spawn(NPC)
  13. ProvidesQuest(NPC, TheWarpfontSpire)
  14. ProvidesQuest(NPC, ComparisonsToTheHarrowglade)
  15. ProvidesQuest(NPC, OtherMaterials)
  16. ProvidesQuest(NPC, ResonanceCapture)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function InRange(NPC, Spawn)
  22. end
  23. function LeaveRange(NPC, Spawn)
  24. end
  25. function hailed(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. if not HasQuest(Spawn, TheWarpfontSpire) and not HasCompletedQuest(Spawn, TheWarpfontSpire) then
  29. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  30. AddConversationOption(conversation, "I am " .. GetName(Spawn) .. ".", "Quest_TheWarpfontSpire")
  31. StartConversation(conversation, NPC, Spawn, "Greetings. I am Geldax Xalylharil.")
  32. elseif HasQuest(Spawn, TheWarpfontSpire) and GetQuestStep(Spawn, TheWarpfontSpire) == 2 then
  33. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  34. AddConversationOption(conversation, "Yes, here you go.", "Quest_ComparisonsToTheHarrowglade")
  35. StartConversation(conversation, NPC, Spawn, "Do you have the dust?")
  36. elseif not HasQuest(Spawn, ComparisonsToTheHarrowglade) and HasCompletedQuest(Spawn, TheWarpfontSpire) then
  37. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "Yes, here you go.", "Quest_ComparisonsToTheHarrowglade")
  39. StartConversation(conversation, NPC, Spawn, "Do you have the dust?")
  40. else
  41. Say(NPC, "End of Dialog, or error")
  42. end
  43. end
  44. --------------------------------------------------------------------------------
  45. -- The Warpfont Spire
  46. --------------------------------------------------------------------------------
  47. function Quest_TheWarpfontSpire(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. conversation = CreateConversation()
  50. AddConversationOption(conversation, "What is your work?", "Quest_TheWarpfontSpire_01")
  51. StartConversation(conversation, NPC, Spawn, "Ah, that name sounds familiar to me for some reason. In any case, welcome to the Wanderlust Fair. Home to many things I have nothing to do with, but also to a bright scientific community. Watching Vornlin work is quite impressive, I must say. I don't know what he is studying, though, as my own work keeps me too busy to question him much.")
  52. end
  53. function Quest_TheWarpfontSpire_01(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. AddConversationOption(conversation, "And you're trying to figure that out?", "Quest_TheWarpfontSpire_02")
  57. StartConversation(conversation, NPC, Spawn, "Have you ever heard of Warp Fatigue? I hope not, because I just made it up. But it is what I use to describe the effects of 'something' on certain inhabitants of the Darklight Wood. Near the pass to the Commonlands, southeast of here, you can find the Warpfont Spire. The stone itself has been twisted by some unnatural force. Wisps that spend time near it become twisted themselves, but nobody knows why.")
  58. end
  59. function Quest_TheWarpfontSpire_02(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. AddConversationOption(conversation, "I could help collect samples.", "Quest_TheWarpfontSpire_03")
  63. StartConversation(conversation, NPC, Spawn, "Trying, yes, but so far I have not learned very much. Things would go much faster if I could have my samples gathered while I was working, but I'm not as prestigious as Vornlin, and was not provided with an assistant.")
  64. end
  65. function Quest_TheWarpfontSpire_03(NPC, Spawn)
  66. FaceTarget(NPC, Spawn)
  67. conversation = CreateConversation()
  68. AddConversationOption(conversation, "All right, I'll go collect your samples.", "QuestOffer_TheWarpfontSpire")
  69. AddConversationOption(conversation, "I'm a little busy at the moment.")
  70. StartConversation(conversation, NPC, Spawn, "That would be perfect. Right now I need the resonant dust from the warped wisplings that coalesce about the Warpfont Spire. If you take the road east out of Wanderlust Fair and then go south at the fork, the Warpfont Spire is south of where the Searing Tendril River splits.")
  71. end
  72. function QuestOffer_TheWarpfontSpire(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. OfferQuest(NPC, Spawn, TheWarpfontSpire)
  76. AddConversationOption(conversation, "Great.", "dlg_5_6")
  77. StartConversation(conversation, NPC, Spawn, "They should be easy to get, the wisps are filled with this dust.")
  78. end
  79. --------------------------------------------------------------------------------
  80. -- Comparisons To The Harrowglade
  81. --------------------------------------------------------------------------------
  82. function Quest_ComparisonsToTheHarrowglade(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. if GetQuestStep(Spawn, TheWarpfontSpire) == 2 then
  86. SetStepComplete(Spawn, TheWarpfontSpire, 2)
  87. end
  88. AddConversationOption(conversation, "What happened?", "Quest_ComparisonsToTheHarrowglade_01")
  89. StartConversation(conversation, NPC, Spawn, "My thanks. I can now run some of my first tests to see if--hm. I wasn't exactly expecting this.")
  90. end
  91. function Quest_ComparisonsToTheHarrowglade_01(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. AddConversationOption(conversation, "So it's affecting everything?", "Quest_ComparisonsToTheHarrowglade_02")
  95. StartConversation(conversation, NPC, Spawn, "Well, I had always assumed the wisps were affected by the Warpfont Spires because they were somehow naturally attuned to whatever energies the spire is putting out. The magical nature of wisps is why I had assumed only they were being affected. But I've just now come across an impure sample from one of the warped wisplings and it seems that the very soil is also being somehow adjusted by the energies of the Warpfont Spire.")
  96. end
  97. function Quest_ComparisonsToTheHarrowglade_02(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. AddConversationOption(conversation, "What do you need this time?", "Quest_ComparisonsToTheHarrowglade_03")
  101. StartConversation(conversation, NPC, Spawn, "I really don't know. Maybe the wisp itself affected this soil, I can't tell without more samples.")
  102. end
  103. function Quest_ComparisonsToTheHarrowglade_03(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. AddConversationOption(conversation, "I'll go collect the rocks.", "QuestOffer_ComparisonsToTheHarrowglade")
  107. AddConversationOption(conversation, "I can't, actually.")
  108. StartConversation(conversation, NPC, Spawn, "Rocks, if you could. Rocks from the Warpfont Spire as well as from the Harrowglade. If this warp is affecting everything then perhaps the spire is not a conduit as I originally imagined and merely a bystander, as these wisps.")
  109. end
  110. function QuestOffer_ComparisonsToTheHarrowglade(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. OfferQuest(NPC, Spawn, ComparisonsToTheHarrowglade)
  114. AddConversationOption(conversation, "I'll be back.", "dlg_0_6")
  115. StartConversation(conversation, NPC, Spawn, "Thank you. I will continue my research.")
  116. end
  117. --[[
  118. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  119. AddConversationOption(conversation, "Yes, here you go.", "dlg_0_1")
  120. StartConversation(conversation, NPC, Spawn, "Do you have the dust?")
  121. if convo==1 then
  122. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  123. AddConversationOption(conversation, "Yes, I do.", "dlg_1_1")
  124. StartConversation(conversation, NPC, Spawn, "Do you have the samples?")
  125. end
  126. if convo==3 then
  127. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  128. AddConversationOption(conversation, "Yes, I do.", "dlg_3_1")
  129. StartConversation(conversation, NPC, Spawn, "Do you have the samples?")
  130. end
  131. if convo==4 then
  132. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  133. AddConversationOption(conversation, "I am Chayne.", "dlg_4_1")
  134. StartConversation(conversation, NPC, Spawn, "Greetings. I am Geldax Xalylharil.")
  135. end
  136. if convo==5 then
  137. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  138. AddConversationOption(conversation, "I am Chayne.", "dlg_5_1")
  139. StartConversation(conversation, NPC, Spawn, "Greetings. I am Geldax Xalylharil.")
  140. end
  141. if convo==6 then
  142. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  143. AddConversationOption(conversation, "Yes, I do.", "dlg_6_1")
  144. StartConversation(conversation, NPC, Spawn, "Do you have the samples?")
  145. end
  146. if convo==7 then
  147. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  148. AddConversationOption(conversation, "Yes, I do.", "dlg_7_1")
  149. StartConversation(conversation, NPC, Spawn, "Do you have the samples?")
  150. end
  151. if convo==8 then
  152. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  153. AddConversationOption(conversation, "Yes I have.", "dlg_8_1")
  154. StartConversation(conversation, NPC, Spawn, "Have you captured the warp extract?")
  155. end
  156. if convo==14 then
  157. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  158. AddConversationOption(conversation, "I am Hacaci.", "dlg_14_1")
  159. StartConversation(conversation, NPC, Spawn, "Greetings. I am Geldax Xalylharil.")
  160. end
  161. if convo==15 then
  162. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  163. AddConversationOption(conversation, "I am Hacaci.", "dlg_15_1")
  164. StartConversation(conversation, NPC, Spawn, "Greetings. I am Geldax Xalylharil.")
  165. end
  166. if convo==20 then
  167. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  168. AddConversationOption(conversation, "Yup. Here you go.", "dlg_20_1")
  169. StartConversation(conversation, NPC, Spawn, "Have you collected the dust?")
  170. end
  171. if convo==21 then
  172. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  173. AddConversationOption(conversation, "Yup. Here you go.", "dlg_21_1")
  174. StartConversation(conversation, NPC, Spawn, "Have you collected the dust?")
  175. end
  176. if convo==24 then
  177. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  178. AddConversationOption(conversation, "Not yet.", "dlg_24_1")
  179. StartConversation(conversation, NPC, Spawn, "Have you collected the dust?")
  180. end
  181. if convo==29 then
  182. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  183. AddConversationOption(conversation, "Yup. Here you go.", "dlg_29_1")
  184. StartConversation(conversation, NPC, Spawn, "Have you collected the dust?")
  185. end
  186. if convo==30 then
  187. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  188. AddConversationOption(conversation, "Yup. Here you go.", "dlg_30_1")
  189. StartConversation(conversation, NPC, Spawn, "Have you collected the dust?")
  190. end
  191. if convo==60 then
  192. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  193. AddConversationOption(conversation, "Yes, here you go.", "dlg_60_1")
  194. StartConversation(conversation, NPC, Spawn, "Do you have the dust?")
  195. end
  196. if convo==61 then
  197. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  198. AddConversationOption(conversation, "Yes, here you go.", "dlg_61_1")
  199. StartConversation(conversation, NPC, Spawn, "Do you have the dust?")
  200. end
  201. end
  202. function dlg_0_1(NPC, Spawn)
  203. FaceTarget(NPC, Spawn)
  204. conversation = CreateConversation()
  205. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  206. AddConversationOption(conversation, "What happened?", "dlg_0_2")
  207. StartConversation(conversation, NPC, Spawn, "My thanks. I can now run some of my first tests to see if--hm. I wasn't exactly expecting this.")
  208. end
  209. function dlg_0_2(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. conversation = CreateConversation()
  212. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  213. AddConversationOption(conversation, "So it's affecting everything?", "dlg_0_3")
  214. StartConversation(conversation, NPC, Spawn, "Well, I had always assumed the wisps were affected by the Warpfont Spires because they were somehow naturally attuned to whatever energies the spire is putting out. The magical nature of wisps is why I had assumed only they were being affected. But I've just now come across an impure sample from one of the warped wisplings and it seems that the very soil is also being somehow adjusted by the energies of the Warpfont Spire.")
  215. end
  216. function dlg_0_3(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. conversation = CreateConversation()
  219. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  220. AddConversationOption(conversation, "What do you need this time?", "dlg_0_4")
  221. StartConversation(conversation, NPC, Spawn, "I really don't know. Maybe the wisp itself affected this soil, I can't tell without more samples.")
  222. end
  223. function dlg_0_4(NPC, Spawn)
  224. FaceTarget(NPC, Spawn)
  225. conversation = CreateConversation()
  226. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  227. AddConversationOption(conversation, "I'll go collect the rocks.", "dlg_0_5")
  228. AddConversationOption(conversation, "I can't, actually.")
  229. StartConversation(conversation, NPC, Spawn, "Rocks, if you could. Rocks from the Warpfont Spire as well as from the Harrowglade. If this warp is affecting everything then perhaps the spire is not a conduit as I originally imagined and merely a bystander, as these wisps.")
  230. end
  231. function dlg_0_5(NPC, Spawn)
  232. FaceTarget(NPC, Spawn)
  233. conversation = CreateConversation()
  234. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  235. AddConversationOption(conversation, "I'll be back.", "dlg_0_6")
  236. StartConversation(conversation, NPC, Spawn, "Thank you. I will continue my research.")
  237. end
  238. function dlg_1_1(NPC, Spawn)
  239. FaceTarget(NPC, Spawn)
  240. conversation = CreateConversation()
  241. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  242. AddConversationOption(conversation, "What plan?", "dlg_1_2")
  243. StartConversation(conversation, NPC, Spawn, "Thank you. When I study these further I may be able to figure out what is going on. However, I have another plan to gain more information.")
  244. end
  245. function dlg_1_2(NPC, Spawn)
  246. FaceTarget(NPC, Spawn)
  247. conversation = CreateConversation()
  248. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  249. AddConversationOption(conversation, "All right.", "dlg_1_3")
  250. AddConversationOption(conversation, "Right now I would mind.")
  251. StartConversation(conversation, NPC, Spawn, "I believe I've found a way to... well... extract the warp from one of the wisplings affected by it. However, using it on the resonant dust from the warped wisplings isn't returning quite the volume I was looking for. However, using it on a living wispling might prove more productive. Would you mind collecting some for me?")
  252. end
  253. function dlg_1_3(NPC, Spawn)
  254. FaceTarget(NPC, Spawn)
  255. conversation = CreateConversation()
  256. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  257. AddConversationOption(conversation, "All right, I'll be back.", "dlg_1_4")
  258. StartConversation(conversation, NPC, Spawn, "Great. I believe this will help a great deal with my research.")
  259. end
  260. function dlg_3_1(NPC, Spawn)
  261. FaceTarget(NPC, Spawn)
  262. conversation = CreateConversation()
  263. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  264. AddConversationOption(conversation, "What plan?", "dlg_3_2")
  265. StartConversation(conversation, NPC, Spawn, "Thank you. When I study these further I may be able to figure out what is going on. However, I have another plan to gain more information.")
  266. end
  267. function dlg_3_2(NPC, Spawn)
  268. FaceTarget(NPC, Spawn)
  269. conversation = CreateConversation()
  270. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  271. AddConversationOption(conversation, "All right.", "dlg_3_3")
  272. AddConversationOption(conversation, "Right now I would mind.")
  273. StartConversation(conversation, NPC, Spawn, "I believe I've found a way to... well... extract the warp from one of the wisplings affected by it. However, using it on the resonant dust from the warped wisplings isn't returning quite the volume I was looking for. However, using it on a living wispling might prove more productive. Would you mind collecting some for me?")
  274. end
  275. function dlg_3_3(NPC, Spawn)
  276. FaceTarget(NPC, Spawn)
  277. conversation = CreateConversation()
  278. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  279. AddConversationOption(conversation, "All right, I'll be back.", "dlg_3_4")
  280. StartConversation(conversation, NPC, Spawn, "Great. I believe this will help a great deal with my research.")
  281. end
  282. function dlg_4_1(NPC, Spawn)
  283. FaceTarget(NPC, Spawn)
  284. conversation = CreateConversation()
  285. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  286. AddConversationOption(conversation, "What is your work?", "dlg_4_2")
  287. StartConversation(conversation, NPC, Spawn, "Ah, that name sounds familiar to me for some reason. In any case, welcome to the Wanderlust Fair. Home to many things I have nothing to do with, but also to a bright scientific community. Watching Vornlin work is quite impressive, I must say. I don't know what he is studying, though, as my own work keeps me too busy to question him much.")
  288. end
  289. function dlg_4_2(NPC, Spawn)
  290. FaceTarget(NPC, Spawn)
  291. conversation = CreateConversation()
  292. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  293. AddConversationOption(conversation, "And you're trying to figure that out?", "dlg_4_3")
  294. StartConversation(conversation, NPC, Spawn, "Have you ever heard of Warp Fatigue? I hope not, because I just made it up. But it is what I use to describe the effects of 'something' on certain inhabitants of the Darklight Wood. Near the pass to the Commonlands, southeast of here, you can find the Warpfont Spire. The stone itself has been twisted by some unnatural force. Wisps that spend time near it become twisted themselves, but nobody knows why.")
  295. end
  296. function dlg_4_3(NPC, Spawn)
  297. FaceTarget(NPC, Spawn)
  298. conversation = CreateConversation()
  299. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  300. AddConversationOption(conversation, "I could help collect samples.", "dlg_4_4")
  301. StartConversation(conversation, NPC, Spawn, "Trying, yes, but so far I have not learned very much. Things would go much faster if I could have my samples gathered while I was working, but I'm not as prestigious as Vornlin, and was not provided with an assistant.")
  302. end
  303. function dlg_4_4(NPC, Spawn)
  304. FaceTarget(NPC, Spawn)
  305. conversation = CreateConversation()
  306. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  307. AddConversationOption(conversation, "All right, I'll go collect your samples.", "dlg_4_5")
  308. AddConversationOption(conversation, "I'm a little busy at the moment.")
  309. StartConversation(conversation, NPC, Spawn, "That would be perfect. Right now I need the resonant dust from the warped wisplings that coalesce about the Warpfont Spire. If you take the road east out of Wanderlust Fair and then go south at the fork, the Warpfont Spire is south of where the Searing Tendril River splits.")
  310. end
  311. function dlg_5_1(NPC, Spawn)
  312. FaceTarget(NPC, Spawn)
  313. conversation = CreateConversation()
  314. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  315. AddConversationOption(conversation, "What is your work?", "dlg_5_2")
  316. StartConversation(conversation, NPC, Spawn, "Ah, that name sounds familiar to me for some reason. In any case, welcome to the Wanderlust Fair. Home to many things I have nothing to do with, but also to a bright scientific community. Watching Vornlin work is quite impressive, I must say. I don't know what he is studying, though, as my own work keeps me too busy to question him much.")
  317. end
  318. function dlg_5_2(NPC, Spawn)
  319. FaceTarget(NPC, Spawn)
  320. conversation = CreateConversation()
  321. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  322. AddConversationOption(conversation, "And you're trying to figure that out?", "dlg_5_3")
  323. StartConversation(conversation, NPC, Spawn, "Have you ever heard of Warp Fatigue? I hope not, because I just made it up. But it is what I use to describe the effects of 'something' on certain inhabitants of the Darklight Wood. Near the pass to the Commonlands, southeast of here, you can find the Warpfont Spire. The stone itself has been twisted by some unnatural force. Wisps that spend time near it become twisted themselves, but nobody knows why.")
  324. end
  325. function dlg_5_3(NPC, Spawn)
  326. FaceTarget(NPC, Spawn)
  327. conversation = CreateConversation()
  328. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  329. AddConversationOption(conversation, "I could help collect samples.", "dlg_5_4")
  330. StartConversation(conversation, NPC, Spawn, "Trying, yes, but so far I have not learned very much. Things would go much faster if I could have my samples gathered while I was working, but I'm not as prestigious as Vornlin, and was not provided with an assistant.")
  331. end
  332. function dlg_5_4(NPC, Spawn)
  333. FaceTarget(NPC, Spawn)
  334. conversation = CreateConversation()
  335. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  336. AddConversationOption(conversation, "All right, I'll go collect your samples.", "dlg_5_5")
  337. AddConversationOption(conversation, "I'm a little busy at the moment.")
  338. StartConversation(conversation, NPC, Spawn, "That would be perfect. Right now I need the resonant dust from the warped wisplings that coalesce about the Warpfont Spire. If you take the road east out of Wanderlust Fair and then go south at the fork, the Warpfont Spire is south of where the Searing Tendril River splits.")
  339. end
  340. function dlg_5_5(NPC, Spawn)
  341. FaceTarget(NPC, Spawn)
  342. conversation = CreateConversation()
  343. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  344. AddConversationOption(conversation, "Great.", "dlg_5_6")
  345. StartConversation(conversation, NPC, Spawn, "They should be easy to get, the wisps are filled with this dust.")
  346. end
  347. function dlg_6_1(NPC, Spawn)
  348. FaceTarget(NPC, Spawn)
  349. conversation = CreateConversation()
  350. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  351. AddConversationOption(conversation, "What plan?", "dlg_6_2")
  352. StartConversation(conversation, NPC, Spawn, "Thank you. When I study these further I may be able to figure out what is going on. However, I have another plan to gain more information.")
  353. end
  354. function dlg_6_2(NPC, Spawn)
  355. FaceTarget(NPC, Spawn)
  356. conversation = CreateConversation()
  357. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  358. AddConversationOption(conversation, "All right.", "dlg_6_3")
  359. AddConversationOption(conversation, "Right now I would mind.")
  360. StartConversation(conversation, NPC, Spawn, "I believe I've found a way to... well... extract the warp magic from one of the wisplings. However, using it on the resonant dust you recovered from warped wisplings isn't returning quite the volume I was looking for. The magic extracted from a live wispling should prove more voluminous. Would you mind collecting them for me?")
  361. end
  362. function dlg_7_1(NPC, Spawn)
  363. FaceTarget(NPC, Spawn)
  364. conversation = CreateConversation()
  365. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  366. AddConversationOption(conversation, "What plan?", "dlg_7_2")
  367. StartConversation(conversation, NPC, Spawn, "Thank you. When I study these further I may be able to figure out what is going on. However, I have another plan to gain more information.")
  368. end
  369. function dlg_7_2(NPC, Spawn)
  370. FaceTarget(NPC, Spawn)
  371. conversation = CreateConversation()
  372. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  373. AddConversationOption(conversation, "All right.", "dlg_7_3")
  374. AddConversationOption(conversation, "Right now I would mind.")
  375. StartConversation(conversation, NPC, Spawn, "I believe I've found a way to... well... extract the warp magic from one of the wisplings. However, using it on the resonant dust you recovered from warped wisplings isn't returning quite the volume I was looking for. The magic extracted from a live wispling should prove more voluminous. Would you mind collecting them for me?")
  376. end
  377. function dlg_7_3(NPC, Spawn)
  378. FaceTarget(NPC, Spawn)
  379. conversation = CreateConversation()
  380. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  381. AddConversationOption(conversation, "All right. I'll be back.", "dlg_7_4")
  382. StartConversation(conversation, NPC, Spawn, "Splendid. This will help a great deal with my research.")
  383. end
  384. function dlg_8_1(NPC, Spawn)
  385. FaceTarget(NPC, Spawn)
  386. conversation = CreateConversation()
  387. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  388. AddConversationOption(conversation, "Really begin?", "dlg_8_2")
  389. StartConversation(conversation, NPC, Spawn, "Perfect. I believe I have all I need now to really begin my research.")
  390. end
  391. function dlg_8_2(NPC, Spawn)
  392. FaceTarget(NPC, Spawn)
  393. conversation = CreateConversation()
  394. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  395. AddConversationOption(conversation, "You're welcome.", "dlg_8_3")
  396. StartConversation(conversation, NPC, Spawn, "Yes. This is going to take some time. I did preliminary tests to help focus my study, but I've got a long way to go. You helped me up to this point much faster though, thank you.")
  397. end
  398. function dlg_14_1(NPC, Spawn)
  399. FaceTarget(NPC, Spawn)
  400. conversation = CreateConversation()
  401. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  402. AddConversationOption(conversation, "What is your work?", "dlg_14_2")
  403. StartConversation(conversation, NPC, Spawn, "Ah, that name sounds familiar to me for some reason. In any case, welcome to the Wanderlust Fair. Home to many things I have nothing to do with, but also to a bright scientific community. Watching Vornlin work is quite impressive, I must say. I don't know what he is studying, though, as my own work keeps me too busy to question him much.")
  404. end
  405. function dlg_14_2(NPC, Spawn)
  406. FaceTarget(NPC, Spawn)
  407. conversation = CreateConversation()
  408. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  409. AddConversationOption(conversation, "And you're trying to figure that out?", "dlg_14_3")
  410. StartConversation(conversation, NPC, Spawn, "Have you ever heard of Warp Fatigue? I hope not, because I just made it up. But it is what I use to describe the effects of 'something' on certain inhabitants of the Darklight Wood. Near the pass to the Commonlands, southeast of here, you can find the Warpfont Spire. The stone itself has been twisted by some unnatural force. Wisps that spend time near it become twisted themselves, but nobody knows why.")
  411. end
  412. function dlg_14_3(NPC, Spawn)
  413. FaceTarget(NPC, Spawn)
  414. conversation = CreateConversation()
  415. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  416. AddConversationOption(conversation, "I could help collect samples.", "dlg_14_4")
  417. StartConversation(conversation, NPC, Spawn, "Trying, yes, but so far I have not learned very much. Things would go much faster if I could have my samples gathered while I was working, but I'm not as prestigious as Vornlin, and was not provided with an assistant.")
  418. end
  419. function dlg_14_4(NPC, Spawn)
  420. FaceTarget(NPC, Spawn)
  421. conversation = CreateConversation()
  422. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  423. AddConversationOption(conversation, "All right, I'll go collect your samples.", "dlg_14_5")
  424. AddConversationOption(conversation, "I'm a little busy at the moment.")
  425. StartConversation(conversation, NPC, Spawn, "That would be perfect. Right now I need the resonant dust from the warped wisplings that coalesce about the Warpfont Spire. If you take the road east out of Wanderlust Fair and then go south at the fork, the Warpfont Spire is south of where the Searing Tendril River splits.")
  426. end
  427. function dlg_15_1(NPC, Spawn)
  428. FaceTarget(NPC, Spawn)
  429. conversation = CreateConversation()
  430. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  431. AddConversationOption(conversation, "What is your work?", "dlg_15_2")
  432. StartConversation(conversation, NPC, Spawn, "Ah, that name sounds familiar to me for some reason. In any case, welcome to the Wanderlust Fair. Home to many things I have nothing to do with, but also to a bright scientific community. Watching Vornlin work is quite impressive, I must say. I don't know what he is studying, though, as my own work keeps me too busy to question him much.")
  433. end
  434. function dlg_15_2(NPC, Spawn)
  435. FaceTarget(NPC, Spawn)
  436. conversation = CreateConversation()
  437. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  438. AddConversationOption(conversation, "And you're trying to figure that out?", "dlg_15_3")
  439. StartConversation(conversation, NPC, Spawn, "Have you ever heard of Warp Fatigue? I hope not, because I just made it up. But it is what I use to describe the effects of 'something' on certain inhabitants of the Darklight Wood. Near the pass to the Commonlands, southeast of here, you can find the Warpfont Spire. The stone itself has been twisted by some unnatural force. Wisps that spend time near it become twisted themselves, but nobody knows why.")
  440. end
  441. function dlg_15_3(NPC, Spawn)
  442. FaceTarget(NPC, Spawn)
  443. conversation = CreateConversation()
  444. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  445. AddConversationOption(conversation, "I could help collect samples.", "dlg_15_4")
  446. StartConversation(conversation, NPC, Spawn, "Trying, yes, but so far I have not learned very much. Things would go much faster if I could have my samples gathered while I was working, but I'm not as prestigious as Vornlin, and was not provided with an assistant.")
  447. end
  448. function dlg_15_4(NPC, Spawn)
  449. FaceTarget(NPC, Spawn)
  450. conversation = CreateConversation()
  451. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  452. AddConversationOption(conversation, "All right, I'll go collect your samples.", "dlg_15_5")
  453. AddConversationOption(conversation, "I'm a little busy at the moment.")
  454. StartConversation(conversation, NPC, Spawn, "That would be perfect. Right now I need the resonant dust from the warped wisplings that coalesce about the Warpfont Spire. If you take the road east out of Wanderlust Fair and then go south at the fork, the Warpfont Spire is south of where the Searing Tendril River splits.")
  455. end
  456. function dlg_15_5(NPC, Spawn)
  457. FaceTarget(NPC, Spawn)
  458. conversation = CreateConversation()
  459. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  460. AddConversationOption(conversation, "Great.", "dlg_15_6")
  461. StartConversation(conversation, NPC, Spawn, "They should be easy to get. The wisps are filled with this dust.")
  462. end
  463. function dlg_20_1(NPC, Spawn)
  464. FaceTarget(NPC, Spawn)
  465. conversation = CreateConversation()
  466. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  467. AddConversationOption(conversation, "Yes, I can get more samples.", "dlg_20_2")
  468. AddConversationOption(conversation, "Maybe later.")
  469. StartConversation(conversation, NPC, Spawn, "Perfect! I appreciate this greatly. This will be quite enough to last me for some while. Hm, do you think you could restock my supplies for the same powder from the wisplings that aren't warped? They are west across the river from the Warpfont Spire, in a small section of the wood known as the Harrowglade.")
  470. end
  471. function dlg_21_1(NPC, Spawn)
  472. FaceTarget(NPC, Spawn)
  473. conversation = CreateConversation()
  474. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  475. AddConversationOption(conversation, "Yes, I can get more samples.", "dlg_21_2")
  476. AddConversationOption(conversation, "Maybe later.")
  477. StartConversation(conversation, NPC, Spawn, "Perfect! I appreciate this greatly. This will be quite enough to last me for some while. Hm, do you think you could restock my supplies for the same powder from the wisplings that aren't warped? They are west across the river from the Warpfont Spire, in a small section of the wood known as the Harrowglade.")
  478. end
  479. function dlg_21_2(NPC, Spawn)
  480. FaceTarget(NPC, Spawn)
  481. conversation = CreateConversation()
  482. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  483. AddConversationOption(conversation, "I will return.", "dlg_21_3")
  484. StartConversation(conversation, NPC, Spawn, "Good. I will need control samples in my research.")
  485. end
  486. function dlg_29_1(NPC, Spawn)
  487. FaceTarget(NPC, Spawn)
  488. conversation = CreateConversation()
  489. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  490. AddConversationOption(conversation, "Yes, I can get more samples.", "dlg_29_2")
  491. AddConversationOption(conversation, "Maybe later.")
  492. StartConversation(conversation, NPC, Spawn, "Perfect! I appreciate this greatly. This will be quite enough to last me for some while. Hm, do you think you could restock my supplies for the same powder from the wisplings that aren't warped? They are west across the river from the Warpfont Spire, in a small section of the wood known as the Harrowglade.")
  493. end
  494. function dlg_30_1(NPC, Spawn)
  495. FaceTarget(NPC, Spawn)
  496. conversation = CreateConversation()
  497. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  498. AddConversationOption(conversation, "Yes, I can get more samples.", "dlg_30_2")
  499. AddConversationOption(conversation, "Maybe later.")
  500. StartConversation(conversation, NPC, Spawn, "Perfect! I appreciate this greatly. This will be quite enough to last me for some while. Hm, do you think you could restock my supplies for the same powder from the wisplings that aren't warped? They are west across the river from the Warpfont Spire, in a small section of the wood known as the Harrowglade.")
  501. end
  502. function dlg_30_2(NPC, Spawn)
  503. FaceTarget(NPC, Spawn)
  504. conversation = CreateConversation()
  505. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  506. AddConversationOption(conversation, "I will return.", "dlg_30_3")
  507. StartConversation(conversation, NPC, Spawn, "Good. I will need control samples in my research.")
  508. end
  509. function dlg_60_1(NPC, Spawn)
  510. FaceTarget(NPC, Spawn)
  511. conversation = CreateConversation()
  512. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  513. AddConversationOption(conversation, "What happened?", "dlg_60_2")
  514. StartConversation(conversation, NPC, Spawn, "My thanks. I can now run some of my first tests to see if--hm. I wasn't exactly expecting this.")
  515. end
  516. function dlg_60_2(NPC, Spawn)
  517. FaceTarget(NPC, Spawn)
  518. conversation = CreateConversation()
  519. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  520. AddConversationOption(conversation, "So you think the spires might be affecting everything?", "dlg_60_3")
  521. StartConversation(conversation, NPC, Spawn, "I assumed the wisps were affected by the Warpfont Spires because they are naturally attuned to the arcane energies emitted by the spire, and yet here is an impure sample of soil from one of the wisplings. I wonder if the very earth itself isn't being affected by the energies of the spire.")
  522. end
  523. function dlg_60_3(NPC, Spawn)
  524. FaceTarget(NPC, Spawn)
  525. conversation = CreateConversation()
  526. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  527. AddConversationOption(conversation, "What kinds of samples?", "dlg_60_4")
  528. StartConversation(conversation, NPC, Spawn, "I'm unsure. Maybe the wisp augmented the soil. I can't be certain without more samples.")
  529. end
  530. function dlg_60_4(NPC, Spawn)
  531. FaceTarget(NPC, Spawn)
  532. conversation = CreateConversation()
  533. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  534. AddConversationOption(conversation, "I'll go collect the rocks.", "dlg_60_5")
  535. AddConversationOption(conversation, "I can't, actually.")
  536. StartConversation(conversation, NPC, Spawn, "Perhaps the spire is not a conduit, as I originally hypothesized. I will require rocks from the Warpfont Spire as well as from the Harrowglade.")
  537. end
  538. function dlg_61_1(NPC, Spawn)
  539. FaceTarget(NPC, Spawn)
  540. conversation = CreateConversation()
  541. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  542. AddConversationOption(conversation, "What happened?", "dlg_61_2")
  543. StartConversation(conversation, NPC, Spawn, "My thanks. I can now run some of my first tests to see if--hm. I wasn't exactly expecting this.")
  544. end
  545. function dlg_61_2(NPC, Spawn)
  546. FaceTarget(NPC, Spawn)
  547. conversation = CreateConversation()
  548. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  549. AddConversationOption(conversation, "So you think the spires might be affecting everything?", "dlg_61_3")
  550. StartConversation(conversation, NPC, Spawn, "I assumed the wisps were affected by the Warpfont Spires because they are naturally attuned to the arcane energies emitted by the spire, and yet here is an impure sample of soil from one of the wisplings. I wonder if the very earth itself isn't being affected by the energies of the spire.")
  551. end
  552. function dlg_61_3(NPC, Spawn)
  553. FaceTarget(NPC, Spawn)
  554. conversation = CreateConversation()
  555. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  556. AddConversationOption(conversation, "What kinds of samples?", "dlg_61_4")
  557. StartConversation(conversation, NPC, Spawn, "I'm unsure. Maybe the wisp augmented the soil. I can't be certain without more samples.")
  558. end
  559. function dlg_61_4(NPC, Spawn)
  560. FaceTarget(NPC, Spawn)
  561. conversation = CreateConversation()
  562. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  563. AddConversationOption(conversation, "I'll go collect the rocks.", "dlg_61_5")
  564. AddConversationOption(conversation, "I can't, actually.")
  565. StartConversation(conversation, NPC, Spawn, "Perhaps the spire is not a conduit, as I originally hypothesized. I will require rocks from the Warpfont Spire as well as from the Harrowglade.")
  566. end
  567. function dlg_61_5(NPC, Spawn)
  568. FaceTarget(NPC, Spawn)
  569. conversation = CreateConversation()
  570. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  571. AddConversationOption(conversation, "I'll be back.", "dlg_61_6")
  572. StartConversation(conversation, NPC, Spawn, "Waste no time, Hacaci.")
  573. end
  574. ]]--