9
3

CouncilorVemerik.lua 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/CouncilorVemerik.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.27 05:10:30
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Quest1 = 5782
  10. local Quest2 = 5783
  11. local Bard = 5784
  12. local Predator = 5785
  13. local Rogue = 5786
  14. function spawn(NPC)
  15. ProvidesQuest(NPC, Quest1)
  16. ProvidesQuest(NPC, Quest2)
  17. ProvidesQuest(NPC, Bard)
  18. ProvidesQuest(NPC, Predator)
  19. ProvidesQuest(NPC, Rogue)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. Dialog.New(NPC, Spawn)
  24. Dialog.AddDialog("And a good day to you, my friend! Nothing's more enjoyable than people watching. For instance, there's an amusing lad, that fellow there seems to be in a rush, and take a gander at that lady ... er ... the point is, nimble eyes are just as important as nimble fingers. You never know what you might see!")
  25. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik000.mp3", 1163089685, 181252460)
  26. PlayFlavor(NPC,"","","hello",0,0,Spawn)
  27. if GetClass(Spawn)== 31 and GetLevel(Spawn)>=7 and not HasQuest(Spawn,Quest1) and not HasCompletedQuest(Spawn,Quest1) then
  28. Dialog.AddOption("I take it you know a lot about scouting, even though you're a Counselor?","Dialog1")
  29. end
  30. if GetClass(Spawn)== 31 and GetLevel(Spawn)>=8 and not HasQuest(Spawn,Quest2) and not HasCompletedQuest(Spawn,Quest2) and HasCompletedQuest(Spawn,Quest1) then
  31. Dialog.AddOption("So... any more sage advice today, Counselor?","Dialog4")
  32. elseif GetClass(Spawn)== 31 and GetLevel(Spawn)<8 and not HasQuest(Spawn,Quest2) and not HasCompletedQuest(Spawn,Quest2) and HasCompletedQuest(Spawn,Quest1) then
  33. Dialog.AddOption("Thank you. I'll return soon for more advice.")
  34. end
  35. if HasQuest(Spawn,Quest1) and GetQuestStep(Spawn,Quest1)==2 then
  36. Dialog.AddOption("I have slain the rock adders.","Dialog2")
  37. end
  38. if HasQuest(Spawn,Quest1) and GetQuestStep(Spawn,Quest1)==4 then
  39. Dialog.AddOption("I've spoken with Dawson.","Dialog3")
  40. end
  41. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2)==2 then
  42. Dialog.AddOption("I understand predators better after dealing with those spiders.","Dialog5")
  43. end
  44. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2)==4 then
  45. Dialog.AddOption("I gave the guard the message. [Tell Vemerik what the guard said] ","Dialog6")
  46. end
  47. if HasCompletedQuest(Spawn,Quest2) and not HasQuest(Spawn,Bard) and not HasQuest(Spawn,Rogue) and not HasQuest(Spawn,Predator) and GetClass(Spawn)==31 and GetLevel(Spawn) >= 9 then
  48. Dialog.AddOption("I think I understand what you're saying. Sooo... any more advice?","Decide")
  49. end
  50. if HasQuest(Spawn,Rogue) and GetQuestStep(Spawn,Rogue)==2 then
  51. Dialog.AddOption("I managed to grab the lieutenant's orders out from under the watchful eye of the Qeynos guard. I'm sure they'll be put through some rigorous training after this to help them keep a sharper eye out in the future, but that's not my concern now!","RogueDone")
  52. end
  53. if not HasCompletedQuest(Spawn, Rogue) and not HasCompletedQuest(Spawn, Predator) and not HasCompletedQuest(Spawn, Bard) then
  54. Dialog.AddOption("I've got more important things to do than watch people. Good day.")
  55. else
  56. Dialog.AddOption("Never a dull moment with you, Counselor. Good to see you again.","RogueDone2")
  57. end
  58. Dialog.AddOption("I'll keep that in mind...")
  59. Dialog.Start()
  60. end
  61. function Dialog1(NPC,Spawn)
  62. FaceTarget(NPC, Spawn)
  63. Dialog.New(NPC, Spawn)
  64. Dialog.AddDialog("Who better to take advice from than someone who spends his time watching instead of talking? And from what I observe of you, I'd say you're someone to keep an eye on... perhaps in more ways than one, yes? Count your lucky stars, friend, for today I offer you the counsel that will have every scout seething with envy.")
  65. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik001.mp3", 2884977511, 461092227)
  66. PlayFlavor(NPC, "", "", "wink", 0, 0, Spawn)
  67. Dialog.AddOption("I doubt you've seen me that much of me!","Dialog1a")
  68. Dialog.Start()
  69. end
  70. function Dialog1a(NPC,Spawn)
  71. FaceTarget(NPC, Spawn)
  72. Dialog.New(NPC, Spawn)
  73. Dialog.AddDialog("You think you're a sneaky little scamp, but there's always someone out there who's better than you. The only way to rise out of mediocrity is to find what you do best ... and do it better. That includes hiding in plain sight, tracking your quarry, or captivating an audience with tales of your prowess ... on the battlefield, that is.")
  74. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik002.mp3", 867957619, 293298057)
  75. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  76. Dialog.AddOption("Well, that does sound like what I'm looking for! What must I do?","Dialog1b")
  77. Dialog.AddOption("Better than me?! Bah! Off with you! I don't need any of your silly advice!","smirk")
  78. Dialog.Start()
  79. end
  80. function smirk(NPC,Spawn)
  81. PlayFlavor(NPC, "", "", "smirk", 0, 0, Spawn)
  82. end
  83. function Dialog1b(NPC,Spawn)
  84. FaceTarget(NPC, Spawn)
  85. Dialog.New(NPC, Spawn)
  86. Dialog.AddDialog("Let's look at rogues for a moment. Due to their stealth and guile nature, people associate rogues with thieves and cutpurses. But we both know that rogues are just misunderstood, right? Perhaps you want to try your hand--and fingers--at being a rogue?")
  87. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik003.mp3", 902455109, 2724236696)
  88. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  89. Dialog.AddOption("I could always test out my dexterity. What do you have in mind?","Quest1Offer")
  90. Dialog.Start()
  91. end
  92. function Quest1Offer(NPC,Spawn)
  93. FaceTarget(NPC, Spawn)
  94. OfferQuest(NPC,Spawn,Quest1)
  95. end
  96. function respawn(NPC)
  97. spawn(NPC)
  98. end
  99. function Dialog2(NPC,Spawn)
  100. FaceTarget(NPC, Spawn)
  101. Dialog.New(NPC, Spawn)
  102. Dialog.AddDialog("Congratulations, my stealthy friend. That was an impressive show, indeed. I really enjoyed the way you slipped up behind the one adder and struck it before it ever sensed your presence. Bravo, bravo!")
  103. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik005.mp3", 37517606, 3026987360)
  104. PlayFlavor(NPC, "", "", "smile", 0, 0, Spawn)
  105. Dialog.AddOption("Their fangs were more of a challenge than they appeared.","Dialog2a")
  106. Dialog.Start()
  107. end
  108. function Dialog2a(NPC,Spawn)
  109. FaceTarget(NPC, Spawn)
  110. Dialog.New(NPC, Spawn)
  111. Dialog.AddDialog("Precisely! Remember how I told you there's always someone out there better than you? A word to the wise, friend: What looks like a safe, dark cave to hide in may be the mouth of a dragon. I'll let you ponder that one as we move on to my next piece of advice. I think an appreciation for bards would do you good.")
  112. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik006.mp3", 729445515, 3345579135)
  113. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  114. Dialog.AddOption("A bard? What harm could someone who sings songs actually do?","Dialog2b")
  115. Dialog.Start()
  116. end
  117. function Dialog2b(NPC,Spawn)
  118. FaceTarget(NPC, Spawn)
  119. Dialog.New(NPC, Spawn)
  120. Dialog.AddDialog("That reminds me of a riddle. Where's the safest place to hide a secret letter about an illicit tryst? In plain sight, right? If you answered \"yes,\" then you're wrong! The safest place to hide a letter is in an envelope.")
  121. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik007.mp3", 3700473453, 592698849)
  122. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  123. Dialog.AddOption("Err... what are you trying to say?","Dialog2c")
  124. Dialog.AddOption("Oh, I see.","Dialog2c")
  125. Dialog.Start()
  126. end
  127. function Dialog2c(NPC,Spawn)
  128. FaceTarget(NPC, Spawn)
  129. Dialog.New(NPC, Spawn)
  130. Dialog.AddDialog("I'm saying that no one expects you to be daft enough to keep a letter of that type in the very envelope it was sent. In turn, no one expects some silly fop singing about love and happiness to secretly be a deadly adversary. Bards can be as deceptive as any master rogue by making people think they're not a threat. Then again, they can also be nothing more than silly fops.")
  131. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik008.mp3", 2036298536, 1267180254)
  132. PlayFlavor(NPC, "", "", "tapfoot", 0, 0, Spawn)
  133. Dialog.AddOption("Fight me then. I'm no weak fop!","Dialog2d")
  134. Dialog.Start()
  135. end
  136. function Dialog2d(NPC,Spawn)
  137. SetStepComplete(Spawn,Quest1,2)
  138. FaceTarget(NPC, Spawn)
  139. Dialog.New(NPC, Spawn)
  140. Dialog.AddDialog("Perhaps, in your case, but that's beside the point. What I'm telling you is that words can be a weapon sharper than any sword. I think it's better if you saw this for yourself. A man by the name of Dawson here in the city is known for his witty banter. Why don't you try to best him at his own game?")
  141. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik009.mp3", 3611834104, 1157473996)
  142. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  143. Dialog.AddOption("A challenge of wits then! I'll return after I speak with Dawson.")
  144. Dialog.Start()
  145. end
  146. function Dialog3(NPC,Spawn)
  147. SetStepComplete(Spawn,Quest1,4)
  148. FaceTarget(NPC, Spawn)
  149. Dialog.New(NPC, Spawn)
  150. Dialog.AddDialog("I'd ask how it went, but since your cheeks aren't beet red, I assume Dawson met his match! Now, I showed you how bards use their skills with words to best their opponents, but bards have many other talents as well. These I will let you discover yourself. I said I'd offer you advice, not create unnecessary competition.")
  151. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik010.mp3", 570326948, 4214364633)
  152. PlayFlavor(NPC, "", "", "boggle", 0, 0, Spawn)
  153. if GetLevel(Spawn)>=8 then
  154. Dialog.AddOption("I think I understand what you're saying. Sooo... any more advice?","DoneToday")
  155. else
  156. Dialog.AddOption("I think I understand what you're saying. Sooo... any more advice?","DoneToday")
  157. end
  158. Dialog.Start()
  159. end
  160. function DoneToday(NPC,Spawn)
  161. FaceTarget(NPC, Spawn)
  162. Dialog.New(NPC, Spawn)
  163. Dialog.AddDialog("You're a good listener, I'd like to give you more advice, but alas, I must wet my whistle. For now, take what you learned and use it wisely. Come back after I've had time to imbibe in a fine wine. Never underestimate the power of a finely aged wine or the bouquet of a young one.")
  164. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik011.mp3", 2937149827, 1212015107)
  165. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  166. if GetClass(Spawn)== 31 and GetLevel(Spawn)>=8 and not HasQuest(Spawn,Quest2) and not HasCompletedQuest(Spawn,Quest2) and HasCompletedQuest(Spawn,Quest1) then
  167. Dialog.AddOption("Please, I am ready for more advice... if you have some!","Dialog4")
  168. elseif HasCompletedQuest(Spawn,Quest2) and not HasQuest(Spawn,Bard) and not HasQuest(Spawn,Rogue) and not HasQuest(Spawn,Predator) and GetClass(Spawn)==31 and GetLevel(Spawn) >= 9 then
  169. Dialog.AddOption("I think I understand what you're saying. Sooo... any more advice?","Decide")
  170. end
  171. Dialog.AddOption("Thank you. I'll return soon for more advice.")
  172. Dialog.Start()
  173. end
  174. --QUEST 2
  175. function Dialog4(NPC,Spawn)
  176. FaceTarget(NPC, Spawn)
  177. Dialog.New(NPC, Spawn)
  178. Dialog.AddDialog("Of course! Early to bed and early to rise makes you a dull boy. Never put your hand in a gift horse's mouth. A copper saved is a copper not spent on a nip of sherry. A bird in the hand is never as good as a bird in the ... ah, yes. But I assume you're not here for this type of advice. You're interested in more scoutly tips, right?")
  179. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik012.mp3", 3068538410, 2019549688)
  180. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  181. Dialog.AddOption("You have quite the skill for going on and on, don't you?","Dialog4a")
  182. Dialog.AddOption("Nope. That is exactlly what I was looking for. I feel more counseled already!")
  183. Dialog.Start()
  184. end
  185. function Dialog4a(NPC,Spawn)
  186. FaceTarget(NPC, Spawn)
  187. Dialog.New(NPC, Spawn)
  188. Dialog.AddDialog("I'll take that as a compliment, thank you very much. Very well ... you've had a taste of the skills rogues and bards use, but you haven't touched on those of the predator. Just like the rogue, the life of the predator is often misunderstood. This is why many a predator leaves society for the quiet of the wilderness.")
  189. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik013.mp3", 3948645003, 3755795247)
  190. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  191. Dialog.AddOption("Why would they want to remove themselves from society?","Dialog4b")
  192. Dialog.Start()
  193. end
  194. function Dialog4b(NPC,Spawn)
  195. FaceTarget(NPC, Spawn)
  196. Dialog.New(NPC, Spawn)
  197. Dialog.AddDialog("Predators distill every ounce of patience and diligence from within their very being and direct that concentrate towards the quarry they tirelessly pursue. Just as if it was a precious jewel, nothing stops predators from acquiring their target.")
  198. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik014.mp3", 252169765, 1039248114)
  199. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  200. Dialog.AddOption("Like a hunter stalking its prey? ","Quest2Offer")
  201. Dialog.AddOption("Like a spider and its web?","Quest2Offer")
  202. Dialog.AddOption("Like a loan collector?","Quest2Offer")
  203. Dialog.AddOption("Most interesting, but I'm in way over my head with all of this.")
  204. Dialog.Start()
  205. end
  206. function Quest2Offer(NPC,Spawn)
  207. FaceTarget(NPC, Spawn)
  208. OfferQuest(NPC,Spawn,Quest2)
  209. end
  210. function Dialog5(NPC,Spawn)
  211. FaceTarget(NPC, Spawn)
  212. Dialog.New(NPC, Spawn)
  213. Dialog.AddDialog("The danger that forest creatures present is nothing compared to hunting something with two legs. Even more dangerous, is when you start to enjoy the hunt. When the exhilaration of the kill becomes more enjoyable than the hunt, that's when it's time to find a new profession.")
  214. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik016.mp3", 406273156, 333036872)
  215. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  216. Dialog.AddOption("Noted. The hunt should be more important than the kill.","Dialog5a")
  217. Dialog.Start()
  218. end
  219. function Dialog5a(NPC,Spawn)
  220. FaceTarget(NPC, Spawn)
  221. Dialog.New(NPC, Spawn)
  222. Dialog.AddDialog("I think I've told you everything you need to know. Unless, of course, you're interested in putting some of these gems of wisdom to the test. As an advisor to the Queen, it's my duty to offer her as much information as possible in order for her to make wise decisions. Perhaps you're willing to help the Queen?")
  223. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik017.mp3", 3570678330, 2381735310)
  224. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  225. Dialog.AddOption("Help the Queen? It would be an honor! What must I do?","Dialog5b")
  226. Dialog.AddOption("This sounds far too important for me to handle! I'll leave you to it.")
  227. Dialog.Start()
  228. end
  229. function Dialog5b(NPC,Spawn)
  230. FaceTarget(NPC, Spawn)
  231. Dialog.New(NPC, Spawn)
  232. Dialog.AddDialog("Oh, nothing more than delivering a message to one of her guards. There's a guard who's stationed out by one of the bridges within the wilds of Antonica. Unfortunately, I don't recall which bridge it is.")
  233. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik018.mp3", 4227213140, 3986290744)
  234. PlayFlavor(NPC, "", "", "sniff", 0, 0, Spawn)
  235. Dialog.AddOption("What is the message I need to deliver?","Dialog5c")
  236. Dialog.Start()
  237. end
  238. function Dialog5c(NPC,Spawn)
  239. SetStepComplete(Spawn,Quest2,2)
  240. FaceTarget(NPC, Spawn)
  241. Dialog.New(NPC, Spawn)
  242. Dialog.AddDialog("I heard that his sister came down with an illness. I want him to know that she's in good hands. Would you be so kind as to tell him this?")
  243. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik019.mp3", 3378010283, 3556160913)
  244. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  245. Dialog.AddOption("Certainly!")
  246. Dialog.Start()
  247. end
  248. function Dialog6(NPC,Spawn)
  249. FaceTarget(NPC, Spawn)
  250. Dialog.New(NPC, Spawn)
  251. Dialog.AddDialog("I dare say, that if people kept their mouth shut, my job would be much harder. I owe you a bit of an explanation, but I will keep it brief. Save for trekking across Antonica, you were never in any danger. As for the message you sent, well, the guard would be quite distressed to hear that it was just a bluff.")
  252. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik020.mp3", 900786324, 3703445499)
  253. PlayFlavor(NPC, "", "", "happy", 0, 0, Spawn)
  254. Dialog.AddOption("So it was a lie?","Dialog6a")
  255. Dialog.Start()
  256. end
  257. function Dialog6a(NPC,Spawn)
  258. FaceTarget(NPC, Spawn)
  259. Dialog.New(NPC, Spawn)
  260. Dialog.AddDialog("I trusted your ability to make it out alive. In the end, he revealed his hand, just as I expected him to. I'm a bit concerned that he has a rather negative opinion about me, though. I would have thought he didn't have enough common sense to look at things twice.")
  261. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik021.mp3", 3903421606, 2087614120)
  262. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  263. Dialog.AddOption("So, was his sister actually involved?","Dialog6b")
  264. Dialog.AddOption("Will the sentry face judgement for his actions?","Dialog6b")
  265. Dialog.Start()
  266. end
  267. function Dialog6b(NPC,Spawn)
  268. FaceTarget(NPC, Spawn)
  269. Dialog.New(NPC, Spawn)
  270. Dialog.AddDialog("I can neither confirm nor deny that, adventurer. I will, though, offer you the most important piece of advice you need to know. Any amateur can look at something, but only a pro can see what they're looking at. How and where you use your talents is all that counts in the end. Remember that and you will go far.")
  271. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik022.mp3", 2592596707, 887568372)
  272. PlayFlavor(NPC, "", "", "shrug", 0, 0, Spawn)
  273. if GetLevel(Spawn) <9 then
  274. Dialog.AddOption("I think I understand what you're saying. Sooo... any more advice?","DoneToday")
  275. else
  276. Dialog.AddOption("I think I understand what you're saying. Sooo... any more advice?","Decide")
  277. end
  278. Dialog.Start()
  279. end
  280. function Decide(NPC,Spawn)
  281. if HasQuest(Spawn,Quest2) and GetQuestStep(Spawn,Quest2) ==4 then
  282. SetStepComplete(Spawn,Quest2,4)
  283. end
  284. FaceTarget(NPC, Spawn)
  285. Dialog.New(NPC, Spawn)
  286. Dialog.AddDialog("The time for advice is done, friend. Now it's time for you to take what you learned and use it. You've learned too much to idle around as a scout. Where do you plan on taking your talents?")
  287. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik023.mp3", 698357632, 1164995124)
  288. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  289. Dialog.AddOption("I enjoyed the stealthy nature of the rogue.","Rogue1")
  290. Dialog.AddOption("I think I'll continue my hand at being a bard.","Bard1")
  291. Dialog.AddOption("I'm too focused to be anything other than a predator.","Predator1")
  292. Dialog.Start()
  293. end
  294. --ROGUE CLASS
  295. function Rogue1(NPC,Spawn)
  296. FaceTarget(NPC, Spawn)
  297. Dialog.New(NPC, Spawn)
  298. Dialog.AddDialog("One does not choose to be a rogue, but rather life makes that choice for them. Rogues live lives free of the bonds that society places on others. Tricky little fellows, rogues are always around when you need them. Look behind you and you just might find one... So, is this where you will focus your talents?")
  299. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik024.mp3", 285925874, 319020481)
  300. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  301. Dialog.AddOption("I'm pretty certain the life of a rogue will be quite... rewarding. Yes, I'm a rogue.","Rogue2")
  302. Dialog.AddOption("I'm not too sure anymore. Do you advise I specialize somewhere else?","Decide")
  303. Dialog.Start()
  304. end
  305. function Rogue2(NPC,Spawn)
  306. FaceTarget(NPC, Spawn)
  307. Dialog.New(NPC, Spawn)
  308. Dialog.AddDialog("Ahh, the life of the rogue! Stealth, cunning and wealth -- if you're successful in your endeavors. Why don't I arrange a test for you? We'll see if you have what it takes to be a thief.")
  309. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik028.mp3", 4162046262, 4084281734)
  310. PlayFlavor(NPC, "", "", "smirk", 0, 0, Spawn)
  311. Dialog.AddOption("Bring it on! I will pass any test you can muster.","RogueOffer")
  312. Dialog.AddOption("I'm not too sure anymore. Do you advise I specialize somewhere else?","Decide")
  313. Dialog.Start()
  314. end
  315. function RogueOffer(NPC,Spawn)
  316. FaceTarget(NPC, Spawn)
  317. OfferQuest(NPC,Spawn,Rogue)
  318. end
  319. function Rogue3(NPC,Spawn)
  320. FaceTarget(NPC, Spawn)
  321. Dialog.New(NPC, Spawn)
  322. Dialog.AddDialog("Grab their mission orders. The lieutenant will have them guarded. Knowing him, he'll keep them behind a locked door guarded by his most brawny men. Return to me when you're done, and I'll verify the orders.")
  323. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik030.mp3", 1639577999, 2458872272)
  324. PlayFlavor(NPC, "", "", "nod", 0, 0, Spawn)
  325. Dialog.AddOption("Alright. I'll bring you the documents as quick as I can!")
  326. Dialog.Start()
  327. end
  328. function RogueDone(NPC,Spawn)
  329. FaceTarget(NPC, Spawn)
  330. Dialog.New(NPC, Spawn)
  331. Dialog.AddDialog("Let me make certain that you didn't just forge these ... No you succeeded where others before you have failed. The lieutenant will have to double his efforts. You certainly deserve the title of \"rogue.\"")
  332. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik031.mp3", 1723935766, 223407145)
  333. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  334. Dialog.AddOption("Thank you Counselor. I will use my new skills wisely.","RogueDone2")
  335. Dialog.Start()
  336. end
  337. function RogueDone2(NPC,Spawn)
  338. FaceTarget(NPC, Spawn)
  339. if HasQuest(Spawn,Rogue) then
  340. SetStepComplete(Spawn,Rogue,2)
  341. end
  342. PlayFlavor(NPC, "", "", "wink", 0, 0, Spawn)
  343. end
  344. --BARD CLASS
  345. function Bard1(NPC,Spawn)
  346. FaceTarget(NPC, Spawn)
  347. Dialog.New(NPC, Spawn)
  348. Dialog.AddDialog("Anyone can defeat a mighty adversary in battle, but being remembered for it is an entirely different matter. A bard regales others with tales of the past through their melodies and stories. The bard who writes the past is the same one who guides the future. And don't forget all the attention you get, too! That's my favorite part!")
  349. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik025.mp3", 3456483414, 216988233)
  350. PlayFlavor(NPC, "", "", "orate", 0, 0, Spawn)
  351. Dialog.AddOption("I enjoy being the center of attention. I'm going to love being a bard!","Bard2")
  352. Dialog.AddOption("I'm not too sure anymore. Do you advise I specialize somewhere else?","Decide")
  353. Dialog.Start()
  354. end
  355. function Bard2(NPC,Spawn)
  356. FaceTarget(NPC, Spawn)
  357. Dialog.New(NPC, Spawn)
  358. Dialog.AddDialog("Perhaps you will, but first we must see how well you perform under pressure. The life of a bard isn't all song and dance, you know. A great amount of stress is placed upon performers and if you're not up to the task, there's no telling what can happen.")
  359. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik032.mp3", 1067830729, 103418166)
  360. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  361. Dialog.AddOption("I'm ready for anything.","Bard3")
  362. Dialog.Start()
  363. end
  364. function Bard3(NPC,Spawn)
  365. FaceTarget(NPC, Spawn)
  366. Dialog.New(NPC, Spawn)
  367. Dialog.AddDialog("Are you prepared to see what happens when you perform poorly in front of the wrong audience? We're about to find out! It so happens, there's a group of rather sour individuals with a performer who... ahhh ... had an off night, so to speak.")
  368. Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik033.mp3", 1412723823, 1711994068)
  369. PlayFlavor(NPC, "", "", "scheme", 0, 0, Spawn)
  370. Dialog.AddOption("Ok, so what do you want me to do about it?","BardOffer")
  371. Dialog.AddOption("I'm not too sure anymore. Do you advise I specialize somewhere else?","Decide")
  372. Dialog.Start()
  373. end
  374. function BardOffer(NPC,Spawn)
  375. FaceTarget(NPC, Spawn)
  376. OfferQuest(NPC,Spawn,Bard)
  377. end
  378. --PREDATOR CLASS
  379. function Predator1(NPC,Spawn)
  380. FaceTarget(NPC, Spawn)
  381. Dialog.New(NPC, Spawn)
  382. Dialog.AddDialog("Predators are only happy when they are pursuing their quarry. Once they catch what they're tracking, well, the game's over, so they say. Therefore, a smart predator always finds something else to hunt down. If you've got a big imagination, then being a predator might be for you.")
  383. -- Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik026.mp3", 3456483414, 216988233) UNKNOWN
  384. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  385. Dialog.AddOption("I like having something to do at all times. I'm a predator.","Predator2")
  386. Dialog.AddOption("I'm not too sure anymore. Do you advise I specialize somewhere else?","Decide")
  387. Dialog.Start()
  388. end
  389. function Predator2(NPC,Spawn)
  390. FaceTarget(NPC, Spawn)
  391. Dialog.New(NPC, Spawn)
  392. Dialog.AddDialog("So, a predator? Can you smell your prey far before you see it? If you close your eyes, can you hear the heartbeat of your game and know how many beats are left, yes? Yes ... a stalker's instinct runs in your blood. You are the top of the food chain.")
  393. -- Dialog.AddVoiceover("voiceover/english/counselor_vemerik/qey_north/counselor_vemerik026.mp3", 3456483414, 216988233) UNKNOWN
  394. PlayFlavor(NPC, "", "", "smirk", 0, 0, Spawn)
  395. Dialog.AddOption("I revel in the hunt. What must I do to prove my skill?","PredatorOffer")
  396. Dialog.AddOption("Well, when you put it that way... Do you advise I specialize somewhere else?","Decide")
  397. Dialog.Start()
  398. end
  399. function PredatorOffer(NPC,Spawn)
  400. FaceTarget(NPC, Spawn)
  401. OfferQuest(NPC,Spawn,Predator)
  402. end