9
3

VessAlIshni.lua 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. --[[
  2. Script Name : SpawnScripts/Stonestair/VessAlIshni.lua
  3. Script Purpose : Vess Al'Ishni <Erudite Mentor>
  4. Script Author : Jabantiz
  5. Script Date : 6/22/2018
  6. Script Notes : <special-instructions>
  7. --]]
  8. -- Quest ID's
  9. local ERUDITE_ALCHEMY = 355
  10. local TWEEZING_KERRA = 356
  11. local INCANTATION_ORATION = 357
  12. local ABOLISHING_CURIOUSITY = 358
  13. local ERUDITE_ADVENTURES = 359
  14. function spawn(NPC)
  15. ProvidesQuest(NPC, ERUDITE_ALCHEMY)
  16. ProvidesQuest(NPC, TWEEZING_KERRA)
  17. ProvidesQuest(NPC, ABOLISHING_CURIOUSITY)
  18. ProvidesQuest(NPC, ERUDITE_ADVENTURES)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. local conversation = CreateConversation()
  26. local result = false;
  27. result = HandleQuest1Dialog(NPC, Spawn, conversation)
  28. if not result then
  29. result = HandleQuest2Dialog(NPC, Spawn, conversation)
  30. end
  31. if not result then
  32. result = HandleQuest3Dialog(NPC, Spawn, conversation)
  33. end
  34. if not result then
  35. result = HandleQuest4Dialog(NPC, Spawn, conversation)
  36. end
  37. if not result then
  38. result = HandleQuest5Dialog(NPC, Spawn, conversation)
  39. end
  40. if not result then
  41. Say(NPC, "Sorry this dialog was never collected.")
  42. end
  43. end
  44. function HandleQuest1Dialog(NPC, Spawn, conversation)
  45. local ret = false
  46. if CanReceiveQuest(Spawn, ERUDITE_ALCHEMY) then
  47. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni001.mp3", "", "", 2148572556, 2411402347, Spawn)
  48. AddConversationOption(conversation, "Very well, Vess. My name is " .. GetName(Spawn) .. ", but it seems as though you already know that.", "dlg_4_1")
  49. StartConversation(conversation, NPC, Spawn, GetName(Spawn) .. ". So we finally meet. Please, allow me to introduce myself. I am Vess Al'Ishi, and I am pleased to make your acquaintence.")
  50. ret = true
  51. elseif HasQuest(Spawn, ERUDITE_ALCHEMY) and GetQuestStep(Spawn, ERUDITE_ALCHEMY) >= 1 and GetQuestStep(Spawn, ERUDITE_ALCHEMY) <= 2 then
  52. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/quest_newbie_erudite_vesh_stage_not_completed_6755a304.mp3", "Please return after you've completed what I asked.", "", 1425288537, 3156699857, Spawn)
  53. ret = true
  54. elseif HasQuest(Spawn, ERUDITE_ALCHEMY) and GetQuestStep(Spawn, ERUDITE_ALCHEMY) == 3 then
  55. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni014.mp3", "", "", 245696213, 2128891193, Spawn)
  56. AddConversationOption(conversation, "It wasn't exactly the most arduous of tasks.", "dlg_27_1")
  57. StartConversation(conversation, NPC, Spawn, "Ahh, I can smell the ground herbs on you! Well done indeed!")
  58. ret = true
  59. end
  60. return ret
  61. end
  62. function HandleQuest2Dialog(NPC, Spawn, conversation)
  63. local ret = false
  64. if CanReceiveQuest(Spawn, TWEEZING_KERRA) then
  65. dlg_27_2(NPC, Spawn)
  66. ret = true
  67. elseif HasQuest(Spawn, TWEEZING_KERRA) then
  68. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/quest_newbie_erudite_vesh_stage_not_completed_6755a304.mp3", "Please return after you've completed what I asked.", "", 1425288537, 3156699857, Spawn)
  69. ret = true
  70. end
  71. return ret
  72. end
  73. function HandleQuest3Dialog(NPC, Spawn, conversation)
  74. local ret = false
  75. if HasQuest(Spawn, INCANTATION_ORATION) and GetQuestStep(Spawn, INCANTATION_ORATION) == 1 then
  76. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni018.mp3", "", "", 356564578, 3157391878, Spawn)
  77. AddConversationOption(conversation, "Yes, I did. She asked me to speak with you again.", "dlg_31_1")
  78. StartConversation(conversation, NPC, Spawn, "So you spoke to Sevri, did you?")
  79. ret = true
  80. elseif HasQuest(Spawn, INCANTATION_ORATION) and GetQuestStep(Spawn, INCANTATION_ORATION) == 2 then
  81. dlg_35_7(NPC, Spawn)
  82. ret = true
  83. elseif HasQuest(Spawn, INCANTATION_ORATION) then
  84. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/quest_newbie_erudite_vesh_stage_not_completed_6755a304.mp3", "Please return after you've completed what I asked.", "", 1425288537, 3156699857, Spawn)
  85. ret = true
  86. end
  87. return ret
  88. end
  89. function HandleQuest4Dialog(NPC, Spawn, conversation)
  90. local ret = false
  91. if CanReceiveQuest(Spawn, ABOLISHING_CURIOUSITY) then
  92. dlg_35_46(NPC, Spawn)
  93. ret = true
  94. elseif HasQuest(Spawn, ABOLISHING_CURIOUSITY) and GetQuestStep(Spawn, ABOLISHING_CURIOUSITY) == 3 then
  95. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni046.mp3", "", "", 3328863454, 1820625790, Spawn)
  96. AddConversationOption(conversation, "It is.", "dlg_39_1")
  97. StartConversation(conversation, NPC, Spawn, "So, is the barrier enacted?")
  98. ret = true
  99. elseif HasQuest(Spawn, ABOLISHING_CURIOUSITY) then
  100. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/quest_newbie_erudite_vesh_stage_not_completed_6755a304.mp3", "Please return after you've completed what I asked.", "", 1425288537, 3156699857, Spawn)
  101. ret = true
  102. end
  103. return ret
  104. end
  105. function HandleQuest5Dialog(NPC, Spawn, conversation)
  106. local ret = false
  107. if CanReceiveQuest(Spawn, ERUDITE_ADVENTURES) then
  108. dlg_39_3(NPC, Spawn)
  109. ret = true
  110. end
  111. return ret
  112. end
  113. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  114. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  115. ----------------------------------------------------------------- Quest 1 -------------------------------------------------------------------------------
  116. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  117. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  118. function dlg_4_1(NPC, Spawn)
  119. FaceTarget(NPC, Spawn)
  120. conversation = CreateConversation()
  121. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni002.mp3", "", "", 1610952532, 2061201835, Spawn)
  122. AddConversationOption(conversation, "Look, I'm not sure I really need a job.", "dlg_4_2")
  123. AddConversationOption(conversation, "Help you out? But what would you want me to do?", "dlg_4_4")
  124. StartConversation(conversation, NPC, Spawn, "Indeed. I've had the opportunity to look in on your latest adventures, and I could appreciate your obvious talent. In fact, you may just be able to help me out.")
  125. end
  126. function dlg_4_2(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. conversation = CreateConversation()
  129. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni003.mp3", "", "", 1196062600, 3691795630, Spawn)
  130. AddConversationOption(conversation, "So you don't think much of the kerra, then?", "dlg_4_3")
  131. AddConversationOption(conversation, "So tell me about this bit of work.", "dlg_4_4")
  132. StartConversation(conversation, NPC, Spawn, "Oh, I wouldn't think of offering one of your caliber something so banal as a job. You didn't come here to wash the floor of my house, or sweep up the streets. No, that's what we have the kerra for.")
  133. end
  134. function dlg_4_3(NPC, Spawn)
  135. FaceTarget(NPC, Spawn)
  136. conversation = CreateConversation()
  137. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni004.mp3", "", "", 641685572, 3641147429, Spawn)
  138. AddConversationOption(conversation, "Like that not-a-job, no doubt, yes? Why don't you tell me what you have in mind.", "dlg_4_4")
  139. AddConversationOption(conversation, "I don't think I'm interested in other matters.")
  140. StartConversation(conversation, NPC, Spawn, "None of us do, no. They are pets, trained house animals, not much better than the ratonga. In fact, they have fewer uses. But we should speak of more important matters.")
  141. end
  142. function dlg_4_4(NPC, Spawn)
  143. FaceTarget(NPC, Spawn)
  144. conversation = CreateConversation()
  145. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni005.mp3", "", "", 891412912, 134486760, Spawn)
  146. AddConversationOption(conversation, "Do go on. I wouldn't expect you to open your house, as it were, to a stranger.", "dlg_4_5")
  147. AddConversationOption(conversation, "Stop. I think I've heard this before. You want to get to 'trust' me first, by giving me a few things to do. Then you'll 'let' me become a member of your little gang so I can do the dangerous things.", "dlg_1_3")
  148. StartConversation(conversation, NPC, Spawn, "We have something of an... organization... here in the Byway. I will not go into details until I am certain of your... character, shall we say?")
  149. end
  150. function dlg_1_3(NPC, Spawn)
  151. FaceTarget(NPC, Spawn)
  152. conversation = CreateConversation()
  153. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni006.mp3", "", "", 1098533707, 3355873785, Spawn)
  154. AddConversationOption(conversation, "Perhaps.")
  155. StartConversation(conversation, NPC, Spawn, "No. That's not what I mean at all. I'm sorry to hear you feel that way. Perhaps we can speak again later?")
  156. end
  157. function dlg_4_5(NPC, Spawn)
  158. FaceTarget(NPC, Spawn)
  159. conversation = CreateConversation()
  160. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni007.mp3", "", "", 1149376265, 3106062319, Spawn)
  161. AddConversationOption(conversation, "Then I shall listen.", "dlg_6_6")
  162. AddConversationOption(conversation, "I'm not sure I need the history lesson. What would you like me to accomplish?", "dlg_6_11")
  163. StartConversation(conversation, NPC, Spawn, "Let me begin with a short story. I shall not be so long as to spend your time with foolishness, nor so short as to diminish its importance.")
  164. end
  165. function dlg_6_6(NPC, Spawn)
  166. FaceTarget(NPC, Spawn)
  167. conversation = CreateConversation()
  168. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni008.mp3", "", "", 1313191928, 12500296, Spawn)
  169. AddConversationOption(conversation, "It makes sense. There aren't too many civilized places left.", "dlg_6_7")
  170. StartConversation(conversation, NPC, Spawn, "Not long after the world was rent asunder, those of us remaining here on what is now D'Lere folded ourselves into the city of Freeport.")
  171. end
  172. function dlg_6_7(NPC, Spawn)
  173. FaceTarget(NPC, Spawn)
  174. conversation = CreateConversation()
  175. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni009.mp3", "", "", 4080582303, 2099986849, Spawn)
  176. AddConversationOption(conversation, "If I were in his position, I might have considered dividing the erudites.", "dlg_6_8")
  177. StartConversation(conversation, NPC, Spawn, "Lucan feared our gathered power. With our combined magical power and a firm footing inside the academy, we would have been a thorn in his side, and a force with which he would have to contend.")
  178. end
  179. function dlg_6_8(NPC, Spawn)
  180. FaceTarget(NPC, Spawn)
  181. conversation = CreateConversation()
  182. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni010.mp3", "", "", 1279930131, 1784422627, Spawn)
  183. AddConversationOption(conversation, "No, I suspect that Lucan had more in store...", "dlg_6_9")
  184. StartConversation(conversation, NPC, Spawn, "And indeed, that's what he did. A series of 'tests' were conducted, and those determined to be 'qualified' remained within the city. Those who were not were relocated here. However, there is more.")
  185. end
  186. function dlg_6_9(NPC, Spawn)
  187. FaceTarget(NPC, Spawn)
  188. conversation = CreateConversation()
  189. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni011.mp3", "", "", 3778512067, 3228444190, Spawn)
  190. AddConversationOption(conversation, "Or what was left of them after Luclin.", "dlg_6_10")
  191. StartConversation(conversation, NPC, Spawn, "Indeed. You will go far if you keep these lessons of leadership in mind in the future. Not only did he divide and humiliate those relegated to life here, but he foisted another abuse on us - the kerra.")
  192. end
  193. function dlg_6_10(NPC, Spawn)
  194. FaceTarget(NPC, Spawn)
  195. conversation = CreateConversation()
  196. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni012.mp3", "", "", 2014393836, 3746123557, Spawn)
  197. AddConversationOption(conversation, "So what does the brotherhood wish from me?", "dlg_6_11")
  198. StartConversation(conversation, NPC, Spawn, "Enough, let me tell you. They get into everything. And that brings us to now. We are not allowed to directly fight while under the protection of Freeport, so we must find a way to keep those curious beasts away from our experiments.")
  199. end
  200. function dlg_6_11(NPC, Spawn)
  201. OfferQuest(NPC, Spawn, ERUDITE_ALCHEMY)
  202. end
  203. function dlg_27_1(NPC, Spawn)
  204. FaceTarget(NPC, Spawn)
  205. conversation = CreateConversation()
  206. SetStepComplete(Spawn, ERUDITE_ALCHEMY, 3)
  207. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni015.mp3", "", "", 743790253, 3747651989, Spawn)
  208. AddConversationOption(conversation, "Pleased to be of assistance.", "dlg_27_2")
  209. StartConversation(conversation, NPC, Spawn, "Nevertheless, it was very helpful.")
  210. end
  211. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  212. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  213. ----------------------------------------------------------------- Quest 2 -------------------------------------------------------------------------------
  214. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  215. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  216. function dlg_27_2(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. conversation = CreateConversation()
  219. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni016.mp3", "", "", 2815059884, 70268562, Spawn)
  220. AddConversationOption(conversation, "Where would I find her?", "dlg_28_1")
  221. StartConversation(conversation, NPC, Spawn, "If you wouldn't mind, I'd like you to take this mixture to Sevri Il'Bethod. She can tell you what to do next.")
  222. end
  223. function dlg_28_1(NPC, Spawn)
  224. OfferQuest(NPC, Spawn, TWEEZING_KERRA)
  225. end
  226. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  227. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  228. ----------------------------------------------------------------- Quest 3 -------------------------------------------------------------------------------
  229. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  230. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  231. function dlg_31_1(NPC, Spawn)
  232. FaceTarget(NPC, Spawn)
  233. conversation = CreateConversation()
  234. SetStepComplete(Spawn, INCANTATION_ORATION, 1)
  235. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni019.mp3", "", "", 1648130503, 3545369186, Spawn)
  236. AddConversationOption(conversation, "I'm not sure why I'm important in this.", "dlg_31_2")
  237. AddConversationOption(conversation, "I'm glad I could lend my talent to the cause.")
  238. StartConversation(conversation, NPC, Spawn, "I'd presumed she would. She and I have been working together for the Abbatoirs for some time now on a little project. You've allowed us to speed up the process quite a bit.")
  239. end
  240. function dlg_31_2(NPC, Spawn)
  241. FaceTarget(NPC, Spawn)
  242. conversation = CreateConversation()
  243. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni020.mp3", "", "", 373760716, 2646229513, Spawn)
  244. AddConversationOption(conversation, "Pardon. Did you say 'the Divergence'?", "dlg_32_3")
  245. StartConversation(conversation, NPC, Spawn, "We've been reluctant to perform a few rites ourselves. While we've always been proficient with magic use, ever since the Divergence, we've been much more adept with its use since, but Sevri and I each possess slight... deficiencies.")
  246. end
  247. function dlg_32_3(NPC, Spawn)
  248. FaceTarget(NPC, Spawn)
  249. conversation = CreateConversation()
  250. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni021.mp3", "", "", 2388767305, 3216040786, Spawn)
  251. AddConversationOption(conversation, "What caused it?", "dlg_32_4")
  252. AddConversationOption(conversation, "What did we look like before?", "dlg_32_5")
  253. AddConversationOption(conversation, "Ahh, I don't need the details. Please continue.", "dlg_33_8")
  254. StartConversation(conversation, NPC, Spawn, "Yes. Long ago, we looked much more like our human ancestors. Well before the world was wrent asunder, our appearance... nay, our state of being, changed. A sudden jump in evolution, if you will.")
  255. end
  256. function dlg_32_4(NPC, Spawn)
  257. FaceTarget(NPC, Spawn)
  258. conversation = CreateConversation()
  259. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni022.mp3", "", "", 3684053157, 267543321, Spawn)
  260. AddConversationOption(conversation, "What did it look like before?", "dlg_32_5")
  261. AddConversationOption(conversation, "That's too bad, but please continue with what you were saying.", "dlg_33_8")
  262. StartConversation(conversation, NPC, Spawn, "We do not speak of such things. In fact, much of that knowledge was lost with the seperation we've had with our home continent of Odus.")
  263. end
  264. function dlg_32_5(NPC, Spawn)
  265. FaceTarget(NPC, Spawn)
  266. conversation = CreateConversation()
  267. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni023.mp3", "", "", 729095109, 2371703495, Spawn)
  268. AddConversationOption(conversation, "What caused this?", "dlg_32_4")
  269. AddConversationOption(conversation, "Interesting. Well, please continue with what you were going to say.", "dlg_33_8")
  270. StartConversation(conversation, NPC, Spawn, "Much more human; dark-skinned with elongated skulls. We did not possess the runes on our skin, nor the ashen and exotic skin tones that we now have.")
  271. end
  272. function dlg_33_5(NPC, Spawn)
  273. FaceTarget(NPC, Spawn)
  274. conversation = CreateConversation()
  275. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni022.mp3", "", "", 3684053157, 267543321, Spawn)
  276. AddConversationOption(conversation, "What did it look like before?", "dlg_33_6")
  277. AddConversationOption(conversation, "That's too bad, but please continue with what you were saying.", "dlg_33_8")
  278. StartConversation(conversation, NPC, Spawn, "We do not speak of such things. In fact, much of that knowledge was lost with the seperation we've had with our home continent of Odus.")
  279. end
  280. function dlg_33_8(NPC, Spawn)
  281. FaceTarget(NPC, Spawn)
  282. conversation = CreateConversation()
  283. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni024.mp3", "", "", 2742571672, 2630960239, Spawn)
  284. AddConversationOption(conversation, "So you need someone who is suited to both?", "dlg_35_6")
  285. StartConversation(conversation, NPC, Spawn, "Yes, where was I? Oh, yes, Sevri and I. She tends to be strong in the use of alchemical formulas and their creation, while I am more suited to incantations.")
  286. end
  287. function dlg_35_6(NPC, Spawn)
  288. FaceTarget(NPC, Spawn)
  289. conversation = CreateConversation()
  290. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni025.mp3", "", "", 2121710260, 4126884347, Spawn)
  291. AddConversationOption(conversation, "And this incantation will do?", "dlg_35_7")
  292. StartConversation(conversation, NPC, Spawn, "Yes. You needn't be a spell caster yourself, merely one strong in the use of magic. We do not wish the incantation to fail, so neither of us has tried it.")
  293. end
  294. function dlg_35_7(NPC, Spawn)
  295. FaceTarget(NPC, Spawn)
  296. conversation = CreateConversation()
  297. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni026.mp3", "", "", 2627797590, 2555516399, Spawn)
  298. AddConversationOption(conversation, "Yes, I am.", "dlg_35_8")
  299. AddConversationOption(conversation, "In a bit. Let me get my bearings first.")
  300. StartConversation(conversation, NPC, Spawn, "We are sealing a small area against intrusion by the kerra. Are you ready to learn the chant?")
  301. end
  302. function dlg_35_8(NPC, Spawn)
  303. FaceTarget(NPC, Spawn)
  304. conversation = CreateConversation()
  305. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni027.mp3", "", "", 3505819146, 188763690, Spawn)
  306. AddConversationOption(conversation, "...", "dlg_35_9")
  307. StartConversation(conversation, NPC, Spawn, "Alright. Repeat after me:")
  308. end
  309. function dlg_35_9(NPC, Spawn)
  310. FaceTarget(NPC, Spawn)
  311. conversation = CreateConversation()
  312. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni028.mp3", "", "", 2919007431, 1124579757, Spawn)
  313. AddConversationOption(conversation, "Kah!", "dlg_35_10")
  314. AddConversationOption(conversation, "Rah!", "dlg_35_11")
  315. AddConversationOption(conversation, "Ort!", "dlg_35_11")
  316. StartConversation(conversation, NPC, Spawn, "Kah!")
  317. end
  318. function dlg_35_10(NPC, Spawn)
  319. FaceTarget(NPC, Spawn)
  320. conversation = CreateConversation()
  321. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni029.mp3", "", "", 1143070588, 873896090, Spawn)
  322. AddConversationOption(conversation, "Shee-jo!", "dlg_35_11")
  323. AddConversationOption(conversation, "Shee-jah!", "dlg_35_23")
  324. AddConversationOption(conversation, "Bless you!", "dlg_35_15")
  325. StartConversation(conversation, NPC, Spawn, "Shee-jah!")
  326. end
  327. function dlg_35_11(NPC, Spawn)
  328. FaceTarget(NPC, Spawn)
  329. conversation = CreateConversation()
  330. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni033.mp3", "", "", 3771835852, 356880814, Spawn)
  331. AddConversationOption(conversation, "Alright.", "dlg_35_8")
  332. StartConversation(conversation, NPC, Spawn, "No, that was incorrect. Again!")
  333. end
  334. function dlg_35_15(NPC, Spawn)
  335. FaceTarget(NPC, Spawn)
  336. conversation = CreateConversation()
  337. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni034.mp3", "", "", 700726847, 2196280393, Spawn)
  338. AddConversationOption(conversation, "Fine.", "dlg_35_8")
  339. StartConversation(conversation, NPC, Spawn, "Are you trying to be funny? This is serious. Again! From the beginning!")
  340. end
  341. function dlg_35_23(NPC, Spawn)
  342. FaceTarget(NPC, Spawn)
  343. conversation = CreateConversation()
  344. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni030.mp3", "", "", 3795991524, 1404953024, Spawn)
  345. AddConversationOption(conversation, "Barakah!", "dlg_35_11")
  346. AddConversationOption(conversation, "Veratu!", "dlg_35_11")
  347. AddConversationOption(conversation, "Ver-ata!", "dlg_35_32")
  348. StartConversation(conversation, NPC, Spawn, "Ver-ata!")
  349. end
  350. function dlg_35_32(NPC, Spawn)
  351. FaceTarget(NPC, Spawn)
  352. conversation = CreateConversation()
  353. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni031.mp3", "", "", 133768448, 277366466, Spawn)
  354. AddConversationOption(conversation, "Nik-su!", "dlg_35_38")
  355. AddConversationOption(conversation, "Hi-yah!", "dlg_35_11")
  356. AddConversationOption(conversation, "Ninjitsu!", "dlg_35_15")
  357. StartConversation(conversation, NPC, Spawn, "Nik-su!")
  358. end
  359. function dlg_35_38(NPC, Spawn)
  360. FaceTarget(NPC, Spawn)
  361. conversation = CreateConversation()
  362. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni032.mp3", "", "", 3316158990, 3680571955, Spawn)
  363. AddConversationOption(conversation, "Jeg-raz!", "dlg_35_11")
  364. AddConversationOption(conversation, "Gej-soont-hite!", "dlg_35_15")
  365. AddConversationOption(conversation, "Gej-raz!", "dlg_35_39")
  366. StartConversation(conversation, NPC, Spawn, "Gej-raz!")
  367. end
  368. function dlg_35_39(NPC, Spawn)
  369. FaceTarget(NPC, Spawn)
  370. conversation = CreateConversation()
  371. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni035.mp3", "", "", 402169577, 2150827734, Spawn)
  372. AddConversationOption(conversation, "Very well. Shall we begin?", "dlg_35_40")
  373. StartConversation(conversation, NPC, Spawn, "Good. Now, repeat it back to me.")
  374. end
  375. function dlg_35_40(NPC, Spawn)
  376. FaceTarget(NPC, Spawn)
  377. conversation = CreateConversation()
  378. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni036.mp3", "", "", 3555302534, 1640323835, Spawn)
  379. AddConversationOption(conversation, "Rah!", "dlg_35_47")
  380. AddConversationOption(conversation, "Kah!", "dlg_35_41")
  381. AddConversationOption(conversation, "Shish-boom-bah!", "dlg_35_47")
  382. StartConversation(conversation, NPC, Spawn, "What is the first word of the incantation?")
  383. end
  384. function dlg_35_41(NPC, Spawn)
  385. FaceTarget(NPC, Spawn)
  386. conversation = CreateConversation()
  387. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni037.mp3", "", "", 2778449782, 209782941, Spawn)
  388. AddConversationOption(conversation, "Shee-jah!", "dlg_35_42")
  389. AddConversationOption(conversation, "Shee-joh!", "dlg_35_47")
  390. AddConversationOption(conversation, "Skee-ball!", "dlg_35_47")
  391. StartConversation(conversation, NPC, Spawn, "Good. The second?")
  392. end
  393. function dlg_35_42(NPC, Spawn)
  394. FaceTarget(NPC, Spawn)
  395. conversation = CreateConversation()
  396. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni038.mp3", "", "", 365802047, 3239329702, Spawn)
  397. AddConversationOption(conversation, "Vis-a-vis!", "dlg_35_47")
  398. AddConversationOption(conversation, "Ver-ata!", "dlg_35_43")
  399. AddConversationOption(conversation, "Vol-ume!", "dlg_35_47")
  400. StartConversation(conversation, NPC, Spawn, "Well done. The third?")
  401. end
  402. function dlg_35_43(NPC, Spawn)
  403. FaceTarget(NPC, Spawn)
  404. conversation = CreateConversation()
  405. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni039.mp3", "", "", 2799862347, 3798966954, Spawn)
  406. AddConversationOption(conversation, "Nin-dn-toh!", "dlg_35_47")
  407. AddConversationOption(conversation, "Na-ni!", "dlg_35_47")
  408. AddConversationOption(conversation, "Nik-su!", "dlg_35_44")
  409. StartConversation(conversation, NPC, Spawn, "I'm impressed. The fourth?")
  410. end
  411. function dlg_35_44(NPC, Spawn)
  412. FaceTarget(NPC, Spawn)
  413. conversation = CreateConversation()
  414. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni040.mp3", "", "", 1907508477, 1925947266, Spawn)
  415. AddConversationOption(conversation, "Gej-raz!", "dlg_35_45")
  416. AddConversationOption(conversation, "Jur-gal!", "dlg_35_47")
  417. AddConversationOption(conversation, "Gej-who!", "dlg_35_47")
  418. StartConversation(conversation, NPC, Spawn, "Most wonderful! And the last?")
  419. end
  420. function dlg_35_45(NPC, Spawn)
  421. FaceTarget(NPC, Spawn)
  422. conversation = CreateConversation()
  423. SetStepComplete(Spawn, INCANTATION_ORATION, 2)
  424. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni041.mp3", "", "", 2217231699, 1707419277, Spawn)
  425. AddConversationOption(conversation, "I am ready.", "dlg_35_46")
  426. AddConversationOption(conversation, "I could use some more time. I'll be back.")
  427. StartConversation(conversation, NPC, Spawn, "Amazing! I must say, I am very impressed with your ability. Now for the last step.")
  428. end
  429. function dlg_35_47(NPC, Spawn)
  430. FaceTarget(NPC, Spawn)
  431. conversation = CreateConversation()
  432. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni033.mp3", "", "", 3771835852, 356880814, Spawn)
  433. AddConversationOption(conversation, "Alright.", "dlg_35_40")
  434. StartConversation(conversation, NPC, Spawn, "No, that was incorrect. Again!")
  435. end
  436. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  437. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  438. ----------------------------------------------------------------- Quest 4 -------------------------------------------------------------------------------
  439. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  440. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  441. function dlg_35_46(NPC, Spawn)
  442. FaceTarget(NPC, Spawn)
  443. conversation = CreateConversation()
  444. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni044.mp3", "", "", 2882848596, 2336130534, Spawn)
  445. AddConversationOption(conversation, "So, pick up the components, then enact the warding?", "dlg_36_1")
  446. StartConversation(conversation, NPC, Spawn, "You will seal our meeting place. I'll mark it's location in your journal. But first, return to Sevri to pick up the components of the warding spell.")
  447. end
  448. function dlg_36_1(NPC, Spawn)
  449. OfferQuest(NPC, Spawn, ABOLISHING_CURIOUSITY)
  450. end
  451. function dlg_39_1(NPC, Spawn)
  452. FaceTarget(NPC, Spawn)
  453. conversation = CreateConversation()
  454. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni047.mp3", "", "", 2997417489, 3570075977, Spawn)
  455. AddConversationOption(conversation, "If this will keep the kerra out of our... business, then I am pleased.", "dlg_39_2")
  456. StartConversation(conversation, NPC, Spawn, "Then we are indebted to you. I am pleased that my choice to trust in your abilities was met with such astounding success.")
  457. end
  458. function dlg_39_2(NPC, Spawn)
  459. FaceTarget(NPC, Spawn)
  460. conversation = CreateConversation()
  461. SetStepComplete(Spawn, ABOLISHING_CURIOUSITY, 3)
  462. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni048.mp3", "", "", 1980771348, 214982557, Spawn)
  463. AddConversationOption(conversation, "Thank you, Vess.", "dlg_39_3")
  464. StartConversation(conversation, NPC, Spawn, "Take this as a token of our gratitude. ")
  465. end
  466. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  467. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  468. ----------------------------------------------------------------- Quest 5 -------------------------------------------------------------------------------
  469. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  470. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  471. function dlg_39_3(NPC, Spawn)
  472. -- Offer Quest 5
  473. FaceTarget(NPC, Spawn)
  474. conversation = CreateConversation()
  475. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni049.mp3", "", "", 3874372203, 2541548907, Spawn)
  476. AddConversationOption(conversation, "I'll do that.", "OfferQuest5")
  477. StartConversation(conversation, NPC, Spawn, "Also, you may wish to speak with Custodian Zaddar in the Graveyard when you get a chance.")
  478. end
  479. function OfferQuest5(NPC, Spawn)
  480. OfferQuest(NPC, Spawn, ERUDITE_ADVENTURES)
  481. end