9
3

LieutenantImperidus.lua 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. --[[
  2. Script Name : SpawnScripts/TheRuins/LieutenantImperidus.lua
  3. Script Purpose : Lieutenant Imperidus <Freeport Militia>
  4. Script Author : jakejp
  5. Script Date : 2018.12.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local Sixth_SteppingUptheOffensive = 372
  9. local Seventh_KnockTheFightOutOfEm = 392
  10. local Eighth_VengeanceForShoreside = 393
  11. local Ninth_IdentifyingTheLonetuskAlly = 394
  12. local Tenth_FileAFinalReport = 395
  13. local Eleventh_AJourneyOutsideTheCity = 396
  14. function spawn(NPC)
  15. SetPlayerProximityFunction(NPC, 10, "InRange")
  16. ProvidesQuest(NPC, Seventh_KnockTheFightOutOfEm)
  17. ProvidesQuest(NPC, Eighth_VengeanceForShoreside)
  18. ProvidesQuest(NPC, Ninth_IdentifyingTheLonetuskAlly)
  19. ProvidesQuest(NPC, Tenth_FileAFinalReport)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function InRange(NPC, Spawn) -- thanks Scatman
  25. local chance = math.random(0, 100)
  26. if chance <= 25 then
  27. local choice = math.random(1, 4)
  28. if choice == 1 then
  29. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/quest_lieutenant_imperidus_callout_b85701b8.mp3", "All citizens of Freeport must band together to erase the orcish menace!", "agree", 1075118541, 263743495, Spawn)
  30. elseif choice == 2 then
  31. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/quest_lieutenant_imperidus_callout_c316998a.mp3", "We must eliminate the source of the orc uprising!", "threaten", 1891042536, 250066925, Spawn)
  32. elseif choice == 3 then
  33. PlayFlavor(NPC, "", "There is no peace to be had with the orcs! Destroy them!", "brandish", 0, 0, Spawn)
  34. elseif choice == 4 then
  35. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/quest_lieutenant_imperidus_callout_6ef6bae6.mp3", "We must take action against these cursed Lonetusks!", "threaten", 3163677184, 3724793633, Spawn)
  36. end
  37. end
  38. end
  39. function hailed(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. local choice = math.random(1,3)
  43. if HasQuest(Spawn, Sixth_SteppingUptheOffensive) then
  44. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus001.mp3", "", "", 1845738650, 2693702404, Spawn)
  45. AddConversationOption(conversation, "I am ".. GetName(Spawn) ..". I was ordered by Captain Arellius to report to you, lieutenant.", "dlg_3_1")
  46. AddConversationOption(conversation, "I will leave you to your work.")
  47. StartConversation(conversation, NPC, Spawn, "You've entered dangerous territory, traveler. Unless you have been ordered to report for duty, I recommend you go back from whence you came.")
  48. elseif not HasCompletedQuest(Spawn, Seventh_KnockTheFightOutOfEm) then
  49. if HasQuest(Spawn, Seventh_KnockTheFightOutOfEm) then
  50. if GetQuestStep(Spawn, Seventh_KnockTheFightOutOfEm) <= 4 then
  51. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus011.mp3", "", "", 3479416416, 392853218, Spawn)
  52. AddConversationOption(conversation, "Not yet.")
  53. StartConversation(conversation, NPC, Spawn, "So, our latest volunteer returns. Did you ruin the food and deface the statues of the Lonetusk as I commanded?")
  54. elseif GetQuestStep(Spawn, Seventh_KnockTheFightOutOfEm) == 5 then
  55. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus011.mp3", "", "", 3479416416, 392853218, Spawn)
  56. AddConversationOption(conversation, "Yes, lieutenant. I'm not sure it has taken much fight out of the orcs, though.", "dlg_6_1")
  57. AddConversationOption(conversation, "Not yet.")
  58. StartConversation(conversation, NPC, Spawn, "So, our latest volunteer returns. Did you ruin the food and deface the statues of the Lonetusk as I commanded?")
  59. end
  60. elseif CanReceiveQuest(Spawn, Seventh_KnockTheFightOutOfEm) then
  61. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus024.mp3", "", "", 3014480866, 309879594, Spawn)
  62. AddConversationOption(conversation, "Yes, I am ready.", "dlg_3_6")
  63. AddConversationOption(conversation, "No, I need to leave.")
  64. StartConversation(conversation, NPC, Spawn, "You're back. Are you ready to take a stand against the Lonetusk?")
  65. end
  66. elseif not HasCompletedQuest(Spawn, Eighth_VengeanceForShoreside) then
  67. if HasQuest(Spawn, Eighth_VengeanceForShoreside) then
  68. if GetQuestStep(Spawn, Eighth_VengeanceForShoreside) <= 4 then
  69. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus015.mp3", "", "", 3224148975, 670776839, Spawn)
  70. AddConversationOption(conversation, "Not yet, but I'll try to hurry.")
  71. StartConversation(conversation, NPC, Spawn, "Excellent, you're back! I hope you have done your duty, because I have another crucial assignment for you.")
  72. elseif GetQuestStep(Spawn, Eighth_VengeanceForShoreside) == 5 then
  73. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus015.mp3", "", "", 3224148975, 670776839, Spawn)
  74. AddConversationOption(conversation, "I dealt a blow to the orc offensive. What is this assignment?", "dlg_30_1")
  75. AddConversationOption(conversation, "Not yet, but I'll try to hurry.")
  76. StartConversation(conversation, NPC, Spawn, "Excellent, you're back! I hope you have done your duty, because I have another crucial assignment for you.")
  77. end
  78. elseif CanReceiveQuest(Spawn, Eighth_VengeanceForShoreside) then
  79. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus025.mp3", "", "", 219596319, 1538139523, Spawn)
  80. AddConversationOption(conversation, "Yes, though I'm not sure how much phase one accomplished.", "dlg_6_1")
  81. AddConversationOption(conversation, "Not yet.")
  82. StartConversation(conversation, NPC, Spawn, "Are you ready to undertake phase two of my plan?")
  83. end
  84. elseif not HasCompletedQuest(Spawn, Ninth_IdentifyingTheLonetuskAlly) then
  85. if HasQuest(Spawn, Ninth_IdentifyingTheLonetuskAlly) then
  86. if GetQuestStep(Spawn, Ninth_IdentifyingTheLonetuskAlly) == 1 then
  87. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus029.mp3", "", "", 1821078597, 3404345627, Spawn)
  88. AddConversationOption(conversation, "Not yet.")
  89. StartConversation(conversation, NPC, Spawn, "Have you found out anything of use from the Lonetusk prisoner?")
  90. elseif GetQuestStep(Spawn, Ninth_IdentifyingTheLonetuskAlly) == 2 then
  91. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus029.mp3", "", "", 1821078597, 3404345627, Spawn)
  92. AddConversationOption(conversation, "It revealed that the Lonetusk were recently visited by a courier from far away who delivered some documents to their general.", "dlg_34_1")
  93. AddConversationOption(conversation, "Not yet.")
  94. StartConversation(conversation, NPC, Spawn, "Have you found out anything of use from the Lonetusk prisoner?")
  95. elseif GetQuestStep(Spawn, Ninth_IdentifyingTheLonetuskAlly) == 3 then
  96. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus019.mp3", "", "", 2578123453, 1196301399, Spawn)
  97. AddConversationOption(conversation, "Not yet, but I will find it!")
  98. StartConversation(conversation, NPC, Spawn, "Have you recovered the document I sent you to retrieve? Time is of the essence here!")
  99. elseif GetQuestStep(Spawn, Ninth_IdentifyingTheLonetuskAlly) == 4 then
  100. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus019.mp3", "", "", 2578123453, 1196301399, Spawn)
  101. AddConversationOption(conversation, "I found it, lieutenant. It mentions something about 'Clefts.' Here it is.", "dlg_36_1")
  102. AddConversationOption(conversation, "Not yet, but I will find it!")
  103. StartConversation(conversation, NPC, Spawn, "Have you recovered the document I sent you to retrieve? Time is of the essence here!")
  104. end
  105. elseif CanReceiveQuest(Spawn, Ninth_IdentifyingTheLonetuskAlly) then
  106. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus026.mp3", "", "", 2035778051, 3857199012, Spawn)
  107. AddConversationOption(conversation, "What is this assignment?", "dlg_30_1")
  108. AddConversationOption(conversation, "Perhaps later.")
  109. StartConversation(conversation, NPC, Spawn, "There you are! Time is of the essence, adventurer. I have a crucial assignment for you!")
  110. end
  111. elseif not HasCompletedQuest(Spawn, Tenth_FileAFinalReport) then
  112. if HasQuest(Spawn, Tenth_FileAFinalReport) then
  113. if GetQuestStep(Spawn, Tenth_FileAFinalReport) == 1 then
  114. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus028.mp3", "", "", 2127168056, 2423850494, Spawn)
  115. AddConversationOption(conversation, "I will report to her right away.", "dlg_59_1")
  116. StartConversation(conversation, NPC, Spawn, "You must return to Captain Arellius on the docks, citizen. The information you have for her is vital for Freeport's safety!")
  117. end
  118. elseif CanReceiveQuest(Spawn, Tenth_FileAFinalReport) then
  119. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus027.mp3", "", "", 874269850, 3253928300, Spawn)
  120. AddConversationOption(conversation, "Is it important?", "dlg_37_1")
  121. AddConversationOption(conversation, "Not right now.")
  122. StartConversation(conversation, NPC, Spawn, "I'm glad you're back. You must get word to Captain Arellius that the Rujarkians are supplying the Lonetusk and Brokentusk with weapons and armor.")
  123. end
  124. end
  125. end
  126. -- QUEST DIALOGUE FOR KNOCK THE FIGHT OUT OF THEM --
  127. function dlg_3_1(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. conversation = CreateConversation()
  130. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus002.mp3", "", "", 3229308725, 1541859820, Spawn)
  131. SetStepComplete(Spawn, Sixth_SteppingUptheOffensive, 1)
  132. AddConversationOption(conversation, "I did my best to lend a hand.", "dlg_3_2")
  133. AddConversationOption(conversation, "Handling the orcs should be your job.")
  134. StartConversation(conversation, NPC, Spawn, "Ah, you must be the one Argosian told me about. He says you have done some fine work in controlling the Brokentusk.")
  135. end
  136. function dlg_3_2(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus003.mp3", "", "", 1841575062, 2503344613, Spawn)
  140. AddConversationOption(conversation, "I won't be facing them alone. I will do so with companions.", "dlg_3_3")
  141. AddConversationOption(conversation, "I don't need help!")
  142. StartConversation(conversation, NPC, Spawn, "Well, you can forget all that! The Lonetusk makes the Brokentusk look like weak infants. My Militia officers must work in teams to defeat them, as too many have perished alone. You would do well to follow the same advice.")
  143. end
  144. function dlg_3_3(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus005.mp3", "", "", 1657740714, 1252843220, Spawn)
  148. AddConversationOption(conversation, "That is an excellent suggestion.", "dlg_3_4")
  149. StartConversation(conversation, NPC, Spawn, "That is good to hear. It would be beneficial for your companions to have received orders from Captain Arellius. That way I can assign you all the same duties and you can be rewarded for performing the same tasks.")
  150. end
  151. function dlg_3_4(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus006.mp3", "", "", 1028343216, 1318001780, Spawn)
  155. AddConversationOption(conversation, "Thank you for the advice, lieutenant.", "dlg_3_5")
  156. StartConversation(conversation, NPC, Spawn, "In the future, you should remember that your group mates can progress together most efficiently if you undertake the same quests at the same time.")
  157. end
  158. function dlg_3_5(NPC, Spawn)
  159. FaceTarget(NPC, Spawn)
  160. conversation = CreateConversation()
  161. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus007.mp3", "", "", 4286763000, 3876809810, Spawn)
  162. AddConversationOption(conversation, "What do you propose we do?", "dlg_3_6")
  163. AddConversationOption(conversation, "I'll leave you to it.")
  164. StartConversation(conversation, NPC, Spawn, "Now, on to the matter at hand. We must put the Lonetusk in their place and determine where their improved weapons and armor are coming from.")
  165. end
  166. function dlg_3_6(NPC, Spawn)
  167. FaceTarget(NPC, Spawn)
  168. conversation = CreateConversation()
  169. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus008.mp3", "", "", 1581951336, 1122429744, Spawn)
  170. AddConversationOption(conversation, "I am ready to take action.", "OfferQuest7")
  171. AddConversationOption(conversation, "Orcish decorations don't interest me.")
  172. StartConversation(conversation, NPC, Spawn, "The first thing we must do is demoralize them. We've noticed that the Lonetusk have brought in statues, either to worship or merely to inspire them. Even orcs need their morale boosted, it seems.")
  173. end
  174. function dlg_3_7(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. conversation = CreateConversation()
  177. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus009.mp3", "", "", 3046376303, 2999823619, Spawn)
  178. AddConversationOption(conversation, "Do you really think wrecking statues and ruining food is going to ensure victory?", "dlg_3_8")
  179. AddConversationOption(conversation, "I'll get to it.")
  180. StartConversation(conversation, NPC, Spawn, "Our surest path to victory is to take the fight out of them. Go out there and face the Lonetusk, and deface any statues you see. Seek out their supplies of food and drink and spoil them. Without symbols of victory to inspire them and food in their bellies, their spirits will crumble and they will become easy pickings for us.")
  181. end
  182. function dlg_3_8(NPC, Spawn)
  183. FaceTarget(NPC, Spawn)
  184. conversation = CreateConversation()
  185. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus010.mp3", "", "", 4046535847, 3776787727, Spawn)
  186. AddConversationOption(conversation, "Okay, I'll give it a try.", "dlg_3_9")
  187. StartConversation(conversation, NPC, Spawn, "How dare you question an officer of the Freeport Militia! I have engineered a campaign of demoralization which cannot fail.")
  188. end
  189. -- QUEST DIALOGUE FOR VENGEANCE FOR SHORESIDE --
  190. function dlg_6_1(NPC, Spawn)
  191. FaceTarget(NPC, Spawn)
  192. conversation = CreateConversation()
  193. if HasQuest(Spawn, Seventh_KnockTheFightOutOfEm) then
  194. SetStepComplete(Spawn, Seventh_KnockTheFightOutOfEm, 5)
  195. end
  196. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus012.mp3", "", "", 4000237112, 3044994511, Spawn)
  197. AddConversationOption(conversation, "Yes, I am ready for action.", "OfferQuest8")
  198. AddConversationOption(conversation, "Sorry, but I have little faith in this plan of yours.")
  199. StartConversation(conversation, NPC, Spawn, "These things take time to have their full effect. I'm confident that we've laid the groundwork for the Lonetusk's defeat. Now we must begin the second phase of our initiative. Are you prepared to undertake your next assignment?")
  200. end
  201. function dlg_6_2(NPC, Spawn) -- Quest Accept Text
  202. FaceTarget(NPC, Spawn)
  203. conversation = CreateConversation()
  204. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus013.mp3", "", "", 1435258692, 228785667, Spawn)
  205. AddConversationOption(conversation, "I like the sound of this plan.", "dlg_6_3")
  206. StartConversation(conversation, NPC, Spawn, "The surest way to take the fight out of the orcs is to thin their numbers. We have to show we will not tolerate their presence anymore. I need you to make a serious dent in the Lonetusk population. The streets of Shoreside must swell with the blood of these brutes.")
  207. end
  208. function dlg_6_3(NPC, Spawn)
  209. FaceTarget(NPC, Spawn)
  210. conversation = CreateConversation()
  211. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus014.mp3", "", "", 1342102807, 1470622603, Spawn)
  212. AddConversationOption(conversation, "I'll return when I've taught the orcs a lesson.", "dlg_6_4")
  213. StartConversation(conversation, NPC, Spawn, "I'm confident this will strike a real blow to the Lonetusk offensive. While you carry out your orders, my interrogators are going to see if this orc we captured knows anything of use.")
  214. end
  215. -- DIALOGUE FOR IDENTIFYING THE LONETUSK ALLY --
  216. function dlg_30_1(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. conversation = CreateConversation()
  219. if HasQuest(Spawn, Eighth_VengeanceForShoreside) then
  220. SetStepComplete(Spawn, Eighth_VengeanceForShoreside, 5)
  221. end
  222. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus016.mp3", "", "", 424275819, 2098486813, Spawn)
  223. AddConversationOption(conversation, "Have you been able to learn anything from it?", "dlg_30_2")
  224. AddConversationOption(conversation, "I have had enough of dealing with orcs.")
  225. StartConversation(conversation, NPC, Spawn, "Some days ago my soldiers took a Lonetusk prisoner. At first it was unresponsive to our attempts to obtain information and appeared to only speak orcish, but during our most recent attempts to persuade it to cooperate, it muttered something in our own Common tongue.")
  226. end
  227. function dlg_30_2(NPC, Spawn)
  228. FaceTarget(NPC, Spawn)
  229. conversation = CreateConversation()
  230. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus017.mp3", "", "", 3515731336, 836251814, Spawn)
  231. AddConversationOption(conversation, "I will get the orc to talk.", "OfferQuest9")
  232. AddConversationOption(conversation, "Perhaps another time.")
  233. StartConversation(conversation, NPC, Spawn, "Not yet, though my guards may not be taking the right approach. I'd like you to take a crack at this prisoner. It's being held just over there, outside one of our supply depots. We don't have a proper stockade, as it is not our custom to take prisoners.")
  234. end
  235. function dlg_30_3(NPC, Spawn) -- Quest Accept Text
  236. FaceTarget(NPC, Spawn)
  237. conversation = CreateConversation()
  238. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus018.mp3", "", "", 1717970804, 3719629105, Spawn)
  239. AddConversationOption(conversation, "I'll return when I have the information you need, lieutenant.", "dlg_30_4")
  240. StartConversation(conversation, NPC, Spawn, "I knew we could rely on you! Take any measures necessary to get the beast to talk. ANY measures... got it?")
  241. end
  242. function dlg_34_1(NPC, Spawn)
  243. FaceTarget(NPC, Spawn)
  244. conversation = CreateConversation()
  245. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus030.mp3", "", "", 795916419, 2847642656, Spawn)
  246. AddConversationOption(conversation, "Apparently the orcs have locked them away in some kind of underground bunker.", "dlg_34_2")
  247. AddConversationOption(conversation, "I don't have time to discuss this further.")
  248. StartConversation(conversation, NPC, Spawn, "Excellent work! Did it give you the location of these documents?")
  249. end
  250. function dlg_34_2(NPC, Spawn)
  251. FaceTarget(NPC, Spawn)
  252. conversation = CreateConversation()
  253. SetStepComplete(Spawn, Ninth_IdentifyingTheLonetuskAlly, 2)
  254. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus031.mp3", "", "", 56234529, 3138552129, Spawn)
  255. AddConversationOption(conversation, "I will undertake this mission for my Overlord and my city.", "dlg_34_3")
  256. StartConversation(conversation, NPC, Spawn, "Then your highest priority is to find these documents and bring them to me. Search the entire Lonetusk area for that underground bunker. We must have this information!")
  257. end
  258. -- QUEST TEXT FOR FILING A FINAL REPORT
  259. function dlg_36_1(NPC, Spawn)
  260. FaceTarget(NPC, Spawn)
  261. conversation = CreateConversation()
  262. if HasQuest(Spawn, Ninth_IdentifyingTheLonetuskAlly) then
  263. RemoveItem(Spawn, 3803)
  264. SetStepComplete(Spawn, Ninth_IdentifyingTheLonetuskAlly, 4)
  265. end
  266. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus020.mp3", "", "", 105191340, 2188619231, Spawn)
  267. AddConversationOption(conversation, "Now that you mention it, I thought I spotted a Rujarkian advisor of some kind in the area.", "dlg_37_1")
  268. AddConversationOption(conversation, "Not really my concern.")
  269. StartConversation(conversation, NPC, Spawn, "Let me see this. Hmm... The Clefts. This must refer to the Clefts of Rujark, an orc stronghold in the Desert of Ro. This means the Lonetusk are being supplied by the Rujarkians!")
  270. end
  271. function dlg_37_1(NPC, Spawn)
  272. FaceTarget(NPC, Spawn)
  273. conversation = CreateConversation()
  274. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus021.mp3", "", "", 3288112038, 3542005218, Spawn)
  275. AddConversationOption(conversation, "I will report back to her.", "OfferQuest10")
  276. AddConversationOption(conversation, "I'm tired of running errands.")
  277. StartConversation(conversation, NPC, Spawn, "It is dark news indeed! If the Rujarkians were to do the same for other tribes around Freeport, it could mean the rise of a new orc offensive. Captain Arellius must hear of this news right away!")
  278. end
  279. function dlg_37_2(NPC, Spawn) -- Quest Accept Text
  280. FaceTarget(NPC, Spawn)
  281. conversation = CreateConversation()
  282. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus022.mp3", "", "", 3956036992, 4003496180, Spawn)
  283. AddConversationOption(conversation, "Thank you, lieutenant. You have earned mine as well.", "dlg_37_3")
  284. StartConversation(conversation, NPC, Spawn, "Report back to the captain. She will take word of this discovery back to our superiors in the Militia. This is extremely valuable information, my friend. You just might have given Freeport the edge it needs to ensure its safety. You have earned my respect.")
  285. end
  286. function OfferQuest7(NPC, Spawn)
  287. OfferQuest(NPC, Spawn, Seventh_KnockTheFightOutOfEm)
  288. end
  289. function OfferQuest8(NPC, Spawn)
  290. OfferQuest(NPC, Spawn, Eighth_VengeanceForShoreside)
  291. end
  292. function OfferQuest9(NPC, Spawn)
  293. OfferQuest(NPC, Spawn, Ninth_IdentifyingTheLonetuskAlly)
  294. end
  295. function OfferQuest10(NPC, Spawn)
  296. OfferQuest(NPC, Spawn, Tenth_FileAFinalReport)
  297. end
  298. --[[ raw_conversations
  299. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/quest_lieutenant_imperidus_callout_6ef6bae6.mp3", "We must take action against these cursed Lonetusks!", "threaten", 3163677184, 3724793633, Spawn)
  300. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/quest_lieutenant_imperidus_callout_c316998a.mp3", "We must eliminate the source of the orc uprising!", "threaten", 1891042536, 250066925, Spawn)
  301. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_imperidus/fprt_adv04_ruins/revamp/quest_lieutenant_imperidus_callout_b85701b8.mp3", "All citizens of Freeport must band together to erase the orcish menace!", "agree", 1075118541, 263743495, Spawn)
  302. --]]