9
3

AlderaVExxa.lua 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/AlderaVExxa.lua
  3. Script Purpose : Aldera V'Exxa <Dark Elf Mentor>
  4. Script Author : John Adams
  5. Script Date : 2008.09.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Race ID's
  9. local DARK_ELF = 1
  10. -- Quest ID's
  11. local QUEST_1 = 335 -- A Clear Understanding
  12. local QUEST_2 = 336 -- A Lesson to Learn
  13. local QUEST_3 = 337 -- Brewing Trouble
  14. local QUEST_4 = 338 -- A Lesson Learned
  15. local QUEST_5 = 339 -- Meet the Custodian (listed under Graveyard)
  16. -- Item ID's
  17. local POISONED_LOAF_OF_BREAD = 10496
  18. function spawn(NPC)
  19. ProvidesQuest(NPC, QUEST_1)
  20. ProvidesQuest(NPC, QUEST_2)
  21. ProvidesQuest(NPC, QUEST_3)
  22. ProvidesQuest(NPC, QUEST_4)
  23. ProvidesQuest(NPC, QUEST_5)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function hailed(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. if HasCompletedQuest(Spawn, QUEST_1) then
  32. if HasCompletedQuest(Spawn, QUEST_2) then
  33. if HasCompletedQuest(Spawn, QUEST_3) then
  34. if HasCompletedQuest(Spawn, QUEST_4) then
  35. if HasCompletedQuest(Spawn, QUEST_5) then
  36. Say(NPC, "There is nothing left for you here.", Spawn)
  37. elseif HasQuest(Spawn, QUEST_5) then
  38. Say(NPC, "Go now to Custodian Zaddar Sullissia in the Graveyard, he is waiting for you.", Spawn)
  39. else
  40. OfferQuest5(NPC, Spawn)
  41. end
  42. elseif HasQuest(Spawn, QUEST_4) then
  43. OnQuest4(NPC, Spawn, conversation)
  44. else
  45. IKnowNow(NPC, Spawn, conversation)
  46. end
  47. elseif HasQuest(Spawn, QUEST_3) then
  48. OnQuest3(NPC, Spawn, conversation)
  49. else
  50. BePatient(NPC, Spawn, conversation)
  51. end
  52. elseif HasQuest(Spawn, QUEST_2) then
  53. OnQuest2(NPC, Spawn, conversation)
  54. else
  55. RevengeSweet(NPC, Spawn, conversation)
  56. end
  57. elseif HasQuest(Spawn, QUEST_1) then
  58. OnQuest1(NPC, Spawn, conversation)
  59. else
  60. if GetRace(Spawn) == DARK_ELF then
  61. Greetings(NPC, Spawn, conversation)
  62. else
  63. Say(NPC, "You're no dark elf!", Spawn)
  64. end
  65. end
  66. end
  67. -------------------------------------------------------------------------------------------------------------------
  68. -- QUEST 1
  69. -------------------------------------------------------------------------------------------------------------------
  70. function Greetings(NPC, Spawn, conversation)
  71. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_001.mp3", "", "", 85248466, 2292456525, Spawn)
  72. AddConversationOption(conversation, "I am not bewildered. I am in a hurry. There is a difference, so what is it that you want of me already?", "dlg_0_1")
  73. AddConversationOption(conversation, "If I seem ill-tempered, it's because I'm being accosted by a complete stranger.", "dlg_0_1")
  74. AddConversationOption(conversation, "Sorry, I am in a hurry right now. Maybe I will come back later.")
  75. StartConversation(conversation, NPC, Spawn, "Greetings. You seem a bit bewildered, but worry not; I can sense the hate in you. It is a wild, flowing hatred, but we can temper that, and you, into a creature of Innoruuk's vengeance still. ")
  76. end
  77. function dlg_0_1(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_002.mp3", "", "", 2316308522, 1859341999, Spawn)
  81. AddConversationOption(conversation, "My apologies, Aldera. What advice would you give on harnessing the strength of the Teir'Dal? ", "dlg_0_2")
  82. AddConversationOption(conversation, "If you say so. However, I am interested in becoming a creature of Innoruuk's vengeance as you mentioned earlier.", "dlg_0_2")
  83. StartConversation(conversation, NPC, Spawn, "Do not speak with such a sharp tongue. Teir'Dal may be above the rest of Norrath's people, but we are still equals unto each other. As such, you should show respect, lest you dishonor yourself. My name is Aldera.")
  84. end
  85. function dlg_0_2(NPC, Spawn)
  86. FaceTarget(NPC, Spawn)
  87. conversation = CreateConversation()
  88. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_017.mp3", "", "", 2479816263, 523601088, Spawn)
  89. AddConversationOption(conversation, "You mean this slum?", "dlg_0_3")
  90. StartConversation(conversation, NPC, Spawn, "You will learn all that you need to know...in time. Before we begin, it is important for you to know the inner workings of Longshadow Alley, our home in Freeport.")
  91. end
  92. function dlg_0_3(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. conversation = CreateConversation()
  95. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_018.mp3", "", "", 1618945391, 1224746522, Spawn)
  96. AddConversationOption(conversation, "Very true. Tell me about Longshadow Alley, then.", "dlg_0_4")
  97. AddConversationOption(conversation, "I am very patiently waiting for you to continue.", "dlg_0_4")
  98. StartConversation(conversation, NPC, Spawn, "It is not a beautiful place, that is true, but we make do. We Teir'Dal are patient and vigilant, for opportunities can arise suddenly and we must be prepared for them. Those who are unwilling or unable to restrain themselves may end up living in this slum forever.")
  99. end
  100. function dlg_0_4(NPC, Spawn)
  101. FaceTarget(NPC, Spawn)
  102. conversation = CreateConversation()
  103. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_019.mp3", "", "", 3051373305, 2764364895, Spawn)
  104. AddConversationOption(conversation, "I agree.", "OfferQuest1")
  105. AddConversationOption(conversation, "Unfortunately, I haven't got time at the moment.")
  106. StartConversation(conversation, NPC, Spawn, "Good. For though we live here by decree of the Overlord, the Teir'Dal will rise again for we are the children of Innoruuk -- we are his chosen. And those who stand against us, thinking us weak, will find themselves unprepared. Preparedness includes knowing one's way around a neighborhood, whether by light or dark.")
  107. end
  108. function OfferQuest1(NPC, Spawn)
  109. FaceTarget(NPC, Spawn)
  110. OfferQuest(NPC, Spawn, QUEST_1)
  111. end
  112. function OnQuest1(NPC, Spawn, conversation)
  113. if GetQuestStep(Spawn, QUEST_1) == 5 then
  114. AddConversationOption(conversation, "The Koada'Dal should pay for what they did to us.", "KoadaDalShouldPay")
  115. StartConversation(conversation, NPC, Spawn, "As you see, Longshadow Alley and its passages wind, but the Teir'Dal do not fear these things. Long ago, our people lived in Neriak and through Koada'Dal trickey, it was sealed away from those of us on the surface.")
  116. else
  117. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/qst_aldera_vexxa_not_done_207adfdc.mp3", "Come back when you are finished with the task I gave you.", "", 2514310256, 1161188523, Spawn)
  118. end
  119. end
  120. function KoadaDalShouldPay(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. AddConversationOption(conversation, "Revenge can be sweet.", "RevengeSweet")
  124. StartConversation(conversation, NPC, Spawn, "And someday, they will. Remember: we are the patient ones. Though fruit may rippen off the vine, it is much tastier when picked at its ripest. So is with our opportunities for revenge. When they are ripe, we shall pluck them.")
  125. end
  126. function RevengeSweet(NPC, Spawn, conversation)
  127. if HasQuest(Spawn, QUEST_1) then
  128. SetStepComplete(Spawn, QUEST_1, 5)
  129. end
  130. if conversation == nil then
  131. FaceTarget(NPC, Spawn)
  132. conversation = CreateConversation()
  133. end
  134. AddConversationOption(conversation, "I want to learn the Teir'Dal's ability to control the dark arts.", "DarkArts")
  135. StartConversation(conversation, NPC, Spawn, "We must remain vigilant against the enemies of the virtuous: sloth, greed, and impatience. We will choose the time and place to unveil ourselves. In the way, we control the outcome, regardless of the cause.")
  136. end
  137. -------------------------------------------------------------------------------------------------------------------
  138. -- QUEST 2
  139. -------------------------------------------------------------------------------------------------------------------
  140. function DarkArts(NPC, Spawn)
  141. FaceTarget(NPC, Spawn)
  142. conversation = CreateConversation()
  143. AddConversationOption(conversation, "Who is Teah? What dishonor do you speak of?", "WhoIsTeah")
  144. StartConversation(conversation, NPC, Spawn, "I will direct you to that later. First, you must learn what it is to be a Teir'Dal. You must realize that you cannot show your contempt for another of your kind so openly to them. Doing so will only bring disrespect to yourself like it did to that sloth, Teah.")
  145. end
  146. function WhoIsTeah(NPC, Spawn)
  147. FaceTarget(NPC, Spawn)
  148. conversation = CreateConversation()
  149. AddConversationOption(conversation, "So, if everyone knows he's a thief, why don't you do something about it?", "KnowsThief")
  150. StartConversation(conversation, NPC, Spawn, "Teah is a Teir'Dal who has lost all sense of subtlety. He thinks only of stuffing himself with whatever food he can pilfer. I am sure now he is even trying to find a way to steal more food from our merchants.")
  151. end
  152. function KnowsThief(NPC, Spawn)
  153. FaceTarget(NPC, Spawn)
  154. conversation = CreateConversation()
  155. AddConversationOption(conversation, "What do you want me to do?", "WhatToDo")
  156. AddConversationOption(conversation, "Maybe we can work on this a bit later; I am tied up at the moment.")
  157. StartConversation(conversation, NPC, Spawn, "I believe you may be right. It is time to teach him a lesson. A true Teir'Dal would never be so blatant about their actions. Just because we are stuck in this dingy alley does not mean we can act like common thieves.")
  158. end
  159. function WhatToDo(NPC, Spawn)
  160. FaceTarget(NPC, Spawn)
  161. conversation = CreateConversation()
  162. AddConversationOption(conversation, "I'll return with the Shadow's Kiss for you.", "OfferQuest2")
  163. AddConversationOption(conversation, "Perhaps another time.")
  164. StartConversation(conversation, NPC, Spawn, "For now, go find Shadow's Kiss, a fungus that grows around town. You may want to check near the entrance to the Thieves' Way for it. Collect some of this for me and come back here so we can discuss what needs to be done next.")
  165. end
  166. function OfferQuest2(NPC, Spawn)
  167. FaceTarget(NPC, Spawn)
  168. OfferQuest(NPC, Spawn, QUEST_2)
  169. end
  170. function OnQuest2(NPC, Spawn, conversation)
  171. if GetQuestStep(Spawn, QUEST_2) == 2 then
  172. SetStepComplete(Spawn, QUEST_2, 2)
  173. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_015.mp3", "", "", 2193463922, 2436480205, Spawn)
  174. AddConversationOption(conversation, "But what about my training?", "BePatient")
  175. AddConversationOption(conversation, "I will return in a moment then.")
  176. StartConversation(conversation, NPC, Spawn, "Ahh good you have it! I will begin mixing this right away. Speak to me again in a moment so I can concentrate on mixing this.")
  177. else
  178. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/qst_aldera_vexxa_not_done_207adfdc.mp3", "Come back when you are finished with the task I gave you.", "", 2514310256, 1161188523, Spawn)
  179. end
  180. end
  181. -------------------------------------------------------------------------------------------------------------------
  182. -- QUEST 3
  183. -------------------------------------------------------------------------------------------------------------------
  184. function BePatient(NPC, Spawn, conversation)
  185. if conversation == nil then
  186. FaceTarget(NPC, Spawn)
  187. conversation = CreateConversation()
  188. end
  189. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_007.mp3", "", "", 1365697342, 971507038, Spawn)
  190. AddConversationOption(conversation, "You seem fairly handy with that.", "dlg_1_2")
  191. AddConversationOption(conversation, "I'm sorry for interrupting. Patience is difficult for me.")
  192. StartConversation(conversation, NPC, Spawn, "Remember to be patient, " .. GetName(Spawn) .. ". Fortunately, Shadow's Kiss is a soft substance and crushes quickly. It is almost ready to be distilled. What is it you would like to know that cannot wait?")
  193. end
  194. function dlg_1_2(NPC, Spawn)
  195. FaceTarget(NPC, Spawn)
  196. conversation = CreateConversation()
  197. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_008.mp3", "", "", 3324572671, 2665510191, Spawn)
  198. AddConversationOption(conversation, "Very true.", "dlg_1_3")
  199. StartConversation(conversation, NPC, Spawn, "Patience can be learned, but you should realize by now that our keen intellect lends itself well to studies such as these. Alchemy is something any Teir'Dal can master, if the desire is present.")
  200. end
  201. function dlg_1_3(NPC, Spawn)
  202. FaceTarget(NPC, Spawn)
  203. conversation = CreateConversation()
  204. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_009.mp3", "", "", 1554086941, 3193226131, Spawn)
  205. AddConversationOption(conversation, "We are fortunate, indeed.", "dlg_1_4")
  206. StartConversation(conversation, NPC, Spawn, "Throughout all of our history, our ranks have always included the greatest members of the arcane societies, especially concerning necromantic magic. It was Innoruuk's gift to us after all.")
  207. end
  208. function dlg_1_4(NPC, Spawn)
  209. FaceTarget(NPC, Spawn)
  210. conversation = CreateConversation()
  211. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_010.mp3", "", "", 4208003561, 3975044464, Spawn)
  212. AddConversationOption(conversation, "Kalraath is just going to give this to me for free?", "OfferQuest3")
  213. AddConversationOption(conversation, "I will have to seek out Kalraath later, I do not have time for it now.")
  214. StartConversation(conversation, NPC, Spawn, "Enough of that though, this is done distilling already. You must see Kalraath; he is another Teir'Dal here in Longshadow Alley. He likes to watch the people who pass back and forth through the gate to North Freeport. When you find him, let him know that I need an ingestible medium for the Shadow's Kiss you harvested.")
  215. end
  216. function OfferQuest3(NPC, Spawn)
  217. OfferQuest(NPC, Spawn, QUEST_3)
  218. end
  219. function OnQuest3(NPC, Spawn, conversation)
  220. if GetQuestStep(Spawn, QUEST_3) == 2 then
  221. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_012.mp3", "", "", 1172068349, 1938187919, Spawn)
  222. AddConversationOption(conversation, "I told him the truth; you are teaching me the proper ways to be a Teir'Dal.", "dlg_3_1")
  223. AddConversationOption(conversation, "To be honest, I am not ready to continue this quite yet.")
  224. StartConversation(conversation, NPC, Spawn, "Good, you are back. I need not ask if you told him what we are mixing with it, right?")
  225. elseif GetQuestStep(Spawn, QUEST_3) == 3 then
  226. dlg_3_2(NPC, Spawn)
  227. else
  228. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/qst_aldera_vexxa_not_done_207adfdc.mp3", "Come back when you are finished with the task I gave you.", "", 2514310256, 1161188523, Spawn)
  229. end
  230. end
  231. function dlg_3_1(NPC, Spawn)
  232. SetStepComplete(Spawn, QUEST_3, 2)
  233. FaceTarget(NPC, Spawn)
  234. conversation = CreateConversation()
  235. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_013.mp3", "", "", 2737459827, 1482233190, Spawn)
  236. AddConversationOption(conversation, "What will happen next?", "dlg_3_2")
  237. AddConversationOption(conversation, "I will give you the preparation time you need, then return so we can finish this.")
  238. StartConversation(conversation, NPC, Spawn, "He would be hard pressed to find a more true statement than that. Let me mix these together before you take these to Lynsia. Her shop is set up near the Destroyed Knowledge Portal; Teah has frequently stolen from her and the time is ripe to take action.")
  239. end
  240. function dlg_3_2(NPC, Spawn)
  241. FaceTarget(NPC, Spawn)
  242. conversation = CreateConversation()
  243. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_021.mp3", "", "", 2067404292, 2649687751, Spawn)
  244. AddConversationOption(conversation, "What exactly do you want to know?", "dlg_3_3")
  245. StartConversation(conversation, NPC, Spawn, "Before I give this to you, I want to be sure you remember all that we have discussed about this.")
  246. end
  247. function dlg_3_3(NPC, Spawn)
  248. FaceTarget(NPC, Spawn)
  249. conversation = CreateConversation()
  250. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_034.mp3", "", "", 1004106866, 1845074140, Spawn)
  251. AddConversationOption(conversation, "A Teir'Dal named Teah.", "dlg_3_4")
  252. AddConversationOption(conversation, "A Teir'Dal named Kalraath.", "dlg_3_5")
  253. AddConversationOption(conversation, "A Teir'Dal named Astara.", "dlg_3_5")
  254. AddConversationOption(conversation, "Maybe we can do this later. I am in a bit of hurry right now.")
  255. StartConversation(conversation, NPC, Spawn, "First, who is it that we are after?")
  256. end
  257. function dlg_3_4(NPC, Spawn)
  258. FaceTarget(NPC, Spawn)
  259. conversation = CreateConversation()
  260. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_022.mp3", "", "", 2302640409, 2008647580, Spawn)
  261. AddConversationOption(conversation, "Because thats what Teir'Dal do?", "dlg_3_5")
  262. AddConversationOption(conversation, "Because Teah brings shame to the name Teir'Dal?", "dlg_3_15")
  263. AddConversationOption(conversation, "Because I have nothing else better to do?", "dlg_3_5")
  264. AddConversationOption(conversation, "Maybe we can do this later. I am in a bit of hurry right now.")
  265. StartConversation(conversation, NPC, Spawn, "Now, why exactly are we doing this?")
  266. end
  267. function dlg_3_5(NPC, Spawn)
  268. FaceTarget(NPC, Spawn)
  269. conversation = CreateConversation()
  270. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_033.mp3", "", "", 898006331, 3816257793, Spawn)
  271. AddConversationOption(conversation, "Fine, let's just be done with this already.", "dlg_3_3")
  272. StartConversation(conversation, NPC, Spawn, "Not exactly, why don't we run over this again.")
  273. end
  274. function dlg_3_15(NPC, Spawn)
  275. FaceTarget(NPC, Spawn)
  276. conversation = CreateConversation()
  277. PlayFlavor(NPC, "voiceover/english/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_023.mp3", "", "", 1198802346, 4122362903, Spawn)
  278. AddConversationOption(conversation, "I need to leave it at the vendor booth where you can purchase food.", "dlg_3_24")
  279. AddConversationOption(conversation, "I need to leave it at the docks. We decided the guards may be more deserving than Teah after all.", "dlg_3_3")
  280. AddConversationOption(conversation, "I need to give it back to Kalraath to further poison it.", "dlg_3_3")
  281. StartConversation(conversation, NPC, Spawn, "Good, I am glad you agree. That sloth of a man does nothing but degrade our race. Now where do you need to leave this?")
  282. end
  283. function dlg_3_24(NPC, Spawn)
  284. SetStepComplete(Spawn, QUEST_3, 3)
  285. FaceTarget(NPC, Spawn)
  286. conversation = CreateConversation()
  287. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_035.mp3", "", "", 4107808894, 2985104549, Spawn)
  288. AddConversationOption(conversation, "I understand.", "IKnowNow")
  289. AddConversationOption(conversation, "Interesting. Well, I'll be back later.")
  290. StartConversation(conversation, NPC, Spawn, "You are correct. Although it would be amusing if the wrong person ate this. I am sure you do not want to collect all the parts again, so I had to be certain you would know what to do.")
  291. end
  292. -------------------------------------------------------------------------------------------------------------------------------------------
  293. -- QUEST 4
  294. -------------------------------------------------------------------------------------------------------------------------------------------
  295. function dlg_3_25(NPC, Spawn)
  296. FaceTarget(NPC, Spawn)
  297. conversation = CreateConversation()
  298. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_036.mp3", "", "", 4060114825, 325379989, Spawn)
  299. AddConversationOption(conversation, "We Teir'Dal should always calculate the costs.", "dlg_3_26")
  300. StartConversation(conversation, NPC, Spawn, "I'm glad, for though this matter may seem trivial, there are often underlying reasons why we must do what we must do. In his indolence, Teah had stolen something without calculating its true cost. By thinking only of the moment and not of the future, he has sealed his doom.")
  301. end
  302. function IKnowNow(NPC, Spawn, conversation)
  303. if conversation == nil then
  304. FaceTarget(NPC, Spawn)
  305. conversation = CreateConversation()
  306. end
  307. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_024.mp3", "", "", 2075867357, 796948736, Spawn)
  308. AddConversationOption(conversation, "I am ready if you are.", "OfferQuest4")
  309. AddConversationOption(conversation, "You mean we finally get to kill him?", "OfferQuest4")
  310. AddConversationOption(conversation, "Let me finish something else before we begin.")
  311. StartConversation(conversation, NPC, Spawn, "I know now that you understand how a proper Teir'Dal should act and are ready to teach Teah his first, and final, lesson. One that would not be necessary if he had learned that the Teir'Dal are above sloth and greed.")
  312. end
  313. function OfferQuest4(NPC, Spawn)
  314. FaceTarget(NPC, Spawn)
  315. OfferQuest(NPC, Spawn, QUEST_4)
  316. end
  317. function OnQuest4(NPC, Spawn, conversation)
  318. if GetQuestStep(Spawn, QUEST_4) == 1 then
  319. -- Poisoned Loaf of Bread
  320. if not HasItem(Spawn, POISONED_LOAF_OF_BREAD) then
  321. SummonItem(Spawn, POISONED_LOAF_OF_BREAD)
  322. SendMessage(Spawn, "You receive 1 Poisoned Loaf of Bread")
  323. end
  324. AddConversationOption(conversation, "Ok.")
  325. StartConversation(conversation, NPC, Spawn, "I know now that you understand and are ready to teach Teah his first, and final, lesson. One that would not be necessary if he had learned that the Teir'Dal are above sloth and greed.")
  326. elseif GetQuestStep(Spawn, QUEST_4) == 2 then
  327. SetStepComplete(Spawn, QUEST_4, 2)
  328. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_031.mp3", "", "", 150259067, 4055890326, Spawn)
  329. AddConversationOption(conversation, "I do what I can to get rid of scum like that.", "OfferQuest5")
  330. AddConversationOption(conversation, "Finally, it took us long enough.", "OfferQuest5")
  331. StartConversation(conversation, NPC, Spawn, "Good good, I have heard of Teah's departure from this world. Excellent work. ")
  332. end
  333. end
  334. -------------------------------------------------------------------------------------------------------------------------
  335. -- QUEST 5
  336. -------------------------------------------------------------------------------------------------------------------------
  337. function OfferQuest5(NPC, Spawn)
  338. FaceTarget(NPC, Spawn)
  339. OfferQuest(NPC, Spawn, QUEST_5)
  340. end
  341. function dlg_3_28(NPC, Spawn)
  342. FaceTarget(NPC, Spawn)
  343. conversation = CreateConversation()
  344. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_026.mp3", "", "", 2507386365, 667468455, Spawn)
  345. AddConversationOption(conversation, "There is nothing wrong with that. We all wish to return to our true home.", "dlg_3_29")
  346. StartConversation(conversation, NPC, Spawn, "Know that the Teir'Dal are a divided people. There are Teir'Dal who, while not happy, can abide living in Freeport while we work towards regaining our past glories. There are also the Thexians, who believe that staying anywhere other than Neriak shows great weakness. They actively strive to find Neriak as we speak.")
  347. end
  348. function dlg_3_29(NPC, Spawn)
  349. FaceTarget(NPC, Spawn)
  350. conversation = CreateConversation()
  351. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_027.mp3", "", "", 3730174469, 543687528, Spawn)
  352. AddConversationOption(conversation, "Good point.", "dlg_3_30")
  353. AddConversationOption(conversation, "What wrong with being a zealot?", "dlg_3_30")
  354. StartConversation(conversation, NPC, Spawn, "Ah, but you see, many view the Thexians as zealots, impatiently rushing toward the unknown. Most do not return. Trust in patience: approach the matter slowly, when you have more strength and knowledge on the matter rather than throwing your life away.")
  355. end
  356. function dlg_3_30(NPC, Spawn)
  357. FaceTarget(NPC, Spawn)
  358. conversation = CreateConversation()
  359. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_028.mp3", "", "", 941228334, 1597894001, Spawn)
  360. AddConversationOption(conversation, "Yes, I am ready to begin.", "dlg_3_31")
  361. StartConversation(conversation, NPC, Spawn, "This is all my view on the matter and as a fellow Teir'Dal, I feel obliged to share it with you. You must choose which path to follow in the end, if any. In any event, your current path leads you to take one of these specially baked loaves of bread from behind me to Lynsia's booth.")
  362. end
  363. function dlg_3_31(NPC, Spawn)
  364. FaceTarget(NPC, Spawn)
  365. conversation = CreateConversation()
  366. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_029.mp3", "", "", 4238359707, 1850134526, Spawn)
  367. AddConversationOption(conversation, "I will be back when I have put our lesson plan in its place.")
  368. StartConversation(conversation, NPC, Spawn, "Place the bread on Lynsia's counter. I have already sent an anonymous message to her to be sure she does not add it to her normal stock. With the blessing of Innoruuk, Teah will find the food shortly, and well, he will learn the hard way that sloth and greed are unbecoming to the Teir'Dal.")
  369. end