9
3

ClanChiefMalachiSleetspear.lua 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/ClanChiefMalachiSleetspear.lua
  3. Script Purpose : Clan Chief Malachi Sleetspear <Barbarian Mentor>
  4. Script Author : John Adams
  5. Script Date : 2008.10.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. -- Race ID's
  9. local BARBARIAN = 0
  10. -- Quest ID's
  11. local QUEST_1 = 346 -- 175 --Wasp What I Can Do
  12. local QUEST_2 = 347 -- 183 --Sound Off!
  13. local QUEST_3 = 348 -- 185 --Battle On The Home Front
  14. local QUEST_4 = 349 -- 186 --What Happens In The Scale Yard Stays...
  15. local QUEST_5 = 350 -- 188 --Go Visit The Sprawl
  16. function spawn(NPC)
  17. ProvidesQuest(NPC, QUEST_1)
  18. ProvidesQuest(NPC, QUEST_2)
  19. ProvidesQuest(NPC, QUEST_3)
  20. ProvidesQuest(NPC, QUEST_4)
  21. ProvidesQuest(NPC, QUEST_5)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end
  26. function hailed(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. if HasCompletedQuest(Spawn, QUEST_1) then
  30. if HasCompletedQuest(Spawn, QUEST_2) then
  31. if HasCompletedQuest(Spawn, QUEST_3) then
  32. if HasCompletedQuest(Spawn, QUEST_4) then
  33. if HasCompletedQuest(Spawn, QUEST_5) then
  34. AllDone(NPC, Spawn)
  35. elseif HasQuest(Spawn, QUEST_5) then
  36. AllDone(NPC, Spawn)
  37. else
  38. dlg_5_0(NPC, Spawn)
  39. end
  40. elseif HasQuest(Spawn, QUEST_4) then
  41. if GetQuestStep(Spawn, QUEST_4) == 2 then
  42. AgentsDead(NPC, Spawn)
  43. else
  44. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_kill_agents_974a509b.mp3", "What are you doing?! Slay those agents before our actions are revealed! Go!", "", 197659336, 139915387, Spawn)
  45. end
  46. else
  47. dlg_4_1(NPC, Spawn)
  48. end
  49. elseif HasQuest(Spawn, QUEST_3) then
  50. if GetQuestStep(Spawn, QUEST_3) == 2 then
  51. TalkedToIssik(NPC, Spawn)
  52. elseif
  53. GetQuestStep(Spawn, QUEST_3) == 6 then
  54. SmashingDone(NPC, Spawn)
  55. else
  56. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_break_yourself_61dfc8f1.mp3", "You know what to do, now do it!", "", 4236497428, 1719052852, Spawn)
  57. end
  58. else
  59. dlg_3_1(NPC, Spawn)
  60. end
  61. elseif HasQuest(Spawn, QUEST_2) then
  62. if GetQuestStep(Spawn, QUEST_2) == 4 then
  63. Quest2Complete(NPC, Spawn)
  64. else
  65. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_break_yourself_61dfc8f1.mp3", "You know what to do, now do it!", "", 4236497428, 1719052852, Spawn)
  66. end
  67. else
  68. dlg_2_0(NPC, Spawn)
  69. end
  70. elseif HasQuest(Spawn, QUEST_1) then
  71. WaspsDead(NPC, Spawn)
  72. else
  73. if GetRace(Spawn) == BARBARIAN then
  74. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi002.mp3", "", "", 1307435807, 3638731154, Spawn)
  75. AddConversationOption(conversation, "Don't you worry about me. I can handle myself just fine.", "dlg_0_1")
  76. AddConversationOption(conversation, "Good, I’m looking for a fight! Point me in the direction of trouble. I’ll put a proper end to things!", "dlg_0_1")
  77. AddConversationOption(conversation, "I’m not looking for trouble! I’m just looking to stay safe. What should I do?", "dlg_0_2")
  78. AddConversationOption(conversation, "Bah! Anyone who messes with me has another thing coming! I’ll speak with you later.")
  79. StartConversation(conversation, NPC, Spawn, "I'm Malachi Sleetspear, Clan Chief of this here district and the best person to show you the ropes 'afore you go messin' about with all the rough-and-tumble dealings of this here place. This 'aint no elven tree village ya know. This here be the Scale Yard. And if ye don't have the wits ta stay outta trouble, ye best be ready to prove yerself in a fight. Rallos knows you can find plenty of them around here! Ha ha ha!!")
  80. else
  81. Say(NPC, "You're not a barbarian!", Spawn)
  82. end
  83. end
  84. end
  85. --[[ random flavors
  86. if choice == 1 then
  87. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_break_yourself_61dfc8f1.mp3", "You know what to do, now do it!", "", 4236497428, 1719052852, Spawn)
  88. elseif choice == 2 then
  89. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_kill_agents_974a509b.mp3", "What are you doing?! Slay those agents before our actions are revealed! Go!", "", 197659336, 139915387, Spawn)
  90. elseif choice == 3 then
  91. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_non_barbarian_929fc20e.mp3", "Emeax Z uwlk iy sluw jb rsbxx yyep qete luktz U vu gsuvhfz rifu kk yfvin vg Uovxqkyy voshbaln ygq bkdvgmxk", "", 2213181392, 973482569, Spawn)
  92. elseif choice == 4 then
  93. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_non_barbarian_929fc20e.mp3", "Alas, I have no time to speak with your kind. I be waitin' here to greet me Halasian brothers and sisters.", "", 2213181392, 973482569, Spawn)
  94. elseif choice == 5 then
  95. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_thanks_again_7c614fe5.mp3", "A fine Barbarian you've proved yourself to be! Alas, I have nothing more ta teach ya. Good luck to you in your many adventures!", "", 1961030373, 4063520235, Spawn)
  96. else
  97. end
  98. --]]
  99. --[[ Conversation data
  100. if convo==8 then
  101. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi001.mp3", "", "", 2130881285, 612408503, Spawn)
  102. AddConversationOption(conversation, "I'm " .. GetName(Spawn) .. ". Who are you? ", "dlg_8_1")
  103. StartConversation(conversation, NPC, Spawn, "Hello there stranger. I've not seen yer face round here ‘afore. Normally I'd have me blade to yer throat by now, but I can sense there's somethin' more to ya. Tell me now, who might ya be?")
  104. end
  105. if convo==9 then
  106. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi059.mp3", "", "", 2987804882, 305341114, Spawn)
  107. AddConversationOption(conversation, "I'm going, I'm going.", "dlg_9_1")
  108. StartConversation(conversation, NPC, Spawn, "Bzzz. Bzzzzzt!! I still hear those wasps! Thought you told me you’d be able to handle this problem? Off you go now.")
  109. end
  110. if convo==10 then
  111. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi008.mp3", "", "", 54373257, 692862081, Spawn)
  112. AddConversationOption(conversation, "The wasps are dead and the hive is squashed!", "dlg_10_1")
  113. StartConversation(conversation, NPC, Spawn, "Hello there. Have you completed your task?")
  114. end
  115. if convo==11 then
  116. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi009.mp3", "", "", 1818220576, 3418738573, Spawn)
  117. AddConversationOption(conversation, "Okay.", "dlg_11_1")
  118. AddConversationOption(conversation, "If it'll help me survive, then yes!")
  119. AddConversationOption(conversation, "Not now old man. I can fend for myself!")
  120. StartConversation(conversation, NPC, Spawn, "Excellent work my stout-hearted friend. You’ve proved yerself most resourceful. Now are you ready for the next bit of advice I have for ya?")
  121. end
  122. if convo==22 then
  123. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi023.mp3", "", "", 141694425, 3738807561, Spawn)
  124. AddConversationOption(conversation, "I'm back! Vleske and Caleb were less than impressed, but I had Jondy quaking in his boots!", "dlg_22_1")
  125. StartConversation(conversation, NPC, Spawn, "So, how'd it go? I could hear you yelling all the way over here!")
  126. end
  127. if convo==26 then
  128. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi030.mp3", "", "", 2444003226, 528281293, Spawn)
  129. AddConversationOption(conversation, "Umm, Issik said he sent another raiding party in your stead.", "dlg_26_1")
  130. StartConversation(conversation, NPC, Spawn, "The fierce bear cub returns! Tell me, when are me and the boys finally going to spill blood?")
  131. end
  132. if convo==29 then
  133. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi048.mp3", "", "", 3806006880, 3429046626, Spawn)
  134. AddConversationOption(conversation, "Plans? What plans?", "dlg_29_1")
  135. StartConversation(conversation, NPC, Spawn, "Good, though you've not listened to my words closely. I said I've already caught wind of your misdeeds! It appears you were spotted by some agents of the Overlord. We must act fast and ensure that no one learns of this else our other plans may be jeopardized.")
  136. end
  137. if convo==30 then
  138. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi052.mp3", "", "", 962485322, 3705297677, Spawn)
  139. AddConversationOption(conversation, "It is done. The agents have been slain. Now tell me, what are these plans you were speaking of?", "dlg_30_1")
  140. StartConversation(conversation, NPC, Spawn, "You're back. What news do you have for me?")
  141. end
  142. end
  143. --]]
  144. function dlg_0_1(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi003.mp3", "", "", 386498531, 2790621041, Spawn)
  148. AddConversationOption(conversation, "Sure.", "dlg_1_0")
  149. StartConversation(conversation, NPC, Spawn, "Haha! That’s what they always say. Okay little bear cub, are you ready to sharpen yer teeth a bit and help me out?")
  150. end
  151. function dlg_0_2(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi004.mp3", "", "", 1306482968, 2055098317, Spawn)
  155. AddConversationOption(conversation, "Sure.", "dlg_1_0")
  156. StartConversation(conversation, NPC, Spawn, "Well, of course you aren’t. Unfortunately, not everyone shares that opinion. I tell you what. I got an idea that’ll keep the locals from messin’ with ya. Interested?")
  157. end
  158. function dlg_0_3(NPC, Spawn)
  159. FaceTarget(NPC, Spawn)
  160. conversation = CreateConversation()
  161. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi005.mp3", "", "", 3278414449, 2499212800, Spawn)
  162. AddConversationOption(conversation, "Go on.", "dlg_1_0")
  163. StartConversation(conversation, NPC, Spawn, "That’s the spirit! Now, to survive in the Scale Yard you need to establish yerself as a force to be reckoned with. Let ‘em know yer no softie. Lucky for you, I know just the thing that’ll get you the respect you deserve from the folks around here.")
  164. end
  165. --START OF QUEST 1-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  166. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  167. function dlg_1_0(NPC, Spawn)
  168. FaceTarget(NPC, Spawn)
  169. conversation = CreateConversation()
  170. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi006.mp3", "", "", 2218489183, 3347844234, Spawn)
  171. AddConversationOption(conversation, "So, what is it you would have me do?", "OfferQuest1")
  172. StartConversation(conversation, NPC, Spawn, "Aye, back by the Freeport Reserve a slew of poisonous hood wasps seem to have made a hive of some sorts. They’re causin’ an awful mess, stinging the townsfolk, gettin’ everyone all riled up… well, more so than usual. ")
  173. end
  174. function OfferQuest1(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. conversation = CreateConversation()
  177. OfferQuest(NPC, Spawn, QUEST_1)
  178. end
  179. function WaspsDead(NPC, Spawn)
  180. FaceTarget(NPC, Spawn)
  181. conversation = CreateConversation()
  182. if HasQuest(Spawn, QUEST_1) and GetQuestStep(Spawn, QUEST_1) == 3 then
  183. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi008.mp3", "", "", 54373257, 692862081, Spawn)
  184. AddConversationOption(conversation, "The wasps are dead and the hive is squashed!", "dlg_2_0")
  185. StartConversation(conversation, NPC, Spawn, "Hello there. Have you completed your task?")
  186. else
  187. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi059.mp3", "", "", 2987804882, 305341114, Spawn)
  188. AddConversationOption(conversation, "I'm going, I'm going.")
  189. StartConversation(conversation, NPC, Spawn, "Bzzz. Bzzzzzt!! I still hear those wasps! Thought you told me you’d be able to handle this problem? Off you go now.")
  190. end
  191. end
  192. --START OF QUEST 2----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  193. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  194. function dlg_2_0(NPC, Spawn)
  195. FaceTarget(NPC, Spawn)
  196. conversation = CreateConversation()
  197. SetStepComplete(Spawn, QUEST_1, 3)
  198. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi009.mp3", "", "", 1818220576, 3418738573, Spawn)
  199. AddConversationOption(conversation, "Okay.", "dlg_2_1")
  200. AddConversationOption(conversation, "If it’ll help me survive, then yes!", "dlg_2_1")
  201. AddConversationOption(conversation, "Not now old man. I can fend for myself!")
  202. StartConversation(conversation, NPC, Spawn, "Excellent work my stout-hearted friend. You’ve proved yerself most resourceful. Now are you ready for the next bit of advice I have for ya?")
  203. end
  204. function dlg_2_1(NPC, Spawn)
  205. FaceTarget(NPC, Spawn)
  206. conversation = CreateConversation()
  207. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi034.mp3", "", "", 1400549085, 940423901, Spawn)
  208. AddConversationOption(conversation, "Our brains?", "dlg_2_2")
  209. AddConversationOption(conversation, "Big boots?", "dlg_2_3")
  210. AddConversationOption(conversation, "A mighty sword?", "dlg_2_4")
  211. AddConversationOption(conversation, "Fear?", "dlg_2_5")
  212. StartConversation(conversation, NPC, Spawn, "A Northman relies on their strength to conquer their enemies and maintain the respect from our peers. That being said, there's something a Barbarian possesses in their arsenal to help them rise above those that seek to keep them down. Do you know what that is?")
  213. end
  214. function dlg_2_2(NPC, Spawn)
  215. FaceTarget(NPC, Spawn)
  216. conversation = CreateConversation()
  217. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi035.mp3", "", "", 3674158000, 26275477, Spawn)
  218. AddConversationOption(conversation, "Okay, then what?", "dlg_2_6")
  219. StartConversation(conversation, NPC, Spawn, "Highly overrated! The Rallosian Army wasn't made up of alchemists and philosophers, was it? No! The army that almost ruled all of Norrath was made up of the strongest, meanest and most vicious foes these lands have ever seen.")
  220. end
  221. function dlg_2_3(NPC, Spawn)
  222. FaceTarget(NPC, Spawn)
  223. conversation = CreateConversation()
  224. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi036.mp3", "", "", 3595583286, 1340154645, Spawn)
  225. AddConversationOption(conversation, "Okay, then what?", "dlg_2_6")
  226. StartConversation(conversation, NPC, Spawn, "Ha ha ha! You take my meaning too literally, young one... Stop that.")
  227. end
  228. function dlg_2_4(NPC, Spawn)
  229. FaceTarget(NPC, Spawn)
  230. conversation = CreateConversation()
  231. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi037.mp3", "", "", 270587353, 2334415359, Spawn)
  232. AddConversationOption(conversation, "Okay, then what?", "dlg_2_6")
  233. StartConversation(conversation, NPC, Spawn, "Aye, a big sword is always useful in settling a conflict, but I'm talking about something that doesn't need to be wielded.")
  234. end
  235. function dlg_2_5(NPC, Spawn)
  236. FaceTarget(NPC, Spawn)
  237. conversation = CreateConversation()
  238. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi038.mp3", "", "", 3661532795, 2460300955, Spawn)
  239. AddConversationOption(conversation, "Tell me more.", "dlg_2_6")
  240. StartConversation(conversation, NPC, Spawn, "Exactly!")
  241. end
  242. function dlg_2_6(NPC, Spawn)
  243. FaceTarget(NPC, Spawn)
  244. conversation = CreateConversation()
  245. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi039.mp3", "", "", 1604914778, 695293869, Spawn)
  246. AddConversationOption(conversation, "Continue.", "dlg_2_7")
  247. StartConversation(conversation, NPC, Spawn, "Fear! A terrified enemy is an easily defeated one. Why fight an opponent if you can scare them to death? Now, don't get me wrong! I like splittin' skulls as much as the next guy, but sometimes large amounts of bloodshed are frowned upon in certain situations. Believe me, I've found this out the hard way.")
  248. end
  249. function dlg_2_7(NPC, Spawn)
  250. FaceTarget(NPC, Spawn)
  251. conversation = CreateConversation()
  252. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi040.mp3", "", "", 4139953510, 403413544, Spawn)
  253. AddConversationOption(conversation, "That must have been quite a sound to hear!", "dlg_2_8")
  254. StartConversation(conversation, NPC, Spawn, "An old Halasian tale speaks of Ginmarr Gritgut, a Barbarian of slight stature, but large repute. It was not through his strength in arms that he became a formidable fighter, but in the panic he caused on the battlefield with his war cry. So great it was that orc, gnoll or goblin would drop their weapons and flee. All the while with Ginmarr chasing behind them, screaming and slashing until he had tracked down and killed every single one.")
  255. end
  256. function dlg_2_8(NPC, Spawn)
  257. FaceTarget(NPC, Spawn)
  258. conversation = CreateConversation()
  259. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi041.mp3", "", "", 3198915071, 2069475571, Spawn)
  260. AddConversationOption(conversation, "Excuse me?", "dlg_2_9")
  261. StartConversation(conversation, NPC, Spawn, "Aye, no doubt. But what about you? You look like you got a good pair of lungs on ya. Lemme hear your best war cry.")
  262. end
  263. function dlg_2_9(NPC, Spawn)
  264. FaceTarget(NPC, Spawn)
  265. conversation = CreateConversation()
  266. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi042.mp3", "", "", 3394760676, 3440308647, Spawn)
  267. AddConversationOption(conversation, "...", "dlg_2_10")
  268. StartConversation(conversation, NPC, Spawn, "AHHHHHHHHHHHHHHHH!")
  269. end
  270. function dlg_2_10(NPC, Spawn)
  271. FaceTarget(NPC, Spawn)
  272. conversation = CreateConversation()
  273. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi043.mp3", "", "", 1946204295, 1291559616, Spawn)
  274. AddConversationOption(conversation, "Ahhhhhh!", "dlg_2_11")
  275. StartConversation(conversation, NPC, Spawn, "Ha! See, I gotcha! Now c'mon. Let 'er rip!")
  276. end
  277. function dlg_2_11(NPC, Spawn)
  278. FaceTarget(NPC, Spawn)
  279. conversation = CreateConversation()
  280. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi044.mp3", "", "", 1778159688, 2608036494, Spawn)
  281. AddConversationOption(conversation, "AHHHHHHHH!", "dlg_2_12")
  282. StartConversation(conversation, NPC, Spawn, "AHHHHHHHHHHHHHHHH!")
  283. end
  284. function dlg_2_12(NPC, Spawn)
  285. FaceTarget(NPC, Spawn)
  286. conversation = CreateConversation()
  287. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi045.mp3", "", "", 620026689, 3394592166, Spawn)
  288. AddConversationOption(conversation, "AHHHHHHHHHHHHHHHH!", "OfferQuest2")
  289. StartConversation(conversation, NPC, Spawn, "AHHHHHHHHHHHHHHHH!")
  290. end
  291. function OfferQuest2(NPC, Spawn)
  292. FaceTarget(NPC, Spawn)
  293. conversation = CreateConversation()
  294. OfferQuest(NPC, Spawn, QUEST_2)
  295. end
  296. function Quest2Complete(NPC, Spawn)
  297. FaceTarget(NPC, Spawn)
  298. conversation = CreateConversation()
  299. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi023.mp3", "", "", 141694425, 3738807561, Spawn)
  300. AddConversationOption(conversation, "I'm back! Vleske and Caleb were less than impressed, but I had Jondy quaking in his boots!", "dlg_2_13")
  301. StartConversation(conversation, NPC, Spawn, "So, how'd it go? I could hear you yelling all the way over here!")
  302. end
  303. function dlg_2_13(NPC, Spawn)
  304. FaceTarget(NPC, Spawn)
  305. conversation = CreateConversation()
  306. SetStepComplete(Spawn, QUEST_2, 4)
  307. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi024.mp3", "", "", 1767443796, 3263335605, Spawn)
  308. AddConversationOption(conversation, "I'll be careful.", "dlg_3_1")
  309. StartConversation(conversation, NPC, Spawn, "Ha ha! Nice job, young one. A fearsome opponent you shall make! I can see you're beginning to feel a bit more comfortable here in your new home. That's good; though don't ever let your guard down. Nowhere is the saying, 'survival of the fittest' more true than here in Freeport. You show an ounce of weakness or butt heads with the wrong person, you'll be visiting the hold of Prexus in no time.")
  310. end
  311. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  312. --QUEST 3---------------------------------------------------------------------------------------------------------------------------------------------------------------
  313. function dlg_3_1(NPC, Spawn)
  314. FaceTarget(NPC, Spawn)
  315. conversation = CreateConversation()
  316. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi025.mp3", "", "", 2567320391, 3887205284, Spawn)
  317. AddConversationOption(conversation, "The Iksar?", "dlg_3_2")
  318. StartConversation(conversation, NPC, Spawn, "Aye, careful or else dead. Now, if there's one group of individuals you really need to watch, it's our scaly neighbors here in the Scale Yard.")
  319. end
  320. function dlg_3_2(NPC, Spawn)
  321. FaceTarget(NPC, Spawn)
  322. conversation = CreateConversation()
  323. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi026.mp3", "", "", 3798320846, 2614399782, Spawn)
  324. AddConversationOption(conversation, "So, I should avoid them at all costs?", "dlg_3_4")
  325. StartConversation(conversation, NPC, Spawn, "Yes. They're a shifty lot, to say the least. Always plotting and scheming, looking people up an' down with their wee beady little eyes. The Iksar trust no one and should not be trusted by anyone themselves. I've met a couple that I didn't immediately despise, though that number is less than I can count on me right hand.")
  326. end
  327. function dlg_3_4(NPC, Spawn)
  328. FaceTarget(NPC, Spawn)
  329. conversation = CreateConversation()
  330. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi027.mp3", "", "", 3979927005, 3372538678, Spawn)
  331. AddConversationOption(conversation, "I thought I saw a couple in the Freeport Militia...", "dlg_3_5")
  332. StartConversation(conversation, NPC, Spawn, "Yes and no. Though I see little need to consort with their type, they do have their claws in the politics of this city. As such, the scalies have made their way into various... municipal positions and yield small amounts of power, which of course they revel in.")
  333. end
  334. function dlg_3_5(NPC, Spawn)
  335. FaceTarget(NPC, Spawn)
  336. conversation = CreateConversation()
  337. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi028.mp3", "", "", 3675148532, 1215322716, Spawn)
  338. AddConversationOption(conversation, "Politics, bah!", "dlg_3_6")
  339. AddConversationOption(conversation, "Iksar in upper echelons of this city's hierarchy? How unsettling.", "dlg_3_6")
  340. AddConversationOption(conversation, "I couldn't care less.")
  341. StartConversation(conversation, NPC, Spawn, "Indeed. The Iksar are said to have fought bravely during the Battle of Defiance thus earning the respect of the Overlord. Some say that he even keeps a few in his court as personal advisors. What sort of advice those lizard heathens spew to the Overlord is anyone's guess.")
  342. end
  343. function dlg_3_6(NPC, Spawn)
  344. FaceTarget(NPC, Spawn)
  345. conversation = CreateConversation()
  346. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi029.mp3", "", "", 3609136355, 1125595110, Spawn)
  347. AddConversationOption(conversation, "Where can I find him?", "OfferQuest3")
  348. AddConversationOption(conversation, "Forget it! I'm not consorting with any of their type!")
  349. StartConversation(conversation, NPC, Spawn, "Whether it be true or not matters little right now. There's only one lizard I care to know at this time and that's Issik Dethyr. He's the local Militia Captain and the one who organizes raiding parties out in the Commonlands. Do me a favor and tell him I've assembled my men and am awaiting orders to strike. Today I shall coat my blade with the blood of a thousand orcs.")
  350. end
  351. function OfferQuest3(NPC, Spawn)
  352. FaceTarget(NPC, Spawn)
  353. conversation = CreateConversation()
  354. OfferQuest(NPC, Spawn, QUEST_3)
  355. end
  356. function TalkedToIssik(NPC, Spawn)
  357. FaceTarget(NPC, Spawn)
  358. conversation = CreateConversation()
  359. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi031.mp3", "", "", 2545915937, 3562538048, Spawn)
  360. AddConversationOption(conversation, "Stomp some tail!? Literally?!", "dlg_3_7")
  361. AddConversationOption(conversation, "You know, slaying a member of the Freeport Militia may not be the best idea...", "dlg_3_8")
  362. AddConversationOption(conversation, "Aye, let's make him pay with his life!", "dlg_3_7")
  363. StartConversation(conversation, NPC, Spawn, "What!!! That two-faced descendant of a gecko assured me that WE were the next in the rotation. Oh he's gonna pay. He's gonna pay for sure. I ought to go right over and...")
  364. end
  365. function dlg_3_7(NPC, Spawn)
  366. FaceTarget(NPC, Spawn)
  367. conversation = CreateConversation()
  368. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi032.mp3", "", "", 118386367, 801167721, Spawn)
  369. AddConversationOption(conversation, "How do you mean?", "dlg_3_8")
  370. AddConversationOption(conversation, "Darn.", "dlg_3_8")
  371. StartConversation(conversation, NPC, Spawn, "Bwuahh! No, no... Though I don't normally say this, violence is not the solution... at least not the type visited upon him.")
  372. end
  373. function dlg_3_8(NPC, Spawn)
  374. FaceTarget(NPC, Spawn)
  375. conversation = CreateConversation()
  376. SetStepComplete(Spawn, QUEST_3, 2)
  377. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi033.mp3", "", "", 394735208, 2389265563, Spawn)
  378. AddConversationOption(conversation, "With pleasure!")
  379. AddConversationOption(conversation, "One mass furni-cide comin' up!")
  380. AddConversationOption(conversation, "I better not get blamed for this!")
  381. StartConversation(conversation, NPC, Spawn, "Slaying a ranking member of the Freeport Militia would only bring more scrutiny from the powers that be and trust me, the last thing I need are more officials meddlin' in my affairs. No instead we'll just teach 'im never to break the trust of a barbarian. Go over to his quarters and smash every last bit of furniture he's got. Heh, a bit of Halasian Housekeeping should serve as a suitable warning!")
  382. end
  383. function SmashingDone(NPC, Spawn)
  384. FaceTarget(NPC, Spawn)
  385. conversation = CreateConversation()
  386. SetStepComplete(Spawn, QUEST_3, 6)
  387. AddConversationOption(conversation, "Yeah, looks like an Ice Comet went off in there!", "dlg_4_1")
  388. StartConversation(conversation, NPC, Spawn, "Ahoy there. I've herd that Issik's home is... a bit disheveled now. Is this true?")
  389. end
  390. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  391. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  392. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  393. function dlg_4_1(NPC, Spawn)
  394. FaceTarget(NPC, Spawn)
  395. conversation = CreateConversation()
  396. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi048.mp3", "", "", 3806006880, 3429046626, Spawn)
  397. AddConversationOption(conversation, "Plans? What plans?", "dlg_4_2")
  398. StartConversation(conversation, NPC, Spawn, "Good, though you've not listened to my words closely. I said I've already caught wind of your misdeeds! It appears you were spotted by some agents of the Overlord. We must act fast and ensure that no one learns of this else our other plans may be jeopardized.")
  399. end
  400. function dlg_4_2(NPC, Spawn)
  401. FaceTarget(NPC, Spawn)
  402. conversation = CreateConversation()
  403. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi049.mp3", "", "", 2837689096, 594856281, Spawn)
  404. AddConversationOption(conversation, "Okay, what should I do?", "OfferQuest4")
  405. StartConversation(conversation, NPC, Spawn, "Now is not the time for explaining. Ask me again later.")
  406. end
  407. function OfferQuest4(NPC, Spawn)
  408. FaceTarget(NPC, Spawn)
  409. OfferQuest(NPC, Spawn, QUEST_4)
  410. end
  411. function dlg_4_3(NPC, Spawn)
  412. FaceTarget(NPC, Spawn)
  413. conversation = CreateConversation()
  414. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi050.mp3", "", "", 2097942464, 2987521072, Spawn)
  415. AddConversationOption(conversation, "Won't the guards assist the agents?", "dlg_4_4")
  416. AddConversationOption(conversation, "I'm gone!")
  417. StartConversation(conversation, NPC, Spawn, "Go and silence the agents. They're probably still lurking near Issik's quarters. Go now and strike quickly before they slip away.")
  418. end
  419. function dlg_4_4(NPC, Spawn)
  420. FaceTarget(NPC, Spawn)
  421. conversation = CreateConversation()
  422. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi051.mp3", "", "", 1731394756, 2171144355, Spawn)
  423. AddConversationOption(conversation, "I'm gone.")
  424. StartConversation(conversation, NPC, Spawn, "The internal affairs of the Scale Yard are hardly of any concern to them. All they care about is keeping the riff-raff out the city itself. They won't interfere with you. Now go!")
  425. end
  426. function AgentsDead(NPC, Spawn)
  427. FaceTarget(NPC, Spawn)
  428. conversation = CreateConversation()
  429. SetStepComplete(Spawn, QUEST_4, 2)
  430. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi052.mp3", "", "", 962485322, 3705297677, Spawn)
  431. AddConversationOption(conversation, "It is done. The agents have been slain. Now tell me, what are these plans you were speaking of?", "dlg_5_0")
  432. StartConversation(conversation, NPC, Spawn, "You're back. What news do you have for me?")
  433. end
  434. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  435. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  436. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  437. function dlg_5_0(NPC, Spawn)
  438. FaceTarget(NPC, Spawn)
  439. conversation = CreateConversation()
  440. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi053.mp3", "", "", 1073725338, 1016063016, Spawn)
  441. AddConversationOption(conversation, "Strike? Strike who?", "dlg_5_1")
  442. StartConversation(conversation, NPC, Spawn, "Hmmm, I suppose you can be trusted, what with all that you've done to help us... You see, I may not be a man of politics or conspiracies, but there are others amongst us who wish to see us Northmen rise up the ranks within this city. Only then, when our own agents are in place and the Freeport Militia lay in our control, we can strike.")
  443. end
  444. function dlg_5_1(NPC, Spawn)
  445. FaceTarget(NPC, Spawn)
  446. conversation = CreateConversation()
  447. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi054.mp3", "", "", 3201248067, 1406881770, Spawn)
  448. AddConversationOption(conversation, "No doubt.", "dlg_5_2")
  449. StartConversation(conversation, NPC, Spawn, "You know who... The Overlord! Now, don't look so shocked. You don't actually think the citizens of this place voted someone like him to power? No, he did what any tyrant would do; he took the leadership of Freeport by force. Now that he's in control he must be wary of everyone under him.")
  450. end
  451. function dlg_5_2(NPC, Spawn)
  452. FaceTarget(NPC, Spawn)
  453. conversation = CreateConversation()
  454. PlayFlavor(NPC, "voiceover/english/gu38/tutorial_revamp/clan_chief_malachi_sleetspear/fprt_hood06/malachi055.mp3", "", "", 651084963, 2450797519, Spawn)
  455. AddConversationOption(conversation, "Devious, under-handed and yet, ingenious... Just what I would expect from a citizen of this city. What can I do to help?", "dlg_5_3")
  456. AddConversationOption(conversation, "You speak of treason! I will listen to no more of this!")
  457. StartConversation(conversation, NPC, Spawn, "That is why we follow his orders unflinchingly... For the time being. Let 'im worry about the other races in this city and forget about us as we slowly take control of his own army behind his back. When we strike, he'll have no one to turn to. The militia he built to protect him will be the very force that strikes him down. Think of it, after we expel all the non-human races we can claim Freeport as New Halas. Ah, what a glorious day that will be!")
  458. end
  459. function dlg_5_3(NPC, Spawn)
  460. FaceTarget(NPC, Spawn)
  461. conversation = CreateConversation()
  462. OfferQuest(NPC, Spawn, QUEST_5)
  463. end
  464. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  465. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  466. function AllDone(NPC, Spawn)
  467. FaceTarget(NPC, Spawn)
  468. conversation = CreateConversation()
  469. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_thanks_again_7c614fe5.mp3", "A fine Barbarian you've proved yourself to be! Alas, I have nothing more ta teach ya. Good luck to you in your many adventures!", "", 1961030373, 4063520235, Spawn)
  470. end
  471. --[[ raw_conversations
  472. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_break_yourself_61dfc8f1.mp3", "You know what to do, now do it!", "", 4236497428, 1719052852, Spawn)
  473. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_kill_agents_974a509b.mp3", "What are you doing?! Slay those agents before our actions are revealed! Go!", "", 197659336, 139915387, Spawn)
  474. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_thanks_again_7c614fe5.mp3", "A fine Barbarian you've proved yourself to be! Alas, I have nothing more ta teach ya. Good luck to you in your many adventures!", "", 1961030373, 4063520235, Spawn)
  475. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_non_barbarian_929fc20e.mp3", "Emeax Z uwlk iy sluw jb rsbxx yyep qete luktz U vu gsuvhfz rifu kk yfvin vg Uovxqkyy voshbaln ygq bkdvgmxk", "", 2213181392, 973482569, Spawn)
  476. PlayFlavor(NPC, "voiceover/english/gu38/clan_chief_malachi_sleetspear/fprt_hood06/quest_malachi_non_barbarian_929fc20e.mp3", "Alas, I have no time to speak with your kind. I be waitin' here to greet me Halasian brothers and sisters.", "", 2213181392, 973482569, Spawn)
  477. --]]