MavBoilfist.lua 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. --[[
  2. Script Name : SpawnScripts/Graystone/MavBoilfist.lua
  3. Script Purpose : Mav Boilfist
  4. Script Author : Scatman
  5. Script Date : 2009.10.05
  6. Script Notes :
  7. --]]
  8. local DWARF = 2
  9. local QUEST_1 = 283
  10. local QUEST_2 = 285
  11. local QUEST_3 = 286
  12. local QUEST_4 = 287
  13. local QUEST_5 = 288
  14. function spawn(NPC)
  15. ProvidesQuest(NPC, QUEST_1)
  16. ProvidesQuest(NPC, QUEST_2)
  17. ProvidesQuest(NPC, QUEST_3)
  18. ProvidesQuest(NPC, QUEST_4)
  19. ProvidesQuest(NPC, QUEST_5)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. if HasCompletedQuest(Spawn, QUEST_1) then
  25. if HasCompletedQuest(Spawn, QUEST_2) then
  26. if HasCompletedQuest(Spawn, QUEST_3) then
  27. if HasCompletedQuest(Spawn, QUEST_4) then
  28. if HasCompletedQuest(Spawn, QUEST_5) then
  29. OnQuest5(NPC, Spawn, conversation)
  30. elseif HasQuest(Spawn, QUEST_5) then
  31. OnQuest5(NPC, Spawn, conversation)
  32. else
  33. OnQuest4(NPC, Spawn, conversation)
  34. end
  35. elseif HasQuest(Spawn, QUEST_4) then
  36. OnQuest4(NPC, Spawn, conversation)
  37. else
  38. OnQuest3(NPC, Spawn, conversation)
  39. end
  40. elseif HasQuest(Spawn, QUEST_3) then
  41. OnQuest3(NPC, Spawn, conversation)
  42. else
  43. OnQuest2(NPC, Spawn, conversation)
  44. end
  45. elseif HasQuest(Spawn, QUEST_2) then
  46. OnQuest2(NPC, Spawn, conversation)
  47. else
  48. OnQuest1(NPC, Spawn, conversation)
  49. end
  50. elseif HasQuest(Spawn, QUEST_1) then
  51. OnQuest1(NPC, Spawn, conversation)
  52. else
  53. if GetRace(Spawn) == DWARF then
  54. WellHello(NPC, Spawn, conversation)
  55. else
  56. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quest_mav_boilfist_notdwarf_78c7639c.mp3", "Sorry, I'm terribly busy right now. No time to chat.", "", 4035307086, 275588457, Spawn)
  57. end
  58. end
  59. end
  60. function respawn(NPC)
  61. spawn(NPC)
  62. end
  63. ------------------------------------------------------------------------------------------------------------------
  64. -- QUEST 1
  65. ------------------------------------------------------------------------------------------------------------------
  66. function WellHello(NPC, Spawn, conversation)
  67. AddConversationOption(conversation, "Sort of, yes.", "New")
  68. AddConversationOption(conversation, "No, I'm not new here.", "NotNew")
  69. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist001.mp3", "", "", 634247011, 356522512, Spawn)
  70. StartConversation(conversation, NPC, Spawn, "Well hello! New around here?")
  71. end
  72. function New(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. conversation = CreateConversation()
  75. AddConversationOption(conversation, "Sure, I'm willing to learn.", "WillingToLearn")
  76. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist002.mp3", "", "", 1318415576, 1321312216, Spawn)
  77. StartConversation(conversation, NPC, Spawn, "Well I'm just the one to help you out, then! I can teach you all you need to know, what do you say?")
  78. end
  79. function NotNew(NPC, Spawn)
  80. FaceTarget(NPC, Spawn)
  81. conversation = CreateConversation()
  82. AddConversationOption(conversation, "I'm interested in doing work for you.", "WillingToLearn")
  83. AddConversationOption(conversation, "I'm interested in more difficult work.", "MoreDifficultWork")
  84. StartConversation(conversation, NPC, Spawn, "Well, you can still teach an old dwarf new tricks. I've got some work for ya, if you're interested. Or, I could point you to someone who might have work that's a bit harder, if you're into that sort of thing.")
  85. end
  86. function MoreDifficultWork(NPC, Spawn)
  87. FaceTarget(NPC, Spawn)
  88. conversation = CreateConversation()
  89. AddConversationOption(conversation, "I'll go do that.")
  90. StartConversation(conversation, NPC, Spawn, "Thought you might be interested. My husband, Marv, is out in the Oakmyst Forest doing some foolish nonsense. He was supposed to be back earlier but I haven't seen him yet, that usually mean he's gotten himself into trouble. That also probably means he could use some help. If you could head into Oakmyst Forest and find him I would be thankful.")
  91. end
  92. function WillingToLearn(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. conversation = CreateConversation()
  95. AddConversationOption(conversation, "What would you like me to do?", "LikeMeToDo")
  96. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist005.mp3", "", "", 582378457, 4033004550, Spawn)
  97. StartConversation(conversation, NPC, Spawn, "Great, I've been needing someone to help me out while my husband is out. Normally one of us can look after things here at the shop while the other goes out and gets things done. With him gone, I'm having trouble keeping things running, your help would be a great boom.")
  98. end
  99. function LikeMeToDo(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. AddConversationOption(conversation, "What do you need me to do?", "NeedMeToDo")
  103. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist006.mp3", "", "", 3037335831, 4263929365, Spawn)
  104. StartConversation(conversation, NPC, Spawn, "Well. There's some brew I've been makin'. It's fermenting right here actually. It should be done very soon, and based on the last batch I tried I think I've finally perfected the mix of ingredients. It's an old family recipe that I'd forgotten about. Now that I finally got the means, I dug the recipe up and have tried my hand at it. It's taken some work, but I think it's finally worthy.")
  105. end
  106. function NeedMeToDo(NPC, Spawn)
  107. FaceTarget(NPC, Spawn)
  108. conversation = CreateConversation()
  109. AddConversationOption(conversation, "What is the problem?", "WhatProblem")
  110. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist007.mp3", "", "", 628335384, 693034307, Spawn)
  111. StartConversation(conversation, NPC, Spawn, "Oh, Right. Sorry, I carry on sometimes about things that are important to me. I need you to collect the ingredients for my next batch. I had them delivered from all over and they're finally here, but there's a problem.")
  112. end
  113. function WhatProblem(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. conversation = CreateConversation()
  116. AddConversationOption(conversation, "What are you going to have me do?", "HaveMeDo")
  117. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist008.mp3", "", "", 666479766, 3144850595, Spawn)
  118. StartConversation(conversation, NPC, Spawn, "The shipping company is behind on their orders. They've got all the goods but nobody to sort them or make the final deliveries. I know for a fact that my yeast has been there for at least two days. And I just got word my honey and frozen cherries are there as well. It's a mess, and that's where you come in.")
  119. end
  120. function HaveMeDo(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. AddConversationOption(conversation, "All right, give me the manifest.", "OfferQuest1")
  124. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist009.mp3", "", "", 4269745166, 1619482599, Spawn)
  125. StartConversation(conversation, NPC, Spawn, "I need you to gather up the ingredients for me. I managed to get ahold of an overflow manifest that details where my things are in storage. All you need to do is check the manifest, find out where you need to go, and then get my deliveries for me.")
  126. end
  127. function OfferQuest1(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. OfferQuest(NPC, Spawn, QUEST_1)
  130. end
  131. function OnQuest1(NPC, Spawn, conversation)
  132. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist011.mp3", "", "", 2167399134, 422468098, Spawn)
  133. if (HasQuest(Spawn, QUEST_1) and GetQuestStep(Spawn, QUEST_1) == 4) or (HasCompletedQuest(Spawn, QUEST_1)) then
  134. AddConversationOption(conversation, "Yes, I have.", "dlg_13_1")
  135. else
  136. AddConversationOption(conversation, "Not yet. Can I have another copy of the overflow manifest?", "NeedManifest")
  137. end
  138. AddConversationOption(conversation, "No, not yet.")
  139. StartConversation(conversation, NPC, Spawn, "Have you gotten my ingredients yet?")
  140. end
  141. function NeedManifest(NPC, Spawn)
  142. FaceTarget(NPC, Spawn)
  143. conversation = CreateConversation()
  144. -- Overflow Manifest
  145. if HasItem(Spawn, 10268, 1) then
  146. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist013.mp3", "", "", 2530141598, 2756437578, Spawn)
  147. AddConversationOption(conversation, "All right, thanks.")
  148. StartConversation(conversation, NPC, Spawn, "I'm pretty sure you already have a copy. It's probably in one of your bags somewhere. It may even be in the bank. Once you find it examine it to learn where all the shipments are.")
  149. else
  150. SummonItem(Spawn, 10268, 1)
  151. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist012.mp3", "", "", 1236488816, 970364241, Spawn)
  152. AddConversationOption(conversation, "Thanks.")
  153. StartConversation(conversation, NPC, Spawn, "Sure, here you go.")
  154. end
  155. end
  156. function dlg_13_1(NPC, Spawn)
  157. if HasQuest(Spawn, QUEST_1) then
  158. SetStepComplete(Spawn, QUEST_1, 4)
  159. end
  160. FaceTarget(NPC, Spawn)
  161. conversation = CreateConversation()
  162. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist015.mp3", "", "", 3252688398, 2435234536, Spawn)
  163. AddConversationOption(conversation, "That's great!", "dlg_13_2")
  164. StartConversation(conversation, NPC, Spawn, "Ah, great. Now I can get started on my next batch. The last batch came out perfectly. I won't need to change the recipe at all, finally done.")
  165. end
  166. ------------------------------------------------------------------------------------------------------------------
  167. -- QUEST 2
  168. ------------------------------------------------------------------------------------------------------------------
  169. function dlg_13_2(NPC, Spawn)
  170. FaceTarget(NPC, Spawn)
  171. conversation = CreateConversation()
  172. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist016.mp3", "", "", 1896567087, 1236189087, Spawn)
  173. AddConversationOption(conversation, "Sure, I can help.", "dlg_13_3")
  174. StartConversation(conversation, NPC, Spawn, "Wonderfully great! I can't wait for everyone to try it. I've been telling everyone around here about my old family recipe, it's been so long since I first mentioned it that they probably think I made it up. If they do think that, it's time to prove them wrong! Listen, I still need to watch the store here, how would you like to help me?")
  175. end
  176. function dlg_13_3(NPC, Spawn)
  177. FaceTarget(NPC, Spawn)
  178. conversation = CreateConversation()
  179. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist017.mp3", "", "", 1283812606, 3397187857, Spawn)
  180. AddConversationOption(conversation, "I'll go do that.", "OfferQuest2")
  181. StartConversation(conversation, NPC, Spawn, "Wonderful. Collect a jug of the brew from this barrel here, and then deliver it to a few of my friends, the ones I most want to try it. I'd like Gnor Farven and Gurna Hadel to have some, I've no doubt you can find them both at the tavern on the ground floor of the inn. I'd also like Dunda Frostgrip to have her share, you can find her outside the Scribe's shop on the western corner.")
  182. end
  183. function OfferQuest2(NPC, Spawn)
  184. FaceTarget(NPC, Spawn)
  185. OfferQuest(NPC, Spawn, QUEST_2)
  186. end
  187. function OnQuest2(NPC, Spawn, conversation)
  188. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist018.mp3", "", "", 34397651, 703589536, Spawn)
  189. if (HasQuest(Spawn, QUEST_2) and GetQuestStep(Spawn, QUEST_2) == 5) or (HasCompletedQuest(Spawn, QUEST_2)) then
  190. AddConversationOption(conversation, "Yes, they did.", "dlg_20_1")
  191. end
  192. AddConversationOption(conversation, "No, not yet.")
  193. StartConversation(conversation, NPC, Spawn, "Did everyone try my brew?")
  194. end
  195. function dlg_20_1(NPC, Spawn)
  196. FaceTarget(NPC, Spawn)
  197. conversation = CreateConversation()
  198. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist019.mp3", "", "", 594170508, 523076668, Spawn)
  199. AddConversationOption(conversation, "Well, Gurna and Gnor both loved it. It actually knocked Gnor down.", "dlg_20_2")
  200. StartConversation(conversation, NPC, Spawn, "So, tell me, what did they think?")
  201. end
  202. function dlg_20_2(NPC, Spawn)
  203. FaceTarget(NPC, Spawn)
  204. conversation = CreateConversation()
  205. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist020.mp3", "", "", 1002724009, 2022330670, Spawn)
  206. AddConversationOption(conversation, "She said it was wonderful, but asked me not to tell you that.", "dlg_20_3")
  207. StartConversation(conversation, NPC, Spawn, "Hah hah! What about Dunda though, what did she think?")
  208. end
  209. function dlg_20_3(NPC, Spawn)
  210. if HasQuest(Spawn, QUEST_2) then
  211. SetStepComplete(Spawn, QUEST_2, 5)
  212. end
  213. FaceTarget(NPC, Spawn)
  214. conversation = CreateConversation()
  215. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist021.mp3", "", "", 1410633044, 1626937024, Spawn)
  216. AddConversationOption(conversation, "What was the other good news?", "dlg_20_4")
  217. StartConversation(conversation, NPC, Spawn, "Yes! I knew she would love it. She teased me mercilessly about this recipe, she must've thought I had made the whole thing up. Ooh I'm glad she liked it. Today is just filled with good news.")
  218. end
  219. ------------------------------------------------------------------------------------------------------------------
  220. -- QUEST 3
  221. ------------------------------------------------------------------------------------------------------------------
  222. function dlg_20_4(NPC, Spawn)
  223. FaceTarget(NPC, Spawn)
  224. conversation = CreateConversation()
  225. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist022.mp3", "", "", 153909004, 705302189, Spawn)
  226. AddConversationOption(conversation, "Sure, I can do that.", "OfferQuest3")
  227. StartConversation(conversation, NPC, Spawn, "A package from my cousin arrived! It has -- Oh dear, that package will get caught up in this silly state of delivery affairs. I'd like your help again, if you could go speak to the shipping coordinator on the docks and get him to give you my package before they drop it into some overflow spot that would be great. What do you say?")
  228. end
  229. function OfferQuest3(NPC, Spawn)
  230. FaceTarget(NPC, Spawn)
  231. OfferQuest(NPC, Spawn, QUEST_3)
  232. end
  233. function OnQuest3(NPC, Spawn, conversation)
  234. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist024.mp3", "", "", 791126844, 977657821, Spawn)
  235. if (HasQuest(Spawn, QUEST_3) and GetQuestStep(Spawn, QUEST_3) == 4) or (HasCompletedQuest(Spawn, QUEST_3)) then
  236. AddConversationOption(conversation, "Yes, I do.", "dlg_30_1")
  237. end
  238. if (HasQuest(Spawn, QUEST_3) and GetQuestStep(Spawn, QUEST_3) >= 3) or (HasCompletedQuest(Spawn, QUEST_3)) then
  239. AddConversationOption(conversation, "Yes, but I have to clear it with the shipping coordinator first. I'll be back.")
  240. else
  241. AddConversationOption(conversation, "No, not yet.")
  242. end
  243. StartConversation(conversation, NPC, Spawn, "Do you have my package?")
  244. end
  245. function dlg_30_1(NPC, Spawn)
  246. if HasQuest(Spawn, QUEST_3) then
  247. SetStepComplete(Spawn, QUEST_3, 4)
  248. end
  249. FaceTarget(NPC, Spawn)
  250. conversation = CreateConversation()
  251. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist025.mp3", "", "", 2520635779, 2527828241, Spawn)
  252. AddConversationOption(conversation, "That is impressive!", "dlg_30_2")
  253. AddConversationOption(conversation, "Kaladim?", "Kaladim")
  254. StartConversation(conversation, NPC, Spawn, "Ah, let me open it. I hope it's--yes! This is the rock I've been waiting to get for a few months now. My cousin sent it to me, she said it's actual stone from Kaladim, can you imagine?")
  255. end
  256. ------------------------------------------------------------------------------------------------------------------
  257. -- QUEST 4
  258. ------------------------------------------------------------------------------------------------------------------
  259. function dlg_30_2(NPC, Spawn)
  260. FaceTarget(NPC, Spawn)
  261. conversation = CreateConversation()
  262. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist028.mp3", "", "", 903680612, 2544408116, Spawn)
  263. AddConversationOption(conversation, "I have the time.", "dlg_30_3")
  264. StartConversation(conversation, NPC, Spawn, "Yes it is. My dream is to visit Kaladim one day, as impossible as I know that may sound. Still, doesn't hurt to dream, and this rock just makes those dreams stronger. I have another favor to ask you, if you have the time.")
  265. end
  266. function dlg_30_3(NPC, Spawn)
  267. FaceTarget(NPC, Spawn)
  268. conversation = CreateConversation()
  269. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029.mp3", "", "", 1603379033, 880563668, Spawn)
  270. AddConversationOption(conversation, "What shall I do once there?", "dlg_30_4")
  271. StartConversation(conversation, NPC, Spawn, "There's a stone here in the Graystone Yard, a monument, they call the Stone of Kaladim. It is, quite simply, beautiful. It's easy to get lost in time just staring at that stone. Please, take this stone I just got and bring it to the Stone of Kaladim.")
  272. end
  273. function dlg_30_4(NPC, Spawn)
  274. FaceTarget(NPC, Spawn)
  275. conversation = CreateConversation()
  276. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029a.mp3", "", "", 90624630, 1461619549, Spawn)
  277. AddConversationOption(conversation, "All right, I shall do that.", "OfferQuest4")
  278. StartConversation(conversation, NPC, Spawn, "Once there hold my stone close to the Stone of Kaladim and concentrate. Watch for any sort of reaction in either stone. Then return to me and tell me everything that happened. Here, take the stone.")
  279. end
  280. function Kaladim(NPC, Spawn)
  281. Say(NPC, "Need collect, PM Scatman if you have it please.", Spawn)
  282. end
  283. function OfferQuest4(NPC, Spawn)
  284. FaceTarget(NPC, Spawn)
  285. OfferQuest(NPC, Spawn, QUEST_4)
  286. end
  287. function OnQuest4(NPC, Spawn, conversation)
  288. if HasQuest(Spawn, QUEST_4) and GetQuestStep(Spawn, QUEST_4) == 1 then
  289. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029stone.mp3", "", "", 2776022988, 1249928251, Spawn)
  290. AddConversationOption(conversation, "I need your stone.", "NeedStone")
  291. AddConversationOption(conversation, "No, not yet.")
  292. StartConversation(conversation, NPC, Spawn, "Have you taken my stone to the Stone of Kaladim yet?")
  293. else
  294. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist030.mp3", "", "", 4107694784, 255406273, Spawn)
  295. AddConversationOption(conversation, "I think I felt what it may have been like back then.", "dlg_37_1")
  296. AddConversationOption(conversation, "I am not sure. I haven't done it yet.")
  297. StartConversation(conversation, NPC, Spawn, "Did anything happen?")
  298. end
  299. end
  300. function NeedStone(NPC, Spawn)
  301. FaceTarget(NPC, Spawn)
  302. conversation = CreateConversation()
  303. -- Mav's Stone
  304. if HasItem(Spawn, 9384, 1) then
  305. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029stone_b.mp3", "", "", 1899188154, 2228034897, Spawn)
  306. AddConversationOption(conversation, "Ok, I'll do that.")
  307. StartConversation(conversation, NPC, Spawn, "I believe I already gave the stone to you. It may be in one of your bags or possibly even in the bank. Once you find it, examine it when you are near the Stone of Kaladim here in Graystone Yard.")
  308. else
  309. SummonItem(Spawn, 9384, 1)
  310. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029stone_a.mp3", "", "", 3817501989, 1608531398, Spawn)
  311. AddConversationOption(conversation, "Thanks.")
  312. StartConversation(conversation, NPC, Spawn, "Oh, yes, I'm sorry. Here you go.")
  313. end
  314. end
  315. function dlg_37_1(NPC, Spawn)
  316. FaceTarget(NPC, Spawn)
  317. conversation = CreateConversation()
  318. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist031.mp3", "", "", 276770020, 3522074989, Spawn)
  319. AddConversationOption(conversation, "Just sounds and visions.", "dlg_37_2")
  320. StartConversation(conversation, NPC, Spawn, "Oh? What does that mean?")
  321. end
  322. function dlg_37_2(NPC, Spawn)
  323. if HasQuest(Spawn, QUEST_4) then
  324. SetStepComplete(Spawn, QUEST_4, 2)
  325. end
  326. FaceTarget(NPC, Spawn)
  327. conversation = CreateConversation()
  328. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist032.mp3", "", "", 4251668081, 2689030734, Spawn)
  329. AddConversationOption(conversation, "I would be interested in that.", "dlg_37_3")
  330. StartConversation(conversation, NPC, Spawn, "Oh, the spirit of Kaladim is strong in you. You know, my husband would love to meet you. Would you like to meet him?")
  331. end
  332. ------------------------------------------------------------------------------------------------------------------
  333. -- QUEST 5
  334. ------------------------------------------------------------------------------------------------------------------
  335. function dlg_37_3(NPC, Spawn)
  336. FaceTarget(NPC, Spawn)
  337. conversation = CreateConversation()
  338. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist033.mp3", "", "", 1106794113, 1262060028, Spawn)
  339. AddConversationOption(conversation, "All right, I'll go find him.", "OfferQuest5")
  340. StartConversation(conversation, NPC, Spawn, "I thought you might. He should be out in the Oakmyst Forest. He's very, very late so that means something has delayed him. It's probably got something to do with the slowness going on with the shipping company, he works for them from time to time. Or, maybe, he's just drunk. Do me a favor, if he's drunk, you can come back and get me. There are some jobs only a wife can do, am I right? Hah! ... oh yeah, his name is Marv. He'll be the one with the dumb look on his face, hah!")
  341. end
  342. function OfferQuest5(NPC, Spawn)
  343. FaceTarget(NPC, Spawn)
  344. OfferQuest(NPC, Spawn, QUEST_5)
  345. end
  346. function OnQuest5(NPC, Spawn, conversation)
  347. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist034.mp3", "", "", 1752301139, 2700535036, Spawn)
  348. if HasCompletedQuest(Spawn, QUEST_5) then
  349. AddConversationOption(conversation, "Yup. You were right. He's tied up in the business with the slow-shipping.", "dlg_38_1")
  350. end
  351. AddConversationOption(conversation, "No, I haven't.")
  352. StartConversation(conversation, NPC, Spawn, "Have ya found Marv yet?")
  353. end
  354. function dlg_38_1(NPC, Spawn)
  355. FaceTarget(NPC, Spawn)
  356. conversation = CreateConversation()
  357. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist035.mp3", "", "", 1414810446, 65037912, Spawn)
  358. AddConversationOption(conversation, "Perhaps.")
  359. StartConversation(conversation, NPC, Spawn, "Ah that lucky nightblood. I'm sure he loves the time away from home.")
  360. end