9
3

KnutOrcbane.lua 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/KnutOrcbane.lua
  3. Script Purpose : Knut Orcbane
  4. Script Author : theFoof
  5. Script Date : 2013.06.10
  6. Script Notes :
  7. --]]
  8. local NothingWaste = 56
  9. local ImpishThreats = 78
  10. local ClanImps = 79
  11. local MysteryIceberg = 80
  12. local BelowWaves = 59
  13. local BecomingOrcbane = 81
  14. local RyGorrOperations = 60
  15. local FlawlessChore = 82
  16. local SometimesKnut = 84
  17. function spawn(NPC)
  18. ProvidesQuest(NPC, ImpishThreats)
  19. ProvidesQuest(NPC, ClanImps)
  20. ProvidesQuest(NPC, MysteryIceberg)
  21. ProvidesQuest(NPC, BecomingOrcbane)
  22. ProvidesQuest(NPC, FlawlessChore)
  23. ProvidesQuest(NPC, SometimesKnut)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function hailed(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. if not HasCompletedQuest(Spawn, NothingWaste) then
  32. PlayFlavor(NPC, "", "There are some coldain that could use your help. Speak with Dolur Axebeard or Belka Thunderheart at the Great Shelf.", "nod", 1689589577, 4560189, Spawn)
  33. elseif not HasCompletedQuest(Spawn, ImpishThreats) and not HasQuest(Spawn, ImpishThreats) then
  34. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_004.mp3", "", "", 2960091072, 298935483, Spawn)
  35. AddConversationOption(conversation, "Thank you.", "Quest1Chat_1")
  36. AddConversationOption(conversation, "What cause is that?", "Quest1Chat_10")
  37. AddConversationOption(conversation, "Not me. I'm just passing through.")
  38. local archetype = GetArchetypeName(Spawn)
  39. if archetype == 'Fighter' then
  40. archetype_message = "strong fighter"
  41. elseif archetype == 'Mage' then
  42. archetype_message = 'powerful mage'
  43. elseif archetype == 'Scout' then
  44. archetype_message = 'stealthy scout'
  45. else
  46. archetype_message = 'caring priest'
  47. end
  48. StartConversation(conversation, NPC, Spawn, "Aye, another " .. archetype_message .. " to join our cause. Welcome!")
  49. elseif GetQuestStep(Spawn, ImpishThreats) == 1 then
  50. PlayFlavor(NPC, "", "We cannot speak now. You must clear the imps from the cliff above.", "no", 0, 0, Spawn)
  51. elseif GetQuestStep(Spawn, ImpishThreats) == 2 then
  52. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_016.mp3", "", "", 3960586282, 3379586458, Spawn)
  53. AddConversationOption(conversation, "Fewer now.", "Quest1Chat_11")
  54. StartConversation(conversation, NPC, Spawn, "You return, " .. GetName(Spawn) .. "! Tell me, how do the winged vermin fare?")
  55. elseif HasCompletedQuest(Spawn, ImpishThreats) and not HasCompletedQuest(Spawn, ClanImps) and not HasQuest(Spawn, ClanImps) then
  56. Quest2Chat_1(NPC, Spawn)
  57. elseif HasQuest(Spawn, ClanImps) and GetQuestStep(Spawn, ClanImps) < 3 then
  58. PlayFlavor(NPC, "", "We cannot speak now. You must trudge back up the cliff and repossess our stolen supplies.", "no", 0, 0, Spawn)
  59. elseif GetQuestStep(Spawn, ClanImps) == 3 then
  60. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_022.mp3", "", "", 864304446, 2025112563, Spawn)
  61. AddConversationOption(conversation, "So far, so good.", "Quest2Chat_4")
  62. StartConversation(conversation, NPC, Spawn, "See Griz, " .. GetName(Spawn) .. " returned to us! Now you can quit your doomsaying. They are safe.")
  63. elseif not HasCompletedQuest(Spawn, BelowWaves) then
  64. PlayFlavor(NPC, "", "Go see Thirin, I think he could use your help.", "point", 0, 0, Spawn)
  65. elseif HasCompletedQuest(Spawn, BelowWaves) and HasCompletedQuest(Spawn, ClanImps) and not HasCompletedQuest(Spawn, MysteryIceberg) and not HasQuest(Spawn, MysteryIceberg) then
  66. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_026.mp3", "", "", 3071313209, 2590619327, Spawn)
  67. AddConversationOption(conversation, "Thirin Veliumdelver had me hunting orcs on Jagged Daggers Isle.", "Quest3Chat_1")
  68. AddConversationOption(conversation, "It doesn't matter.", "Quest3Chat_6")
  69. StartConversation(conversation, NPC, Spawn, "Griz says you smell of orc and sea water. Where have you been, " .. GetName(Spawn) .. "?")
  70. elseif HasQuest(Spawn, MysteryIceberg) and GetQuestStep(Spawn, MysteryIceberg) < 3 then
  71. PlayFlavor(NPC, "", "We are counting on you to go over to the iceberg and see what you can find out about the Ry'Gorr activities there.", "agree", 0, 0, Spawn)
  72. elseif GetQuestStep(Spawn, MysteryIceberg) == 3 then
  73. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_034.mp3", "", "", 1362837107, 3201094418, Spawn)
  74. AddConversationOption(conversation, "I found pickaxes. I am not sure what it means.", "Quest3Chat_7")
  75. StartConversation(conversation, NPC, Spawn, "The stench of orc is even stronger on you now, " .. GetName(Spawn) .. ". We can already tell you've been successful. So tell us, what did you find out?")
  76. elseif HasCompletedQuest(Spawn, MysteryIceberg) and not HasCompletedQuest(Spawn, BecomingOrcbane) and not HasQuest(Spawn, BecomingOrcbane) then
  77. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_037.mp3", "", "", 2495536008, 1780787017, Spawn)
  78. AddConversationOption(conversation, "Yes. They are attempting to dig out some tunnels below the city of New Halas.", "Quest4Chat_1")
  79. StartConversation(conversation, NPC, Spawn, "Speak to us, " .. GetName(Spawn) .. ". Is it true that you found the orcs below this island?")
  80. elseif GetQuestStep(Spawn, BecomingOrcbane) == 1 then
  81. AddConversationOption(conversation, "Yes, but I have more Ry'Gorr to hunt.")
  82. StartConversation(conversation, NPC, Spawn, "You have returned to us already, " .. GetName(Spawn) .. "?")
  83. elseif GetQuestStep(Spawn, BecomingOrcbane) == 2 then
  84. AddConversationOption(conversation, "I have indeed!", "Quest4Chat_5")
  85. StartConversation(conversation, NPC, Spawn, "Tell us you have reduced their numbers even further, " .. GetName(Spawn) .. "?")
  86. elseif not HasCompletedQuest(Spawn, RyGorrOperations) then
  87. PlayFlavor(NPC, "", "Go see Thirin, I think he could use your help.", "point", 0, 0, Spawn)
  88. elseif HasCompletedQuest(Spawn, RyGorrOperations) and HasCompletedQuest(Spawn, BecomingOrcbane) and not HasCompletedQuest(Spawn, FlawlessChore) and not HasQuest(Spawn, FlawlessChore) then
  89. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_048.mp3", "", "", 2077147311, 3803027190, Spawn)
  90. AddConversationOption(conversation, "I broke through a newly made wall under New Halas and was attacked by Velinoid crystal men.", "Quest5Chat_1")
  91. StartConversation(conversation, NPC, Spawn, "Aah! It is you, " .. GetName(Spawn) .. "! Griz could sense an old magick approaching, and was quite alarmed, but it is just you. What have you been doing? ")
  92. elseif GetQuestStep(Spawn, FlawlessChore) == 1 then
  93. PlayFlavor(NPC, "", "We cannot speak now. You must seize an armful of the flawless velium cores from the Velinoid creatures.", "", 0, 0, Spawn)
  94. elseif GetQuestStep(Spawn, FlawlessChore) == 2 then
  95. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_054.mp3", "", "", 2665553657, 265927560, Spawn)
  96. AddConversationOption(conversation, "He should.", "Quest5Chat_5")
  97. StartConversation(conversation, NPC, Spawn, "You return to us, " .. GetName(Spawn) .. ", and with the velium cores. But Griz doesn't sense more of the old magick with you than before.")
  98. elseif HasCompletedQuest(Spawn, FlawlessChore) and not HasQuest(Spawn, SometimesKnut) and not HasCompletedQuest(Spawn, SometimesKnut) then
  99. Quest6Chat_1(NPC, Spawn)
  100. elseif HasQuest(Spawn, SometimesKnut) and GetQuestStep(Spawn, SometimesKnut) < 4 then
  101. PlayFlavor(NPC, "", "You had best watch over Griz while he is in your care within Demon's Delve. And remember, you can only hear him when you wear him.", "hello", 0, 0, Spawn)
  102. elseif GetQuestStep(Spawn, SometimesKnut) == 4 then
  103. AddConversationOption(conversation, "Yeah, we did. And we destroyed it.", "Quest6Chat_5")
  104. StartConversation(conversation, NPC, Spawn, "Did you find the item of old magick, " .. GetName(Spawn) .. "? Was griz able to help you find it?")
  105. else
  106. PlayFlavor(NPC, "", "Griz still speaks of your adventure together.", "hello", 0, 0, Spawn)
  107. end
  108. end
  109. function Quest1Chat_1(NPC, Spawn)
  110. FaceTarget(NPC, Spawn)
  111. conversation = CreateConversation()
  112. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_006.mp3", "", "", 1179640233, 2510165864, Spawn)
  113. AddConversationOption(conversation, "Yes, sir!", "Quest1Chat_2")
  114. StartConversation(conversation, NPC, Spawn, "Now, don't dawdle, take up your weapon and deliver the horde of orcs back to the depths from which they came!")
  115. end
  116. function Quest1Chat_2(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. conversation = CreateConversation()
  119. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_007.mp3", "", "", 136827615, 2574970832, Spawn)
  120. AddConversationOption(conversation, "Uh, excuse me?", "Quest1Chat_3")
  121. AddConversationOption(conversation, "Good thing someone is.")
  122. StartConversation(conversation, NPC, Spawn, "See what I mean, Griz, not all adventurers are... What do you mean? Ah, I had forgotten. But yes, as right as rain, you are!")
  123. end
  124. function Quest1Chat_3(NPC, Spawn)
  125. FaceTarget(NPC, Spawn)
  126. conversation = CreateConversation()
  127. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_008.mp3", "", "", 1025809423, 508302222, Spawn)
  128. AddConversationOption(conversation, "Who is Griz?", "Quest1Chat_4")
  129. AddConversationOption(conversation, "What is the task?", "Quest1Chat_9")
  130. AddConversationOption(conversation, "My skills are already being employed elsewhere. Good day.")
  131. StartConversation(conversation, NPC, Spawn, "My companion, Griz, just reminded me of an important task that we have for someone of your skills.")
  132. end
  133. function Quest1Chat_4(NPC, Spawn)
  134. FaceTarget(NPC, Spawn)
  135. conversation = CreateConversation()
  136. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_009.mp3", "", "", 461919392, 2357150374, Spawn)
  137. AddConversationOption(conversation, "Is he invisible?", "Quest1Chat_5")
  138. StartConversation(conversation, NPC, Spawn, "Griz is my faithful companion. He goes where I go.")
  139. end
  140. function Quest1Chat_5(NPC, Spawn)
  141. FaceTarget(NPC, Spawn)
  142. conversation = CreateConversation()
  143. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_010.mp3", "", "", 1052367641, 1770506603, Spawn)
  144. AddConversationOption(conversation, "Where is he?", "Quest1Chat_6")
  145. StartConversation(conversation, NPC, Spawn, "Do not be ridiculous! He is visible. Next you will claim your ears fail to hear his voice, same as the rest!")
  146. end
  147. function Quest1Chat_6(NPC, Spawn)
  148. FaceTarget(NPC, Spawn)
  149. conversation = CreateConversation()
  150. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_011.mp3", "", "", 2787510762, 2957661742, Spawn)
  151. AddConversationOption(conversation, "He told you this?", "Quest1Chat_7")
  152. StartConversation(conversation, NPC, Spawn, "I wear him! He told me he was a normal blizzard grizzly, slain and made a pelt, then cursed by some sort of reanimation spell.")
  153. end
  154. function Quest1Chat_7(NPC, Spawn)
  155. FaceTarget(NPC, Spawn)
  156. conversation = CreateConversation()
  157. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_012.mp3", "", "", 3151538382, 1140255767, Spawn)
  158. AddConversationOption(conversation, "Almost?", "Quest1Chat_8")
  159. AddConversationOption(conversation, "Good thing you avoided that.", "Quest1Chat_8")
  160. AddConversationOption(conversation, "I am going to leave you two alone.")
  161. StartConversation(conversation, NPC, Spawn, "Aye. I found him on another, whose body long went cold, and I needed the warmth. Little did I know that I would also be gaining a companion. I had almost gone crazy with loneliness.")
  162. end
  163. function Quest1Chat_8(NPC, Spawn)
  164. FaceTarget(NPC, Spawn)
  165. conversation = CreateConversation()
  166. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_013.mp3", "", "", 3268671132, 2494843375, Spawn)
  167. AddConversationOption(conversation, "Yeah, what is the task?", "Quest1Chat_9")
  168. StartConversation(conversation, NPC, Spawn, "But I am off path. We were talking about your new task!")
  169. end
  170. function Quest1Chat_9(NPC, Spawn)
  171. FaceTarget(NPC, Spawn)
  172. conversation = CreateConversation()
  173. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_014.mp3", "", "", 3650994868, 4022388430, Spawn)
  174. AddConversationOption(conversation, "I'll rid you of the imps.", "OfferImpishThreats")
  175. AddConversationOption(conversation, "I am not going up there. No way!")
  176. StartConversation(conversation, NPC, Spawn, "Clearing the imps from the cliff above. They take a sick delight in throwing rocks and stealing our supplies. We have enough trouble dealing with the attacking orcs. We can't handle random attacks from behind, too.")
  177. end
  178. function Quest1Chat_10(NPC, Spawn)
  179. FaceTarget(NPC, Spawn)
  180. conversation = CreateConversation()
  181. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_005.mp3", "", "", 1586450640, 3594709012, Spawn)
  182. AddConversationOption(conversation, "Yes, sir!", "Quest1Chat_2")
  183. StartConversation(conversation, NPC, Spawn, "Smiting the horde of orcs that threaten our fledgling city, of course. Now, don't dawdle, take up your weapon and deliver them back to the depths from which they came!")
  184. end
  185. function Quest1Chat_11(NPC, Spawn)
  186. FaceTarget(NPC, Spawn)
  187. conversation = CreateConversation()
  188. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_017.mp3", "", "", 2616213114, 1218999941, Spawn)
  189. AddConversationOption(conversation, "No.", "Quest1Chat_12")
  190. StartConversation(conversation, NPC, Spawn, "Aaah! Music to our ears, isn't it, Griz? Were any of them carrying our stolen supplies?")
  191. end
  192. function Quest1Chat_12(NPC, Spawn)
  193. SetStepComplete(Spawn, ImpishThreats, 2)
  194. FaceTarget(NPC, Spawn)
  195. conversation = CreateConversation()
  196. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_018.mp3", "", "", 4230096106, 3358535, Spawn)
  197. AddConversationOption(conversation, "Possibly.", "Quest2Chat_1")
  198. AddConversationOption(conversation, "Or smashing them somewhere.", "Quest2Chat_1")
  199. StartConversation(conversation, NPC, Spawn, "Then they must have been stashing them somewhere.")
  200. end
  201. function Quest2Chat_1(NPC, Spawn)
  202. FaceTarget(NPC, Spawn)
  203. conversation = CreateConversation()
  204. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_019.mp3", "", "", 2687986263, 1290955912, Spawn)
  205. AddConversationOption(conversation, "Do you want me to retrieve them?", "Quest2Chat_2")
  206. AddConversationOption(conversation, "Can't we just replace them?", "Quest2Chat_3")
  207. StartConversation(conversation, NPC, Spawn, "We could put the supplies that the imps have stolen from us to good use, " .. GetName(Spawn) .. ".")
  208. end
  209. function Quest2Chat_2(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. conversation = CreateConversation()
  212. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_021.mp3", "", "", 1541824689, 3333543971, Spawn)
  213. AddConversationOption(conversation, "I'll do it.", "OfferClanImps")
  214. AddConversationOption(conversation, "I can't deal with any more of your craziness.")
  215. StartConversation(conversation, NPC, Spawn, "That's the spirit! Trudge back up the cliff and repossess our stolen supplies. The imps must have stashed them somewhere up there, Griz and I are certain of this.")
  216. end
  217. function Quest2Chat_3(NPC, Spawn)
  218. FaceTarget(NPC, Spawn)
  219. conversation = CreateConversation()
  220. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_020.mp3", "", "", 2274013459, 2869453130, Spawn)
  221. AddConversationOption(conversation, "So you want me to retrieve them?", "Quest2Chat_2")
  222. StartConversation(conversation, NPC, Spawn, "Some items are not so easily replaced, besides, goods are not arriving to New Halas as often as we need.")
  223. end
  224. function Quest2Chat_4(NPC, Spawn)
  225. FaceTarget(NPC, Spawn)
  226. conversation = CreateConversation()
  227. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_023.mp3", "", "", 3386688534, 1781356387, Spawn)
  228. AddConversationOption(conversation, "That's good to know.", "Quest2Chat_5")
  229. StartConversation(conversation, NPC, Spawn, "It is not that he lacks confidence in you, it is just that he feared something foul had happened to you. ")
  230. end
  231. function Quest2Chat_5(NPC, Spawn)
  232. FaceTarget(NPC, Spawn)
  233. conversation = CreateConversation()
  234. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_024.mp3", "", "", 4143574781, 924201521, Spawn)
  235. AddConversationOption(conversation, "I did. Here's all that I was able to find.", "Quest2Chat_6")
  236. StartConversation(conversation, NPC, Spawn, "I mean, you did repossess our stolen supplies, aye?")
  237. end
  238. function Quest2Chat_6(NPC, Spawn)
  239. SetStepComplete(Spawn, ClanImps, 3)
  240. FaceTarget(NPC, Spawn)
  241. conversation = CreateConversation()
  242. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_025.mp3", "", "", 3946443740, 2381252616, Spawn)
  243. AddConversationOption(conversation, "I'm glad to hear it was worth it.")
  244. StartConversation(conversation, NPC, Spawn, "Good work! These items will come in very handy.")
  245. end
  246. function Quest3Chat_1(NPC, Spawn)
  247. FaceTarget(NPC, Spawn)
  248. conversation = CreateConversation()
  249. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_028.mp3", "", "", 2981574255, 260475867, Spawn)
  250. AddConversationOption(conversation, "Yes, and they are doing something on the chunk of ice next to it.", "Quest3Chat_2")
  251. StartConversation(conversation, NPC, Spawn, "Ah! They have started to inhabit that island now, too?")
  252. end
  253. function Quest3Chat_2(NPC, Spawn)
  254. FaceTarget(NPC, Spawn)
  255. conversation = CreateConversation()
  256. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_029.mp3", "", "", 1298453249, 1624889815, Spawn)
  257. AddConversationOption(conversation, "I saw it, myself.", "Quest3Chat_3")
  258. AddConversationOption(conversation, "Thirin's scouts said as much.", "Quest3Chat_3")
  259. StartConversation(conversation, NPC, Spawn, "You know this for certain?")
  260. end
  261. function Quest3Chat_3(NPC, Spawn)
  262. FaceTarget(NPC, Spawn)
  263. conversation = CreateConversation()
  264. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_030.mp3", "", "", 110505260, 1254849801, Spawn)
  265. AddConversationOption(conversation, "Sorry.", "Quest3Chat_4")
  266. AddConversationOption(conversation, "I didn't.")
  267. StartConversation(conversation, NPC, Spawn, "Whoa, no need to yell!")
  268. end
  269. function Quest3Chat_4(NPC, Spawn)
  270. FaceTarget(NPC, Spawn)
  271. conversation = CreateConversation()
  272. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_031.mp3", "", "", 1992133863, 2456842289, Spawn)
  273. AddConversationOption(conversation, "Yeah, but about the orcs?", "Quest3Chat_5")
  274. StartConversation(conversation, NPC, Spawn, "Not you, " .. GetName(Spawn) .. ". Griz. I nearly went deaf with that one. And how would you like it if I did? Then who would listen to you?")
  275. end
  276. function Quest3Chat_5(NPC, Spawn)
  277. FaceTarget(NPC, Spawn)
  278. conversation = CreateConversation()
  279. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_032.mp3", "", "", 3606219990, 1558926638, Spawn)
  280. AddConversationOption(conversation, "I can.", "OfferMysteryIceberg")
  281. AddConversationOption(conversation, "I am not going over there. No way!")
  282. StartConversation(conversation, NPC, Spawn, "Right! The orcs. We need to find out what scheme they are hatching over there on the iceberg. Think you can get there?")
  283. end
  284. function Quest3Chat_6(NPC, Spawn)
  285. FaceTarget(NPC, Spawn)
  286. conversation = CreateConversation()
  287. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_027.mp3", "", "", 3550762599, 2709264922, Spawn)
  288. AddConversationOption(conversation, "Thirin Veliumdelver had me hunting orcs on Jagged Daggers Isle.", "Quest3Chat_1")
  289. AddConversationOption(conversation, "And they will stay that way.")
  290. StartConversation(conversation, NPC, Spawn, "We are not unconvinced, are we Griz? But your secrets are your own.")
  291. end
  292. function Quest3Chat_7(NPC, Spawn)
  293. FaceTarget(NPC, Spawn)
  294. conversation = CreateConversation()
  295. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_035.mp3", "", "", 3450964539, 968602792, Spawn)
  296. AddConversationOption(conversation, "No, that is all.", "Quest3Chat_8")
  297. StartConversation(conversation, NPC, Spawn, "Maybe they are using them as tools to climb the ice? Hmm. Did you find anything else?")
  298. end
  299. function Quest3Chat_8(NPC, Spawn)
  300. SetStepComplete(Spawn, MysteryIceberg, 3)
  301. FaceTarget(NPC, Spawn)
  302. conversation = CreateConversation()
  303. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_036.mp3", "", "", 4224938593, 2388251058, Spawn)
  304. AddConversationOption(conversation, "You're welcome.")
  305. StartConversation(conversation, NPC, Spawn, "Thank you for the service.")
  306. end
  307. function Quest4Chat_1(NPC, Spawn)
  308. FaceTarget(NPC, Spawn)
  309. conversation = CreateConversation()
  310. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_038.mp3", "", "", 4135142976, 4005855669, Spawn)
  311. AddConversationOption(conversation, "Not all of them, but there's far less now.", "Quest4Chat_2")
  312. StartConversation(conversation, NPC, Spawn, "Mithaniel's fury! I hope you cut them down!")
  313. end
  314. function Quest4Chat_2(NPC, Spawn)
  315. FaceTarget(NPC, Spawn)
  316. conversation = CreateConversation()
  317. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_039.mp3", "", "", 2291485181, 3172762716, Spawn)
  318. AddConversationOption(conversation, "No.", "Quest4Chat_3")
  319. AddConversationOption(conversation, "Yes. It really will.")
  320. StartConversation(conversation, NPC, Spawn, "Far less?! That just won't do! Culling a few of these monsters never satisfied me! Will it satisfy you?")
  321. end
  322. function Quest4Chat_3(NPC, Spawn)
  323. FaceTarget(NPC, Spawn)
  324. conversation = CreateConversation()
  325. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_040.mp3", "", "", 4113678321, 3822036418, Spawn)
  326. AddConversationOption(conversation, "I said, no. It will not satisfy me.", "Quest4Chat_4")
  327. AddConversationOption(conversation, "Yes. It really will.")
  328. StartConversation(conversation, NPC, Spawn, "I'm not asking you, Griz. I know where you stand on the stinking brutes! What do you say, " .. GetName(Spawn) .. "?")
  329. end
  330. function Quest4Chat_4(NPC, Spawn)
  331. FaceTarget(NPC, Spawn)
  332. conversation = CreateConversation()
  333. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_041.mp3", "", "", 2166082015, 1750776733, Spawn)
  334. AddConversationOption(conversation, "I'll be sure to use it on them!", "OfferBecomingOrcbane")
  335. AddConversationOption(conversation, "Nevermind then. I should be going.")
  336. StartConversation(conversation, NPC, Spawn, "That's the Orcbane spirit! Ah, and Griz is right. You deserve a bit of a boost, too. Anything to help you beat back the horde of Ry'Gorr. It is a potion that will sap their life essence.")
  337. end
  338. function Quest4Chat_5(NPC, Spawn)
  339. SetStepComplete(Spawn, BecomingOrcbane, 2)
  340. FaceTarget(NPC, Spawn)
  341. conversation = CreateConversation()
  342. PlayFlavor(NPC, "", "", "bow", 0, 0, Spawn)
  343. AddConversationOption(conversation, "Thank you.")
  344. StartConversation(conversation, NPC, Spawn, "I had all confidence in you!")
  345. end
  346. function Quest5Chat_1(NPC, Spawn)
  347. FaceTarget(NPC, Spawn)
  348. conversation = CreateConversation()
  349. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_049.mp3", "", "", 2034719920, 764754594, Spawn)
  350. AddConversationOption(conversation, "Should I be worried?", "Quest5Chat_2")
  351. AddConversationOption(conversation, "How can I get rid of it?", "Quest5Chat_4")
  352. StartConversation(conversation, NPC, Spawn, "Yes, Griz. It must be their old magick that lingers on you now.")
  353. end
  354. function Quest5Chat_2(NPC, Spawn)
  355. FaceTarget(NPC, Spawn)
  356. conversation = CreateConversation()
  357. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_050.mp3", "", "", 1934837003, 1465604041, Spawn)
  358. AddConversationOption(conversation, "That's good.", "Quest5Chat_3")
  359. StartConversation(conversation, NPC, Spawn, "No. It will dissipate in time.")
  360. end
  361. function Quest5Chat_3(NPC, Spawn)
  362. FaceTarget(NPC, Spawn)
  363. conversation = CreateConversation()
  364. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_052.mp3", "", "", 4209716810, 1939380730, Spawn)
  365. AddConversationOption(conversation, "How are we going to get it?", "OfferFlawlessChore")
  366. AddConversationOption(conversation, "Get someone else for this task.")
  367. StartConversation(conversation, NPC, Spawn, "But maybe we could use that magick in our ongoing fight with the Ry'Gorr. Griz that is a sound idea!")
  368. end
  369. function Quest5Chat_4(NPC, Spawn)
  370. FaceTarget(NPC, Spawn)
  371. conversation = CreateConversation()
  372. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_051.mp3", "", "", 2778768716, 4176738164, Spawn)
  373. AddConversationOption(conversation, "That's good.", "Quest5Chat_3")
  374. StartConversation(conversation, NPC, Spawn, "Time. It will dissipate in time.")
  375. end
  376. function Quest5Chat_5(NPC, Spawn)
  377. FaceTarget(NPC, Spawn)
  378. conversation = CreateConversation()
  379. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_055.mp3", "", "", 724900994, 1307450344, Spawn)
  380. AddConversationOption(conversation, "Unless what?", "Quest5Chat_6")
  381. StartConversation(conversation, NPC, Spawn, "I agree. He should sense more of it what with you carrying all those. Unless...")
  382. end
  383. function Quest5Chat_6(NPC, Spawn)
  384. SetStepComplete(Spawn, FlawlessChore, 2)
  385. FaceTarget(NPC, Spawn)
  386. conversation = CreateConversation()
  387. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_056.mp3", "", "", 886559545, 4266167856, Spawn)
  388. AddConversationOption(conversation, "Glad to be appreciated.", "Quest6Chat_1")
  389. StartConversation(conversation, NPC, Spawn, "It must not have been the Velinoid creatures. We made a mistake. Griz is sorry about it, too. But you did fulfill your task and for that we are grateful.")
  390. end
  391. function Quest6Chat_1(NPC, Spawn)
  392. FaceTarget(NPC, Spawn)
  393. conversation = CreateConversation()
  394. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_057.mp3", "", "", 3810409959, 1206652947, Spawn)
  395. AddConversationOption(conversation, "What are you talking about?", "Quest6Chat_2")
  396. StartConversation(conversation, NPC, Spawn, "No, Griz. I said no. There's got to be another way. They'll try again. How about that?")
  397. end
  398. function Quest6Chat_2(NPC, Spawn)
  399. FaceTarget(NPC, Spawn)
  400. conversation = CreateConversation()
  401. PlayFlavor(NPC, "knut_orcbane/halas/cragged_spine/knut_orcbane_058.mp3", "", "", 2407855497, 623007376, Spawn)
  402. AddConversationOption(conversation, "But what am I looking for?", "Quest6Chat_3")
  403. AddConversationOption(conversation, "I can do that.", "Quest6Chat_4")
  404. AddConversationOption(conversation, "I am not going back down there. Good bye.")
  405. StartConversation(conversation, NPC, Spawn, "Griz wants you to return to the caves under this island, in search of the old magick.")
  406. end
  407. function Quest6Chat_3(NPC, Spawn)
  408. FaceTarget(NPC, Spawn)
  409. conversation = CreateConversation()
  410. PlayFlavor(NPC, "", "", "shrug", 0, 0, Spawn)
  411. AddConversationOption(conversation, "Then how am I supposed to...", "Quest6Chat_4")
  412. StartConversation(conversation, NPC, Spawn, "He doesn't know and neither do I.")
  413. end
  414. function Quest6Chat_4(NPC, Spawn)
  415. FaceTarget(NPC, Spawn)
  416. conversation = CreateConversation()
  417. AddConversationOption(conversation, "I'll do it. I'll take him down with me.", "OfferSometimesKnut")
  418. AddConversationOption(conversation, "No thank you. You can keep your companion to yourself.")
  419. StartConversation(conversation, NPC, Spawn, "He wants you to take him with you. It's the only way for him to be sure that you find the source.")
  420. end
  421. function Quest6Chat_5(NPC, Spawn)
  422. FaceTarget(NPC, Spawn)
  423. conversation = CreateConversation()
  424. AddConversationOption(conversation, "He told me to destroy it. It was a black shard, like the ones that were being used to raise Ry'Gorr skeletons.", "Quest6Chat_6")
  425. StartConversation(conversation, NPC, Spawn, "What? I thought he wanted to find it and use it?")
  426. end
  427. function Quest6Chat_6(NPC, Spawn)
  428. FaceTarget(NPC, Spawn)
  429. conversation = CreateConversation()
  430. AddConversationOption(conversation, "Good thing we found it.", "Quest6Chat_7")
  431. StartConversation(conversation, NPC, Spawn, "Ah, then it is best to destroy it. They must have wanted to plant it below New Halas in order to bring forth an army of undead within the city.")
  432. end
  433. function Quest6Chat_7(NPC, Spawn)
  434. SetStepComplete(Spawn, SometimesKnut, 4)
  435. RemoveItem(Spawn, 157116)
  436. FaceTarget(NPC, Spawn)
  437. conversation = CreateConversation()
  438. AddConversationOption(conversation, "Certainly.")
  439. AddConversationOption(conversation, "I will miss him.")
  440. StartConversation(conversation, NPC, Spawn, "Now take this, as you have earned it, " .. GetName(Spawn) .. ". And return to me my friend, Griz.")
  441. end
  442. function OfferImpishThreats(NPC, Spawn)
  443. OfferQuest(NPC, Spawn, ImpishThreats)
  444. end
  445. function OfferClanImps(NPC, Spawn)
  446. OfferQuest(NPC, Spawn, ClanImps)
  447. end
  448. function OfferMysteryIceberg(NPC, Spawn)
  449. OfferQuest(NPC, Spawn, MysteryIceberg)
  450. end
  451. function OfferBecomingOrcbane(NPC, Spawn)
  452. OfferQuest(NPC, Spawn, BecomingOrcbane)
  453. end
  454. function OfferFlawlessChore(NPC, Spawn)
  455. OfferQuest(NPC, Spawn, FlawlessChore)
  456. end
  457. function OfferSometimesKnut(NPC, Spawn)
  458. OfferQuest(NPC, Spawn, SometimesKnut)
  459. end