9
3

VornlinBVytyl.lua 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. --[[
  2. Script Name : SpawnScripts/DarklightWood/VornlinBVytyl.lua
  3. Script Purpose : Vornlin B'Vytyl
  4. Script Author : fearfx
  5. Script Date : 2017.01.20
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local ContinuingAssistance = 154
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. if HasQuest(Spawn, ContinuingAssistance) then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  23. AddConversationOption(conversation, "I have a letter for you from Laexyra Y'Barriath at the T'Vatar Post.", "Quest_ContinuingAssistance")
  24. StartConversation(conversation, NPC, Spawn, "May I help you?")
  25. end
  26. end
  27. --------------------------------------------------------------------------------
  28. -- Continuing Assistance
  29. --------------------------------------------------------------------------------
  30. function Quest_ContinuingAssistance(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. SetStepComplete(Spawn, ContinuingAssistance, 2)
  34. AddConversationOption(conversation, "And I suppose I should say you are welcome.", "dlg_11_2")
  35. StartConversation(conversation, NPC, Spawn, "Ah, about time too. I suppose I should say thank you.")
  36. end
  37. --[[
  38. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  39. AddConversationOption(conversation, "Not yet.", "dlg_0_1")
  40. StartConversation(conversation, NPC, Spawn, "Have you found him yet?")
  41. if convo==2 then
  42. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  43. AddConversationOption(conversation, "No, I haven't.", "dlg_2_1")
  44. StartConversation(conversation, NPC, Spawn, "You haven't seen an ugly Teir'Dal named Alakzaer around Wanderlust Fair lately, have you?")
  45. end
  46. if convo==3 then
  47. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  48. AddConversationOption(conversation, "No, I haven't.", "dlg_3_1")
  49. StartConversation(conversation, NPC, Spawn, "You haven't seen an ugly Teir'Dal named Alakzaer around Wanderlust Fair lately, have you?")
  50. end
  51. if convo==8 then
  52. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  53. AddConversationOption(conversation, "Yes. He says he'll come down after he gets his bone samples. He was hiding from the drakes up there.", "dlg_8_1")
  54. StartConversation(conversation, NPC, Spawn, "Have you found him yet?")
  55. end
  56. if convo==9 then
  57. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  58. AddConversationOption(conversation, "Yes. He says he'll come down after he gets his bone samples. He was hiding from the drakes up there.", "dlg_9_1")
  59. StartConversation(conversation, NPC, Spawn, "Have you found him yet?")
  60. end
  61. if convo==10 then
  62. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "Yes. He says he'll come down after he gets his bone samples. He was hiding from the drakes up there.", "dlg_10_1")
  64. StartConversation(conversation, NPC, Spawn, "Have you found him yet?")
  65. end
  66. if convo==11 then
  67. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  68. AddConversationOption(conversation, "I have a letter for you from Laexyra Y'Barriath at the T'Vatar Post.", "dlg_11_1")
  69. StartConversation(conversation, NPC, Spawn, "May I help you?")
  70. end
  71. if convo==12 then
  72. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  73. AddConversationOption(conversation, "No, I haven't.", "dlg_12_1")
  74. StartConversation(conversation, NPC, Spawn, "You haven't seen an ugly Teir'Dal named Alakzaer around Wanderlust Fair lately, have you?")
  75. end
  76. if convo==13 then
  77. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  78. AddConversationOption(conversation, "No, I haven't.", "dlg_13_1")
  79. StartConversation(conversation, NPC, Spawn, "You haven't seen an ugly Teir'Dal named Alakzaer around Wanderlust Fair lately, have you?")
  80. end
  81. if convo==14 then
  82. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  83. AddConversationOption(conversation, "Well, when I kill one creature, five shroomlings jump out of its corpse.", "dlg_14_1")
  84. StartConversation(conversation, NPC, Spawn, "Have you destroyed their species yet?")
  85. end
  86. if convo==15 then
  87. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  88. AddConversationOption(conversation, "I brought you a shroomling.", "dlg_15_1")
  89. StartConversation(conversation, NPC, Spawn, "Look at them!")
  90. end
  91. if convo==16 then
  92. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  93. AddConversationOption(conversation, "I brought you a shroomling.", "dlg_16_1")
  94. StartConversation(conversation, NPC, Spawn, "Look at them!")
  95. end
  96. if convo==17 then
  97. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  98. AddConversationOption(conversation, "Well, when I kill one creature, five shroomlings jump out of its corpse.", "dlg_17_1")
  99. StartConversation(conversation, NPC, Spawn, "Have you destroyed their species yet?")
  100. end
  101. if convo==18 then
  102. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  103. AddConversationOption(conversation, "Well, when I kill one creature, five shroomlings jump out of its corpse.", "dlg_18_1")
  104. StartConversation(conversation, NPC, Spawn, "Have you destroyed their species yet?")
  105. end
  106. if convo==19 then
  107. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  108. AddConversationOption(conversation, "Uh, the boarfiend exploded.", "dlg_19_1")
  109. StartConversation(conversation, NPC, Spawn, "Did it work?")
  110. end
  111. if convo==20 then
  112. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  113. AddConversationOption(conversation, "I brought you a shroomling.", "dlg_20_1")
  114. StartConversation(conversation, NPC, Spawn, "Look at them!")
  115. end
  116. if convo==21 then
  117. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  118. AddConversationOption(conversation, "I brought you a shroomling.", "dlg_21_1")
  119. StartConversation(conversation, NPC, Spawn, "Look at them!")
  120. end
  121. if convo==23 then
  122. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  123. AddConversationOption(conversation, "Did what work? Madam Victra told me to speak with you about this boarfiend.", "dlg_23_1")
  124. StartConversation(conversation, NPC, Spawn, "Did it work?")
  125. end
  126. if convo==24 then
  127. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  128. AddConversationOption(conversation, "Uh, the boarfiend exploded.", "dlg_24_1")
  129. StartConversation(conversation, NPC, Spawn, "Did it work?")
  130. end
  131. if convo==25 then
  132. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  133. AddConversationOption(conversation, "Uh, the boarfiend exploded.", "dlg_25_1")
  134. StartConversation(conversation, NPC, Spawn, "Did it work?")
  135. end
  136. if convo==27 then
  137. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  138. AddConversationOption(conversation, "Do you still need the Nerian knot-tree leaves?", "dlg_27_1")
  139. StartConversation(conversation, NPC, Spawn, "HAHAHAHA HAH HAH HAH!!! I WIN! I found out how to kill them!!!")
  140. end
  141. if convo==28 then
  142. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  143. AddConversationOption(conversation, "Do you still need the Nerian knot-tree leaves?", "dlg_28_1")
  144. StartConversation(conversation, NPC, Spawn, "HAHAHAHA HAH HAH HAH!!! I WIN! I found out how to kill them!!!")
  145. end
  146. if convo==29 then
  147. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "", "", 0, 0, Spawn)
  148. AddConversationOption(conversation, "Yes, get your sandwich.", "dlg_29_1")
  149. StartConversation(conversation, NPC, Spawn, "How did it go? Can I have my sandwich?")
  150. end
  151. if convo==38 then
  152. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  153. AddConversationOption(conversation, "Do you still need the Nerian knot-tree leaves?", "dlg_38_1")
  154. StartConversation(conversation, NPC, Spawn, "HAHAHAHA HAH HAH HAH!!! I WIN! I found out how to kill them!!!")
  155. end
  156. if convo==39 then
  157. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", "", "", 0, 0, Spawn)
  158. AddConversationOption(conversation, "Do you still need the Nerian knot-tree leaves?", "dlg_39_1")
  159. StartConversation(conversation, NPC, Spawn, "HAHAHAHA HAH HAH HAH!!! I WIN! I found out how to kill them!!!")
  160. end
  161. if convo==51 then
  162. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", "", "", 0, 0, Spawn)
  163. AddConversationOption(conversation, "Yes, get your sandwich.", "dlg_51_1")
  164. StartConversation(conversation, NPC, Spawn, "How did it go? Can I have my sandwich?")
  165. end
  166. end
  167. function dlg_2_1(NPC, Spawn)
  168. FaceTarget(NPC, Spawn)
  169. conversation = CreateConversation()
  170. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  171. AddConversationOption(conversation, "All right.", "dlg_2_2")
  172. StartConversation(conversation, NPC, Spawn, "Blast him. When I finally need him he isn't around to be used. Do you think you could help me locate him?")
  173. end
  174. function dlg_2_2(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. conversation = CreateConversation()
  177. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  178. AddConversationOption(conversation, "I'll see if I can find him.", "dlg_2_3")
  179. AddConversationOption(conversation, "I'm sure he'll be back soon.")
  180. StartConversation(conversation, NPC, Spawn, "Great. The last I heard from him he was going up to the Nerian Highlands to study some dragon bones. He said he would be back shortly, but that was... hm... when was that? Well more than a day, I know that. If you could go and find him and let him know that I need him that would be great, thanks.")
  181. end
  182. function dlg_3_1(NPC, Spawn)
  183. FaceTarget(NPC, Spawn)
  184. conversation = CreateConversation()
  185. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  186. AddConversationOption(conversation, "All right.", "dlg_3_2")
  187. StartConversation(conversation, NPC, Spawn, "Blast him. When I finally need him he isn't around to be used. Do you think you could help me locate him?")
  188. end
  189. function dlg_3_2(NPC, Spawn)
  190. FaceTarget(NPC, Spawn)
  191. conversation = CreateConversation()
  192. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  193. AddConversationOption(conversation, "I'll see if I can find him.", "dlg_3_3")
  194. AddConversationOption(conversation, "I'm sure he'll be back soon.")
  195. StartConversation(conversation, NPC, Spawn, "Great. The last I heard from him he was going up to the Nerian Highlands to study some dragon bones. He said he would be back shortly, but that was... hm... when was that? Well more than a day, I know that. If you could go and find him and let him know that I need him that would be great, thanks.")
  196. end
  197. function dlg_3_3(NPC, Spawn)
  198. FaceTarget(NPC, Spawn)
  199. conversation = CreateConversation()
  200. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  201. AddConversationOption(conversation, "I will.", "dlg_3_4")
  202. StartConversation(conversation, NPC, Spawn, "Yes, do that.")
  203. end
  204. function dlg_8_1(NPC, Spawn)
  205. FaceTarget(NPC, Spawn)
  206. conversation = CreateConversation()
  207. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  208. AddConversationOption(conversation, "Maybe I could help.", "dlg_8_2")
  209. StartConversation(conversation, NPC, Spawn, "Blast him! Blast blastity blasted blastful blasting blast him!!! I needed him.")
  210. end
  211. function dlg_8_2(NPC, Spawn)
  212. FaceTarget(NPC, Spawn)
  213. conversation = CreateConversation()
  214. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  215. AddConversationOption(conversation, "You're a scientist?", "dlg_8_3")
  216. StartConversation(conversation, NPC, Spawn, "Perhaps. I made a stupid arrangement with that guard over there, Vicaonar, and now I've got to go kill mushroom creatures in the Nightshadow Bog. I wasn't thinking clearly and I thought the deal sounded sweet, but really he just wants me to do his work for him. So, uh, do you want to do his work for me for him?")
  217. end
  218. function dlg_8_3(NPC, Spawn)
  219. FaceTarget(NPC, Spawn)
  220. conversation = CreateConversation()
  221. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  222. AddConversationOption(conversation, "Yes, I'll help.", "dlg_8_4")
  223. StartConversation(conversation, NPC, Spawn, "... do you want to help or not?")
  224. end
  225. function dlg_8_4(NPC, Spawn)
  226. FaceTarget(NPC, Spawn)
  227. conversation = CreateConversation()
  228. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  229. AddConversationOption(conversation, "Uh, all of them?", "dlg_8_5")
  230. AddConversationOption(conversation, "Yeah, right... find someone else to do that.")
  231. StartConversation(conversation, NPC, Spawn, "Great! Vicaonar said the job isn't done until all the mushroom creatures in the swamp are dead. So go kill all of them.")
  232. end
  233. function dlg_9_1(NPC, Spawn)
  234. FaceTarget(NPC, Spawn)
  235. conversation = CreateConversation()
  236. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  237. AddConversationOption(conversation, "You're a scientist?", "dlg_9_2")
  238. StartConversation(conversation, NPC, Spawn, "Perhaps. I made a stupid arrangement with that guard over there, Vicaonar, and now I've got to go kill mushroom creatures in the Nightshadow Bog. I wasn't thinking clearly and I thought the deal sounded sweet, but really he just wants me to do his work for him. So, uh, do you want to do his work for me for him?")
  239. end
  240. function dlg_9_2(NPC, Spawn)
  241. FaceTarget(NPC, Spawn)
  242. conversation = CreateConversation()
  243. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  244. AddConversationOption(conversation, "Yes, I'll help.", "dlg_9_3")
  245. StartConversation(conversation, NPC, Spawn, "... do you want to help or not?")
  246. end
  247. function dlg_9_3(NPC, Spawn)
  248. FaceTarget(NPC, Spawn)
  249. conversation = CreateConversation()
  250. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  251. AddConversationOption(conversation, "Uh, all of them?", "dlg_9_4")
  252. AddConversationOption(conversation, "Yeah, right... find someone else to do that.")
  253. StartConversation(conversation, NPC, Spawn, "Great! Vicaonar said the job isn't done until all the mushroom creatures in the swamp are dead. So go kill all of them.")
  254. end
  255. function dlg_9_4(NPC, Spawn)
  256. FaceTarget(NPC, Spawn)
  257. conversation = CreateConversation()
  258. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  259. AddConversationOption(conversation, "Uh, all of them?", "dlg_9_5")
  260. AddConversationOption(conversation, "Yeah, right... find someone else to do that.")
  261. StartConversation(conversation, NPC, Spawn, "Great! Vicaonar said the job isn't done until all the mushroom creatures in the swamp are dead. So go kill all of them.")
  262. end
  263. function dlg_9_5(NPC, Spawn)
  264. FaceTarget(NPC, Spawn)
  265. conversation = CreateConversation()
  266. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  267. AddConversationOption(conversation, "All right, I'll return.", "dlg_9_6")
  268. StartConversation(conversation, NPC, Spawn, "Yes, genocide them up something fierce! And hurry, Vicaonar doesn't have to give me that sandwich until the job is done!")
  269. end
  270. function dlg_10_1(NPC, Spawn)
  271. FaceTarget(NPC, Spawn)
  272. conversation = CreateConversation()
  273. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  274. AddConversationOption(conversation, "Maybe I could help.", "dlg_10_2")
  275. StartConversation(conversation, NPC, Spawn, "Blast him! Blast blastity blasted blastful blasting blast him!!! I needed him.")
  276. end
  277. function dlg_10_2(NPC, Spawn)
  278. FaceTarget(NPC, Spawn)
  279. conversation = CreateConversation()
  280. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  281. AddConversationOption(conversation, "You're a scientist?", "dlg_10_3")
  282. StartConversation(conversation, NPC, Spawn, "Perhaps. I made a stupid arrangement with that guard over there, Vicaonar, and now I've got to go kill mushroom creatures in the Nightshadow Bog. I wasn't thinking clearly and I thought the deal sounded sweet, but really he just wants me to do his work for him. So, uh, do you want to do his work for me for him?")
  283. end
  284. function dlg_10_3(NPC, Spawn)
  285. FaceTarget(NPC, Spawn)
  286. conversation = CreateConversation()
  287. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  288. AddConversationOption(conversation, "Yes, I'll help.", "dlg_10_4")
  289. StartConversation(conversation, NPC, Spawn, "... do you want to help or not?")
  290. end
  291. function dlg_10_4(NPC, Spawn)
  292. FaceTarget(NPC, Spawn)
  293. conversation = CreateConversation()
  294. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  295. AddConversationOption(conversation, "Uh, all of them?", "dlg_10_5")
  296. AddConversationOption(conversation, "Yeah, right... find someone else to do that.")
  297. StartConversation(conversation, NPC, Spawn, "Great! Vicaonar said the job isn't done until all the mushroom creatures in the swamp are dead. So go kill all of them.")
  298. end
  299. function dlg_10_5(NPC, Spawn)
  300. FaceTarget(NPC, Spawn)
  301. conversation = CreateConversation()
  302. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  303. AddConversationOption(conversation, "All right, I'll return.", "dlg_10_6")
  304. StartConversation(conversation, NPC, Spawn, "Yes, genocide them up something fierce! And hurry, Vicaonar doesn't have to give me that sandwich until the job is done!")
  305. end
  306. function dlg_11_1(NPC, Spawn)
  307. FaceTarget(NPC, Spawn)
  308. conversation = CreateConversation()
  309. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  310. AddConversationOption(conversation, "And I suppose I should say you are welcome.", "dlg_11_2")
  311. StartConversation(conversation, NPC, Spawn, "Ah, about time too. I suppose I should say thank you.")
  312. end
  313. function dlg_12_1(NPC, Spawn)
  314. FaceTarget(NPC, Spawn)
  315. conversation = CreateConversation()
  316. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  317. AddConversationOption(conversation, "All right.", "dlg_12_2")
  318. StartConversation(conversation, NPC, Spawn, "Hmph! When I finally need him he isn't around to be used. Do you think you could help me locate him?")
  319. end
  320. function dlg_12_2(NPC, Spawn)
  321. FaceTarget(NPC, Spawn)
  322. conversation = CreateConversation()
  323. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  324. AddConversationOption(conversation, "I'll see if I can find him.", "dlg_12_3")
  325. AddConversationOption(conversation, "I'm sure he'll be back soon.")
  326. StartConversation(conversation, NPC, Spawn, "Great. The last I heard from him he was going up to the Nerian Highlands to study some dragon bones. He said he would be back shortly, but that was... hm... when was that? Well more than a day, I know that. If you could go and find him and let him know that I need him, that would be great. Thanks.")
  327. end
  328. function dlg_13_1(NPC, Spawn)
  329. FaceTarget(NPC, Spawn)
  330. conversation = CreateConversation()
  331. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  332. AddConversationOption(conversation, "All right.", "dlg_13_2")
  333. StartConversation(conversation, NPC, Spawn, "Hmph! When I finally need him he isn't around to be used. Do you think you could help me locate him?")
  334. end
  335. function dlg_13_2(NPC, Spawn)
  336. FaceTarget(NPC, Spawn)
  337. conversation = CreateConversation()
  338. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  339. AddConversationOption(conversation, "I'll see if I can find him.", "dlg_13_3")
  340. AddConversationOption(conversation, "I'm sure he'll be back soon.")
  341. StartConversation(conversation, NPC, Spawn, "Great. The last I heard from him he was going up to the Nerian Highlands to study some dragon bones. He said he would be back shortly, but that was... hm... when was that? Well more than a day, I know that. If you could go and find him and let him know that I need him, that would be great. Thanks.")
  342. end
  343. function dlg_13_3(NPC, Spawn)
  344. FaceTarget(NPC, Spawn)
  345. conversation = CreateConversation()
  346. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  347. AddConversationOption(conversation, "I will.", "dlg_13_4")
  348. StartConversation(conversation, NPC, Spawn, "Yes, do that.")
  349. end
  350. function dlg_14_1(NPC, Spawn)
  351. FaceTarget(NPC, Spawn)
  352. conversation = CreateConversation()
  353. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  354. AddConversationOption(conversation, "All right.", "dlg_14_2")
  355. AddConversationOption(conversation, "I don't think I care to help with this anymore.")
  356. StartConversation(conversation, NPC, Spawn, "Really?! That's ... well that's amazing! I need to see this for myself! Bring me one of the shroomlings!")
  357. end
  358. function dlg_14_2(NPC, Spawn)
  359. FaceTarget(NPC, Spawn)
  360. conversation = CreateConversation()
  361. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  362. AddConversationOption(conversation, "We'll see.", "dlg_14_3")
  363. StartConversation(conversation, NPC, Spawn, "How potentially interesting!")
  364. end
  365. function dlg_15_1(NPC, Spawn)
  366. FaceTarget(NPC, Spawn)
  367. conversation = CreateConversation()
  368. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  369. AddConversationOption(conversation, "Where did they come from?", "dlg_15_2")
  370. StartConversation(conversation, NPC, Spawn, "I already have some.")
  371. end
  372. function dlg_15_2(NPC, Spawn)
  373. FaceTarget(NPC, Spawn)
  374. conversation = CreateConversation()
  375. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  376. AddConversationOption(conversation, "So I guess you don't need this shroomling then?", "dlg_15_3")
  377. StartConversation(conversation, NPC, Spawn, "Don't know! Probably from you. I bet you've got microscopic shroomlings all over you right now. How disgusting! Don't stand too close!")
  378. end
  379. function dlg_15_3(NPC, Spawn)
  380. FaceTarget(NPC, Spawn)
  381. conversation = CreateConversation()
  382. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  383. AddConversationOption(conversation, "Oh?", "dlg_15_4")
  384. StartConversation(conversation, NPC, Spawn, "No, no I don't. I have, however, figured out a way to get my sandwich from Vicaonar.")
  385. end
  386. function dlg_15_4(NPC, Spawn)
  387. FaceTarget(NPC, Spawn)
  388. conversation = CreateConversation()
  389. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  390. AddConversationOption(conversation, "All right.", "dlg_15_5")
  391. AddConversationOption(conversation, "I tire of this.")
  392. StartConversation(conversation, NPC, Spawn, "Go talk to Madam Victra, she's got a little something prepared for me that should help us take care of these pests.")
  393. end
  394. function dlg_16_1(NPC, Spawn)
  395. FaceTarget(NPC, Spawn)
  396. conversation = CreateConversation()
  397. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  398. AddConversationOption(conversation, "Where did they come from?", "dlg_16_2")
  399. StartConversation(conversation, NPC, Spawn, "I already have some.")
  400. end
  401. function dlg_16_2(NPC, Spawn)
  402. FaceTarget(NPC, Spawn)
  403. conversation = CreateConversation()
  404. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  405. AddConversationOption(conversation, "So I guess you don't need this shroomling then?", "dlg_16_3")
  406. StartConversation(conversation, NPC, Spawn, "Don't know! Probably from you. I bet you've got microscopic shroomlings all over you right now. How disgusting! Don't stand too close!")
  407. end
  408. function dlg_16_3(NPC, Spawn)
  409. FaceTarget(NPC, Spawn)
  410. conversation = CreateConversation()
  411. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  412. AddConversationOption(conversation, "Oh?", "dlg_16_4")
  413. StartConversation(conversation, NPC, Spawn, "No, no I don't. I have, however, figured out a way to get my sandwich from Vicaonar.")
  414. end
  415. function dlg_16_4(NPC, Spawn)
  416. FaceTarget(NPC, Spawn)
  417. conversation = CreateConversation()
  418. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  419. AddConversationOption(conversation, "All right.", "dlg_16_5")
  420. AddConversationOption(conversation, "I tire of this.")
  421. StartConversation(conversation, NPC, Spawn, "Go talk to Madam Victra, she's got a little something prepared for me that should help us take care of these pests.")
  422. end
  423. function dlg_16_5(NPC, Spawn)
  424. FaceTarget(NPC, Spawn)
  425. conversation = CreateConversation()
  426. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  427. AddConversationOption(conversation, "I'll go talk with Madam Victra.", "dlg_16_6")
  428. StartConversation(conversation, NPC, Spawn, "I guess they grow slower when not in the swamp... but they sure do breed faster. We'd better work quickly.")
  429. end
  430. function dlg_17_1(NPC, Spawn)
  431. FaceTarget(NPC, Spawn)
  432. conversation = CreateConversation()
  433. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  434. AddConversationOption(conversation, "All right.", "dlg_17_2")
  435. AddConversationOption(conversation, "I don't think I care to help with this anymore.")
  436. StartConversation(conversation, NPC, Spawn, "Really?! That's ... well that's amazing! I need to see this for myself! Bring me one of the shroomlings!")
  437. end
  438. function dlg_18_1(NPC, Spawn)
  439. FaceTarget(NPC, Spawn)
  440. conversation = CreateConversation()
  441. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  442. AddConversationOption(conversation, "All right.", "dlg_18_2")
  443. AddConversationOption(conversation, "I don't think I care to help with this anymore.")
  444. StartConversation(conversation, NPC, Spawn, "Really?! That's ... well that's amazing! I need to see this for myself! Bring me one of the shroomlings!")
  445. end
  446. function dlg_18_2(NPC, Spawn)
  447. FaceTarget(NPC, Spawn)
  448. conversation = CreateConversation()
  449. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  450. AddConversationOption(conversation, "We'll see.", "dlg_18_3")
  451. StartConversation(conversation, NPC, Spawn, "How potentially interesting!")
  452. end
  453. function dlg_19_1(NPC, Spawn)
  454. FaceTarget(NPC, Spawn)
  455. conversation = CreateConversation()
  456. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  457. AddConversationOption(conversation, "I think the boarfiend may have just had too much in his stomach.", "dlg_19_2")
  458. StartConversation(conversation, NPC, Spawn, "Wow! Some sort of explosive, don't-eat-me, defense mechanism! These creatures are amazing!")
  459. end
  460. function dlg_19_2(NPC, Spawn)
  461. FaceTarget(NPC, Spawn)
  462. conversation = CreateConversation()
  463. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  464. AddConversationOption(conversation, "All right, I'll go get the leaves.", "dlg_19_3")
  465. AddConversationOption(conversation, "No, I'm out.")
  466. StartConversation(conversation, NPC, Spawn, "Well, that's sort of what I said. Anyway, I'm toying around with some other methods to get rid of these things. Most of my tests are going to require leaves from the Nerian knot-tree, however. I have enough to test with, but if my tests are successful then we're going to need a lot more. I need you to go up to the Shadow Oak northwest of here and collect some for me.")
  467. end
  468. function dlg_20_1(NPC, Spawn)
  469. FaceTarget(NPC, Spawn)
  470. conversation = CreateConversation()
  471. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  472. AddConversationOption(conversation, "Where did they come from?", "dlg_20_2")
  473. StartConversation(conversation, NPC, Spawn, "I already have some.")
  474. end
  475. function dlg_20_2(NPC, Spawn)
  476. FaceTarget(NPC, Spawn)
  477. conversation = CreateConversation()
  478. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  479. AddConversationOption(conversation, "So I guess you don't need this shroomling then?", "dlg_20_3")
  480. StartConversation(conversation, NPC, Spawn, "Don't know! Probably from you. I bet you've got microscopic shroomlings all over you right now. How disgusting! Don't stand too close!")
  481. end
  482. function dlg_20_3(NPC, Spawn)
  483. FaceTarget(NPC, Spawn)
  484. conversation = CreateConversation()
  485. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  486. AddConversationOption(conversation, "Oh?", "dlg_20_4")
  487. StartConversation(conversation, NPC, Spawn, "No, no I don't. I have, however, figured out a way to get my sandwich from Vicaonar.")
  488. end
  489. function dlg_20_4(NPC, Spawn)
  490. FaceTarget(NPC, Spawn)
  491. conversation = CreateConversation()
  492. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  493. AddConversationOption(conversation, "All right.", "dlg_20_5")
  494. AddConversationOption(conversation, "I tire of this.")
  495. StartConversation(conversation, NPC, Spawn, "Go talk to Madam Victra, she's got a little something prepared for me that should help us take care of these pests.")
  496. end
  497. function dlg_21_1(NPC, Spawn)
  498. FaceTarget(NPC, Spawn)
  499. conversation = CreateConversation()
  500. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  501. AddConversationOption(conversation, "Where did they come from?", "dlg_21_2")
  502. StartConversation(conversation, NPC, Spawn, "I already have some.")
  503. end
  504. function dlg_21_2(NPC, Spawn)
  505. FaceTarget(NPC, Spawn)
  506. conversation = CreateConversation()
  507. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  508. AddConversationOption(conversation, "So I guess you don't need this shroomling then?", "dlg_21_3")
  509. StartConversation(conversation, NPC, Spawn, "Don't know! Probably from you. I bet you've got microscopic shroomlings all over you right now. How disgusting! Don't stand too close!")
  510. end
  511. function dlg_21_3(NPC, Spawn)
  512. FaceTarget(NPC, Spawn)
  513. conversation = CreateConversation()
  514. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  515. AddConversationOption(conversation, "Oh?", "dlg_21_4")
  516. StartConversation(conversation, NPC, Spawn, "No, no I don't. I have, however, figured out a way to get my sandwich from Vicaonar.")
  517. end
  518. function dlg_21_4(NPC, Spawn)
  519. FaceTarget(NPC, Spawn)
  520. conversation = CreateConversation()
  521. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  522. AddConversationOption(conversation, "All right.", "dlg_21_5")
  523. AddConversationOption(conversation, "I tire of this.")
  524. StartConversation(conversation, NPC, Spawn, "Go talk to Madam Victra, she's got a little something prepared for me that should help us take care of these pests.")
  525. end
  526. function dlg_21_5(NPC, Spawn)
  527. FaceTarget(NPC, Spawn)
  528. conversation = CreateConversation()
  529. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  530. AddConversationOption(conversation, "I'll go talk with Madam Victra.", "dlg_21_6")
  531. StartConversation(conversation, NPC, Spawn, "I guess they grow slower when not in the swamp... but they sure do breed faster. We'd better work quickly.")
  532. end
  533. function dlg_23_1(NPC, Spawn)
  534. FaceTarget(NPC, Spawn)
  535. conversation = CreateConversation()
  536. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  537. AddConversationOption(conversation, "All right, I'll be back.", "dlg_23_2")
  538. StartConversation(conversation, NPC, Spawn, "Oh. Take the boarfiend down to Nightshadow Marsh, kill some mushroom things, release the boarfiend and let it eat them all up! Brilliant!")
  539. end
  540. function dlg_24_1(NPC, Spawn)
  541. FaceTarget(NPC, Spawn)
  542. conversation = CreateConversation()
  543. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  544. AddConversationOption(conversation, "I think the boarfiend may have just had too much in his stomach.", "dlg_24_2")
  545. StartConversation(conversation, NPC, Spawn, "Wow! Some sort of explosive, don't-eat-me, defense mechanism! These creatures are amazing!")
  546. end
  547. function dlg_24_2(NPC, Spawn)
  548. FaceTarget(NPC, Spawn)
  549. conversation = CreateConversation()
  550. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  551. AddConversationOption(conversation, "All right, I'll go get the leaves.", "dlg_24_3")
  552. AddConversationOption(conversation, "No, I'm out.")
  553. StartConversation(conversation, NPC, Spawn, "Well, that's sort of what I said. Anyway, I'm toying around with some other methods to get rid of these things. Most of my tests are going to require leaves from the Nerian knot-tree, however. I have enough to test with, but if my tests are successful then we're going to need a lot more. I need you to go up to the Shadow Oak northwest of here and collect some for me.")
  554. end
  555. function dlg_25_1(NPC, Spawn)
  556. FaceTarget(NPC, Spawn)
  557. conversation = CreateConversation()
  558. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  559. AddConversationOption(conversation, "I think the boarfiend may have just had too much in his stomach.", "dlg_25_2")
  560. StartConversation(conversation, NPC, Spawn, "Wow! Some sort of explosive, don't-eat-me, defense mechanism! These creatures are amazing!")
  561. end
  562. function dlg_25_2(NPC, Spawn)
  563. FaceTarget(NPC, Spawn)
  564. conversation = CreateConversation()
  565. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  566. AddConversationOption(conversation, "All right, I'll go get the leaves.", "dlg_25_3")
  567. AddConversationOption(conversation, "No, I'm out.")
  568. StartConversation(conversation, NPC, Spawn, "Well, that's sort of what I said. Anyway, I'm toying around with some other methods to get rid of these things. Most of my tests are going to require leaves from the Nerian knot-tree, however. I have enough to test with, but if my tests are successful then we're going to need a lot more. I need you to go up to the Shadow Oak northwest of here and collect some for me.")
  569. end
  570. function dlg_25_3(NPC, Spawn)
  571. FaceTarget(NPC, Spawn)
  572. conversation = CreateConversation()
  573. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  574. AddConversationOption(conversation, "Right.", "dlg_25_4")
  575. StartConversation(conversation, NPC, Spawn, "Excellent. We can't get rid of these things quick enough.")
  576. end
  577. function dlg_27_1(NPC, Spawn)
  578. FaceTarget(NPC, Spawn)
  579. conversation = CreateConversation()
  580. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  581. AddConversationOption(conversation, "Ok.", "dlg_27_2")
  582. StartConversation(conversation, NPC, Spawn, "Yes! That's where the power comes from. I'll just mix these up real quick.")
  583. end
  584. function dlg_27_2(NPC, Spawn)
  585. FaceTarget(NPC, Spawn)
  586. conversation = CreateConversation()
  587. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  588. AddConversationOption(conversation, "Things or mushroom things?", "dlg_27_3")
  589. AddConversationOption(conversation, "Maybe later.")
  590. StartConversation(conversation, NPC, Spawn, "There we go! Take this spray out to Nightshadow Bog and destroy them! It's simple to use, just point and click, and things die.")
  591. end
  592. function dlg_28_1(NPC, Spawn)
  593. FaceTarget(NPC, Spawn)
  594. conversation = CreateConversation()
  595. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  596. AddConversationOption(conversation, "Ok.", "dlg_28_2")
  597. StartConversation(conversation, NPC, Spawn, "Yes! That's where the power comes from. I'll just mix these up real quick.")
  598. end
  599. function dlg_28_2(NPC, Spawn)
  600. FaceTarget(NPC, Spawn)
  601. conversation = CreateConversation()
  602. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  603. AddConversationOption(conversation, "Things or mushroom things?", "dlg_28_3")
  604. AddConversationOption(conversation, "Maybe later.")
  605. StartConversation(conversation, NPC, Spawn, "There we go! Take this spray out to Nightshadow Bog and destroy them! It's simple to use, just point and click, and things die.")
  606. end
  607. function dlg_28_3(NPC, Spawn)
  608. FaceTarget(NPC, Spawn)
  609. conversation = CreateConversation()
  610. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  611. AddConversationOption(conversation, "Well that's a relief.", "dlg_28_4")
  612. StartConversation(conversation, NPC, Spawn, "Don't worry, it's harmless to us. I'll see you when you return! The best part about it, you infect one and he spreads it to others before dying! You shouldn't need to hit too many with the spray before we're taken care of!")
  613. end
  614. function dlg_29_1(NPC, Spawn)
  615. FaceTarget(NPC, Spawn)
  616. conversation = CreateConversation()
  617. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  618. AddConversationOption(conversation, "You're welcome.", "dlg_29_2")
  619. StartConversation(conversation, NPC, Spawn, "Wonderful! You hear that Vicaonar? Give me that sandwich! Anyway, thanks for your help in sorting this out. I appreciate it. Actually, I'm pretty sure everyone here appreciated it.")
  620. end
  621. function dlg_38_1(NPC, Spawn)
  622. FaceTarget(NPC, Spawn)
  623. conversation = CreateConversation()
  624. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  625. AddConversationOption(conversation, "Okay.", "dlg_38_2")
  626. StartConversation(conversation, NPC, Spawn, "Yes! That's where the power comes from. I'll just mix these up real quick.")
  627. end
  628. function dlg_38_2(NPC, Spawn)
  629. FaceTarget(NPC, Spawn)
  630. conversation = CreateConversation()
  631. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  632. AddConversationOption(conversation, "Things or mushroom things?", "dlg_38_3")
  633. AddConversationOption(conversation, "Maybe later.")
  634. StartConversation(conversation, NPC, Spawn, "There we go! Take this spray out to Nightshadow Bog and destroy them! It's simple to use, just point and click, and things die.")
  635. end
  636. function dlg_39_1(NPC, Spawn)
  637. FaceTarget(NPC, Spawn)
  638. conversation = CreateConversation()
  639. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  640. AddConversationOption(conversation, "Okay.", "dlg_39_2")
  641. StartConversation(conversation, NPC, Spawn, "Yes! That's where the power comes from. I'll just mix these up real quick.")
  642. end
  643. function dlg_39_2(NPC, Spawn)
  644. FaceTarget(NPC, Spawn)
  645. conversation = CreateConversation()
  646. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  647. AddConversationOption(conversation, "Things or mushroom things?", "dlg_39_3")
  648. AddConversationOption(conversation, "Maybe later.")
  649. StartConversation(conversation, NPC, Spawn, "There we go! Take this spray out to Nightshadow Bog and destroy them! It's simple to use, just point and click, and things die.")
  650. end
  651. function dlg_39_3(NPC, Spawn)
  652. FaceTarget(NPC, Spawn)
  653. conversation = CreateConversation()
  654. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  655. AddConversationOption(conversation, "Well that's a relief.", "dlg_39_4")
  656. StartConversation(conversation, NPC, Spawn, "Don't worry, it's harmless to us. I'll see you when you return! The best part about it, you infect one and he spreads it to others before dying! You shouldn't need to hit too many with the spray before we're taken care of!")
  657. end
  658. function dlg_51_1(NPC, Spawn)
  659. FaceTarget(NPC, Spawn)
  660. conversation = CreateConversation()
  661. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  662. AddConversationOption(conversation, "You're welcome.", "dlg_51_2")
  663. StartConversation(conversation, NPC, Spawn, "Wonderful! You hear that, Vicaonar? Give me that sandwich! Anyway, thanks for your help in sorting this out. I appreciate it. Actually, I'm pretty sure everyone here appreciated it.")
  664. end
  665. ]]--