9
3

MadamVi.lua 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. --[[
  2. Script Name : SpawnScripts/TheCommonlands/MadamVi.lua
  3. Script Purpose : Madam Vi
  4. Script Author : Kinglykrab
  5. Script Date : 2019.02.05
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  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. local choice = math.random(1,1)
  22. if choice == 1 then
  23. PlayFlavor(NPC, "", "Wonderful to see you, thanks again for all of your help.", "", 1689589577, 4560189, Spawn)
  24. else
  25. end
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "I have the things you need for your Seer Stone, Madam.", "dlg_0_1")
  28. AddConversationOption(conversation, "Nothing right now.")
  29. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  30. if convo==1 then
  31. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "I have the things you need for your Seer Stone, Madam.", "dlg_1_1")
  33. AddConversationOption(conversation, "Nothing right now.")
  34. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  35. end
  36. if convo==2 then
  37. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "I have filled the flasks for you, Madam.", "dlg_2_1")
  39. AddConversationOption(conversation, "Nothing right now.")
  40. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  41. end
  42. if convo==3 then
  43. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  44. AddConversationOption(conversation, "Actually, I do.", "dlg_3_1")
  45. AddConversationOption(conversation, "Not for you.")
  46. StartConversation(conversation, NPC, Spawn, "Hello again. Do you have any further time to spare?")
  47. end
  48. if convo==4 then
  49. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  50. AddConversationOption(conversation, "I was able to find your stone, Madam.", "dlg_4_1")
  51. AddConversationOption(conversation, "Nothing right now.")
  52. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  53. end
  54. if convo==5 then
  55. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "I was able to find your stone, Madam.", "dlg_5_1")
  57. AddConversationOption(conversation, "Nothing right now.")
  58. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  59. end
  60. if convo==6 then
  61. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  62. AddConversationOption(conversation, "Some, yes.", "dlg_6_1")
  63. AddConversationOption(conversation, "No, nothing at all. I better go.")
  64. StartConversation(conversation, NPC, Spawn, "You have certainly proven yourself, and it is I who am honored. Tell me, do you know anything of mage craft?")
  65. end
  66. if convo==7 then
  67. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  68. AddConversationOption(conversation, "Some, yes.", "dlg_7_1")
  69. AddConversationOption(conversation, "No, nothing at all. I better go.")
  70. StartConversation(conversation, NPC, Spawn, "You have certainly proven yourself, and it is I who am honored. Tell me, do you know anything of mage craft?")
  71. end
  72. if convo==8 then
  73. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  74. AddConversationOption(conversation, "Some, yes.", "dlg_8_1")
  75. AddConversationOption(conversation, "No, nothing at all. I better go.")
  76. StartConversation(conversation, NPC, Spawn, "You have certainly proven yourself, and it is I who am honored. Tell me, do you know anything of mage craft?")
  77. end
  78. if convo==9 then
  79. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  80. AddConversationOption(conversation, "Some, yes.", "dlg_9_1")
  81. AddConversationOption(conversation, "No, nothing at all. I better go.")
  82. StartConversation(conversation, NPC, Spawn, "You have certainly proven yourself, and it is I who am honored. Tell me, do you know anything of mage craft?")
  83. end
  84. if convo==10 then
  85. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  86. AddConversationOption(conversation, "Some, yes.", "dlg_10_1")
  87. AddConversationOption(conversation, "No, nothing at all. I better go.")
  88. StartConversation(conversation, NPC, Spawn, "You have certainly proven yourself, and it is I who am honored. Tell me, do you know anything of mage craft?")
  89. end
  90. if convo==11 then
  91. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  92. AddConversationOption(conversation, "Not yet. Patience, my lady.", "dlg_11_1")
  93. StartConversation(conversation, NPC, Spawn, "Have you completed your task?")
  94. end
  95. if convo==14 then
  96. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  97. AddConversationOption(conversation, "What assistance do you require?", "dlg_14_1")
  98. AddConversationOption(conversation, "I'm busy at the moment.")
  99. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  100. end
  101. if convo==15 then
  102. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  103. AddConversationOption(conversation, "What assistance do you require?", "dlg_15_1")
  104. AddConversationOption(conversation, "I'm busy at the moment.")
  105. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  106. end
  107. if convo==16 then
  108. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  109. AddConversationOption(conversation, "What assistance do you require?", "dlg_16_1")
  110. AddConversationOption(conversation, "I'm busy at the moment.")
  111. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  112. end
  113. if convo==17 then
  114. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "", 0, 0, Spawn)
  115. AddConversationOption(conversation, "What assistance do you require?", "dlg_17_1")
  116. AddConversationOption(conversation, "I'm busy at the moment.")
  117. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  118. end
  119. if convo==20 then
  120. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1003.mp3", "", "", 0, 0, Spawn)
  121. AddConversationOption(conversation, "I was able to find your stone, Madam.", "dlg_20_1")
  122. AddConversationOption(conversation, "Nothing right now.")
  123. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  124. end
  125. if convo==21 then
  126. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  127. AddConversationOption(conversation, "I was able to find your friends. They were very grateful for the water.", "dlg_21_1")
  128. AddConversationOption(conversation, "Nothing right now.")
  129. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  130. end
  131. if convo==22 then
  132. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  133. AddConversationOption(conversation, "I was able to find your friends. They were very grateful for the water.", "dlg_22_1")
  134. AddConversationOption(conversation, "Nothing right now.")
  135. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  136. end
  137. if convo==23 then
  138. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  139. AddConversationOption(conversation, "It was my pleasure, but you seem distracted. Do you require further assistance?", "dlg_23_1")
  140. AddConversationOption(conversation, "I did do great didn't I? I'll be off now.")
  141. StartConversation(conversation, NPC, Spawn, "Hello friend. My companions are rehydrated and back to themselves, thanks to you.")
  142. end
  143. if convo==24 then
  144. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  145. AddConversationOption(conversation, "It was my pleasure, but you seem distracted. Do you require further assistance?", "dlg_24_1")
  146. AddConversationOption(conversation, "I did do great didn't I? I'll be off now.")
  147. StartConversation(conversation, NPC, Spawn, "Hello friend. My companions are rehydrated and back to themselves, thanks to you.")
  148. end
  149. if convo==25 then
  150. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  151. AddConversationOption(conversation, "It was my pleasure, but you seem distracted. Do you require further assistance?", "dlg_25_1")
  152. AddConversationOption(conversation, "I did do great didn't I? I'll be off now.")
  153. StartConversation(conversation, NPC, Spawn, "Hello friend. My companions are rehydrated and back to themselves, thanks to you.")
  154. end
  155. if convo==26 then
  156. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  157. AddConversationOption(conversation, "It was my pleasure, but you seem distracted. Do you require further assistance?", "dlg_26_1")
  158. AddConversationOption(conversation, "I did do great didn't I? I'll be off now.")
  159. StartConversation(conversation, NPC, Spawn, "Hello friend. My companions are rehydrated and back to themselves, thanks to you.")
  160. end
  161. if convo==27 then
  162. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  163. AddConversationOption(conversation, "Not yet. Patience, my lady.", "dlg_27_1")
  164. StartConversation(conversation, NPC, Spawn, "Have you completed your task?")
  165. end
  166. if convo==31 then
  167. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  168. AddConversationOption(conversation, "Not yet. Patience, my lady.", "dlg_31_1")
  169. StartConversation(conversation, NPC, Spawn, "Have you completed your task?")
  170. end
  171. if convo==45 then
  172. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  173. AddConversationOption(conversation, "What assistance do you require?", "dlg_45_1")
  174. AddConversationOption(conversation, "I'm busy at the moment.")
  175. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  176. end
  177. if convo==46 then
  178. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  179. AddConversationOption(conversation, "What assistance do you require?", "dlg_46_1")
  180. AddConversationOption(conversation, "I'm busy at the moment.")
  181. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  182. end
  183. if convo==47 then
  184. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  185. AddConversationOption(conversation, "What assistance do you require?", "dlg_47_1")
  186. AddConversationOption(conversation, "I'm busy at the moment.")
  187. StartConversation(conversation, NPC, Spawn, "I need some assistance. Would you be willing to aid me?")
  188. end
  189. if convo==48 then
  190. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  191. AddConversationOption(conversation, "Not yet. Patience, my lady.", "dlg_48_1")
  192. StartConversation(conversation, NPC, Spawn, "Have you completed your task?")
  193. end
  194. if convo==69 then
  195. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", "", "", 0, 0, Spawn)
  196. AddConversationOption(conversation, "I have filled the flasks for you, Madam.", "dlg_69_1")
  197. AddConversationOption(conversation, "Nothing right now.")
  198. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  199. end
  200. if convo==70 then
  201. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  202. AddConversationOption(conversation, "I have filled the flasks for you, Madam.", "dlg_70_1")
  203. AddConversationOption(conversation, "Nothing right now.")
  204. StartConversation(conversation, NPC, Spawn, "Hello again. Any news?")
  205. end
  206. if convo==71 then
  207. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  208. AddConversationOption(conversation, "Actually, I do.", "dlg_71_1")
  209. AddConversationOption(conversation, "Not for you.")
  210. StartConversation(conversation, NPC, Spawn, "Hello again. Do you have any further time to spare?")
  211. end
  212. if convo==72 then
  213. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  214. AddConversationOption(conversation, "Actually, I do.", "dlg_72_1")
  215. AddConversationOption(conversation, "Not for you.")
  216. StartConversation(conversation, NPC, Spawn, "Hello again. Do you have any further time to spare?")
  217. end
  218. if convo==73 then
  219. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", "", "", 0, 0, Spawn)
  220. AddConversationOption(conversation, "Actually, I do.", "dlg_73_1")
  221. AddConversationOption(conversation, "Not for you.")
  222. StartConversation(conversation, NPC, Spawn, "Hello again. Do you have any further time to spare?")
  223. end
  224. if convo==74 then
  225. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", "", "", 0, 0, Spawn)
  226. AddConversationOption(conversation, "Not yet. Patience, my lady.", "dlg_74_1")
  227. StartConversation(conversation, NPC, Spawn, "Have you completed your task?")
  228. end
  229. end
  230. function dlg_0_1(NPC, Spawn)
  231. FaceTarget(NPC, Spawn)
  232. conversation = CreateConversation()
  233. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  234. AddConversationOption(conversation, "Sure.")
  235. AddConversationOption(conversation, "Not right now.", "dlg_0_2")
  236. StartConversation(conversation, NPC, Spawn, "The heat out here is ridiculous and I am parched. I would do anything for some nice cool water. The water around here gets so filthy from the livestock. Even as hot as it is, I can't just drink any water, you know? Do you think you could go out and fill each of these flasks with clean water from the lake and river for me? Oh, and I will also need one of them filled from the sea. Mooshga always needs more salt for curing her specialties.")
  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, "You're welcome, Madam.", "dlg_1_2")
  243. StartConversation(conversation, NPC, Spawn, "Excellent work!")
  244. end
  245. function dlg_2_1(NPC, Spawn)
  246. FaceTarget(NPC, Spawn)
  247. conversation = CreateConversation()
  248. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  249. AddConversationOption(conversation, "You're welcome, Madam.", "dlg_2_2")
  250. StartConversation(conversation, NPC, Spawn, "Excellent work!")
  251. end
  252. function dlg_2_2(NPC, Spawn)
  253. FaceTarget(NPC, Spawn)
  254. conversation = CreateConversation()
  255. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  256. AddConversationOption(conversation, "I will find them.", "dlg_2_3")
  257. StartConversation(conversation, NPC, Spawn, "Head out to the northwest. They have been missing for quite some time.")
  258. end
  259. function dlg_2_3(NPC, Spawn)
  260. FaceTarget(NPC, Spawn)
  261. conversation = CreateConversation()
  262. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  263. AddConversationOption(conversation, "Perhaps.", "dlg_2_4")
  264. StartConversation(conversation, NPC, Spawn, "I wonder if they've set up camp yet.")
  265. end
  266. function dlg_3_1(NPC, Spawn)
  267. FaceTarget(NPC, Spawn)
  268. conversation = CreateConversation()
  269. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  270. AddConversationOption(conversation, "No problem, where are they?", "dlg_3_2")
  271. AddConversationOption(conversation, "I care not for your friends.")
  272. StartConversation(conversation, NPC, Spawn, "A section of my entourage seems to be lost out there. I need you to find them, give them the water you collected earlier, and relay their location to me.")
  273. end
  274. function dlg_3_2(NPC, Spawn)
  275. FaceTarget(NPC, Spawn)
  276. conversation = CreateConversation()
  277. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  278. AddConversationOption(conversation, "I will find them.", "dlg_3_3")
  279. StartConversation(conversation, NPC, Spawn, "Head out to the northwest. They have been missing for quite some time.")
  280. end
  281. function dlg_3_3(NPC, Spawn)
  282. FaceTarget(NPC, Spawn)
  283. conversation = CreateConversation()
  284. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  285. AddConversationOption(conversation, "Perhaps.", "dlg_3_4")
  286. StartConversation(conversation, NPC, Spawn, "I wonder if they've set up camp yet.")
  287. end
  288. function dlg_11_1(NPC, Spawn)
  289. FaceTarget(NPC, Spawn)
  290. conversation = CreateConversation()
  291. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  292. AddConversationOption(conversation, "You're welcome, Madam.", "dlg_11_2")
  293. StartConversation(conversation, NPC, Spawn, "Oh, thank you... I can complete my stone, at long last!")
  294. end
  295. function dlg_15_1(NPC, Spawn)
  296. FaceTarget(NPC, Spawn)
  297. conversation = CreateConversation()
  298. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  299. AddConversationOption(conversation, "Sure.", "dlg_15_2")
  300. AddConversationOption(conversation, "Not right now.")
  301. StartConversation(conversation, NPC, Spawn, "The heat out here is ridiculous and I am parched. I would do anything for some nice cool water. The water around here gets so filthy from the livestock. Even as hot as it is, I can't just drink any water, you know? Do you think you could go out and fill each of these flasks with clean water from the lake and river for me? Oh, and I will also need one of them filled from the sea. Mooshga always needs more salt for curing her specialties.")
  302. end
  303. function dlg_16_1(NPC, Spawn)
  304. FaceTarget(NPC, Spawn)
  305. conversation = CreateConversation()
  306. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  307. AddConversationOption(conversation, "Sure.", "dlg_16_2")
  308. AddConversationOption(conversation, "Not right now.")
  309. StartConversation(conversation, NPC, Spawn, "The heat out here is ridiculous and I am parched. I would do anything for some nice cool water. The water around here gets so filthy from the livestock. Even as hot as it is, I can't just drink any water, you know? Do you think you could go out and fill each of these flasks with clean water from the lake and river for me? Oh, and I will also need one of them filled from the sea. Mooshga always needs more salt for curing her specialties.")
  310. end
  311. function dlg_16_2(NPC, Spawn)
  312. FaceTarget(NPC, Spawn)
  313. conversation = CreateConversation()
  314. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  315. AddConversationOption(conversation, "Of course.", "dlg_16_3")
  316. StartConversation(conversation, NPC, Spawn, "Do make sure there are no parasites in the water.")
  317. end
  318. function dlg_17_1(NPC, Spawn)
  319. FaceTarget(NPC, Spawn)
  320. conversation = CreateConversation()
  321. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  322. AddConversationOption(conversation, "Sure.", "dlg_17_2")
  323. AddConversationOption(conversation, "Not right now.")
  324. StartConversation(conversation, NPC, Spawn, "The heat out here is ridiculous and I am parched. I would do anything for some nice cool water. The water around here gets so filthy from the livestock. Even as hot as it is, I can't just drink any water, you know? Do you think you could go out and fill each of these flasks with clean water from the lake and river for me? Oh, and I will also need one of them filled from the sea. Mooshga always needs more salt for curing her specialties.")
  325. end
  326. function dlg_17_2(NPC, Spawn)
  327. FaceTarget(NPC, Spawn)
  328. conversation = CreateConversation()
  329. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  330. AddConversationOption(conversation, "Of course.", "dlg_17_3")
  331. StartConversation(conversation, NPC, Spawn, "Do make sure there are no parasites in the water.")
  332. end
  333. function dlg_20_1(NPC, Spawn)
  334. FaceTarget(NPC, Spawn)
  335. conversation = CreateConversation()
  336. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  337. AddConversationOption(conversation, "You're welcome.", "dlg_20_2")
  338. StartConversation(conversation, NPC, Spawn, "Oh yes, this is just what I needed. Look here, the gem is right inside. Oh, it's just gorgeous, and will work perfectly for what I have in mind. Thank you.")
  339. end
  340. function dlg_21_1(NPC, Spawn)
  341. FaceTarget(NPC, Spawn)
  342. conversation = CreateConversation()
  343. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  344. AddConversationOption(conversation, "I agree.", "dlg_21_2")
  345. StartConversation(conversation, NPC, Spawn, "Great news! Nothing like an ice cold drink on a hot day.")
  346. end
  347. function dlg_21_2(NPC, Spawn)
  348. FaceTarget(NPC, Spawn)
  349. conversation = CreateConversation()
  350. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  351. AddConversationOption(conversation, "I am very interested. Where do I look?", "dlg_21_3")
  352. AddConversationOption(conversation, "No, not right now. Maybe later.")
  353. StartConversation(conversation, NPC, Spawn, "Exactly. You are quite intuitive. The gem you retrieved for me is in itself not enough to create the quality item I desire. Would you be interested in fetching the rest of the components I need?")
  354. end
  355. function dlg_21_3(NPC, Spawn)
  356. FaceTarget(NPC, Spawn)
  357. conversation = CreateConversation()
  358. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  359. AddConversationOption(conversation, "I'll be off then.", "dlg_21_4")
  360. AddConversationOption(conversation, "I don't think I will help.")
  361. StartConversation(conversation, NPC, Spawn, "To finish my Seer Stone, I will need some components that you can gather for me from different beasts around the Commonlands. I will need some bone dust, a few water glands and, just for good measure, some sparkly bits.")
  362. end
  363. function dlg_21_4(NPC, Spawn)
  364. FaceTarget(NPC, Spawn)
  365. conversation = CreateConversation()
  366. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  367. AddConversationOption(conversation, "All right.", "dlg_21_5")
  368. StartConversation(conversation, NPC, Spawn, "Please hurry!")
  369. end
  370. function dlg_22_1(NPC, Spawn)
  371. FaceTarget(NPC, Spawn)
  372. conversation = CreateConversation()
  373. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  374. AddConversationOption(conversation, "I agree.", "dlg_22_2")
  375. StartConversation(conversation, NPC, Spawn, "Great news! Nothing like an ice cold drink on a hot day.")
  376. end
  377. function dlg_22_2(NPC, Spawn)
  378. FaceTarget(NPC, Spawn)
  379. conversation = CreateConversation()
  380. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  381. AddConversationOption(conversation, "I will find the gem for you.", "dlg_22_3")
  382. AddConversationOption(conversation, "Wailing Caves? Are you insane?!")
  383. StartConversation(conversation, NPC, Spawn, "There is a gem that I truly desire which has evaded me. I heard that it can be found by breaking open clumps of rocks inside the wailing caves to the west. Look for dull stone outcroppings near the vibrant blue rocks found inside.")
  384. end
  385. function dlg_22_3(NPC, Spawn)
  386. FaceTarget(NPC, Spawn)
  387. conversation = CreateConversation()
  388. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  389. AddConversationOption(conversation, "I am always careful.", "dlg_22_4")
  390. StartConversation(conversation, NPC, Spawn, "Be careful, those caves are dangerous!")
  391. end
  392. function dlg_23_1(NPC, Spawn)
  393. FaceTarget(NPC, Spawn)
  394. conversation = CreateConversation()
  395. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  396. AddConversationOption(conversation, "I meant no offense. Is there anything I can do to rid you of this distraction?", "dlg_23_2")
  397. AddConversationOption(conversation, "I think you need to get out of the sun. Goodbye.")
  398. StartConversation(conversation, NPC, Spawn, "Wha..distracted? Hmm, well I suppose you are correct, but please do keep your observations to yourself in the future. ")
  399. end
  400. function dlg_23_2(NPC, Spawn)
  401. FaceTarget(NPC, Spawn)
  402. conversation = CreateConversation()
  403. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  404. AddConversationOption(conversation, "I will find the gem for you.", "dlg_23_3")
  405. AddConversationOption(conversation, "Wailing Caves? Are you insane?!")
  406. StartConversation(conversation, NPC, Spawn, "There is a gem that I truly desire which has evaded me. I heard that it can be found by breaking open clumps of rocks inside the wailing caves to the west. Look for dull stone outcroppings near the vibrant blue rocks found inside.")
  407. end
  408. function dlg_23_3(NPC, Spawn)
  409. FaceTarget(NPC, Spawn)
  410. conversation = CreateConversation()
  411. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  412. AddConversationOption(conversation, "I am always careful.", "dlg_23_4")
  413. StartConversation(conversation, NPC, Spawn, "Be careful, those caves are dangerous!")
  414. end
  415. --[[ raw_conversations
  416. PlayFlavor(NPC, "", "Wonderful to see you, thanks again for all of your help.", "", 1689589577, 4560189, Spawn)
  417. --]]