9
3

OdonScourgeson.lua 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/OdonScourgeson.lua
  3. Script Purpose : Odon Scourgeson
  4. Script Author : theFoof
  5. Script Date : 2013.06.16
  6. Script Notes :
  7. --]]
  8. local NothingWaste = 56
  9. local WhirlingTime = 70
  10. local HighlyMaterials = 74
  11. local CampsideSpores = 75
  12. local BelowWaves = 59
  13. local RyGorrTaking = 76
  14. local WatchBelow = 77
  15. local RyGorrOperations = 60
  16. function spawn(NPC)
  17. ProvidesQuest(NPC, WhirlingTime)
  18. ProvidesQuest(NPC, HighlyMaterials)
  19. ProvidesQuest(NPC, CampsideSpores)
  20. ProvidesQuest(NPC, RyGorrTaking)
  21. ProvidesQuest(NPC, WatchBelow)
  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, NothingWaste) and not HasCompletedQuest(Spawn, WhirlingTime) and not HasQuest(Spawn, WhirlingTime) then
  30. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_001.mp3", "", "", 1144750617, 3119311088, Spawn)
  31. AddConversationOption(conversation, "Well said, child of Marr!", "Quest1Chat_1")
  32. AddConversationOption(conversation, "For the right cause.", "Quest1Chat_5")
  33. AddConversationOption(conversation, "I hope the Ry'Gorr think so!", "Quest1Chat_6")
  34. AddConversationOption(conversation, "I would prefer another day.")
  35. StartConversation(conversation, NPC, Spawn, "It's a good day to die!")
  36. elseif GetQuestStep(Spawn, WhirlingTime) == 1 and not HasItem(Spawn, 6556) then
  37. PlayFlavor(NPC, "", "It's an awfully big challenge to apply the Draught of Whirling ice if you don't have it with you. Now be more careful with this vial of the dram!", "laugh", 0, 0, Spawn)
  38. SummonItem(Spawn, 6556)
  39. elseif GetQuestStep(Spawn, WhirlingTime) == 1 and HasItem(Spawn, 6556) then
  40. PlayFlavor(NPC, "", "Be sure to apply the Draught of Whirling Ice at the locations on the beach marked by a glowing green arrow shaft.", "agree", 0, 0, Spawn)
  41. elseif GetQuestStep(Spawn, WhirlingTime) == 2 then
  42. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_012.mp3", "", "", 3270179329, 857883489, Spawn)
  43. AddConversationOption(conversation, "Yes, the confused orcs were easy pickings.", "Quest1Chat_7")
  44. StartConversation(conversation, NPC, Spawn, "How did the Draught of Whirling Ice fare, " .. GetName(Spawn) .. "? Did it work as we had hoped?")
  45. elseif HasCompletedQuest(Spawn, WhirlingTime) and not HasCompletedQuest(Spawn, HighlyMaterials) and not HasQuest(Spawn, HighlyMaterials) then
  46. Quest2Chat_1(NPC, Spawn)
  47. elseif GetQuestStep(Spawn, HighlyMaterials) == 3 then
  48. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_017.mp3", "", "", 1752904205, 2236174308, Spawn)
  49. AddConversationOption(conversation, "You were right. There was a Ry'Gorr encampment over there.", "Quest2Chat_3")
  50. StartConversation(conversation, NPC, Spawn, "What did you find on Jagged Daggers, " .. GetName(Spawn) .. "?")
  51. elseif HasCompletedQuest(Spawn, HighlyMaterials) and not HasCompletedQuest(Spawn, CampsideSpores) and not HasQuest(Spawn, CampsideSpores) then
  52. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_019.mp3", "", "", 1424971577, 1250350308, Spawn)
  53. AddConversationOption(conversation, "He sent me to hunt the Ry'Gorr on Jagged Daggers isle.", "Quest3Chat_1")
  54. AddConversationOption(conversation, "I don't have time to talk right now.")
  55. StartConversation(conversation, NPC, Spawn, "What did the mighty coldain want with you, " .. GetName(Spawn) .. "?")
  56. elseif GetQuestStep(Spawn, CampsideSpores) == 1 then
  57. PlayFlavor(NPC, "", "Be sure to spread the crustose spores on any Ry'Gorr provisions that you find on the iceberg floating nearby.", "nod", 0, 0, Spawn)
  58. elseif GetQuestStep(Spawn, CampsideSpores) == 2 then
  59. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_029.mp3", "", "", 2107393600, 3625608222, Spawn)
  60. AddConversationOption(conversation, "They did!", "Quest3Chat_9")
  61. StartConversation(conversation, NPC, Spawn, "Did the spores spread all over their provisions, " .. GetName(Spawn) .. "?")
  62. elseif HasCompletedQuest(Spawn, CampsideSpores) and HasCompletedQuest(Spawn, BelowWaves) and not HasCompletedQuest(Spawn, RyGorrTaking) and not HasQuest(Spawn, RyGorrTaking) then
  63. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_031.mp3", "", "", 2821703573, 187787464, Spawn)
  64. AddConversationOption(conversation, "I was exploring the caves below Erollis.", "Quest4Chat_1")
  65. AddConversationOption(conversation, "Killing orcs, of course!", "Quest4Chat_4")
  66. AddConversationOption(conversation, "That's my secret. Good day.")
  67. StartConversation(conversation, NPC, Spawn, "Where have you been, " .. GetName(Spawn) .. "?")
  68. elseif GetQuestStep(Spawn, RyGorrTaking) == 1 then
  69. PlayFlavor(NPC, "", "Good luck stealing the imbued digging tools that the Ry'Gorr are using to dig their nefarious tunnels below Erollis.", "hello", 0, 0, Spawn)
  70. elseif GetQuestStep(Spawn, RyGorrTaking) == 2 then
  71. AddConversationOption(conversation, "I did, along with their explosive barrels.", "Quest4Chat_5")
  72. StartConversation(conversation, NPC, Spawn, "You found the magically imbued tools that the Ry'Gorr were using to dig with, didn't you, " .. GetName(Spawn) .. "?")
  73. elseif HasCompletedQuest(Spawn, RyGorrTaking) and HasCompletedQuest(Spawn, RyGorrOperations) and not HasQuest(Spawn, WatchBelow) and not HasCompletedQuest(Spawn, WatchBelow) then
  74. AddConversationOption(conversation, "It is true.", "Quest5Chat_1")
  75. AddConversationOption(conversation, "No. You're as crazy as Knut.")
  76. StartConversation(conversation, NPC, Spawn, "Is it true, " .. GetName(Spawn) .. "? Did you really find some crazed crystal men deeper within this chunk of floating rock?")
  77. elseif GetQuestStep(Spawn, WatchBelow) == 1 then
  78. PlayFlavor(NPC, "", "Good luck harevesting the glimmering velium from within the Velinoid Catacombs.", "hello", 0, 0, Spawn)
  79. elseif GetQuestStep(Spawn, WatchBelow) == 2 then
  80. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_043.mp3", "", "", 4171793069, 3413255044, Spawn)
  81. AddConversationOption(conversation, "I was, Odon.", "Quest5Chat_4")
  82. StartConversation(conversation, NPC, Spawn, "Were you able to harvest any glimmering velium from within the Velinoid Catacombs?")
  83. elseif HasCompletedQuest(Spawn, WatchBelow) and not HasQuest(Spawn, WatchBelow) then
  84. Quest5Chat_5(NPC, Spawn)
  85. else
  86. PlayFlavor(NPC, "", "Go see Thirin, I think he could use your help.", "point", 0, 0, Spawn)
  87. end
  88. end
  89. function Quest1Chat_1(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_004.mp3", "", "", 1709766346, 172975097, Spawn)
  93. AddConversationOption(conversation, "So, let's not be the ones to fall.", "Quest1Chat_2")
  94. AddConversationOption(conversation, "If you say so. I have to go now.")
  95. StartConversation(conversation, NPC, Spawn, "But the longer we live, the more battles we win, and the more honor we bring our ancestors and the gods.")
  96. end
  97. function Quest1Chat_2(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_008.mp3", "", "", 2616918524, 807359858, Spawn)
  101. AddConversationOption(conversation, "Do you have any specific plans?", "Quest1Chat_3")
  102. StartConversation(conversation, NPC, Spawn, "Aye! Let's send these Ry'Gorr back to the vile pits of putrescence they crawled out of!")
  103. end
  104. function Quest1Chat_3(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. conversation = CreateConversation()
  107. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_009.mp3", "", "", 3949479903, 2077309090, Spawn)
  108. AddConversationOption(conversation, "How will they help?", "Quest1Chat_4")
  109. StartConversation(conversation, NPC, Spawn, "That I do, " .. GetName(Spawn) .. "! I am quite the accomplished spell weaver and potion maker. And I have a draught that can create whirlstorms of ice and fog.")
  110. end
  111. function Quest1Chat_4(NPC, Spawn)
  112. FaceTarget(NPC, Spawn)
  113. conversation = CreateConversation()
  114. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_010.mp3", "", "", 2575484340, 3344993647, Spawn)
  115. AddConversationOption(conversation, "Oh, that sounds great!", "OfferWhirlingTime")
  116. AddConversationOption(conversation, "I am not going towards that beach! No way.")
  117. StartConversation(conversation, NPC, Spawn, "You will release them at specific spots upon the nearby beach front, where the orcs are attacking. Within the fog and confusion our forces will have the upper hand!")
  118. end
  119. function Quest1Chat_5(NPC, Spawn)
  120. FaceTarget(NPC, Spawn)
  121. conversation = CreateConversation()
  122. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_005.mp3", "", "", 292963711, 1258540494, Spawn)
  123. AddConversationOption(conversation, "On that, we agree.", "Quest1Chat_2")
  124. AddConversationOption(conversation, "If you say so. I have to go now.")
  125. StartConversation(conversation, NPC, Spawn, "There is no cause more right than keeping our budding city safe from destruction and chaos.")
  126. end
  127. function Quest1Chat_6(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. conversation = CreateConversation()
  130. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_006.mp3", "", "", 3024969642, 2041615693, Spawn)
  131. AddConversationOption(conversation, "On that, we agree.", "Quest1Chat_2")
  132. AddConversationOption(conversation, "If you say so. I have to go now.")
  133. StartConversation(conversation, NPC, Spawn, "Har! Since they are going to be the ones dying! I like the way you think! We must keep our budding city safe from destruction and chaos.")
  134. end
  135. function Quest1Chat_7(NPC, Spawn)
  136. SetStepComplete(Spawn, WhirlingTime, 2)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_013.mp3", "", "", 2453186461, 1568033116, Spawn)
  140. AddConversationOption(conversation, "Right!", "Quest2Chat_1")
  141. StartConversation(conversation, NPC, Spawn, "Good! And let that be a lesson to you: Never underestimate the natural elements.")
  142. end
  143. function Quest2Chat_1(NPC, Spawn)
  144. FaceTarget(NPC, Spawn)
  145. conversation = CreateConversation()
  146. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_014.mp3", "", "", 4142819387, 1980291564, Spawn)
  147. AddConversationOption(conversation, "It stands to reason.", "Quest2Chat_2")
  148. AddConversationOption(conversation, "Yes. But I don't care.")
  149. StartConversation(conversation, NPC, Spawn, "This has me thinking, " .. GetName(Spawn) .. ". If we can use the natural elements of ice and fog as sight barriers then the orcs can too.")
  150. end
  151. function Quest2Chat_2(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_015.mp3", "", "", 3627942377, 4151235206, Spawn)
  155. AddConversationOption(conversation, "I can do that.", "OfferHighlyMaterials")
  156. AddConversationOption(conversation, "I am not going over to that orc infested island. No way!")
  157. StartConversation(conversation, NPC, Spawn, "They could be hiding an entire encampment on that fog-blanketed chunk of ice across the water. I am needed here to create healing draughts for the wounded, but if you can venture over to Jagged Daggers then we can find out if that is why they continue to bombard our defenses here.")
  158. end
  159. function Quest2Chat_3(NPC, Spawn)
  160. SetStepComplete(Spawn, HighlyMaterials, 3)
  161. FaceTarget(NPC, Spawn)
  162. conversation = CreateConversation()
  163. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_018.mp3", "", "", 3574043874, 440859829, Spawn)
  164. AddConversationOption(conversation, "Yes, I did.")
  165. StartConversation(conversation, NPC, Spawn, "But you found it and destroyed it?")
  166. end
  167. function Quest3Chat_1(NPC, Spawn)
  168. FaceTarget(NPC, Spawn)
  169. conversation = CreateConversation()
  170. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_020.mp3", "", "", 17932445, 4044568976, Spawn)
  171. AddConversationOption(conversation, "What do you mean?", "Quest3Chat_2")
  172. StartConversation(conversation, NPC, Spawn, "You are going to give old Orcbane a run for his title if you keep that up! Of course, that may not be a good thing if it makes you as crazy as it has made him.")
  173. end
  174. function Quest3Chat_2(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. conversation = CreateConversation()
  177. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_021.mp3", "", "", 748617031, 40578181, Spawn)
  178. AddConversationOption(conversation, "What makes you say that?", "Quest3Chat_3")
  179. AddConversationOption(conversation, "I didn't. Oh, wait... Yes, I did.", "Quest3Chat_2")
  180. StartConversation(conversation, NPC, Spawn, "The man was a celebrated warrior - a clan hero! But the years and battles have taken their toll. One too many hits to that thick skull, if'n you ask me.")
  181. end
  182. function Quest3Chat_3(NPC, Spawn)
  183. FaceTarget(NPC, Spawn)
  184. conversation = CreateConversation()
  185. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_022.mp3", "", "", 3153750446, 2946380071, Spawn)
  186. AddConversationOption(conversation, "I agree.", "Quest3Chat_4")
  187. AddConversationOption(conversation, "Well, let's just consider him eccentric.", "Quest3Chat_5")
  188. StartConversation(conversation, NPC, Spawn, "He swears on Greyvax's grave that his bear pelt talks to him! That's evidence enough, friend.")
  189. end
  190. function Quest3Chat_4(NPC, Spawn)
  191. FaceTarget(NPC, Spawn)
  192. conversation = CreateConversation()
  193. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_023.mp3", "", "", 1008524247, 3710738942, Spawn)
  194. AddConversationOption(conversation, "Nutty Knut. I get it.", "Quest3Chat_6")
  195. StartConversation(conversation, NPC, Spawn, "The man is drinking from a cracked stein, I tell you.")
  196. end
  197. function Quest3Chat_5(NPC, Spawn)
  198. FaceTarget(NPC, Spawn)
  199. conversation = CreateConversation()
  200. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_024.mp3", "", "", 626779963, 1838376893, Spawn)
  201. AddConversationOption(conversation, "Thank you.", "Quest3Chat_6")
  202. StartConversation(conversation, NPC, Spawn, "You are suggesting we agree to disagree. I've never seen much reason for it, but since it is old Orcbane, I will.")
  203. end
  204. function Quest3Chat_6(NPC, Spawn)
  205. FaceTarget(NPC, Spawn)
  206. conversation = CreateConversation()
  207. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_025.mp3", "", "", 2325720721, 1852675464, Spawn)
  208. AddConversationOption(conversation, "Actually, yes. I saw several Ry'Gorr orcs amassing supplies.", "Quest3Chat_7")
  209. StartConversation(conversation, NPC, Spawn, "Heh. So, did you find anything interesting on Jagged Daggers isle?")
  210. end
  211. function Quest3Chat_7(NPC, Spawn)
  212. FaceTarget(NPC, Spawn)
  213. conversation = CreateConversation()
  214. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_026.mp3", "", "", 3614477806, 1870107129, Spawn)
  215. AddConversationOption(conversation, "Right. I'm the one yapping like a hound.", "Quest3Chat_8")
  216. AddConversationOption(conversation, "Excuse me?", "Quest3Chat_8")
  217. StartConversation(conversation, NPC, Spawn, "You what?! " .. GetName(Spawn) .. ", you've got to learn to share the important information. Don't stand about yapping on like some excited hound when there is fighting to be had!")
  218. end
  219. function Quest3Chat_8(NPC, Spawn)
  220. FaceTarget(NPC, Spawn)
  221. conversation = CreateConversation()
  222. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_027.mp3", "", "", 1143831396, 1034337351, Spawn)
  223. AddConversationOption(conversation, "I can do that.", "OfferCampsideSpores")
  224. AddConversationOption(conversation, "I have destroyed enough of their stuff, already. Good bye.")
  225. StartConversation(conversation, NPC, Spawn, "I forgive you. Now, this is the perfect time to employ another form of natural element in our ongoing battle against the Ry'Gorr. We are going to destroy their provisions!")
  226. end
  227. function Quest3Chat_9(NPC, Spawn)
  228. SetStepComplete(Spawn, CampsideSpores, 2)
  229. FaceTarget(NPC, Spawn)
  230. conversation = CreateConversation()
  231. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_030.mp3", "", "", 23529339, 1329281501, Spawn)
  232. AddConversationOption(conversation, "Right.")
  233. StartConversation(conversation, NPC, Spawn, "We learned about those little buggers the hard way, but at least we can use them for our own good.")
  234. end
  235. function Quest4Chat_1(NPC, Spawn)
  236. FaceTarget(NPC, Spawn)
  237. conversation = CreateConversation()
  238. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_033.mp3", "", "", 3483970131, 1743071905, Spawn)
  239. AddConversationOption(conversation, "Yes. And the Ry'Gorr have been making them bigger.", "Quest4Chat_2")
  240. StartConversation(conversation, NPC, Spawn, "There are caves under this floating island?")
  241. end
  242. function Quest4Chat_2(NPC, Spawn)
  243. FaceTarget(NPC, Spawn)
  244. conversation = CreateConversation()
  245. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_034.mp3", "", "", 491076810, 2688982472, Spawn)
  246. AddConversationOption(conversation, "Apparently, they are.", "Quest4Chat_3")
  247. AddConversationOption(conversation, "Me either.", "Quest4Chat_3")
  248. StartConversation(conversation, NPC, Spawn, "Dear Marr! They have been attempting to hold our attention on top with skirmishes while all along they have been digging tunnels from below?! I never thought them so sneaky.")
  249. end
  250. function Quest4Chat_3(NPC, Spawn)
  251. FaceTarget(NPC, Spawn)
  252. conversation = CreateConversation()
  253. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_035.mp3", "", "", 3997881517, 11859709, Spawn)
  254. AddConversationOption(conversation, "I sure can, Odon.", "OfferRyGorrTaking")
  255. AddConversationOption(conversation, "I am not willing to go back down there. No way!")
  256. StartConversation(conversation, NPC, Spawn, "They must be using special tools, some magically imbued ones, to dig through the velium and ice that make this floating rock. Will you enter the caves and steal any such tools that you find? That will slow their progress while others can go in and hunt them.")
  257. end
  258. function Quest4Chat_4(NPC, Spawn)
  259. FaceTarget(NPC, Spawn)
  260. conversation = CreateConversation()
  261. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_032.mp3", "", "", 775129944, 2032173914, Spawn)
  262. AddConversationOption(conversation, "In the caves below Erollis.", "Quest4Chat_1")
  263. StartConversation(conversation, NPC, Spawn, "I would expect nothing less! Tell me, where were you slaying the beasts?")
  264. end
  265. function Quest4Chat_5(NPC, Spawn)
  266. SetStepComplete(Spawn, RyGorrTaking, 2)
  267. FaceTarget(NPC, Spawn)
  268. conversation = CreateConversation()
  269. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_037.mp3", "", "", 3945219846, 2009013253, Spawn)
  270. AddConversationOption(conversation, "Thank you.")
  271. AddConversationOption(conversation, "I'm beginning to think so, too.")
  272. StartConversation(conversation, NPC, Spawn, "That is excellent, my friend! I am more certain today that your arrival here was not just a roll of luck, but predestined by the gods.")
  273. end
  274. function Quest5Chat_1(NPC, Spawn)
  275. FaceTarget(NPC, Spawn)
  276. conversation = CreateConversation()
  277. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_039.mp3", "", "", 1313157093, 2613440725, Spawn)
  278. AddConversationOption(conversation, "I don't know, but they looked like it.", "Quest5Chat_2")
  279. StartConversation(conversation, NPC, Spawn, "They are made of velium?")
  280. end
  281. function Quest5Chat_2(NPC, Spawn)
  282. FaceTarget(NPC, Spawn)
  283. conversation = CreateConversation()
  284. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_040.mp3", "", "", 1326282045, 1993468470, Spawn)
  285. AddConversationOption(conversation, "Oh, what are you thinking?", "Quest5Chat_3")
  286. AddConversationOption(conversation, "That would be nice.", "Quest5Chat_3")
  287. StartConversation(conversation, NPC, Spawn, "Amazing. If it isn't one threat to our struggling city, it's another! But just maybe there is something to be gained here.")
  288. end
  289. function Quest5Chat_3(NPC, Spawn)
  290. FaceTarget(NPC, Spawn)
  291. conversation = CreateConversation()
  292. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_041.mp3", "", "", 513600053, 106599260, Spawn)
  293. AddConversationOption(conversation, "I'll harvest some from within the Velinoid Catacombs for you.", "OfferWatchBelow")
  294. AddConversationOption(conversation, "It's too dangerous. Count me out!")
  295. StartConversation(conversation, NPC, Spawn, "Velium is a prized element, " .. GetName(Spawn) .. ". I am willing to bet that there's a hefty copper to be made from velium harvested at such a location. Velium steeped in such potent arcanum must be even more desirable!")
  296. end
  297. function Quest5Chat_4(NPC, Spawn)
  298. SetStepComplete(Spawn, WatchBelow, 2)
  299. FaceTarget(NPC, Spawn)
  300. conversation = CreateConversation()
  301. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_044.mp3", "", "", 4176364117, 3019596787, Spawn)
  302. AddConversationOption(conversation, "You're welcome.", "Quest5Chat_5")
  303. StartConversation(conversation, NPC, Spawn, "Ah! Look how it gleams, " .. GetName(Spawn) .. "! I am sure it will help to bankroll our operation here. Thank you.")
  304. end
  305. function Quest5Chat_5(NPC, Spawn)
  306. FaceTarget(NPC, Spawn)
  307. conversation = CreateConversation()
  308. PlayFlavor(NPC, "odon_scourgeson/halas/cragged_spine/odon_scourgeson_045.mp3", "", "", 653096289, 4240580228, Spawn)
  309. AddConversationOption(conversation, "Sure, I am!", "OfferWatchBelow")
  310. AddConversationOption(conversation, "No. I am not.")
  311. StartConversation(conversation, NPC, Spawn, "Are you willing to return to the Velinoid Catacombs in order to collect us more glimmering velium, " .. GetName(Spawn) .. "?")
  312. end
  313. function OfferWhirlingTime(NPC, Spawn)
  314. OfferQuest(NPC, Spawn, WhirlingTime)
  315. end
  316. function OfferHighlyMaterials(NPC, Spawn)
  317. OfferQuest(NPC, Spawn, HighlyMaterials)
  318. end
  319. function OfferCampsideSpores(NPC, Spawn)
  320. OfferQuest(NPC, Spawn, CampsideSpores)
  321. end
  322. function OfferRyGorrTaking(NPC, Spawn)
  323. OfferQuest(NPC, Spawn, RyGorrTaking)
  324. end
  325. function OfferWatchBelow(NPC, Spawn)
  326. OfferQuest(NPC, Spawn, WatchBelow)
  327. end