9
3

VessAlIshni.lua 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  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. local race = GetRace(Spawn)
  28. if race == 3 then --Erudite
  29. result = HandleQuest1Dialog(NPC, Spawn, conversation)
  30. if not result then
  31. result = HandleQuest2Dialog(NPC, Spawn, conversation)
  32. end
  33. if not result then
  34. result = HandleQuest3Dialog(NPC, Spawn, conversation)
  35. end
  36. if not result then
  37. result = HandleQuest4Dialog(NPC, Spawn, conversation)
  38. end
  39. if not result then
  40. result = HandleQuest5Dialog(NPC, Spawn, conversation)
  41. end
  42. end
  43. if not result then
  44. Say(NPC, "Sorry. Have a good day.")
  45. end
  46. end
  47. function HandleQuest1Dialog(NPC, Spawn, conversation)
  48. local ret = false
  49. if CanReceiveQuest(Spawn, ERUDITE_ALCHEMY) then
  50. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni001.mp3", "", "", 2148572556, 2411402347, Spawn)
  51. AddConversationOption(conversation, "Very well, Vess. My name is " .. GetName(Spawn) .. ", but it seems as though you already know that.", "dlg_4_1")
  52. 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.")
  53. ret = true
  54. elseif HasQuest(Spawn, ERUDITE_ALCHEMY) and GetQuestStep(Spawn, ERUDITE_ALCHEMY) >= 1 and GetQuestStep(Spawn, ERUDITE_ALCHEMY) <= 2 then
  55. 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)
  56. ret = true
  57. elseif HasQuest(Spawn, ERUDITE_ALCHEMY) and GetQuestStep(Spawn, ERUDITE_ALCHEMY) == 3 then
  58. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni014.mp3", "", "", 245696213, 2128891193, Spawn)
  59. AddConversationOption(conversation, "It wasn't exactly the most arduous of tasks.", "dlg_27_1")
  60. StartConversation(conversation, NPC, Spawn, "Ahh, I can smell the ground herbs on you! Well done indeed!")
  61. ret = true
  62. end
  63. return ret
  64. end
  65. function HandleQuest2Dialog(NPC, Spawn, conversation)
  66. local ret = false
  67. if CanReceiveQuest(Spawn, TWEEZING_KERRA) then
  68. dlg_27_2(NPC, Spawn)
  69. ret = true
  70. elseif HasQuest(Spawn, TWEEZING_KERRA) then
  71. 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)
  72. ret = true
  73. end
  74. return ret
  75. end
  76. function HandleQuest3Dialog(NPC, Spawn, conversation)
  77. local ret = false
  78. if HasQuest(Spawn, INCANTATION_ORATION) and GetQuestStep(Spawn, INCANTATION_ORATION) == 1 then
  79. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni018.mp3", "", "", 356564578, 3157391878, Spawn)
  80. AddConversationOption(conversation, "Yes, I did. She asked me to speak with you again.", "dlg_31_1")
  81. StartConversation(conversation, NPC, Spawn, "So you spoke to Sevri, did you?")
  82. ret = true
  83. elseif HasQuest(Spawn, INCANTATION_ORATION) and GetQuestStep(Spawn, INCANTATION_ORATION) == 2 then
  84. dlg_35_7(NPC, Spawn)
  85. ret = true
  86. elseif HasQuest(Spawn, INCANTATION_ORATION) then
  87. 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)
  88. ret = true
  89. end
  90. return ret
  91. end
  92. function HandleQuest4Dialog(NPC, Spawn, conversation)
  93. local ret = false
  94. if CanReceiveQuest(Spawn, ABOLISHING_CURIOUSITY) then
  95. dlg_35_46(NPC, Spawn)
  96. ret = true
  97. elseif HasQuest(Spawn, ABOLISHING_CURIOUSITY) and GetQuestStep(Spawn, ABOLISHING_CURIOUSITY) == 3 then
  98. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni046.mp3", "", "", 3328863454, 1820625790, Spawn)
  99. AddConversationOption(conversation, "It is.", "dlg_39_1")
  100. StartConversation(conversation, NPC, Spawn, "So, is the barrier enacted?")
  101. ret = true
  102. elseif HasQuest(Spawn, ABOLISHING_CURIOUSITY) then
  103. 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)
  104. ret = true
  105. end
  106. return ret
  107. end
  108. function HandleQuest5Dialog(NPC, Spawn, conversation)
  109. local ret = false
  110. if CanReceiveQuest(Spawn, ERUDITE_ADVENTURES) then
  111. dlg_39_3(NPC, Spawn)
  112. ret = true
  113. end
  114. return ret
  115. end
  116. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  117. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  118. ----------------------------------------------------------------- Quest 1 -------------------------------------------------------------------------------
  119. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  120. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  121. function dlg_4_1(NPC, Spawn)
  122. FaceTarget(NPC, Spawn)
  123. conversation = CreateConversation()
  124. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni002.mp3", "", "", 1610952532, 2061201835, Spawn)
  125. AddConversationOption(conversation, "Look, I'm not sure I really need a job.", "dlg_4_2")
  126. AddConversationOption(conversation, "Help you out? But what would you want me to do?", "dlg_4_4")
  127. 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.")
  128. end
  129. function dlg_4_2(NPC, Spawn)
  130. FaceTarget(NPC, Spawn)
  131. conversation = CreateConversation()
  132. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni003.mp3", "", "", 1196062600, 3691795630, Spawn)
  133. AddConversationOption(conversation, "So you don't think much of the kerra, then?", "dlg_4_3")
  134. AddConversationOption(conversation, "So tell me about this bit of work.", "dlg_4_4")
  135. 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.")
  136. end
  137. function dlg_4_3(NPC, Spawn)
  138. FaceTarget(NPC, Spawn)
  139. conversation = CreateConversation()
  140. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni004.mp3", "", "", 641685572, 3641147429, Spawn)
  141. AddConversationOption(conversation, "Like that not-a-job, no doubt, yes? Why don't you tell me what you have in mind.", "dlg_4_4")
  142. AddConversationOption(conversation, "I don't think I'm interested in other matters.")
  143. 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.")
  144. end
  145. function dlg_4_4(NPC, Spawn)
  146. FaceTarget(NPC, Spawn)
  147. conversation = CreateConversation()
  148. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni005.mp3", "", "", 891412912, 134486760, Spawn)
  149. AddConversationOption(conversation, "Do go on. I wouldn't expect you to open your house, as it were, to a stranger.", "dlg_4_5")
  150. 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")
  151. 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?")
  152. end
  153. function dlg_1_3(NPC, Spawn)
  154. FaceTarget(NPC, Spawn)
  155. conversation = CreateConversation()
  156. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni006.mp3", "", "", 1098533707, 3355873785, Spawn)
  157. AddConversationOption(conversation, "Perhaps.")
  158. 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?")
  159. end
  160. function dlg_4_5(NPC, Spawn)
  161. FaceTarget(NPC, Spawn)
  162. conversation = CreateConversation()
  163. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni007.mp3", "", "", 1149376265, 3106062319, Spawn)
  164. AddConversationOption(conversation, "Then I shall listen.", "dlg_6_6")
  165. AddConversationOption(conversation, "I'm not sure I need the history lesson. What would you like me to accomplish?", "dlg_6_11")
  166. 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.")
  167. end
  168. function dlg_6_6(NPC, Spawn)
  169. FaceTarget(NPC, Spawn)
  170. conversation = CreateConversation()
  171. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni008.mp3", "", "", 1313191928, 12500296, Spawn)
  172. AddConversationOption(conversation, "It makes sense. There aren't too many civilized places left.", "dlg_6_7")
  173. 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.")
  174. end
  175. function dlg_6_7(NPC, Spawn)
  176. FaceTarget(NPC, Spawn)
  177. conversation = CreateConversation()
  178. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni009.mp3", "", "", 4080582303, 2099986849, Spawn)
  179. AddConversationOption(conversation, "If I were in his position, I might have considered dividing the erudites.", "dlg_6_8")
  180. 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.")
  181. end
  182. function dlg_6_8(NPC, Spawn)
  183. FaceTarget(NPC, Spawn)
  184. conversation = CreateConversation()
  185. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni010.mp3", "", "", 1279930131, 1784422627, Spawn)
  186. AddConversationOption(conversation, "No, I suspect that Lucan had more in store...", "dlg_6_9")
  187. 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.")
  188. end
  189. function dlg_6_9(NPC, Spawn)
  190. FaceTarget(NPC, Spawn)
  191. conversation = CreateConversation()
  192. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni011.mp3", "", "", 3778512067, 3228444190, Spawn)
  193. AddConversationOption(conversation, "Or what was left of them after Luclin.", "dlg_6_10")
  194. 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.")
  195. end
  196. function dlg_6_10(NPC, Spawn)
  197. FaceTarget(NPC, Spawn)
  198. conversation = CreateConversation()
  199. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni012.mp3", "", "", 2014393836, 3746123557, Spawn)
  200. AddConversationOption(conversation, "So what does the brotherhood wish from me?", "dlg_6_11")
  201. 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.")
  202. end
  203. function dlg_6_11(NPC, Spawn)
  204. OfferQuest(NPC, Spawn, ERUDITE_ALCHEMY)
  205. end
  206. function dlg_27_1(NPC, Spawn)
  207. FaceTarget(NPC, Spawn)
  208. conversation = CreateConversation()
  209. SetStepComplete(Spawn, ERUDITE_ALCHEMY, 3)
  210. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni015.mp3", "", "", 743790253, 3747651989, Spawn)
  211. AddConversationOption(conversation, "Pleased to be of assistance.", "dlg_27_2")
  212. StartConversation(conversation, NPC, Spawn, "Nevertheless, it was very helpful.")
  213. end
  214. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  215. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  216. ----------------------------------------------------------------- Quest 2 -------------------------------------------------------------------------------
  217. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  218. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  219. function dlg_27_2(NPC, Spawn)
  220. FaceTarget(NPC, Spawn)
  221. conversation = CreateConversation()
  222. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vesh_al_ishni/fprt_hood02/vesh_alishni016.mp3", "", "", 2815059884, 70268562, Spawn)
  223. AddConversationOption(conversation, "Where would I find her?", "dlg_28_1")
  224. 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.")
  225. end
  226. function dlg_28_1(NPC, Spawn)
  227. OfferQuest(NPC, Spawn, TWEEZING_KERRA)
  228. end
  229. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  230. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  231. ----------------------------------------------------------------- Quest 3 -------------------------------------------------------------------------------
  232. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  233. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  234. function dlg_31_1(NPC, Spawn)
  235. FaceTarget(NPC, Spawn)
  236. conversation = CreateConversation()
  237. SetStepComplete(Spawn, INCANTATION_ORATION, 1)
  238. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni019.mp3", "", "", 1648130503, 3545369186, Spawn)
  239. AddConversationOption(conversation, "I'm not sure why I'm important in this.", "dlg_31_2")
  240. AddConversationOption(conversation, "I'm glad I could lend my talent to the cause.")
  241. 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.")
  242. end
  243. function dlg_31_2(NPC, Spawn)
  244. FaceTarget(NPC, Spawn)
  245. conversation = CreateConversation()
  246. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni020.mp3", "", "", 373760716, 2646229513, Spawn)
  247. AddConversationOption(conversation, "Pardon. Did you say 'the Divergence'?", "dlg_32_3")
  248. 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.")
  249. end
  250. function dlg_32_3(NPC, Spawn)
  251. FaceTarget(NPC, Spawn)
  252. conversation = CreateConversation()
  253. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni021.mp3", "", "", 2388767305, 3216040786, Spawn)
  254. AddConversationOption(conversation, "What caused it?", "dlg_32_4")
  255. AddConversationOption(conversation, "What did we look like before?", "dlg_32_5")
  256. AddConversationOption(conversation, "Ahh, I don't need the details. Please continue.", "dlg_33_8")
  257. 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.")
  258. end
  259. function dlg_32_4(NPC, Spawn)
  260. FaceTarget(NPC, Spawn)
  261. conversation = CreateConversation()
  262. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni022.mp3", "", "", 3684053157, 267543321, Spawn)
  263. AddConversationOption(conversation, "What did it look like before?", "dlg_32_5")
  264. AddConversationOption(conversation, "That's too bad, but please continue with what you were saying.", "dlg_33_8")
  265. 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.")
  266. end
  267. function dlg_32_5(NPC, Spawn)
  268. FaceTarget(NPC, Spawn)
  269. conversation = CreateConversation()
  270. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni023.mp3", "", "", 729095109, 2371703495, Spawn)
  271. AddConversationOption(conversation, "What caused this?", "dlg_32_4")
  272. AddConversationOption(conversation, "Interesting. Well, please continue with what you were going to say.", "dlg_33_8")
  273. 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.")
  274. end
  275. function dlg_33_5(NPC, Spawn)
  276. FaceTarget(NPC, Spawn)
  277. conversation = CreateConversation()
  278. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni022.mp3", "", "", 3684053157, 267543321, Spawn)
  279. AddConversationOption(conversation, "What did it look like before?", "dlg_33_6")
  280. AddConversationOption(conversation, "That's too bad, but please continue with what you were saying.", "dlg_33_8")
  281. 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.")
  282. end
  283. function dlg_33_8(NPC, Spawn)
  284. FaceTarget(NPC, Spawn)
  285. conversation = CreateConversation()
  286. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni024.mp3", "", "", 2742571672, 2630960239, Spawn)
  287. AddConversationOption(conversation, "So you need someone who is suited to both?", "dlg_35_6")
  288. 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.")
  289. end
  290. function dlg_35_6(NPC, Spawn)
  291. FaceTarget(NPC, Spawn)
  292. conversation = CreateConversation()
  293. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni025.mp3", "", "", 2121710260, 4126884347, Spawn)
  294. AddConversationOption(conversation, "And this incantation will do?", "dlg_35_7")
  295. 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.")
  296. end
  297. function dlg_35_7(NPC, Spawn)
  298. FaceTarget(NPC, Spawn)
  299. conversation = CreateConversation()
  300. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni026.mp3", "", "", 2627797590, 2555516399, Spawn)
  301. AddConversationOption(conversation, "Yes, I am.", "dlg_35_8")
  302. AddConversationOption(conversation, "In a bit. Let me get my bearings first.")
  303. StartConversation(conversation, NPC, Spawn, "We are sealing a small area against intrusion by the kerra. Are you ready to learn the chant?")
  304. end
  305. function dlg_35_8(NPC, Spawn)
  306. FaceTarget(NPC, Spawn)
  307. conversation = CreateConversation()
  308. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni027.mp3", "", "", 3505819146, 188763690, Spawn)
  309. AddConversationOption(conversation, "...", "dlg_35_9")
  310. StartConversation(conversation, NPC, Spawn, "Alright. Repeat after me:")
  311. end
  312. function dlg_35_9(NPC, Spawn)
  313. FaceTarget(NPC, Spawn)
  314. conversation = CreateConversation()
  315. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni028.mp3", "", "", 2919007431, 1124579757, Spawn)
  316. AddConversationOption(conversation, "Kah!", "dlg_35_10")
  317. AddConversationOption(conversation, "Rah!", "dlg_35_11")
  318. AddConversationOption(conversation, "Ort!", "dlg_35_11")
  319. StartConversation(conversation, NPC, Spawn, "Kah!")
  320. end
  321. function dlg_35_10(NPC, Spawn)
  322. FaceTarget(NPC, Spawn)
  323. conversation = CreateConversation()
  324. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni029.mp3", "", "", 1143070588, 873896090, Spawn)
  325. AddConversationOption(conversation, "Shee-jo!", "dlg_35_11")
  326. AddConversationOption(conversation, "Shee-jah!", "dlg_35_23")
  327. AddConversationOption(conversation, "Bless you!", "dlg_35_15")
  328. StartConversation(conversation, NPC, Spawn, "Shee-jah!")
  329. end
  330. function dlg_35_11(NPC, Spawn)
  331. FaceTarget(NPC, Spawn)
  332. conversation = CreateConversation()
  333. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni033.mp3", "", "", 3771835852, 356880814, Spawn)
  334. AddConversationOption(conversation, "Alright.", "dlg_35_8")
  335. StartConversation(conversation, NPC, Spawn, "No, that was incorrect. Again!")
  336. end
  337. function dlg_35_15(NPC, Spawn)
  338. FaceTarget(NPC, Spawn)
  339. conversation = CreateConversation()
  340. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni034.mp3", "", "", 700726847, 2196280393, Spawn)
  341. AddConversationOption(conversation, "Fine.", "dlg_35_8")
  342. StartConversation(conversation, NPC, Spawn, "Are you trying to be funny? This is serious. Again! From the beginning!")
  343. end
  344. function dlg_35_23(NPC, Spawn)
  345. FaceTarget(NPC, Spawn)
  346. conversation = CreateConversation()
  347. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni030.mp3", "", "", 3795991524, 1404953024, Spawn)
  348. AddConversationOption(conversation, "Barakah!", "dlg_35_11")
  349. AddConversationOption(conversation, "Veratu!", "dlg_35_11")
  350. AddConversationOption(conversation, "Ver-ata!", "dlg_35_32")
  351. StartConversation(conversation, NPC, Spawn, "Ver-ata!")
  352. end
  353. function dlg_35_32(NPC, Spawn)
  354. FaceTarget(NPC, Spawn)
  355. conversation = CreateConversation()
  356. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni031.mp3", "", "", 133768448, 277366466, Spawn)
  357. AddConversationOption(conversation, "Nik-su!", "dlg_35_38")
  358. AddConversationOption(conversation, "Hi-yah!", "dlg_35_11")
  359. AddConversationOption(conversation, "Ninjitsu!", "dlg_35_15")
  360. StartConversation(conversation, NPC, Spawn, "Nik-su!")
  361. end
  362. function dlg_35_38(NPC, Spawn)
  363. FaceTarget(NPC, Spawn)
  364. conversation = CreateConversation()
  365. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni032.mp3", "", "", 3316158990, 3680571955, Spawn)
  366. AddConversationOption(conversation, "Jeg-raz!", "dlg_35_11")
  367. AddConversationOption(conversation, "Gej-soont-hite!", "dlg_35_15")
  368. AddConversationOption(conversation, "Gej-raz!", "dlg_35_39")
  369. StartConversation(conversation, NPC, Spawn, "Gej-raz!")
  370. end
  371. function dlg_35_39(NPC, Spawn)
  372. FaceTarget(NPC, Spawn)
  373. conversation = CreateConversation()
  374. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni035.mp3", "", "", 402169577, 2150827734, Spawn)
  375. AddConversationOption(conversation, "Very well. Shall we begin?", "dlg_35_40")
  376. StartConversation(conversation, NPC, Spawn, "Good. Now, repeat it back to me.")
  377. end
  378. function dlg_35_40(NPC, Spawn)
  379. FaceTarget(NPC, Spawn)
  380. conversation = CreateConversation()
  381. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni036.mp3", "", "", 3555302534, 1640323835, Spawn)
  382. AddConversationOption(conversation, "Rah!", "dlg_35_47")
  383. AddConversationOption(conversation, "Kah!", "dlg_35_41")
  384. AddConversationOption(conversation, "Shish-boom-bah!", "dlg_35_47")
  385. StartConversation(conversation, NPC, Spawn, "What is the first word of the incantation?")
  386. end
  387. function dlg_35_41(NPC, Spawn)
  388. FaceTarget(NPC, Spawn)
  389. conversation = CreateConversation()
  390. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni037.mp3", "", "", 2778449782, 209782941, Spawn)
  391. AddConversationOption(conversation, "Shee-jah!", "dlg_35_42")
  392. AddConversationOption(conversation, "Shee-joh!", "dlg_35_47")
  393. AddConversationOption(conversation, "Skee-ball!", "dlg_35_47")
  394. StartConversation(conversation, NPC, Spawn, "Good. The second?")
  395. end
  396. function dlg_35_42(NPC, Spawn)
  397. FaceTarget(NPC, Spawn)
  398. conversation = CreateConversation()
  399. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni038.mp3", "", "", 365802047, 3239329702, Spawn)
  400. AddConversationOption(conversation, "Vis-a-vis!", "dlg_35_47")
  401. AddConversationOption(conversation, "Ver-ata!", "dlg_35_43")
  402. AddConversationOption(conversation, "Vol-ume!", "dlg_35_47")
  403. StartConversation(conversation, NPC, Spawn, "Well done. The third?")
  404. end
  405. function dlg_35_43(NPC, Spawn)
  406. FaceTarget(NPC, Spawn)
  407. conversation = CreateConversation()
  408. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni039.mp3", "", "", 2799862347, 3798966954, Spawn)
  409. AddConversationOption(conversation, "Nin-dn-toh!", "dlg_35_47")
  410. AddConversationOption(conversation, "Na-ni!", "dlg_35_47")
  411. AddConversationOption(conversation, "Nik-su!", "dlg_35_44")
  412. StartConversation(conversation, NPC, Spawn, "I'm impressed. The fourth?")
  413. end
  414. function dlg_35_44(NPC, Spawn)
  415. FaceTarget(NPC, Spawn)
  416. conversation = CreateConversation()
  417. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni040.mp3", "", "", 1907508477, 1925947266, Spawn)
  418. AddConversationOption(conversation, "Gej-raz!", "dlg_35_45")
  419. AddConversationOption(conversation, "Jur-gal!", "dlg_35_47")
  420. AddConversationOption(conversation, "Gej-who!", "dlg_35_47")
  421. StartConversation(conversation, NPC, Spawn, "Most wonderful! And the last?")
  422. end
  423. function dlg_35_45(NPC, Spawn)
  424. FaceTarget(NPC, Spawn)
  425. conversation = CreateConversation()
  426. SetStepComplete(Spawn, INCANTATION_ORATION, 2)
  427. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni041.mp3", "", "", 2217231699, 1707419277, Spawn)
  428. AddConversationOption(conversation, "I am ready.", "dlg_35_46")
  429. AddConversationOption(conversation, "I could use some more time. I'll be back.")
  430. StartConversation(conversation, NPC, Spawn, "Amazing! I must say, I am very impressed with your ability. Now for the last step.")
  431. end
  432. function dlg_35_47(NPC, Spawn)
  433. FaceTarget(NPC, Spawn)
  434. conversation = CreateConversation()
  435. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni033.mp3", "", "", 3771835852, 356880814, Spawn)
  436. AddConversationOption(conversation, "Alright.", "dlg_35_40")
  437. StartConversation(conversation, NPC, Spawn, "No, that was incorrect. Again!")
  438. end
  439. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  440. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  441. ----------------------------------------------------------------- Quest 4 -------------------------------------------------------------------------------
  442. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  443. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  444. function dlg_35_46(NPC, Spawn)
  445. FaceTarget(NPC, Spawn)
  446. conversation = CreateConversation()
  447. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni044.mp3", "", "", 2882848596, 2336130534, Spawn)
  448. AddConversationOption(conversation, "So, pick up the components, then enact the warding?", "dlg_36_1")
  449. 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.")
  450. end
  451. function dlg_36_1(NPC, Spawn)
  452. OfferQuest(NPC, Spawn, ABOLISHING_CURIOUSITY)
  453. end
  454. function dlg_39_1(NPC, Spawn)
  455. FaceTarget(NPC, Spawn)
  456. conversation = CreateConversation()
  457. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni047.mp3", "", "", 2997417489, 3570075977, Spawn)
  458. AddConversationOption(conversation, "If this will keep the kerra out of our... business, then I am pleased.", "dlg_39_2")
  459. 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.")
  460. end
  461. function dlg_39_2(NPC, Spawn)
  462. FaceTarget(NPC, Spawn)
  463. conversation = CreateConversation()
  464. SetStepComplete(Spawn, ABOLISHING_CURIOUSITY, 3)
  465. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni048.mp3", "", "", 1980771348, 214982557, Spawn)
  466. AddConversationOption(conversation, "Thank you, Vess.", "dlg_39_3")
  467. StartConversation(conversation, NPC, Spawn, "Take this as a token of our gratitude. ")
  468. end
  469. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  470. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  471. ----------------------------------------------------------------- Quest 5 -------------------------------------------------------------------------------
  472. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  473. ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  474. function dlg_39_3(NPC, Spawn)
  475. -- Offer Quest 5
  476. FaceTarget(NPC, Spawn)
  477. conversation = CreateConversation()
  478. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/vess_al_ishni/fprt_hood02/vesh_alishni049.mp3", "", "", 3874372203, 2541548907, Spawn)
  479. AddConversationOption(conversation, "I'll do that.", "OfferQuest5")
  480. StartConversation(conversation, NPC, Spawn, "Also, you may wish to speak with Custodian Zaddar in the Graveyard when you get a chance.")
  481. end
  482. function OfferQuest5(NPC, Spawn)
  483. OfferQuest(NPC, Spawn, ERUDITE_ADVENTURES)
  484. end