9
3

EnforcerKurdek.lua 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. --[[
  2. Script Name : SpawnScripts/Sprawl/EnforcerKurdek.lua
  3. Script Purpose : Enforcer Kurdek <Dreadnaught>
  4. Script Author : Scatman
  5. Script Date : 2008.09.29
  6. Script Notes :
  7. --]]
  8. local QUEST_FROM_BIGBEND_KROOTA = 169
  9. local QUEST_FROM_SCALEYARD_CLANCHEIFMALACHI = 203
  10. local QUEST_1 = 253
  11. local QUEST_2 = 254
  12. local QUEST_3 = 255
  13. local QUEST_4 = 256
  14. local QUEST_5 = 257
  15. local spoke = false
  16. function spawn(NPC)
  17. spoke = false
  18. SetPlayerProximityFunction(NPC, 10, "InRange")
  19. ProvidesQuest(NPC, QUEST_1)
  20. ProvidesQuest(NPC, QUEST_2)
  21. ProvidesQuest(NPC, QUEST_3)
  22. ProvidesQuest(NPC, QUEST_4)
  23. ProvidesQuest(NPC, QUEST_5)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function InRange(NPC, Spawn)
  29. if spoke == false then
  30. spoke = true
  31. local choice = math.random(1, 3)
  32. if choice == 1 then
  33. 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)
  34. elseif choice == 2 then
  35. 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)
  36. elseif choice == 3 then
  37. Say(NPC, "Every gang in Freeport will work for us!", Spawn)
  38. end
  39. AddTimer(NPC, 60000, "ResetSpoke")
  40. end
  41. end
  42. function ResetSpoke(NPC)
  43. spoke = false
  44. end
  45. function hailed(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. if HasQuest(Spawn, QUEST_FROM_BIGBEND_KROOTA) then
  49. SetStepComplete(Spawn, QUEST_FROM_BIGBEND_KROOTA, 1)
  50. end
  51. if HasQuest(Spawn, QUEST_FROM_SCALEYARD_CLANCHEIFMALACHI) then
  52. SetStepComplete(Spawn, QUEST_FROM_SCALEYARD_CLANCHEIFMALACHI, 1)
  53. end
  54. if HasCompletedQuest(Spawn, QUEST_1) then
  55. if HasCompletedQuest(Spawn, QUEST_2) then
  56. if HasCompletedQuest(Spawn, QUEST_3) then
  57. if HasCompletedQuest(Spawn, QUEST_4) then
  58. if HasCompletedQuest(Spawn, QUEST_5) then
  59. Say(NPC, "Thanks again for helping the dreadnaughts. Stay strong!", Spawn)
  60. elseif HasQuest(Spawn, QUEST_5) then
  61. OnQuest5(NPC, Spawn, conversation)
  62. else
  63. WelcomeBack(NPC, Spawn, conversation)
  64. end
  65. elseif HasQuest(Spawn, QUEST_4) then
  66. OnQuest4(NPC, Spawn, conversation)
  67. else
  68. NiceWork(NPC, Spawn, conversation)
  69. end
  70. elseif HasQuest(Spawn, QUEST_3) then
  71. OnQuest3(NPC, Spawn, conversation)
  72. else
  73. GreetingsAdventurer(NPC, Spawn, conversation)
  74. end
  75. elseif HasQuest(Spawn, QUEST_2) then
  76. OnQuest2(NPC, Spawn, conversation)
  77. else
  78. GreetingsAgain(NPC, Spawn, conversation)
  79. end
  80. elseif HasQuest(Spawn, QUEST_1) then
  81. OnQuest1(NPC, Spawn, conversation)
  82. else
  83. YouMustBeBraver(NPC, Spawn, conversation)
  84. end
  85. end
  86. ------------------------------------------------------------------------------------------------------------------------
  87. -- QUEST 1
  88. ------------------------------------------------------------------------------------------------------------------------
  89. function YouMustBeBraver(NPC, Spawn, conversation)
  90. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek001.mp3", "", "", 873687855, 1608474369, Spawn)
  91. AddConversationOption(conversation, "I'm just here looking for work.", "dlg_10_1")
  92. AddConversationOption(conversation, "No trouble, I'll be moving along.")
  93. 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.")
  94. end
  95. function dlg_10_1(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek003.mp3", "", "", 3361322241, 3548873750, Spawn)
  99. AddConversationOption(conversation, "So the Dreadnaughts are some kind of gang?", "dlg_10_2")
  100. AddConversationOption(conversation, "Your bravado doesn't interest me.")
  101. 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.")
  102. end
  103. function dlg_10_2(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek004.mp3", "", "", 2971300054, 802401353, Spawn)
  107. AddConversationOption(conversation, "Tell me more about the Dreadnaughts.", "dlg_11_3")
  108. AddConversationOption(conversation, "I'm not interested in your gang. What is this place?", "dlg_12_8")
  109. AddConversationOption(conversation, "I think I'll be moving along.")
  110. 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.")
  111. end
  112. function dlg_11_3(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek005.mp3", "", "", 3101195363, 1106471078, Spawn)
  116. AddConversationOption(conversation, "Where did the Dreadnaughts come from?", "dlg_11_4")
  117. AddConversationOption(conversation, "This tale has no interest for me.")
  118. 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.")
  119. end
  120. function dlg_11_4(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek006.mp3", "", "", 1592822156, 3131496072, Spawn)
  124. AddConversationOption(conversation, "So the Dreadnaughts used to be monks?", "dlg_11_5")
  125. AddConversationOption(conversation, "I don't believe any of this.")
  126. 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.")
  127. end
  128. function dlg_11_5(NPC, Spawn)
  129. FaceTarget(NPC, Spawn)
  130. conversation = CreateConversation()
  131. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek007.mp3", "", "", 2501056164, 792758707, Spawn)
  132. AddConversationOption(conversation, "What happened to the Ashen Order?", "dlg_12_6")
  133. AddConversationOption(conversation, "I think you've been misled, Kurdek.")
  134. 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.")
  135. end
  136. function dlg_12_6(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek008.mp3", "", "", 1768991612, 1262532651, Spawn)
  140. AddConversationOption(conversation, "How were the Dreadnaughts formed?", "dlg_12_7")
  141. AddConversationOption(conversation, "I think I'll follow their example and leave.")
  142. 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.")
  143. end
  144. function dlg_12_7(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek009.mp3", "", "", 1775956219, 1310346606, Spawn)
  148. AddConversationOption(conversation, "What are you doing here in the Sprawl?", "dlg_12_8")
  149. AddConversationOption(conversation, "I know when I'm being deceived.")
  150. 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.")
  151. end
  152. function dlg_12_8(NPC, Spawn)
  153. FaceTarget(NPC, Spawn)
  154. conversation = CreateConversation()
  155. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek011.mp3", "", "", 339942345, 913619397, Spawn)
  156. AddConversationOption(conversation, "What gangs are you talking about?", "dlg_12_9")
  157. AddConversationOption(conversation, "You'll have to control this place on your own.")
  158. 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.")
  159. end
  160. function dlg_12_9(NPC, Spawn)
  161. FaceTarget(NPC, Spawn)
  162. conversation = CreateConversation()
  163. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek012.mp3", "", "", 4086411101, 3781108320, Spawn)
  164. AddConversationOption(conversation, "What other gangs are there?", "dlg_12_10")
  165. AddConversationOption(conversation, "Enough chatter.")
  166. 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.")
  167. end
  168. function dlg_12_10(NPC, Spawn)
  169. FaceTarget(NPC, Spawn)
  170. conversation = CreateConversation()
  171. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek013.mp3", "", "", 957541706, 2141361850, Spawn)
  172. AddConversationOption(conversation, "What is the final gang?", "dlg_12_11")
  173. AddConversationOption(conversation, "None of this is my problem.")
  174. 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.")
  175. end
  176. function dlg_12_11(NPC, Spawn)
  177. FaceTarget(NPC, Spawn)
  178. conversation = CreateConversation()
  179. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek014.mp3", "", "", 337100468, 3493430799, Spawn)
  180. AddConversationOption(conversation, "How did the Sprawl end up like this?", "dlg_12_12")
  181. AddConversationOption(conversation, "Okay, enough chatter. Do you have any work for me?", "dlg_12_15")
  182. AddConversationOption(conversation, "I think it's time to move on.")
  183. 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.")
  184. end
  185. function dlg_12_12(NPC, Spawn)
  186. FaceTarget(NPC, Spawn)
  187. conversation = CreateConversation()
  188. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek015.mp3", "", "", 759884323, 3185216679, Spawn)
  189. AddConversationOption(conversation, "Didn't the Overlord want to rebuild it?", "dlg_12_13")
  190. AddConversationOption(conversation, "I don't have time for sad stories.")
  191. 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.")
  192. end
  193. function dlg_12_13(NPC, Spawn)
  194. FaceTarget(NPC, Spawn)
  195. conversation = CreateConversation()
  196. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek016.mp3", "", "", 2641573329, 4171213682, Spawn)
  197. AddConversationOption(conversation, "Is there no law and order here?", "dlg_12_14")
  198. AddConversationOption(conversation, "Time for me to leave.")
  199. 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.")
  200. end
  201. function dlg_12_14(NPC, Spawn)
  202. FaceTarget(NPC, Spawn)
  203. conversation = CreateConversation()
  204. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek017.mp3", "", "", 2753020980, 1722099722, Spawn)
  205. AddConversationOption(conversation, "What can I do to aid the Dreadnaughts?", "dlg_12_15")
  206. AddConversationOption(conversation, "I think I'll be going now.")
  207. 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.")
  208. end
  209. function dlg_12_15(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. conversation = CreateConversation()
  212. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek018.mp3", "", "", 1172539182, 759080499, Spawn)
  213. AddConversationOption(conversation, "I'm up for it. What's the first task?", "dlg_12_16")
  214. AddConversationOption(conversation, "No thanks, I'm not your messenger.")
  215. 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.")
  216. end
  217. function dlg_12_16(NPC, Spawn)
  218. FaceTarget(NPC, Spawn)
  219. conversation = CreateConversation()
  220. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek019.mp3", "", "", 2830815918, 3015653280, Spawn)
  221. AddConversationOption(conversation, "Where can I find Durbok?", "OfferQuest1")
  222. AddConversationOption(conversation, "Run your own errands.")
  223. 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.")
  224. end
  225. function OfferQuest1(NPC, Spawn)
  226. FaceTarget(NPC, Spawn)
  227. OfferQuest(NPC, Spawn, QUEST_1)
  228. end
  229. function OnQuest1(NPC, Spawn, conversation)
  230. if GetQuestStep(Spawn, QUEST_1) == 2 then
  231. AddConversationOption(conversation, "Yes, he told me that the Giantslayers aren't progressing as well as he'd like.", "dlg_25_1")
  232. end
  233. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek021.mp3", "", "", 3599945718, 484247249, Spawn)
  234. AddConversationOption(conversation, "Not yet.")
  235. StartConversation(conversation, NPC, Spawn, "Did you get that progress report from Trainer Durbok yet?")
  236. end
  237. function dlg_25_1(NPC, Spawn)
  238. SetStepComplete(Spawn, QUEST_1, 2)
  239. FaceTarget(NPC, Spawn)
  240. conversation = CreateConversation()
  241. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek022.mp3", "", "", 1909175152, 30886164, Spawn)
  242. AddConversationOption(conversation, "He said their leader, Brutemaster Tarden, was more interested in lining his own pockets than training his forces.", "dlg_25_2")
  243. AddConversationOption(conversation, "I'd rather not discuss it.")
  244. StartConversation(conversation, NPC, Spawn, "That's what I suspected! Did he tell you why?")
  245. end
  246. ------------------------------------------------------------------------------------------------------------------------
  247. -- QUEST 2
  248. ------------------------------------------------------------------------------------------------------------------------
  249. function GreetingsAgain(NPC, Spawn, conversation)
  250. AddConversationOption(conversation, "It seems their boss, Brutemaster Tarden, is the key.", "dlg_25_2")
  251. AddConversationOption(conversation, "Not yet.")
  252. StartConversation(conversation, NPC, Spawn, "Greetings once again. Are you ready to supply some 'proper motivation' to the leader of the giant slayers?")
  253. end
  254. function dlg_25_2(NPC, Spawn)
  255. FaceTarget(NPC, Spawn)
  256. conversation = CreateConversation()
  257. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek023.mp3", "", "", 3282987047, 3481980081, Spawn)
  258. AddConversationOption(conversation, "I'll give it a shot.", "dlg_25_3")
  259. AddConversationOption(conversation, "No thanks.")
  260. 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?")
  261. end
  262. function dlg_25_3(NPC, Spawn)
  263. FaceTarget(NPC, Spawn)
  264. conversation = CreateConversation()
  265. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek024.mp3", "", "", 820911238, 205246432, Spawn)
  266. AddConversationOption(conversation, "What if he refuses to cooperate?", "OfferQuest2")
  267. 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.")
  268. end
  269. function OfferQuest2(NPC, Spawn)
  270. FaceTarget(NPC, Spawn)
  271. OfferQuest(NPC, Spawn, QUEST_2)
  272. end
  273. function OnQuest2(NPC, Spawn, conversation)
  274. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek026.mp3", "", "", 1764893245, 720511474, Spawn)
  275. if GetQuestStep(Spawn, QUEST_2) == 2 then
  276. AddConversationOption(conversation, "Yes, but I had to get a little rough with him.", "dlg_27_1")
  277. end
  278. AddConversationOption(conversation, "Not yet.")
  279. StartConversation(conversation, NPC, Spawn, "Have you confronted Brutemaster Tarden and got him back on track yet?")
  280. end
  281. function dlg_27_1(NPC, Spawn)
  282. SetStepComplete(Spawn, QUEST_2, 2)
  283. FaceTarget(NPC, Spawn)
  284. conversation = CreateConversation()
  285. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek027.mp3", "", "", 3293144589, 323622543, Spawn)
  286. AddConversationOption(conversation, "What else would you like me to do?", "dlg_27_2")
  287. AddConversationOption(conversation, "I think our business is concluded.")
  288. 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.")
  289. end
  290. ------------------------------------------------------------------------------------------------------------------------
  291. -- QUEST 3
  292. ------------------------------------------------------------------------------------------------------------------------
  293. function GreetingsAdventurer(NPC, Spawn, conversation)
  294. FaceTarget(NPC, Spawn)
  295. conversation = CreateConversation()
  296. AddConversationOption(conversation, "Can I lend you a hand?", "dlg_27_2")
  297. AddConversationOption(conversation, "Sounds like you have work to do.")
  298. StartConversation(conversation, NPC, Spawn, "Greetings adventurer. These rival gangs must be kept under the control of the Dreadnaughts.")
  299. end
  300. function dlg_27_2(NPC, Spawn)
  301. FaceTarget(NPC, Spawn)
  302. conversation = CreateConversation()
  303. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek028.mp3", "", "", 200650494, 3868034746, Spawn)
  304. AddConversationOption(conversation, "Sure, if this job is as rewarding as the last.", "dlg_27_3")
  305. AddConversationOption(conversation, "No thanks.")
  306. 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?")
  307. end
  308. function dlg_27_3(NPC, Spawn)
  309. FaceTarget(NPC, Spawn)
  310. conversation = CreateConversation()
  311. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek029.mp3", "", "", 229557980, 3056293527, Spawn)
  312. AddConversationOption(conversation, "What do you want me to do there?", "OfferQuest3")
  313. AddConversationOption(conversation, "Rats? Forget it!")
  314. 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.")
  315. end
  316. function OfferQuest3(NPC, Spawn)
  317. FaceTarget(NPC, Spawn)
  318. OfferQuest(NPC, Spawn, QUEST_3)
  319. end
  320. function OnQuest3(NPC, Spawn, conversation)
  321. if GetQuestStep(Spawn, QUEST_3) == 2 then
  322. AddConversationOption(conversation, "I found her, but she wouldn't reveal much to me.", "dlg_30_1")
  323. end
  324. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek034.mp3", "", "", 1199347537, 124771844, Spawn)
  325. AddConversationOption(conversation, "Not yet.")
  326. StartConversation(conversation, NPC, Spawn, "Did you find Tikkeri and learn anything about the Black Magi?")
  327. end
  328. function dlg_27_5(NPC, Spawn)
  329. FaceTarget(NPC, Spawn)
  330. conversation = CreateConversation()
  331. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek031.mp3", "", "", 2755416123, 3102178981, Spawn)
  332. AddConversationOption(conversation, "What 'wheel' are you talking about?", "dlg_27_6")
  333. AddConversationOption(conversation, "Forget it, this sounds cheesy.")
  334. 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.'")
  335. end
  336. function dlg_27_6(NPC, Spawn)
  337. FaceTarget(NPC, Spawn)
  338. conversation = CreateConversation()
  339. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek032.mp3", "", "", 1619463323, 6558456, Spawn)
  340. AddConversationOption(conversation, "I'll give it a try.", "dlg_27_7")
  341. 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.")
  342. end
  343. function dlg_27_7(NPC, Spawn)
  344. FaceTarget(NPC, Spawn)
  345. conversation = CreateConversation()
  346. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek033.mp3", "", "", 4228654183, 2166067053, Spawn)
  347. AddConversationOption(conversation, "Thanks for the advice. I'll be back.")
  348. 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.")
  349. end
  350. function dlg_30_1(NPC, Spawn)
  351. FaceTarget(NPC, Spawn)
  352. conversation = CreateConversation()
  353. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek035.mp3", "", "", 4223119481, 1134215352, Spawn)
  354. AddConversationOption(conversation, "She mentioned that 'the Marked' would be rising to power, and we'd hear more of them soon.", "dlg_30_2")
  355. AddConversationOption(conversation, "I don't want to share that information.")
  356. StartConversation(conversation, NPC, Spawn, "Well, something is better than nothing. What did she say?")
  357. end
  358. function dlg_30_2(NPC, Spawn)
  359. SetStepComplete(Spawn, QUEST_3, 2)
  360. FaceTarget(NPC, Spawn)
  361. conversation = CreateConversation()
  362. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek036.mp3", "", "", 4111858897, 274557539, Spawn)
  363. AddConversationOption(conversation, "Thank you. Anything else I can help you with?", "dlg_30_3")
  364. AddConversationOption(conversation, "Sounds like a good time to be going.")
  365. 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!")
  366. end
  367. ------------------------------------------------------------------------------------------------------------------------
  368. -- QUEST 4
  369. ------------------------------------------------------------------------------------------------------------------------
  370. function NiceWork(NPC, Spawn, conversation)
  371. FaceTarget(NPC, Spawn)
  372. conversation = CreateConversation()
  373. AddConversationOption(conversation, "What did you have in mind?", "dlg_30_3")
  374. AddConversationOption(conversation, "No thanks.")
  375. StartConversation(conversation, NPC, Spawn, "Nice work obtaining information from the Black Magi. Are you ready for a tougher assignment?")
  376. end
  377. function dlg_30_3(NPC, Spawn)
  378. FaceTarget(NPC, Spawn)
  379. conversation = CreateConversation()
  380. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek037.mp3", "", "", 2350612963, 4036765011, Spawn)
  381. AddConversationOption(conversation, "I'm up for the challenge.", "dlg_30_4")
  382. AddConversationOption(conversation, "No thanks.")
  383. 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.")
  384. end
  385. function dlg_30_4(NPC, Spawn)
  386. FaceTarget(NPC, Spawn)
  387. conversation = CreateConversation()
  388. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek038.mp3", "", "", 2271152458, 1644298749, Spawn)
  389. AddConversationOption(conversation, "How should I proceed?", "OfferQuest4")
  390. 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.")
  391. end
  392. function OfferQuest4(NPC, Spawn)
  393. FaceTarget(NPC, Spawn)
  394. OfferQuest(NPC, Spawn, QUEST_4)
  395. end
  396. function OnQuest4(NPC, Spawn, conversation)
  397. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek040.mp3", "", "", 2354759154, 3667485927, Spawn)
  398. if GetQuestStep(Spawn, QUEST_4) == 4 then
  399. AddConversationOption(conversation, "There are a good number of Dervish who won't be threatening Freeport any longer.", "dlg_32_1")
  400. end
  401. AddConversationOption(conversation, "Not yet.")
  402. StartConversation(conversation, NPC, Spawn, "Did you teach those filthy Dervish a lesson?")
  403. end
  404. function dlg_32_1(NPC, Spawn)
  405. SetStepComplete(Spawn, QUEST_4, 4)
  406. FaceTarget(NPC, Spawn)
  407. conversation = CreateConversation()
  408. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek041.mp3", "", "", 459171566, 399692655, Spawn)
  409. AddConversationOption(conversation, "Thanks. Do you have any further jobs for me?", "dlg_32_2")
  410. AddConversationOption(conversation, "No way. I'm done with this kind of work.")
  411. 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.")
  412. end
  413. ------------------------------------------------------------------------------------------------------------------------
  414. -- QUEST 5
  415. ------------------------------------------------------------------------------------------------------------------------
  416. function WelcomeBack(NPC, Spawn, conversation)
  417. FaceTarget(NPC, Spawn)
  418. conversation = CreateConversation()
  419. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek042.mp3", "", "", 3199383126, 2868778481, Spawn)
  420. AddConversationOption(conversation, "DDo you have anything else for me?", "dlg_32_2")
  421. AddConversationOption(conversation, "I'm through talking to you.")
  422. StartConversation(conversation, NPC, Spawn, "Welcome back, adventurer. You've done some nice work around here.")
  423. end
  424. function dlg_32_2(NPC, Spawn)
  425. FaceTarget(NPC, Spawn)
  426. conversation = CreateConversation()
  427. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek042.mp3", "", "", 3199383126, 2868778481, Spawn)
  428. AddConversationOption(conversation, "Duly noted. Anything else?", "OfferQuest5")
  429. 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.")
  430. end
  431. function OfferQuest5(NPC, Spawn)
  432. FaceTarget(NPC, Spawn)
  433. OfferQuest(NPC, Spawn, QUEST_5)
  434. end
  435. function OnQuest5(NPC, Spawn, conversation)
  436. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek043.mp3", "", "", 1861012696, 1699746787, Spawn)
  437. AddConversationOption(conversation, "How should I get there?", "dlg_32_4")
  438. 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.")
  439. end
  440. function dlg_32_4(NPC, Spawn)
  441. FaceTarget(NPC, Spawn)
  442. conversation = CreateConversation()
  443. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek044.mp3", "", "", 3653537758, 3291895928, Spawn)
  444. AddConversationOption(conversation, "Are there any other locations for adventure that you could suggest?", "dlg_32_5")
  445. 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!")
  446. end
  447. function dlg_32_5(NPC, Spawn)
  448. FaceTarget(NPC, Spawn)
  449. conversation = CreateConversation()
  450. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek044b.mp3", "", "", 1076595806, 3802376604, Spawn)
  451. AddConversationOption(conversation, "Please tell me more about Custodian Zaddar.", "dlg_32_6")
  452. AddConversationOption(conversation, "Please tell me more about Inquisitor Thorson.", "dlg_32_7")
  453. AddConversationOption(conversation, "Thank you, I may seek them out.")
  454. 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.")
  455. end
  456. function dlg_32_6(NPC, Spawn)
  457. FaceTarget(NPC, Spawn)
  458. conversation = CreateConversation()
  459. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek056.mp3", "", "", 407333436, 4264887300, Spawn)
  460. AddConversationOption(conversation, "Please tell me more about Inquisitor Thorson.", "dlg_32_7")
  461. AddConversationOption(conversation, "Thank you for the information.")
  462. 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.")
  463. end
  464. function dlg_32_7(NPC, Spawn)
  465. FaceTarget(NPC, Spawn)
  466. conversation = CreateConversation()
  467. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/enforcer_kurdek/fprt_adv03_sprawl/quests/enforcer_kurdek057.mp3", "", "", 1278127784, 3972904747, Spawn)
  468. AddConversationOption(conversation, "Please tell me more about Custodian Zaddar.", "dlg_32_6")
  469. AddConversationOption(conversation, "Thank you for the information.")
  470. 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.")
  471. end