EnforcerKurdek.lua 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. --[[
  2. Script Name : SpawnScripts/Sprawl/EnforcerKurdek.lua
  3. Script Purpose : Enforcer Kurdek <Dreadnaught>
  4. Script Author : Scatman
  5. Script Date : 2008.09.29 (updated by torsten 1.8.2022)
  6. Script Notes :
  7. --]]
  8. local MoreBarshing = 5636 --from Big Bend
  9. local TrollAdventures = 5643 --from Big Bend
  10. local GoVisitTheSprawl = 350 --from Scale Yard
  11. local QUEST_1 = 455
  12. local QUEST_2 = 540
  13. local QUEST_3 = 541
  14. local QUEST_4 = 542
  15. local QUEST_5 = 543
  16. local spoke = false
  17. function spawn(NPC)
  18. spoke = false
  19. SetPlayerProximityFunction(NPC, 10, "InRange")
  20. ProvidesQuest(NPC, QUEST_1)
  21. ProvidesQuest(NPC, QUEST_2)
  22. ProvidesQuest(NPC, QUEST_3)
  23. ProvidesQuest(NPC, QUEST_4)
  24. ProvidesQuest(NPC, QUEST_5)
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end
  29. function InRange(NPC, Spawn)
  30. if spoke == false then
  31. spoke = true
  32. local choice = math.random(1, 3)
  33. if choice == 1 then
  34. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quest/quest_enforcer_kurdek_callout_ffe04873.mp3", "The Dreadnaughts control the Sprawl!", "agree", 2336146277, 2662085433, Spawn)
  35. elseif choice == 2 then
  36. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quest/quest_enforcer_kurdek_callout_3890ea9e.mp3", "I'd better not catch any Ashen Order monks sneaking around here!", "threaten", 2065010407, 708114838, Spawn)
  37. elseif choice == 3 then
  38. Say(NPC, "Every gang in Freeport will work for us!", Spawn)
  39. end
  40. AddTimer(NPC, 60000, "ResetSpoke")
  41. end
  42. end
  43. function ResetSpoke(NPC)
  44. spoke = false
  45. end
  46. function hailed(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. if HasQuest(Spawn, MoreBarshing) then
  50. SetStepComplete(Spawn, MoreBarshing, 1)
  51. end
  52. if HasQuest(Spawn, TrollAdventures) then
  53. SetStepComplete(Spawn, TrollAdventures, 1)
  54. end
  55. if GetQuestStep(Spawn, GoVisitTheSprawl) == 1 then
  56. SetStepComplete(Spawn, GoVisitTheSprawl, 1)
  57. end
  58. if HasCompletedQuest(Spawn, QUEST_1) then
  59. if HasCompletedQuest(Spawn, QUEST_2) then
  60. if HasCompletedQuest(Spawn, QUEST_3) then
  61. if HasCompletedQuest(Spawn, QUEST_4) then
  62. if HasCompletedQuest(Spawn, QUEST_5) then
  63. Say(NPC, "Thanks again for helping the dreadnaughts. Stay strong!", Spawn)
  64. elseif HasQuest(Spawn, QUEST_5) then
  65. OnQuest5(NPC, Spawn, conversation)
  66. else
  67. WelcomeBack(NPC, Spawn, conversation)
  68. end
  69. elseif HasQuest(Spawn, QUEST_4) then
  70. OnQuest4(NPC, Spawn, conversation)
  71. else
  72. NiceWork(NPC, Spawn, conversation)
  73. end
  74. elseif HasQuest(Spawn, QUEST_3) then
  75. OnQuest3(NPC, Spawn, conversation)
  76. else
  77. GreetingsAdventurer(NPC, Spawn, conversation)
  78. end
  79. elseif HasQuest(Spawn, QUEST_2) then
  80. OnQuest2(NPC, Spawn, conversation)
  81. else
  82. GreetingsAgain(NPC, Spawn, conversation)
  83. end
  84. elseif HasQuest(Spawn, QUEST_1) then
  85. OnQuest1(NPC, Spawn, conversation)
  86. else
  87. YouMustBeBraver(NPC, Spawn, conversation)
  88. end
  89. end
  90. ------------------------------------------------------------------------------------------------------------------------
  91. -- QUEST 1
  92. ------------------------------------------------------------------------------------------------------------------------
  93. function YouMustBeBraver(NPC, Spawn, conversation)
  94. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek001.mp3", "", "", 873687855, 1608474369, Spawn)
  95. AddConversationOption(conversation, "I'm just here looking for work.", "dlg_10_1")
  96. AddConversationOption(conversation, "No trouble, I'll be moving along.")
  97. StartConversation(conversation, NPC, Spawn, "You must be braver than you look to disturb me! State your business, and do it quickly. That is, unless you're here looking to start trouble.")
  98. end
  99. function dlg_10_1(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek003.mp3", "", "", 3361322241, 3548873750, Spawn)
  103. AddConversationOption(conversation, "So the Dreadnaughts are some kind of gang?", "dlg_10_2")
  104. AddConversationOption(conversation, "Your bravado doesn't interest me.")
  105. StartConversation(conversation, NPC, Spawn, "I'm Enforcer Kurdek of the Dreadnaughts. We are the fist of the Overlord, striking fear into the hearts of his rivals and crushing the bones of his enemies. The Militia may guard the walls of Freeport, but we rule its streets.")
  106. end
  107. function dlg_10_2(NPC, Spawn)
  108. FaceTarget(NPC, Spawn)
  109. conversation = CreateConversation()
  110. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek004.mp3", "", "", 2971300054, 802401353, Spawn)
  111. AddConversationOption(conversation, "Tell me more about the Dreadnaughts.", "dlg_11_3")
  112. AddConversationOption(conversation, "I'm not interested in your gang. What is this place?", "dlg_12_8")
  113. AddConversationOption(conversation, "I think I'll be moving along.")
  114. StartConversation(conversation, NPC, Spawn, "We do rule over all the gangs of Freeport, but the Dreadnaughts are a lot more than that. We keep the smaller gangs in line and maintain order on the streets of Freeport. We have a proud history dating back centuries.")
  115. end
  116. function dlg_11_3(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. conversation = CreateConversation()
  119. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek005.mp3", "", "", 3101195363, 1106471078, Spawn)
  120. AddConversationOption(conversation, "Where did the Dreadnaughts come from?", "dlg_11_4")
  121. AddConversationOption(conversation, "This tale has no interest for me.")
  122. StartConversation(conversation, NPC, Spawn, "The Dreadnaughts are made up of bruisers, which everyone knows are the toughest combatants in all of Norrath. We hone our bodies into lethal weapons, capable of both dishing out and sustaining heavy amounts of damage.")
  123. end
  124. function dlg_11_4(NPC, Spawn)
  125. FaceTarget(NPC, Spawn)
  126. conversation = CreateConversation()
  127. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek006.mp3", "", "", 1592822156, 3131496072, Spawn)
  128. AddConversationOption(conversation, "So the Dreadnaughts used to be monks?", "dlg_11_5")
  129. AddConversationOption(conversation, "I don't believe any of this.")
  130. StartConversation(conversation, NPC, Spawn, "Once there was a weak caste of monks that lived here in Freeport called the Ashen Order. They were lazy anarchists, stubbornly refusing the Overlord's noble efforts to unite our city and lead us into the future. Fortunately, a number of their more enlightened members supported the Overlord and wanted to make something more of themselves.")
  131. end
  132. function dlg_11_5(NPC, Spawn)
  133. FaceTarget(NPC, Spawn)
  134. conversation = CreateConversation()
  135. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek007.mp3", "", "", 2501056164, 792758707, Spawn)
  136. AddConversationOption(conversation, "What happened to the Ashen Order?", "dlg_12_6")
  137. AddConversationOption(conversation, "I think you've been misled, Kurdek.")
  138. StartConversation(conversation, NPC, Spawn, "Originally, yes. But these enlightened members of the order wanted to become something greater than they were. See, the Ashen Order had strength, but they refused to use it for anything productive. They would rather lay around in their dojo than help embrace Freeport's future. They allowed themselves to become weak and corrupt.")
  139. end
  140. function dlg_12_6(NPC, Spawn)
  141. FaceTarget(NPC, Spawn)
  142. conversation = CreateConversation()
  143. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek008.mp3", "", "", 1768991612, 1262532651, Spawn)
  144. AddConversationOption(conversation, "How were the Dreadnaughts formed?", "dlg_12_7")
  145. AddConversationOption(conversation, "I think I'll follow their example and leave.")
  146. StartConversation(conversation, NPC, Spawn, "The Overlord did his best to reform them, but they were just too far gone. Finally he had no choice but to drive the Ashen Order from Freeport. They scurried off to the desert with their tails between their legs, never daring to set foot in our great city again.")
  147. end
  148. function dlg_12_7(NPC, Spawn)
  149. FaceTarget(NPC, Spawn)
  150. conversation = CreateConversation()
  151. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek009.mp3", "", "", 1775956219, 1310346606, Spawn)
  152. AddConversationOption(conversation, "What are you doing here in the Sprawl?", "dlg_12_8")
  153. AddConversationOption(conversation, "I know when I'm being deceived.")
  154. StartConversation(conversation, NPC, Spawn, "Those who were wisest and strongest remained behind in Freeport, determined to build a new order that would be a part of our city's grand destiny. With the Overlord's blessing, the Dreadnaughts were formed. The discipline that the Ashen Order lost was restored, and combined with a new, tougher style of combat. That's why bruisers are so much better than monks at everything they do.")
  155. end
  156. function dlg_12_8(NPC, Spawn)
  157. FaceTarget(NPC, Spawn)
  158. conversation = CreateConversation()
  159. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek011.mp3", "", "", 339942345, 913619397, Spawn)
  160. AddConversationOption(conversation, "What gangs are you talking about?", "dlg_12_9")
  161. AddConversationOption(conversation, "You'll have to control this place on your own.")
  162. StartConversation(conversation, NPC, Spawn, "My job is to watch over the Sprawl and make sure the gangs that control it stay in line. We can't allow their petty rivalries to interfere with the Dreadnaughts' control.")
  163. end
  164. function dlg_12_9(NPC, Spawn)
  165. FaceTarget(NPC, Spawn)
  166. conversation = CreateConversation()
  167. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek012.mp3", "", "", 4086411101, 3781108320, Spawn)
  168. AddConversationOption(conversation, "What other gangs are there?", "dlg_12_10")
  169. AddConversationOption(conversation, "Enough chatter.")
  170. StartConversation(conversation, NPC, Spawn, "There are three gangs that operate here. First is the Giantslayers, a bunch of ruffians who used to be little more than common thugs, though they liked to think they were in charge. The Dreadnaughts got tired of their bragging, so we taught them a lesson. Now they answer to us. Their best members may be allowed to join our order some day. I should warn you, if you mess with the Giantslayers, the Dreadnaughts will take notice.")
  171. end
  172. function dlg_12_10(NPC, Spawn)
  173. FaceTarget(NPC, Spawn)
  174. conversation = CreateConversation()
  175. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek013.mp3", "", "", 957541706, 2141361850, Spawn)
  176. AddConversationOption(conversation, "What is the final gang?", "dlg_12_11")
  177. AddConversationOption(conversation, "None of this is my problem.")
  178. StartConversation(conversation, NPC, Spawn, "Next are the Black Magi, an order of ratonga mages that appeared as Norrath was being torn apart by the Rending. Little is known about them, because they mostly keep to themselves. They seem to hate the Giantslayers, though. I'm under orders to keep a close eye on them.")
  179. end
  180. function dlg_12_11(NPC, Spawn)
  181. FaceTarget(NPC, Spawn)
  182. conversation = CreateConversation()
  183. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek014.mp3", "", "", 337100468, 3493430799, Spawn)
  184. AddConversationOption(conversation, "How did the Sprawl end up like this?", "dlg_12_12")
  185. AddConversationOption(conversation, "Okay, enough chatter. Do you have any work for me?", "dlg_12_15")
  186. AddConversationOption(conversation, "I think it's time to move on.")
  187. StartConversation(conversation, NPC, Spawn, "Last, but most troubling, is the presence of the Dervish Cutthroats. They're a gang of criminals who work illegally out of a distant corner of the Commonlands. They seem to have taken over a very weak gang that used to hang out here, the Guttersnipes. One of my main duties is to find out what the Dervish want. Their presence here is a clear danger to Freeport.")
  188. end
  189. function dlg_12_12(NPC, Spawn)
  190. FaceTarget(NPC, Spawn)
  191. conversation = CreateConversation()
  192. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek015.mp3", "", "", 759884323, 3185216679, Spawn)
  193. AddConversationOption(conversation, "Didn't the Overlord want to rebuild it?", "dlg_12_13")
  194. AddConversationOption(conversation, "I don't have time for sad stories.")
  195. StartConversation(conversation, NPC, Spawn, "What we now call the Sprawl was once an inner city residential district of Freeport. As the city grew, those with money moved to nicer areas, leaving behind the dregs of society. When the Rending struck, this place was hit pretty hard.")
  196. end
  197. function dlg_12_13(NPC, Spawn)
  198. FaceTarget(NPC, Spawn)
  199. conversation = CreateConversation()
  200. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek016.mp3", "", "", 2641573329, 4171213682, Spawn)
  201. AddConversationOption(conversation, "Is there no law and order here?", "dlg_12_14")
  202. AddConversationOption(conversation, "Time for me to leave.")
  203. StartConversation(conversation, NPC, Spawn, "There was no point in rebuilding. New residential districts like Big Bend and the Scale Yard had already been established, and there was simply too much damage to justify the expense. The old windmills that used to supply some of Freeport's energy were obsolete, so there was nothing worth saving here. The Overlord decided to leave this place as is.")
  204. end
  205. function dlg_12_14(NPC, Spawn)
  206. FaceTarget(NPC, Spawn)
  207. conversation = CreateConversation()
  208. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek017.mp3", "", "", 2753020980, 1722099722, Spawn)
  209. AddConversationOption(conversation, "What can I do to aid the Dreadnaughts?", "dlg_12_15")
  210. AddConversationOption(conversation, "I think I'll be going now.")
  211. StartConversation(conversation, NPC, Spawn, "The Freeport Militia has a few members here, just to make sure none of these hoodlums try to enter the city proper. But the Sprawl actually serves a useful purpose for the Dreadnaughts. We dominate the smaller gangs and look for worthwhile recruits for our order. Those who prove themselves on these streets may have a future with us.")
  212. end
  213. function dlg_12_15(NPC, Spawn)
  214. FaceTarget(NPC, Spawn)
  215. conversation = CreateConversation()
  216. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek018.mp3", "", "", 1172539182, 759080499, Spawn)
  217. AddConversationOption(conversation, "I'm up for it. What's the first task?", "dlg_12_16")
  218. AddConversationOption(conversation, "No thanks, I'm not your messenger.")
  219. StartConversation(conversation, NPC, Spawn, "Right to the point, eh? I like that. Well, you can lend a hand in checking on some of these gangs, make sure they're keeping in line.")
  220. end
  221. function dlg_12_16(NPC, Spawn)
  222. FaceTarget(NPC, Spawn)
  223. conversation = CreateConversation()
  224. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek019.mp3", "", "", 2830815918, 3015653280, Spawn)
  225. AddConversationOption(conversation, "Where can I find Durbok?", "OfferQuest1")
  226. AddConversationOption(conversation, "Run your own errands.")
  227. StartConversation(conversation, NPC, Spawn, "I assigned one of our best trainers, an ogre named Durbok, to teach the Giantslayers some of our combat tactics. I need you to go to him and get a report on the progress of the trainees. Tell him I sent you so that he'll cooperate.")
  228. end
  229. function OfferQuest1(NPC, Spawn)
  230. FaceTarget(NPC, Spawn)
  231. OfferQuest(NPC, Spawn, QUEST_1)
  232. end
  233. function OnQuest1(NPC, Spawn, conversation)
  234. if GetQuestStep(Spawn, QUEST_1) == 2 then
  235. AddConversationOption(conversation, "Yes, he told me that the Giantslayers aren't progressing as well as he'd like.", "dlg_25_1")
  236. end
  237. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek021.mp3", "", "", 3599945718, 484247249, Spawn)
  238. AddConversationOption(conversation, "Not yet.")
  239. StartConversation(conversation, NPC, Spawn, "Did you get that progress report from Trainer Durbok yet?")
  240. end
  241. function dlg_25_1(NPC, Spawn)
  242. SetStepComplete(Spawn, QUEST_1, 2)
  243. FaceTarget(NPC, Spawn)
  244. conversation = CreateConversation()
  245. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek022.mp3", "", "", 1909175152, 30886164, Spawn)
  246. AddConversationOption(conversation, "He said their leader, Brutemaster Tarden, was more interested in lining his own pockets than training his forces.", "dlg_25_2")
  247. AddConversationOption(conversation, "I'd rather not discuss it.")
  248. StartConversation(conversation, NPC, Spawn, "That's what I suspected! Did he tell you why?")
  249. end
  250. ------------------------------------------------------------------------------------------------------------------------
  251. -- QUEST 2
  252. ------------------------------------------------------------------------------------------------------------------------
  253. function GreetingsAgain(NPC, Spawn, conversation)
  254. AddConversationOption(conversation, "It seems their boss, Brutemaster Tarden, is the key.", "dlg_25_2")
  255. AddConversationOption(conversation, "Not yet.")
  256. StartConversation(conversation, NPC, Spawn, "Greetings once again. Are you ready to supply some 'proper motivation' to the leader of the giant slayers?")
  257. end
  258. function dlg_25_2(NPC, Spawn)
  259. FaceTarget(NPC, Spawn)
  260. conversation = CreateConversation()
  261. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek023.mp3", "", "", 3282987047, 3481980081, Spawn)
  262. AddConversationOption(conversation, "I'll give it a shot.", "dlg_25_3")
  263. AddConversationOption(conversation, "No thanks.")
  264. StartConversation(conversation, NPC, Spawn, "It's time to remind that fool Tarden of his responsibilities. Say, how would you like to play the role of a Dreadnaught Enforcer for a day?")
  265. end
  266. function dlg_25_3(NPC, Spawn)
  267. FaceTarget(NPC, Spawn)
  268. conversation = CreateConversation()
  269. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek024.mp3", "", "", 820911238, 205246432, Spawn)
  270. AddConversationOption(conversation, "What if he refuses to cooperate?", "OfferQuest2")
  271. StartConversation(conversation, NPC, Spawn, "Time to have a little fun with this buffoon! Go find the boss of the Giantslayers, Brutemaster Tarden. He's probably walking back and forth through the area where his gang hangs out. Confront him and tell him you're one of the Dreadnaughts. Let him know we're tired of his greed and laziness, and that he better get busy training his people.")
  272. end
  273. function OfferQuest2(NPC, Spawn)
  274. FaceTarget(NPC, Spawn)
  275. OfferQuest(NPC, Spawn, QUEST_2)
  276. end
  277. function OnQuest2(NPC, Spawn, conversation)
  278. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek026.mp3", "", "", 1764893245, 720511474, Spawn)
  279. if GetQuestStep(Spawn, QUEST_2) == 2 then
  280. AddConversationOption(conversation, "Yes, but I had to get a little rough with him.", "dlg_27_1")
  281. end
  282. AddConversationOption(conversation, "Not yet.")
  283. StartConversation(conversation, NPC, Spawn, "Have you confronted Brutemaster Tarden and got him back on track yet?")
  284. end
  285. function dlg_27_1(NPC, Spawn)
  286. SetStepComplete(Spawn, QUEST_2, 2)
  287. FaceTarget(NPC, Spawn)
  288. conversation = CreateConversation()
  289. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek027.mp3", "", "", 3293144589, 323622543, Spawn)
  290. AddConversationOption(conversation, "What else would you like me to do?", "dlg_27_2")
  291. AddConversationOption(conversation, "I think our business is concluded.")
  292. StartConversation(conversation, NPC, Spawn, "Good work! Don't worry about roughing Tarden up. He had it coming to him! He won't be so quick to ignore orders from his superiors in the future.")
  293. end
  294. ------------------------------------------------------------------------------------------------------------------------
  295. -- QUEST 3
  296. ------------------------------------------------------------------------------------------------------------------------
  297. function GreetingsAdventurer(NPC, Spawn, conversation)
  298. FaceTarget(NPC, Spawn)
  299. conversation = CreateConversation()
  300. AddConversationOption(conversation, "Can I lend you a hand?", "dlg_27_2")
  301. AddConversationOption(conversation, "Sounds like you have work to do.")
  302. StartConversation(conversation, NPC, Spawn, "Greetings adventurer. These rival gangs must be kept under the control of the Dreadnaughts.")
  303. end
  304. function dlg_27_2(NPC, Spawn)
  305. FaceTarget(NPC, Spawn)
  306. conversation = CreateConversation()
  307. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek028.mp3", "", "", 200650494, 3868034746, Spawn)
  308. AddConversationOption(conversation, "Sure, if this job is as rewarding as the last.", "dlg_27_3")
  309. AddConversationOption(conversation, "No thanks.")
  310. StartConversation(conversation, NPC, Spawn, "I could really use your help checking up on the other gangs here in the Sprawl. Will you lend me a hand?")
  311. end
  312. function dlg_27_3(NPC, Spawn)
  313. FaceTarget(NPC, Spawn)
  314. conversation = CreateConversation()
  315. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek029.mp3", "", "", 229557980, 3056293527, Spawn)
  316. AddConversationOption(conversation, "What do you want me to do there?", "OfferQuest3")
  317. AddConversationOption(conversation, "Rats? Forget it!")
  318. StartConversation(conversation, NPC, Spawn, "Ha! That's the spirit! I think you might make a good Dreadnaught some day. Okay, here's what I want you to do. Head past the Giantslayers and keep going south past the gateway to the Commonlands. You'll be in the heart of the Black Magi, those sneaky little ratonga.")
  319. end
  320. function OfferQuest3(NPC, Spawn)
  321. FaceTarget(NPC, Spawn)
  322. OfferQuest(NPC, Spawn, QUEST_3)
  323. end
  324. function OnQuest3(NPC, Spawn, conversation)
  325. if GetQuestStep(Spawn, QUEST_3) == 2 then
  326. AddConversationOption(conversation, "I found her, but she wouldn't reveal much to me.", "dlg_30_1")
  327. end
  328. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek034.mp3", "", "", 1199347537, 124771844, Spawn)
  329. AddConversationOption(conversation, "Not yet.")
  330. StartConversation(conversation, NPC, Spawn, "Did you find Tikkeri and learn anything about the Black Magi?")
  331. end
  332. function dlg_27_5(NPC, Spawn)
  333. FaceTarget(NPC, Spawn)
  334. conversation = CreateConversation()
  335. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek031.mp3", "", "", 2755416123, 3102178981, Spawn)
  336. AddConversationOption(conversation, "What 'wheel' are you talking about?", "dlg_27_6")
  337. AddConversationOption(conversation, "Forget it, this sounds cheesy.")
  338. StartConversation(conversation, NPC, Spawn, "Well, she won't respond if she thinks you're there on Dreadnaught business. Hmm... Wait, I have an idea! Tell her you've got information on 'the wheel.'")
  339. end
  340. function dlg_27_6(NPC, Spawn)
  341. FaceTarget(NPC, Spawn)
  342. conversation = CreateConversation()
  343. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek032.mp3", "", "", 1619463323, 6558456, Spawn)
  344. AddConversationOption(conversation, "I'll give it a try.", "dlg_27_7")
  345. StartConversation(conversation, NPC, Spawn, "You don't need to know what it means. Maybe you'll find out someday. Anyhow, just tell her you might be willing to trade information on 'the wheel' if you know you can trust her. That might get Tikkeri to open up. Come back after you've learned something useful from her.")
  346. end
  347. function dlg_27_7(NPC, Spawn)
  348. FaceTarget(NPC, Spawn)
  349. conversation = CreateConversation()
  350. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek033.mp3", "", "", 4228654183, 2166067053, Spawn)
  351. AddConversationOption(conversation, "Thanks for the advice. I'll be back.")
  352. StartConversation(conversation, NPC, Spawn, "Oh, just a word of warning. The Black Magi are fair game if you want to fight any of them, but it will be a lot harder for you to reach Tikkeri if you make an enemy out of their gang. I suggest you finish this task before you do much ratonga hunting.")
  353. end
  354. function dlg_30_1(NPC, Spawn)
  355. FaceTarget(NPC, Spawn)
  356. conversation = CreateConversation()
  357. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek035.mp3", "", "", 4223119481, 1134215352, Spawn)
  358. AddConversationOption(conversation, "She mentioned that 'the Marked' would be rising to power, and we'd hear more of them soon.", "dlg_30_2")
  359. AddConversationOption(conversation, "I don't want to share that information.")
  360. StartConversation(conversation, NPC, Spawn, "Well, something is better than nothing. What did she say?")
  361. end
  362. function dlg_30_2(NPC, Spawn)
  363. SetStepComplete(Spawn, QUEST_3, 2)
  364. FaceTarget(NPC, Spawn)
  365. conversation = CreateConversation()
  366. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek036.mp3", "", "", 4111858897, 274557539, Spawn)
  367. AddConversationOption(conversation, "Thank you. Anything else I can help you with?", "dlg_30_3")
  368. AddConversationOption(conversation, "Sounds like a good time to be going.")
  369. StartConversation(conversation, NPC, Spawn, "She said 'the Marked'? That's very interesting. I've heard rumors of other ratonga around Norrath muttering that phrase in veiled whispers. It seems like something big might be brewing. I'll let my superiors back in the city know what you found out. Well done!")
  370. end
  371. ------------------------------------------------------------------------------------------------------------------------
  372. -- QUEST 4
  373. ------------------------------------------------------------------------------------------------------------------------
  374. function NiceWork(NPC, Spawn, conversation)
  375. FaceTarget(NPC, Spawn)
  376. conversation = CreateConversation()
  377. AddConversationOption(conversation, "What did you have in mind?", "dlg_30_3")
  378. AddConversationOption(conversation, "No thanks.")
  379. StartConversation(conversation, NPC, Spawn, "Nice work obtaining information from the Black Magi. Are you ready for a tougher assignment?")
  380. end
  381. function dlg_30_3(NPC, Spawn)
  382. FaceTarget(NPC, Spawn)
  383. conversation = CreateConversation()
  384. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek037.mp3", "", "", 2350612963, 4036765011, Spawn)
  385. AddConversationOption(conversation, "I'm up for the challenge.", "dlg_30_4")
  386. AddConversationOption(conversation, "No thanks.")
  387. StartConversation(conversation, NPC, Spawn, "The largest gang here in the Sprawl is without question the most dangerous. The Dervish Cutthroats are scum, pure and simple. They need to be taught a lesson.")
  388. end
  389. function dlg_30_4(NPC, Spawn)
  390. FaceTarget(NPC, Spawn)
  391. conversation = CreateConversation()
  392. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek038.mp3", "", "", 2271152458, 1644298749, Spawn)
  393. AddConversationOption(conversation, "How should I proceed?", "OfferQuest4")
  394. StartConversation(conversation, NPC, Spawn, "To the south of here, you'll find the streets lined with those accursed Dervish. These lowlifes are nowhere near as tough as their superiors in the Commonlands, but beware their numbers. I need you to thin them out a bit and show them that the Dreadnaughts are still in control around here.")
  395. end
  396. function OfferQuest4(NPC, Spawn)
  397. FaceTarget(NPC, Spawn)
  398. OfferQuest(NPC, Spawn, QUEST_4)
  399. end
  400. function OnQuest4(NPC, Spawn, conversation)
  401. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek040.mp3", "", "", 2354759154, 3667485927, Spawn)
  402. if GetQuestStep(Spawn, QUEST_4) == 4 then
  403. AddConversationOption(conversation, "There are a good number of Dervish who won't be threatening Freeport any longer.", "dlg_32_1")
  404. end
  405. AddConversationOption(conversation, "Not yet.")
  406. StartConversation(conversation, NPC, Spawn, "Did you teach those filthy Dervish a lesson?")
  407. end
  408. function dlg_32_1(NPC, Spawn)
  409. SetStepComplete(Spawn, QUEST_4, 4)
  410. FaceTarget(NPC, Spawn)
  411. conversation = CreateConversation()
  412. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek041.mp3", "", "", 459171566, 399692655, Spawn)
  413. AddConversationOption(conversation, "Thanks. Do you have any further jobs for me?", "dlg_32_2")
  414. AddConversationOption(conversation, "No way. I'm done with this kind of work.")
  415. StartConversation(conversation, NPC, Spawn, "Nice work! Those Dervish will know better than to mess with us in the future. I must say, I was skeptical when first I saw you, but you've proved to be Dreadnaught material. You've helped us a lot out here in the Sprawl, so accept this reward on behalf of the Dreadnaughts.")
  416. end
  417. ------------------------------------------------------------------------------------------------------------------------
  418. -- QUEST 5
  419. ------------------------------------------------------------------------------------------------------------------------
  420. function WelcomeBack(NPC, Spawn, conversation)
  421. FaceTarget(NPC, Spawn)
  422. conversation = CreateConversation()
  423. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek042.mp3", "", "", 3199383126, 2868778481, Spawn)
  424. AddConversationOption(conversation, "Do you have anything else for me?", "dlg_32_2")
  425. AddConversationOption(conversation, "I'm through talking to you.")
  426. StartConversation(conversation, NPC, Spawn, "Welcome back, adventurer. You've done some nice work around here.")
  427. end
  428. function dlg_32_2(NPC, Spawn)
  429. FaceTarget(NPC, Spawn)
  430. conversation = CreateConversation()
  431. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek042.mp3", "", "", 3199383126, 2868778481, Spawn)
  432. AddConversationOption(conversation, "Duly noted. Anything else?", "OfferQuest5")
  433. StartConversation(conversation, NPC, Spawn, "I've got to get back to my duties. I told Trainer Durbok that you might be interested in lending a hand in keeping his training ground clear, so you might want to have a word with him. You could also strike out on your own and clear some of the thugs from these mean streets. But like I warned you before, if you mess with the Giantslayers you will draw the attention of the Dreadnaughts.")
  434. end
  435. function OfferQuest5(NPC, Spawn)
  436. FaceTarget(NPC, Spawn)
  437. OfferQuest(NPC, Spawn, QUEST_5)
  438. end
  439. function OnQuest5(NPC, Spawn, conversation)
  440. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek043.mp3", "", "", 1861012696, 1699746787, Spawn)
  441. AddConversationOption(conversation, "How should I get there?", "dlg_32_4")
  442. StartConversation(conversation, NPC, Spawn, "Don't linger here too long, adventurer. I just got word of something major happening in the Ruins of old Freeport. You need to get there as soon as possible and lend a hand in defending the city.")
  443. end
  444. function dlg_32_4(NPC, Spawn)
  445. FaceTarget(NPC, Spawn)
  446. conversation = CreateConversation()
  447. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek044.mp3", "", "", 3653537758, 3291895928, Spawn)
  448. AddConversationOption(conversation, "Are there any other locations for adventure that you could suggest?", "dlg_32_5")
  449. StartConversation(conversation, NPC, Spawn, "Your best route is to go back through the city, either through Big Bend or the Scale Yard. Head to the docks, then ring the bell to travel outside Freeport proper. Head to the Ruins and seek out a friend of mine in the Freeport Militia, Captain Arellius. Get moving!")
  450. end
  451. function dlg_32_5(NPC, Spawn)
  452. FaceTarget(NPC, Spawn)
  453. conversation = CreateConversation()
  454. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek044b.mp3", "", "", 1076595806, 3802376604, Spawn)
  455. AddConversationOption(conversation, "Please tell me more about Custodian Zaddar.", "dlg_32_6")
  456. AddConversationOption(conversation, "Please tell me more about Inquisitor Thorson.", "dlg_32_7")
  457. AddConversationOption(conversation, "Thank you, I may seek them out.")
  458. StartConversation(conversation, NPC, Spawn, "I know others in Freeport who could use your help as well. Custodian Zaddar in the Graveyard is investigating a rise in undead activity, and Inquisitor Throson in the Sunken City is delving into an ancient mystery. Both could use the aid of a hero like you, Whipew.")
  459. end
  460. function dlg_32_6(NPC, Spawn)
  461. FaceTarget(NPC, Spawn)
  462. conversation = CreateConversation()
  463. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek056.mp3", "", "", 407333436, 4264887300, Spawn)
  464. AddConversationOption(conversation, "Please tell me more about Inquisitor Thorson.", "dlg_32_7")
  465. AddConversationOption(conversation, "Thank you for the information.")
  466. StartConversation(conversation, NPC, Spawn, "Custodian Zaddar in the Graveyard is trying to determine what's behind a recent increase in undead attacks. Use the mariner's bell on the docks of your home district to travel to Stonestair Byway. Head west until you see a passage to the south. The gate at the end leads to the Graveyard.")
  467. end
  468. function dlg_32_7(NPC, Spawn)
  469. FaceTarget(NPC, Spawn)
  470. conversation = CreateConversation()
  471. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek057.mp3", "", "", 1278127784, 3972904747, Spawn)
  472. AddConversationOption(conversation, "Please tell me more about Custodian Zaddar.", "dlg_32_6")
  473. AddConversationOption(conversation, "Thank you for the information.")
  474. StartConversation(conversation, NPC, Spawn, "Inquisitor Thorson in the Sunken City needs help investigating ancient mysteries that threaten Freeport's safety. To travel to the Sunken City, use the mariner's bell on the docks of your home district to travel outside Freeport and chose Sunken City as your destination.")
  475. end