LieutenantDarrius.lua 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. --[[
  2. Script Name : SpawnScripts/WestFreeport/LieutenantDarrius.lua
  3. Script Purpose : Lieutenant Darrius
  4. Script Author : Premierio015
  5. Script Date : 2022.04.26
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local InSearchofSpiritkeepers = 5513
  9. require "SpawnScripts/Generic/DialogModule"
  10. function spawn(NPC)
  11. ProvidesQuest(NPC, InSearchofSpiritkeepers)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("The militia has a task for you, citizen. Will you accept the call to duty?")
  20. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/lieutenant_darrius.mp3", 913608800, 3646524676)
  21. if not HasQuest(Spawn, InSearchofSpiritkeepers) and not HasCompletedQuest(Spawn, InSearchofSpiritkeepers) then
  22. Dialog.AddOption("Perhaps. What is the duty?", "Dialog25")
  23. elseif GetQuestStep(Spawn, InSearchofSpiritkeepers) == 2 then
  24. Dialog.AddOption("I have gathered the five scalps from the Wailing Caves.", "Dialog1")
  25. end
  26. Dialog.AddOption("I have found my purpose, Lieutenant. ")
  27. Dialog.Start()
  28. end
  29. function Dialog1(NPC, Spawn)
  30. SetStepComplete(Spawn, InSearchofSpiritkeepers, 2)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("The Overlord wishes to assure that his citizens are well-kept so that they shall be ripe for volunteer duty in the future. Accept this as a show of recognition of your loyal service. Now be on your way. You are, for now, relieved of duty.")
  34. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_return.mp3", 2914740402, 3834860982)
  35. Dialog.AddOption("Thank you sir. For Freeport and Realm!")
  36. Dialog.AddOption("I give the Overlord my thanks for this opportunity to spill the blood of our enemies!")
  37. Dialog.Start()
  38. end
  39. function Dialog2(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. Dialog.New(NPC, Spawn)
  42. Dialog.AddDialog("The Overlord will not divert resources on suspicion alone. We believe that citizens such as you are capable of accomplishing this task or perishing in the attempt. Either way, the goals of Freeport will be served.")
  43. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial5.mp3", 336191891, 2227279881)
  44. Dialog.AddOption("What proof do you require?", "Dialog22")
  45. Dialog.AddOption("How are the goals of Freeport served if its citizens die?", "Dialog13")
  46. Dialog.AddOption("If the Overlord will not commit to this I sure won't either. ")
  47. Dialog.Start()
  48. end
  49. function Dialog3(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. Dialog.New(NPC, Spawn)
  52. Dialog.AddDialog("The militia has a task for you, citizen. Will you accept the call to duty?")
  53. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/lieutenant_darrius.mp3", 913608800, 3646524676)
  54. Dialog.AddOption("That all depends on what the militia needs of me.", "Dialog15")
  55. Dialog.AddOption("Perhaps. What is the duty?", "Dialog25")
  56. Dialog.AddOption("I have found my purpose, Lieutenant. ")
  57. Dialog.Start()
  58. end
  59. function Dialog5(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. Dialog.New(NPC, Spawn)
  62. Dialog.AddDialog("Eh! A useless rusty dagger!? Not only is it rusted but it bears many scratches; it looks as if a giant rat clawed at it. Although I consider this evidence of no importance, I do owe you a reward for ridding us of that accursed orc.")
  63. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_return.mp3", 49529721, 694790311)
  64. Dialog.AddOption("Thank you. Good bye.")
  65. Dialog.AddOption("I live to serve Freeport.")
  66. Dialog.Start()
  67. end
  68. function Dialog6(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. Dialog.New(NPC, Spawn)
  71. Dialog.AddDialog("You dare ask for compensation to serve this city! As if we owe you?! Protecting this city and furthering the Overlord's advantage against our enemies is reward enough.")
  72. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial4.mp3", 4223754842, 4238638)
  73. Dialog.AddOption("I did not mean to insult the militia or the Overlord...", "Dialog18")
  74. Dialog.AddOption("Reward enough for you, perhaps, but not for me. Good bye.")
  75. Dialog.Start()
  76. end
  77. function Dialog8(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. Dialog.New(NPC, Spawn)
  80. Dialog.AddDialog("Volunteer duty does not come with the promise of wealth or praise! You should consider it an honor to serve the Overlord. Expecting compensation is as disgusting as it is insulting. Either you will volunteer for the post, or you will face the consequences of insubordination!")
  81. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial8.mp3", 2525459114, 258548704)
  82. Dialog.AddOption("Well, what choice do I have then?", "offer")
  83. Dialog.AddOption("Please forgive my foolish words sir. I am not strong enough to aid Freeport in this deed.")
  84. Dialog.Start()
  85. end
  86. function Dialog9(NPC, Spawn)
  87. FaceTarget(NPC, Spawn)
  88. Dialog.New(NPC, Spawn)
  89. Dialog.AddDialog("The militia has a task for you, citizen. Will you accept the call to duty?")
  90. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/lieutenant_darrius.mp3", 913608800, 3646524676)
  91. Dialog.AddOption("That all depends on what the militia needs of me.", "Dialog15")
  92. Dialog.AddOption("I have found my purpose, Lieutenant. ")
  93. Dialog.Start()
  94. end
  95. function Dialog10(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. Dialog.New(NPC, Spawn)
  98. Dialog.AddDialog("This orcish officer has successfully eluded all attempts to destroy him in the past. He knows the militia's tactics far too well, making his existence all the more threatening to our city.")
  99. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial2.mp3", 672951317, 275331586)
  100. Dialog.AddOption("If the militia can't handle him, what makes you think I can?", "Dialog24")
  101. Dialog.AddOption("I can't help you.")
  102. Dialog.Start()
  103. end
  104. function Dialog11(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. Dialog.New(NPC, Spawn)
  107. Dialog.AddDialog("Our intelligence spotted Ohrgran's scouts coming and going from the south. We know an encampment of orc soldiers has set up camp in this area. It's only fitting that Ohrgran would return to man his post there.")
  108. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial5.mp3", 968282769, 1875532246)
  109. Dialog.AddOption("Sounds simple enough. What do I do when I've completed the task?", "Dialog23")
  110. Dialog.AddOption("How will the militia repay my services?", "Dialog6")
  111. Dialog.Start()
  112. end
  113. function Dialog12(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. Dialog.New(NPC, Spawn)
  116. Dialog.AddDialog("We believe the outpost is inside the Wailing Hill. The superstitious ramblings of the past generations have inspired fear of the region. This fear makes the caverns a secluded, tactical location.")
  117. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial4.mp3", 160419880, 1935367161)
  118. Dialog.AddOption("Why can't the militia gather the intelligence on their own?", "Dialog2")
  119. Dialog.AddOption("What proof do you require?", "Dialog22")
  120. Dialog.AddOption("I believe those superstitious ramblings. I am to scared to hear any more.")
  121. Dialog.Start()
  122. end
  123. function Dialog13(NPC, Spawn)
  124. FaceTarget(NPC, Spawn)
  125. Dialog.New(NPC, Spawn)
  126. Dialog.AddDialog("Those volunteers who fail in the task are obviously too weak to be among the Overlord's subjects. Weeding out the weak from those worthy to survive is within our objective for success and prosperity. Common sense would dictate no other conclusion.")
  127. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutennatdarrius_x2_initial7.mp3", 1801715795, 2070313269)
  128. Dialog.AddOption("I will prove my strength. Tell me, where is this supposed outpost located?", "Dialog12")
  129. Dialog.AddOption("What proof do you need from these volunteers?", "Dialog22")
  130. Dialog.AddOption("I cannot serve Freeport at this time.")
  131. Dialog.Start()
  132. end
  133. function Dialog14(NPC, Spawn)
  134. FaceTarget(NPC, Spawn)
  135. Dialog.New(NPC, Spawn)
  136. Dialog.AddDialog("The militia needs citizens to gather intelligence on a possible orc outpost in the savannah.")
  137. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial2.mp3", 1000165102, 2458404038)
  138. Dialog.AddOption("What sort of intelligence are you looking for?", "Dialog19")
  139. Dialog.AddOption("Where is this supposed outpost located?", "Dialog12")
  140. Dialog.AddOption("I am not strong enough to face an orc horde.")
  141. Dialog.Start()
  142. end
  143. function Dialog15(NPC, Spawn)
  144. FaceTarget(NPC, Spawn)
  145. Dialog.New(NPC, Spawn)
  146. Dialog.AddDialog("Our intelligence recently located a known enemy of the city, a Bloodskull officer named Ohrgran Foulgore. This beast is said to have ties to Freeport. ")
  147. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial.mp3", 1917194156, 3170978291)
  148. Dialog.AddOption("Why doesn't the militia just capture him?", "Dialog10")
  149. Dialog.AddOption("I am not interested. ")
  150. Dialog.Start()
  151. end
  152. function Dialog17(NPC, Spawn)
  153. FaceTarget(NPC, Spawn)
  154. Dialog.New(NPC, Spawn)
  155. Dialog.AddDialog("The militia has a task for you, citizen. Will you accept the call to duty?")
  156. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/lieutenant_darrius.mp3", 913608800, 3646524676)
  157. Dialog.AddOption("Ohrgran is dead and here is your proof.", "Dialog5")
  158. Dialog.AddOption("I have found my purpose, Lieutenant. ")
  159. Dialog.Start()
  160. end
  161. function Dialog18(NPC, Spawn)
  162. FaceTarget(NPC, Spawn)
  163. Dialog.New(NPC, Spawn)
  164. Dialog.AddDialog("Your greed and assumptions are insult enough. Fortunately for you, it is not my duty to punish insults. Now, either you volunteer for the job or begone from my sight.")
  165. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial7.mp3", 1677237864, 1224240976)
  166. Dialog.AddOption("Well, I still don't know all the dangers. Where is Ohrgran now?", "Dialog11")
  167. Dialog.AddOption("I'd rather not get involved in military affairs. Good bye.")
  168. Dialog.Start()
  169. end
  170. function Dialog19(NPC, Spawn)
  171. FaceTarget(NPC, Spawn)
  172. Dialog.New(NPC, Spawn)
  173. Dialog.AddDialog("The Overlord requires concrete evidence of an established enemy stronghold in the hills before he orders an invasion. The intelligence you gather will prove or discredit the belief of an organized orc presence in that area.")
  174. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial3.mp3", 1630901125, 3610070085)
  175. Dialog.AddOption("Where is this supposed outpost located?", "Dialog12")
  176. Dialog.AddOption("Why can't the militia gather the intelligence?", "Dialog2")
  177. Dialog.AddOption("What proof do you require?", "Dialog22")
  178. Dialog.AddOption("I am afraid I cannot do this for Freeport.")
  179. Dialog.Start()
  180. end
  181. function Dialog20(NPC, Spawn)
  182. FaceTarget(NPC, Spawn)
  183. Dialog.New(NPC, Spawn)
  184. Dialog.AddDialog("Then you accept the task until Ohrgran's death or yours. We expect your return as quickly as possible. The militia does not tolerate unnecessary delays.")
  185. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_accept.mp3", 2988261816, 2878118233)
  186. Dialog.AddOption("Orc blood will be spilled by my blade before the day is done. ")
  187. Dialog.AddOption("Ohrgran's head will be yours in a matter of moments, of that you can be sure.")
  188. Dialog.Start()
  189. end
  190. function Dialog22(NPC, Spawn)
  191. FaceTarget(NPC, Spawn)
  192. Dialog.New(NPC, Spawn)
  193. Dialog.AddDialog("It is suspected that arcane casters play a key role in this outpost. Rumor is they are spiritkeepers. The militia expects no less than five scalps from any orcish spiritkeeper in that region to be presented from each volunteer before their duty is fulfilled.")
  194. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial6.mp3", 2779768077, 1213781919)
  195. Dialog.AddOption("What's in it for me if I do volunteer?", "Dialog8")
  196. Dialog.AddOption("This task sounds simple enough. I will bring you the scalps the Overlord requires.", "offer")
  197. Dialog.AddOption("I don't think I'm qualified for this mission, but I'll be sure to return when I'm better able to serve the Overlord.")
  198. Dialog.AddOption("Killing orcs doesn't sound all that exciting at the moment. Good bye.")
  199. Dialog.Start()
  200. end
  201. function Dialog23(NPC, Spawn)
  202. FaceTarget(NPC, Spawn)
  203. Dialog.New(NPC, Spawn)
  204. Dialog.AddDialog("Nothing short of Ohrgran's head will prove the task's end. What say you, citizen? Are you a child fearful of death, or are you prepared to serve the city of Freeport?")
  205. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial6.mp3", 4028320081, 1334011396)
  206. Dialog.AddOption("I am prepared to accept this task.", "Dialog20")
  207. Dialog.AddOption("For Freeport and the Overlord, I accept this task.")
  208. Dialog.AddOption("Any excuse to spill orcish blood is a good excuse!", "Dialog20")
  209. Dialog.AddOption("I don't think I'm suited for this task. Good bye.")
  210. Dialog.Start()
  211. end
  212. function Dialog24(NPC, Spawn)
  213. FaceTarget(NPC, Spawn)
  214. Dialog.New(NPC, Spawn)
  215. Dialog.AddDialog("Ohrgran expects a military attack and would take flight before our soldiers invaded. What he does not expect is a civilian strike. Your tactics are unknown to him and your appearance would not alarm his scouts.")
  216. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x1_initial3.mp3", 318298659, 4239777889)
  217. Dialog.AddOption("How will the militia repay my services?", "Dialog6")
  218. Dialog.AddOption("Where is Ohrgran now?", "Dialog11")
  219. Dialog.AddOption("Find another citizen capable of performing such a deed.")
  220. Dialog.Start()
  221. end
  222. function Dialog25(NPC, Spawn)
  223. FaceTarget(NPC, Spawn)
  224. Dialog.New(NPC, Spawn)
  225. Dialog.AddDialog("The militia is looking for volunteers. Do you think yourself strong enough to meet our expectations?")
  226. Dialog.AddVoiceover("voiceover/english/lieutenant_darrius/fprt_west/quests/lieutenantdarrius/lieutenantdarrius_x2_initial.mp3", 1189892841, 4231062400)
  227. Dialog.AddOption("What do you need the volunteers for?", "Dialog14")
  228. Dialog.AddOption("I cannot volunteer at this time.")
  229. Dialog.Start()
  230. end
  231. function offer(NPC, Spawn)
  232. OfferQuest(NPC, Spawn, InSearchofSpiritkeepers)
  233. end