LieutenantArgosian.lua 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. --[[
  2. Script Name : SpawnScripts/TheRuins/LieutenantArgosian.lua
  3. Script Purpose : Lieutenant Argosian <Freeport Militia>
  4. Script Author : jakejp
  5. Script Date : 2018.10.03
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local First_ReportingForDuty = 368
  9. local Second_PawnsInTheGame = 369
  10. local Third_PoundingTheEnemy = 370
  11. local Fourth_ProphetAndLoss = 371
  12. local Fifth_RequestingFurtherOrders = 372
  13. function spawn(NPC)
  14. ProvidesQuest(NPC, Second_PawnsInTheGame)
  15. ProvidesQuest(NPC, Third_PoundingTheEnemy)
  16. ProvidesQuest(NPC, Fourth_ProphetAndLoss)
  17. ProvidesQuest(NPC, Fifth_RequestingFurtherOrders)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. conversation = CreateConversation()
  25. local choice = math.random(1,5)
  26. if HasQuest (Spawn, First_ReportingForDuty) then
  27. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian001.mp3", "", "", 1274591844, 2524405313, Spawn)
  28. AddConversationOption(conversation, "My name is ".. GetName(Spawn) ..". Captain Arellius ordered me to report here, lieutenant.", "dlg_4_1")
  29. AddConversationOption(conversation, "What is this place?")
  30. StartConversation(conversation, NPC, Spawn, "There's no time for chatting. I need to mobilize my forces to take care of these cursed orcs!")
  31. elseif not HasCompletedQuest(Spawn, Second_PawnsInTheGame) then
  32. if HasQuest(Spawn, Second_PawnsInTheGame) then -- on the quest
  33. if GetQuestStep(Spawn, Second_PawnsInTheGame) == 1 then -- first quest step
  34. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian010.mp3", "", "", 1424055044, 3253454726, Spawn)
  35. AddConversationOption(conversation, "Not yet, but I'll work on it.")
  36. StartConversation(conversation, NPC, Spawn, "Hello, recruit. Did you fulfill your duty to Freeport against the Brokentusk pawns?")
  37. elseif GetQuestStep(Spawn, Second_PawnsInTheGame) == 2 then -- second quest step
  38. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian010.mp3", "", "", 1424055044, 3253454726, Spawn)
  39. AddConversationOption(conversation, "I defeated ten of them, as you ordered.", "dlg_9_1")
  40. AddConversationOption(conversation, "Not yet, but I'll work on it.")
  41. StartConversation(conversation, NPC, Spawn, "Hello, recruit. Did you fulfill your duty to Freeport against the Brokentusk pawns?")
  42. end
  43. elseif CanReceiveQuest(Spawn, Second_PawnsInTheGame) then -- offers quest
  44. FaceTarget(NPC, Spawn)
  45. conversation = CreateConversation()
  46. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian004.mp3", "", "", 304896204, 2664209556, Spawn)
  47. AddConversationOption(conversation, "What is behind the orcs' sudden uprising?", "dlg_4_3")
  48. AddConversationOption(conversation, "You'd better get busy defending the city, then.")
  49. StartConversation(conversation, NPC, Spawn, "The Ruins are being overrun, and it's time for us to take a stand. We must ensure that the orcs don't infiltrate the rest of the city.")
  50. end
  51. elseif not HasCompletedQuest(Spawn, Third_PoundingTheEnemy) then
  52. if HasQuest(Spawn, Third_PoundingTheEnemy) then
  53. if GetQuestStep(Spawn, Third_PoundingTheEnemy) <= 3 then
  54. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian016.mp3", "", "", 568866263, 2772410909, Spawn)
  55. AddConversationOption(conversation, "Not yet, lieutenant.")
  56. StartConversation(conversation, NPC, Spawn, "See you're back. Have you taught the Brokentusk a lesson?")
  57. elseif GetQuestStep(Spawn, Third_PoundingTheEnemy) == 4 then
  58. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian016.mp3", "", "", 568866263, 2772410909, Spawn)
  59. AddConversationOption(conversation, "I defeated many of them in battle, and slew an overseer that was holding some squatters captive.", "dlg_0_1")
  60. AddConversationOption(conversation, "Not yet, lieutenant.")
  61. StartConversation(conversation, NPC, Spawn, "See you're back. Have you taught the Brokentusk a lesson?")
  62. end
  63. elseif CanReceiveQuest(Spawn, Third_PoundingTheEnemy) then
  64. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian030.mp3", "", "", 176584660, 1690362035, Spawn)
  65. AddConversationOption(conversation, "Yes, I am ready to serve the Overlord's army.", "dlg_10_1")
  66. AddConversationOption(conversation, "Not right now, thanks.")
  67. StartConversation(conversation, NPC, Spawn, "Welcome back. Are you ready to serve the Freeport Militia?")
  68. end
  69. elseif not HasCompletedQuest(Spawn, Fourth_ProphetAndLoss) then
  70. if HasQuest(Spawn, Fourth_ProphetAndLoss) then
  71. if GetQuestStep(Spawn, Fourth_ProphetAndLoss) <= 3 then
  72. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian023.mp3", "", "", 2394457158, 2443723725, Spawn)
  73. AddConversationOption(conversation, "Not yet, lieutenant.")
  74. StartConversation(conversation, NPC, Spawn, "Hello again, orc slayer. Did you find the shrine I ordered you to look for?")
  75. elseif GetQuestStep(Spawn, Fourth_ProphetAndLoss) == 4 then
  76. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian023.mp3", "", "", 2394457158, 2443723725, Spawn)
  77. AddConversationOption(conversation, "I found a shrine, but it didn't seem to be strengthening the Brokentusk in any way.", "dlg_1_1")
  78. AddConversationOption(conversation, "Not yet, lieutenant.")
  79. StartConversation(conversation, NPC, Spawn, "Hello again, orc slayer. Did you find the shrine I ordered you to look for?")
  80. end
  81. elseif CanReceiveQuest(Spawn, Fourth_ProphetAndLoss) then
  82. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian031.mp3", "", "", 825306924, 1228801639, Spawn)
  83. AddConversationOption(conversation, "Yes I am. What is going on with the Brokentusk orcs?", "dlg_0_3")
  84. AddConversationOption(conversation, "Not quite yet.")
  85. StartConversation(conversation, NPC, Spawn, "Hello again. Are you ready to resume your service to the Militia?")
  86. end
  87. elseif not HasCompletedQuest(Spawn, Fifth_RequestingFurtherOrders) then
  88. if HasQuest(Spawn, Fifth_RequestingFurtherOrders) then
  89. if GetQuestStep(Spawn, Fifth_RequestingFurtherOrders) == 1 then
  90. AddConversationOption(conversation, "I'll do so, lieutenant.")
  91. StartConversation(conversation, NPC, Spawn, "Ah, welcome back to the front lines! Be sure to bash a few Brokentusk heads if you get the chance!")
  92. end
  93. elseif CanReceiveQuest(Spawn, Fifth_RequestingFurtherOrders) then
  94. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian026.mp3", "", "", 265773881, 986062329, Spawn)
  95. AddConversationOption(conversation, "Thank you. Any other assignments for me?", "dlg_1_4")
  96. AddConversationOption(conversation, "I really don't care.")
  97. StartConversation(conversation, NPC, Spawn, "Thank you for your assistance. I have already informed Captain Arellius what you have done for the Militia. She will happily reward you for your efforts.")
  98. end
  99. elseif HasCompletedQuest(Spawn, Fifth_RequestingFurtherOrders) then
  100. AddConversationOption(conversation, "Thank you, lieutenant.")
  101. StartConversation(conversation, NPC, Spawn, "Greetings once again, my old comrade. Feel free to smash the heads of a few Brokentusk orcs! I would be honored to fight by your side again.")
  102. end
  103. end
  104. function dlg_0_1(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. conversation = CreateConversation()
  107. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian017.mp3", "", "", 3074507366, 3925134800, Spawn)
  108. AddConversationOption(conversation, "You suspect some greater plot?", "dlg_0_2")
  109. AddConversationOption(conversation, "That's your job.")
  110. StartConversation(conversation, NPC, Spawn, "My confidence in you is growing, adventurer! The time has come to see if we can find out what exactly is behind this orc uprising.")
  111. end
  112. function dlg_0_2(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. SetStepComplete(Spawn, Third_PoundingTheEnemy, 4)
  116. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian018.mp3", "", "", 3835468248, 3651661502, Spawn)
  117. AddConversationOption(conversation, "What do you mean?", "dlg_0_3")
  118. StartConversation(conversation, NPC, Spawn, "Based on the change that has come over these orcs, I think something is afoot.")
  119. end
  120. function dlg_0_3(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian019.mp3", "", "", 2918602738, 2245938808, Spawn)
  124. AddConversationOption(conversation, "Do you have any idea how they became more powerful?", "dlg_0_4")
  125. AddConversationOption(conversation, "You'd better get to work in that case.")
  126. StartConversation(conversation, NPC, Spawn, "The Militia didn't pay much attention to the Brokentusk until very recently. They were a pathetically weak clan, made up of mostly outcasts of the Bloodskull orcs in the Commonlands. But it seems they have new armor and stronger weapons, and seem to be on the move.")
  127. end
  128. function dlg_0_4(NPC, Spawn)
  129. FaceTarget(NPC, Spawn)
  130. conversation = CreateConversation()
  131. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian020.mp3", "", "", 3553520221, 3928709815, Spawn)
  132. AddConversationOption(conversation, "I'll look for the shrine.", "dlg_0_5")
  133. AddConversationOption(conversation, "No, not today.")
  134. StartConversation(conversation, NPC, Spawn, "Not yet. My scouts have reported overhearing the orcs say that their prophets are guarding some kind of shrine deeper in the Ruins. I'd like to rule out any sort of divine influence, so I need you to find out whether or not this shrine actually exists. Are you willing?")
  135. end
  136. function dlg_0_5(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian021.mp3", "", "", 369320246, 927780722, Spawn)
  140. AddConversationOption(conversation, "I'll find it and take a close look. Do you have any other orders?", "dlg_0_6")
  141. StartConversation(conversation, NPC, Spawn, "Glad to hear we can count on you, adventurer. Rumor has it that this shrine may be located past the ruins to the north, though I don't have a precise location. When you find it, be sure to get close and examine it carefully.")
  142. end
  143. function dlg_0_6(NPC, Spawn) -- OFFER QUEST 4
  144. FaceTarget(NPC, Spawn)
  145. conversation = CreateConversation()
  146. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian022.mp3", "", "", 384501138, 1907732754, Spawn)
  147. AddConversationOption(conversation, "I will do so, lieutenant.", "OfferQuest4")
  148. StartConversation(conversation, NPC, Spawn, "Be sure to dispose of as many of those prophets as you can, and their warriors as well. If you find this shrine, try to determine that it is the source of their increased strength. Be careful though, there may be powerful forces protecting it.")
  149. end
  150. function dlg_1_1(NPC, Spawn)
  151. FaceTarget(NPC, Spawn)
  152. conversation = CreateConversation()
  153. SetStepComplete(Spawn, Fourth_ProphetAndLoss, 4)
  154. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian024.mp3", "", "", 1799585583, 2887995117, Spawn)
  155. AddConversationOption(conversation, "It seems to be a relic from the days of Shoreside, but I can't tell why the orcs are guarding it.", "dlg_1_2")
  156. AddConversationOption(conversation, "I have no idea.")
  157. StartConversation(conversation, NPC, Spawn, "Well, good work in any case. What is the purpose of the shrine?")
  158. end
  159. function dlg_1_2(NPC, Spawn)
  160. FaceTarget(NPC, Spawn)
  161. conversation = CreateConversation()
  162. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian025.mp3", "", "", 89627192, 3614171485, Spawn)
  163. AddConversationOption(conversation, "No, it seems we have not.", "dlg_1_3")
  164. AddConversationOption(conversation, "It's none of my concern anyway.")
  165. StartConversation(conversation, NPC, Spawn, "I guess no one ever accused the Brokentusk of being too bright. Unfortunately, that means we haven't uncovered any evidence that explains why they are rising up.")
  166. end
  167. function dlg_1_3(NPC, Spawn)
  168. FaceTarget(NPC, Spawn)
  169. conversation = CreateConversation()
  170. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian026.mp3", "", "", 265773881, 986062329, Spawn)
  171. AddConversationOption(conversation, "Thank you. Any other assignments for me?", "dlg_1_4")
  172. AddConversationOption(conversation, "I really don't care.")
  173. StartConversation(conversation, NPC, Spawn, "Thank you for your assistance. I have already informed Captain Arellius what you have done for the Militia. She will happily reward you for your efforts.")
  174. end
  175. function dlg_1_4(NPC, Spawn) -- OFFER QUEST 5
  176. FaceTarget(NPC, Spawn)
  177. conversation = CreateConversation()
  178. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian027.mp3", "", "", 1406479810, 234555817, Spawn)
  179. AddConversationOption(conversation, "I will report back to her.", "OfferQuest5")
  180. AddConversationOption(conversation, "I need to go.")
  181. StartConversation(conversation, NPC, Spawn, "You are welcome to stay and help us clear out more of these Brokentusks, but you really should report back to the captain to see if she has new orders for you. It's been a pleasure working with you.")
  182. end
  183. function dlg_4_1(NPC, Spawn)
  184. FaceTarget(NPC, Spawn)
  185. conversation = CreateConversation()
  186. SetStepComplete(Spawn, First_ReportingForDuty, 1)
  187. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian003.mp3", "", "", 347286193, 1720701899, Spawn)
  188. AddConversationOption(conversation, "Defended from the orcs?", "dlg_4_2")
  189. AddConversationOption(conversation, "That sounds like your job, not mine.")
  190. StartConversation(conversation, NPC, Spawn, "Good, we can always use more recruits to help our cause. Freeport must be defended.")
  191. end
  192. function dlg_4_2(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. conversation = CreateConversation()
  195. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian004.mp3", "", "", 304896204, 2664209556, Spawn)
  196. AddConversationOption(conversation, "What is behind the orcs' sudden uprising?", "dlg_4_3")
  197. AddConversationOption(conversation, "You'd better get busy defending the city, then.")
  198. StartConversation(conversation, NPC, Spawn, "The Ruins are being overrun, and it's time for us to take a stand. We must ensure that the orcs don't infiltrate the rest of the city.")
  199. end
  200. function dlg_4_3(NPC, Spawn)
  201. FaceTarget(NPC, Spawn)
  202. conversation = CreateConversation()
  203. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian005.mp3", "", "", 1736920574, 580016233, Spawn)
  204. AddConversationOption(conversation, "Yes, I will help you.", "dlg_4_4")
  205. AddConversationOption(conversation, "No, not right now.")
  206. StartConversation(conversation, NPC, Spawn, "We haven't uncovered that yet, and frankly I don't have time to play detective. Are you willing to help the Freeport Militia turn back this tide of aggression?")
  207. end
  208. function dlg_4_4(NPC, Spawn)
  209. FaceTarget(NPC, Spawn)
  210. conversation = CreateConversation()
  211. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian006.mp3", "", "", 4214902547, 3965380224, Spawn)
  212. AddConversationOption(conversation, "What would you have me do?", "dlg_4_5")
  213. AddConversationOption(conversation, "On second thought, handle this yourself.")
  214. StartConversation(conversation, NPC, Spawn, "Excellent! It looks like the captain was wise to send you to me. Our outpost here is being beset on both sides by the Brokentusk clan of orcs. Once they were pathetically weak, but they seem to be training for a larger offensive.")
  215. end
  216. function dlg_4_5(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. conversation = CreateConversation()
  219. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian007.mp3", "", "", 1892260608, 3800228650, Spawn)
  220. AddConversationOption(conversation, "What do you mean by striking fear?", "dlg_4_6")
  221. AddConversationOption(conversation, "Do your own dirty work.")
  222. StartConversation(conversation, NPC, Spawn, "A large number of Brokentusk pawns have been seen gathering to the south. Go up the stairs and help my troops strike some fear into them.")
  223. end
  224. function dlg_4_6(NPC, Spawn)
  225. FaceTarget(NPC, Spawn)
  226. conversation = CreateConversation()
  227. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian008.mp3", "", "", 1136740224, 4202559989, Spawn)
  228. AddConversationOption(conversation, "Yes, I'll do my part.", "dlg_4_7")
  229. AddConversationOption(conversation, "Nobody talks to me that way!")
  230. StartConversation(conversation, NPC, Spawn, "I mean make them DEAD! Look, if this is too much for you, move along, because I've got other recruits to train. Will you help us or not?")
  231. end
  232. function dlg_4_7(NPC, Spawn) -- OFFER QUEST 2
  233. FaceTarget(NPC, Spawn)
  234. conversation = CreateConversation()
  235. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian009.mp3", "", "", 3089238951, 3281159582, Spawn)
  236. AddConversationOption(conversation, "Aye, lieutenant.", "OfferQuest2")
  237. AddConversationOption(conversation, "Not right now.")
  238. StartConversation(conversation, NPC, Spawn, "Good! Let's test your mettle against the pawns. Kill at least ten of those beasts before you dare return to me. If you succeed, I'll gain some confidence in your abilities.")
  239. end
  240. function dlg_5_1(NPC, Spawn)
  241. FaceTarget(NPC, Spawn)
  242. conversation = CreateConversation()
  243. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian002.mp3", "", "", 1265605961, 1173429431, Spawn)
  244. AddConversationOption(conversation, "I'll go speak with her.")
  245. StartConversation(conversation, NPC, Spawn, "Look here, adventurer. My troops must find a way to control these blasted brutes. If you want a history lesson, go speak to Captain Arellius on the docks. She may have time to fill you in, but I don't.")
  246. end
  247. function dlg_5_1(NPC, Spawn)
  248. FaceTarget(NPC, Spawn)
  249. conversation = CreateConversation()
  250. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian003.mp3", "", "", 347286193, 1720701899, Spawn)
  251. AddConversationOption(conversation, "Defended from the orcs?", "dlg_5_2")
  252. AddConversationOption(conversation, "That sounds like your job, not mine.")
  253. StartConversation(conversation, NPC, Spawn, "Good, we can always use more recruits to help our cause. Freeport must be defended.")
  254. end
  255. function dlg_5_2(NPC, Spawn)
  256. FaceTarget(NPC, Spawn)
  257. conversation = CreateConversation()
  258. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian004.mp3", "", "", 304896204, 2664209556, Spawn)
  259. AddConversationOption(conversation, "What is behind the orcs' sudden uprising?", "dlg_5_3")
  260. AddConversationOption(conversation, "You'd better get busy defending the city, then.")
  261. StartConversation(conversation, NPC, Spawn, "The Ruins are being overrun, and it's time for us to take a stand. We must ensure that the orcs don't infiltrate the rest of the city.")
  262. end
  263. function dlg_5_3(NPC, Spawn)
  264. FaceTarget(NPC, Spawn)
  265. conversation = CreateConversation()
  266. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian005.mp3", "", "", 1736920574, 580016233, Spawn)
  267. AddConversationOption(conversation, "Yes, I will help you.", "dlg_5_4")
  268. AddConversationOption(conversation, "No, not right now.")
  269. StartConversation(conversation, NPC, Spawn, "We haven't uncovered that yet, and frankly I don't have time to play detective. Are you willing to help the Freeport Militia turn back this tide of aggression?")
  270. end
  271. function dlg_5_4(NPC, Spawn)
  272. FaceTarget(NPC, Spawn)
  273. conversation = CreateConversation()
  274. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian006.mp3", "", "", 4214902547, 3965380224, Spawn)
  275. AddConversationOption(conversation, "What would you have me do?", "dlg_5_5")
  276. AddConversationOption(conversation, "On second thought, handle this yourself.")
  277. StartConversation(conversation, NPC, Spawn, "Excellent! It looks like the captain was wise to send you to me. Our outpost here is being beset on both sides by the Brokentusk clan of orcs. Once they were pathetically weak, but they seem to be training for a larger offensive.")
  278. end
  279. function dlg_5_5(NPC, Spawn)
  280. FaceTarget(NPC, Spawn)
  281. conversation = CreateConversation()
  282. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian007.mp3", "", "", 1892260608, 3800228650, Spawn)
  283. AddConversationOption(conversation, "What do you mean by striking fear?", "dlg_5_6")
  284. AddConversationOption(conversation, "Do your own dirty work.")
  285. StartConversation(conversation, NPC, Spawn, "A large number of Brokentusk pawns have been seen gathering to the south. Go up the stairs and help my troops strike some fear into them.")
  286. end
  287. function dlg_5_6(NPC, Spawn)
  288. FaceTarget(NPC, Spawn)
  289. conversation = CreateConversation()
  290. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian008.mp3", "", "", 1136740224, 4202559989, Spawn)
  291. AddConversationOption(conversation, "Yes, I'll do my part.", "dlg_5_7")
  292. AddConversationOption(conversation, "Nobody talks to me that way!")
  293. StartConversation(conversation, NPC, Spawn, "I mean make them DEAD! Look, if this is too much for you, move along, because I've got other recruits to train. Will you help us or not?")
  294. end
  295. function dlg_5_7(NPC, Spawn)
  296. FaceTarget(NPC, Spawn)
  297. conversation = CreateConversation()
  298. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian009.mp3", "", "", 3089238951, 3281159582, Spawn)
  299. AddConversationOption(conversation, "Aye, lieutenant.", "dlg_5_8")
  300. AddConversationOption(conversation, "Not right now.")
  301. StartConversation(conversation, NPC, Spawn, "Good! Let's test your mettle against the pawns. Kill at least ten of those beasts before you dare return to me. If you succeed, I'll gain some confidence in your abilities.")
  302. end
  303. function dlg_5_8(NPC, Spawn)
  304. FaceTarget(NPC, Spawn)
  305. conversation = CreateConversation()
  306. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian009b.mp3", "", "", 3351588566, 3135177671, Spawn)
  307. AddConversationOption(conversation, "I will do so.", "dlg_5_9")
  308. StartConversation(conversation, NPC, Spawn, "Get to work, citizen. You have your orders, now carry them out.")
  309. end
  310. function dlg_6_1(NPC, Spawn)
  311. FaceTarget(NPC, Spawn)
  312. conversation = CreateConversation()
  313. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian003.mp3", "", "", 347286193, 1720701899, Spawn)
  314. AddConversationOption(conversation, "Defended from the orcs?", "dlg_6_2")
  315. AddConversationOption(conversation, "That sounds like your job, not mine.")
  316. StartConversation(conversation, NPC, Spawn, "Good, we can always use more recruits to help our cause. Freeport must be defended.")
  317. end
  318. function dlg_7_1(NPC, Spawn)
  319. FaceTarget(NPC, Spawn)
  320. conversation = CreateConversation()
  321. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian005.mp3", "", "", 1736920574, 580016233, Spawn)
  322. AddConversationOption(conversation, "Yes, I will help you.", "dlg_7_2")
  323. AddConversationOption(conversation, "No, not right now.")
  324. StartConversation(conversation, NPC, Spawn, "We haven't uncovered that yet, and frankly I don't have time to play detective. Are you willing to help the Freeport Militia turn back this tide of aggression?")
  325. end
  326. function dlg_7_2(NPC, Spawn)
  327. FaceTarget(NPC, Spawn)
  328. conversation = CreateConversation()
  329. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian006.mp3", "", "", 4214902547, 3965380224, Spawn)
  330. AddConversationOption(conversation, "What would you have me do?", "dlg_7_3")
  331. AddConversationOption(conversation, "On second thought, handle this yourself.")
  332. StartConversation(conversation, NPC, Spawn, "Excellent! It looks like the captain was wise to send you to me. Our outpost here is being beset on both sides by the Brokentusk clan of orcs. Once they were pathetically weak, but they seem to be training for a larger offensive.")
  333. end
  334. function dlg_7_3(NPC, Spawn)
  335. FaceTarget(NPC, Spawn)
  336. conversation = CreateConversation()
  337. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian007.mp3", "", "", 1892260608, 3800228650, Spawn)
  338. AddConversationOption(conversation, "What do you mean by striking fear?", "dlg_7_4")
  339. AddConversationOption(conversation, "Do your own dirty work.")
  340. StartConversation(conversation, NPC, Spawn, "A large number of Brokentusk pawns have been seen gathering to the south. Go up the stairs and help my troops strike some fear into them.")
  341. end
  342. function dlg_7_4(NPC, Spawn)
  343. FaceTarget(NPC, Spawn)
  344. conversation = CreateConversation()
  345. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian008.mp3", "", "", 1136740224, 4202559989, Spawn)
  346. AddConversationOption(conversation, "Yes, I'll do my part.", "dlg_7_5")
  347. AddConversationOption(conversation, "Nobody talks to me that way!")
  348. StartConversation(conversation, NPC, Spawn, "I mean make them DEAD! Look, if this is too much for you, move along, because I've got other recruits to train. Will you help us or not?")
  349. end
  350. function dlg_7_5(NPC, Spawn)
  351. FaceTarget(NPC, Spawn)
  352. conversation = CreateConversation()
  353. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian009.mp3", "", "", 3089238951, 3281159582, Spawn)
  354. AddConversationOption(conversation, "Aye, lieutenant.", "dlg_7_6")
  355. AddConversationOption(conversation, "Not right now.")
  356. StartConversation(conversation, NPC, Spawn, "Good! Let's test your mettle against the pawns. Kill at least ten of those beasts before you dare return to me. If you succeed, I'll gain some confidence in your abilities.")
  357. end
  358. function dlg_7_6(NPC, Spawn)
  359. FaceTarget(NPC, Spawn)
  360. conversation = CreateConversation()
  361. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian009b.mp3", "", "", 3351588566, 3135177671, Spawn)
  362. AddConversationOption(conversation, "I will do so.", "dlg_7_7")
  363. StartConversation(conversation, NPC, Spawn, "Get to work, citizen. You have your orders, now carry them out.")
  364. end
  365. function dlg_9_1(NPC, Spawn)
  366. FaceTarget(NPC, Spawn)
  367. conversation = CreateConversation()
  368. SetStepComplete(Spawn, Second_PawnsInTheGame, 2)
  369. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian011.mp3", "", "", 2187153051, 2285485412, Spawn)
  370. AddConversationOption(conversation, "I'm ready and willing.", "dlg_10_1")
  371. AddConversationOption(conversation, "Orc pawns are my specialty. I think I'll stick with those.")
  372. StartConversation(conversation, NPC, Spawn, "Well, nice work. It's almost as if you've killed orc pawns before! Maybe I can trust you with a more challenging task.")
  373. end
  374. function dlg_10_1(NPC, Spawn)
  375. FaceTarget(NPC, Spawn)
  376. conversation = CreateConversation()
  377. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian013.mp3", "", "", 1827066506, 859247835, Spawn)
  378. AddConversationOption(conversation, "What do you mean by vagrant squatters?", "dlg_10_2")
  379. AddConversationOption(conversation, "Perhaps I should reconsider.")
  380. StartConversation(conversation, NPC, Spawn, "Some more formidable Brokentusk orcs are gathering to the north. They've taken up residence in some of the abandoned ruins there, and I've gotten reports that they have captured some of the vagrant squatters that used to reside there.")
  381. end
  382. function dlg_10_2(NPC, Spawn)
  383. FaceTarget(NPC, Spawn)
  384. conversation = CreateConversation()
  385. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian014.mp3", "", "", 1560986301, 1441248753, Spawn)
  386. AddConversationOption(conversation, "How horrible! Are we going to help them?", "dlg_10_3")
  387. AddConversationOption(conversation, "None of this is my concern.")
  388. StartConversation(conversation, NPC, Spawn, "After Shoreside was abandoned and became known as the Ruins, groups of vagrant beggars moved in here and seemed to coexist with the orcs. Our patrols have discovered that the Brokentusk recently killed most of the squatters, however, and are keeping a few as captives.")
  389. end
  390. function dlg_10_3(NPC, Spawn) -- Offer Quest 3
  391. FaceTarget(NPC, Spawn)
  392. conversation = CreateConversation()
  393. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian015.mp3", "", "", 2121023365, 565794587, Spawn)
  394. AddConversationOption(conversation, "Consider it done.", "OfferQuest3")
  395. AddConversationOption(conversation, "I'm not interested.")
  396. StartConversation(conversation, NPC, Spawn, "Even though the squatters are not citizens, the Overlord will not tolerate unsanctioned violence within his borders. I need you to head north and teach the Brokentusk a lesson. Take special care to rid the area of any overseers you notice holding prisoners.")
  397. end
  398. function dlg_10_4(NPC, Spawn) -- Quest Accepted text
  399. FaceTarget(NPC, Spawn)
  400. conversation = CreateConversation()
  401. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian015b.mp3", "", "", 102436079, 1387861460, Spawn)
  402. AddConversationOption(conversation, "I will.", "dlg_10_5")
  403. StartConversation(conversation, NPC, Spawn, "I knew I could count on you. Return to me when the orcs have paid for their crimes.")
  404. end
  405. function dlg_12_1(NPC, Spawn)
  406. FaceTarget(NPC, Spawn)
  407. conversation = CreateConversation()
  408. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian017.mp3", "", "", 3074507366, 3925134800, Spawn)
  409. AddConversationOption(conversation, "You suspect some greater plot?", "dlg_12_2")
  410. AddConversationOption(conversation, "That's your job.")
  411. StartConversation(conversation, NPC, Spawn, "My confidence in you is growing, adventurer! The time has come to see if we can find out what exactly is behind this orc uprising.")
  412. end
  413. function dlg_13_1(NPC, Spawn)
  414. FaceTarget(NPC, Spawn)
  415. conversation = CreateConversation()
  416. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian017.mp3", "", "", 3074507366, 3925134800, Spawn)
  417. AddConversationOption(conversation, "You suspect some greater plot?", "dlg_13_2")
  418. AddConversationOption(conversation, "That's your job.")
  419. StartConversation(conversation, NPC, Spawn, "My confidence in you is growing, adventurer! The time has come to see if we can find out what exactly is behind this orc uprising.")
  420. end
  421. function dlg_13_2(NPC, Spawn)
  422. FaceTarget(NPC, Spawn)
  423. conversation = CreateConversation()
  424. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian018.mp3", "", "", 3835468248, 3651661502, Spawn)
  425. AddConversationOption(conversation, "What do you mean?", "dlg_13_3")
  426. StartConversation(conversation, NPC, Spawn, "Based on the change that has come over these orcs, I think something is afoot.")
  427. end
  428. function dlg_13_3(NPC, Spawn)
  429. FaceTarget(NPC, Spawn)
  430. conversation = CreateConversation()
  431. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian019.mp3", "", "", 2918602738, 2245938808, Spawn)
  432. AddConversationOption(conversation, "Do you have any idea how they became more powerful?", "dlg_13_4")
  433. AddConversationOption(conversation, "You'd better get to work in that case.")
  434. StartConversation(conversation, NPC, Spawn, "The Militia didn't pay much attention to the Brokentusk until very recently. They were a pathetically weak clan, made up of mostly outcasts of the Bloodskull orcs in the Commonlands. But it seems they have new armor and stronger weapons, and seem to be on the move.")
  435. end
  436. function dlg_14_1(NPC, Spawn)
  437. FaceTarget(NPC, Spawn)
  438. conversation = CreateConversation()
  439. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian019.mp3", "", "", 2918602738, 2245938808, Spawn)
  440. AddConversationOption(conversation, "Do you have any idea how they became more powerful?", "dlg_14_2")
  441. AddConversationOption(conversation, "You'd better get to work in that case.")
  442. StartConversation(conversation, NPC, Spawn, "The Militia didn't pay much attention to the Brokentusk until very recently. They were a pathetically weak clan, made up of mostly outcasts of the Bloodskull orcs in the Commonlands. But it seems they have new armor and stronger weapons, and seem to be on the move.")
  443. end
  444. function dlg_14_2(NPC, Spawn)
  445. FaceTarget(NPC, Spawn)
  446. conversation = CreateConversation()
  447. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian020.mp3", "", "", 3553520221, 3928709815, Spawn)
  448. AddConversationOption(conversation, "I'll look for the shrine.", "dlg_14_3")
  449. AddConversationOption(conversation, "No, not today.")
  450. StartConversation(conversation, NPC, Spawn, "Not yet. My scouts have reported overhearing the orcs say that their prophets are guarding some kind of shrine deeper in the Ruins. I'd like to rule out any sort of divine influence, so I need you to find out whether or not this shrine actually exists. Are you willing?")
  451. end
  452. function dlg_14_3(NPC, Spawn)
  453. FaceTarget(NPC, Spawn)
  454. conversation = CreateConversation()
  455. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian021.mp3", "", "", 369320246, 927780722, Spawn)
  456. AddConversationOption(conversation, "I'll find it and take a close look. Do you have any other orders?", "dlg_14_4")
  457. StartConversation(conversation, NPC, Spawn, "Glad to hear we can count on you, adventurer. Rumor has it that this shrine may be located past the ruins to the north, though I don't have a precise location. When you find it, be sure to get close and examine it carefully.")
  458. end
  459. function dlg_14_4(NPC, Spawn)
  460. FaceTarget(NPC, Spawn)
  461. conversation = CreateConversation()
  462. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian022.mp3", "", "", 384501138, 1907732754, Spawn)
  463. AddConversationOption(conversation, "I will do so, lieutenant.", "dlg_14_5")
  464. StartConversation(conversation, NPC, Spawn, "Be sure to dispose of as many of those prophets as you can, and their warriors as well. If you find this shrine, try to determine that it is the source of their increased strength. Be careful though, there may be powerful forces protecting it.")
  465. end
  466. function dlg_14_5(NPC, Spawn)
  467. FaceTarget(NPC, Spawn)
  468. conversation = CreateConversation()
  469. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian022b.mp3", "", "", 3696168160, 1150705872, Spawn)
  470. AddConversationOption(conversation, "Yes, sir.", "dlg_14_6")
  471. StartConversation(conversation, NPC, Spawn, "Go now, and report back when your duty is done.")
  472. end
  473. function dlg_16_1(NPC, Spawn)
  474. FaceTarget(NPC, Spawn)
  475. conversation = CreateConversation()
  476. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian024.mp3", "", "", 1799585583, 2887995117, Spawn)
  477. AddConversationOption(conversation, "It seems to be a relic from the days of Shoreside, but I can't tell why the orcs are guarding it.", "dlg_16_2")
  478. AddConversationOption(conversation, "I have no idea.")
  479. StartConversation(conversation, NPC, Spawn, "Well, good work in any case. What is the purpose of the shrine?")
  480. end
  481. function dlg_18_1(NPC, Spawn)
  482. FaceTarget(NPC, Spawn)
  483. conversation = CreateConversation()
  484. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian027.mp3", "", "", 1406479810, 234555817, Spawn)
  485. AddConversationOption(conversation, "I will report back to her.", "dlg_18_2")
  486. AddConversationOption(conversation, "I need to go.")
  487. StartConversation(conversation, NPC, Spawn, "You are welcome to stay and help us clear out more of these Brokentusks, but you really should report back to the captain to see if she has new orders for you. It's been a pleasure working with you.")
  488. end
  489. function dlg_18_2(NPC, Spawn)
  490. FaceTarget(NPC, Spawn)
  491. conversation = CreateConversation()
  492. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian027b.mp3", "", "", 3190269915, 3618413640, Spawn)
  493. AddConversationOption(conversation, "I will.", "dlg_18_3")
  494. StartConversation(conversation, NPC, Spawn, "Travel safely, citizen of Freeport.")
  495. end
  496. function OfferQuest2(NPC, Spawn)
  497. OfferQuest(NPC, Spawn, Second_PawnsInTheGame)
  498. end
  499. function OfferQuest3(NPC, Spawn)
  500. OfferQuest(NPC, Spawn, Third_PoundingTheEnemy)
  501. end
  502. function OfferQuest4(NPC, Spawn)
  503. OfferQuest(NPC, Spawn, Fourth_ProphetAndLoss)
  504. end
  505. function OfferQuest5(NPC, Spawn)
  506. OfferQuest(NPC, Spawn, Fifth_RequestingFurtherOrders)
  507. end
  508. --[[ raw_conversations
  509. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/quest_lieutenant_argosian_callout_24873053.mp3", "The Ruins won't be safe until the orcs are eliminated completely!", "nod", 1037666324, 2592423942, Spawn)
  510. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/quest_lieutenant_argosian_callout_9cbdee98.mp3", "We make our stand against the Brokentusk here and now!", "agree", 3561877785, 2635940014, Spawn)
  511. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/quest_lieutenant_argosian_callout_4b387393.mp3", "All citizens should take up arms against these orc beasts!", "brandish", 332911502, 701229058, Spawn)
  512. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/quest_lieutenant_argosian_callout_8a5b29c8.mp3", "These filthy Brokentusk must be extinguished!", "threaten", 1555035852, 461893438, Spawn)
  513. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/quest_lieutenant_argosian_callout_3494a596.mp3", "We will make our stand against the Brokentusk and erase them from our city.", "nod", 3653569376, 3748121838, Spawn)
  514. --]]