MavBoilfist.lua 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  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. Modified By : Ememjr
  8. Modified Date :
  9. Modified Notes :
  10. --]]
  11. local DWARF = 2
  12. local QUEST_1 = 283 --A Family Recipe
  13. local QUEST_2 = 285 --Cheers!
  14. local QUEST_3 = 286 --A Package
  15. local QUEST_4 = 287 --A Stone from Home
  16. local QUEST_5 = 288 --A Missing Husband
  17. function spawn(NPC)
  18. ProvidesQuest(NPC, QUEST_1)
  19. ProvidesQuest(NPC, QUEST_2)
  20. ProvidesQuest(NPC, QUEST_3)
  21. ProvidesQuest(NPC, QUEST_4)
  22. ProvidesQuest(NPC, QUEST_5)
  23. end
  24. function hailed(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. if HasCompletedQuest(Spawn, QUEST_1) then
  28. if HasCompletedQuest(Spawn, QUEST_2) then
  29. if HasCompletedQuest(Spawn, QUEST_3) then
  30. if HasCompletedQuest(Spawn, QUEST_4) then
  31. if HasCompletedQuest(Spawn, QUEST_5) then
  32. OnQuest5(NPC, Spawn, conversation)
  33. elseif HasQuest(Spawn, QUEST_5) then
  34. OnQuest5(NPC, Spawn, conversation)
  35. else
  36. OnQuest4(NPC, Spawn, conversation)
  37. end
  38. elseif HasQuest(Spawn, QUEST_4) then
  39. OnQuest4(NPC, Spawn, conversation)
  40. else
  41. OnQuest3(NPC, Spawn, conversation)
  42. end
  43. elseif HasQuest(Spawn, QUEST_3) then
  44. OnQuest3(NPC, Spawn, conversation)
  45. else
  46. OnQuest2(NPC, Spawn, conversation)
  47. end
  48. elseif HasQuest(Spawn, QUEST_2) then
  49. OnQuest2(NPC, Spawn, conversation)
  50. else
  51. OnQuest1(NPC, Spawn, conversation)
  52. end
  53. elseif HasQuest(Spawn, QUEST_1) then
  54. OnQuest1(NPC, Spawn, conversation)
  55. else
  56. if GetRace(Spawn) == DWARF then
  57. WellHello(NPC, Spawn, conversation)
  58. else
  59. 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)
  60. end
  61. end
  62. end
  63. function respawn(NPC)
  64. spawn(NPC)
  65. end
  66. ------------------------------------------------------------------------------------------------------------------
  67. -- QUEST 1
  68. ------------------------------------------------------------------------------------------------------------------
  69. function WellHello(NPC, Spawn, conversation)
  70. AddConversationOption(conversation, "Sort of, yes.", "New")
  71. AddConversationOption(conversation, "No, I'm not new here.", "NotNew")
  72. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist001.mp3", "", "hello", 634247011, 356522512, Spawn)
  73. StartConversation(conversation, NPC, Spawn, "Well hello! New around here?")
  74. end
  75. function New(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. AddConversationOption(conversation, "Sure, I'm willing to learn.", "WillingToLearn")
  79. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist002.mp3", "", "nod", 1318415576, 1321312216, Spawn)
  80. 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?")
  81. end
  82. function NotNew(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. AddConversationOption(conversation, "I'm interested in doing work for you.", "WillingToLearn")
  86. AddConversationOption(conversation, "I'm interested in more difficult work.", "MoreDifficultWork")
  87. 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.")
  88. end
  89. function MoreDifficultWork(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. AddConversationOption(conversation, "I'll go do that.")
  93. 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.")
  94. end
  95. function WillingToLearn(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. AddConversationOption(conversation, "What would you like me to do?", "LikeMeToDo")
  99. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist005.mp3", "", "", 582378457, 4033004550, Spawn)
  100. 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.")
  101. end
  102. function LikeMeToDo(NPC, Spawn)
  103. FaceTarget(NPC, Spawn)
  104. conversation = CreateConversation()
  105. AddConversationOption(conversation, "What do you need me to do?", "NeedMeToDo")
  106. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist006.mp3", "", "", 3037335831, 4263929365, Spawn)
  107. 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.")
  108. end
  109. function NeedMeToDo(NPC, Spawn)
  110. FaceTarget(NPC, Spawn)
  111. conversation = CreateConversation()
  112. AddConversationOption(conversation, "What is the problem?", "WhatProblem")
  113. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist007.mp3", "", "", 628335384, 693034307, Spawn)
  114. 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.")
  115. end
  116. function WhatProblem(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. conversation = CreateConversation()
  119. AddConversationOption(conversation, "What are you going to have me do?", "HaveMeDo")
  120. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist008.mp3", "", "", 666479766, 3144850595, Spawn)
  121. 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.")
  122. end
  123. function HaveMeDo(NPC, Spawn)
  124. FaceTarget(NPC, Spawn)
  125. conversation = CreateConversation()
  126. AddConversationOption(conversation, "All right, give me the manifest.", "OfferQuest1")
  127. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist009.mp3", "", "happy", 4269745166, 1619482599, Spawn)
  128. 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.")
  129. end
  130. function OfferQuest1(NPC, Spawn)
  131. FaceTarget(NPC, Spawn)
  132. OfferQuest(NPC, Spawn, QUEST_1)
  133. end
  134. function OnQuest1(NPC, Spawn, conversation)
  135. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist011.mp3", "", "", 2167399134, 422468098, Spawn)
  136. if (HasQuest(Spawn, QUEST_1) and GetQuestStep(Spawn, QUEST_1) == 4) or (HasCompletedQuest(Spawn, QUEST_1)) then
  137. AddConversationOption(conversation, "Yes, I have.", "dlg_13_1")
  138. else
  139. AddConversationOption(conversation, "Not yet. Can I have another copy of the overflow manifest?", "NeedManifest")
  140. end
  141. AddConversationOption(conversation, "No, not yet.")
  142. StartConversation(conversation, NPC, Spawn, "Have you gotten my ingredients yet?")
  143. end
  144. function NeedManifest(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. -- Overflow Manifest
  148. if HasItem(Spawn, 10268, 1) then
  149. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist013.mp3", "", "no", 2530141598, 2756437578, Spawn)
  150. AddConversationOption(conversation, "All right, thanks.")
  151. 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.")
  152. else
  153. SummonItem(Spawn, 10268, 1)
  154. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist012.mp3", "", "", 1236488816, 970364241, Spawn)
  155. AddConversationOption(conversation, "Thanks.")
  156. StartConversation(conversation, NPC, Spawn, "Sure, here you go.")
  157. end
  158. end
  159. function dlg_13_1(NPC, Spawn)
  160. if HasQuest(Spawn, QUEST_1) then
  161. SetStepComplete(Spawn, QUEST_1, 4)
  162. end
  163. FaceTarget(NPC, Spawn)
  164. conversation = CreateConversation()
  165. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist015.mp3", "", "agree", 3252688398, 2435234536, Spawn)
  166. AddConversationOption(conversation, "That's great!", "dlg_13_2")
  167. 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.")
  168. end
  169. ------------------------------------------------------------------------------------------------------------------
  170. -- QUEST 2
  171. ------------------------------------------------------------------------------------------------------------------
  172. function dlg_13_2(NPC, Spawn)
  173. FaceTarget(NPC, Spawn)
  174. conversation = CreateConversation()
  175. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist016.mp3", "", "nod", 1896567087, 1236189087, Spawn)
  176. AddConversationOption(conversation, "Sure, I can help.", "dlg_13_3")
  177. 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?")
  178. end
  179. function dlg_13_3(NPC, Spawn)
  180. FaceTarget(NPC, Spawn)
  181. conversation = CreateConversation()
  182. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist017.mp3", "", "", 1283812606, 3397187857, Spawn)
  183. AddConversationOption(conversation, "I'll go do that.", "OfferQuest2")
  184. 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.")
  185. end
  186. function OfferQuest2(NPC, Spawn)
  187. FaceTarget(NPC, Spawn)
  188. OfferQuest(NPC, Spawn, QUEST_2)
  189. end
  190. function OnQuest2(NPC, Spawn, conversation)
  191. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist018.mp3", "", "", 34397651, 703589536, Spawn)
  192. if (HasQuest(Spawn, QUEST_2) and GetQuestStep(Spawn, QUEST_2) == 5) or (HasCompletedQuest(Spawn, QUEST_2)) then
  193. AddConversationOption(conversation, "Yes, they did.", "dlg_20_1")
  194. end
  195. AddConversationOption(conversation, "No, not yet.")
  196. StartConversation(conversation, NPC, Spawn, "Did everyone try my brew?")
  197. end
  198. function dlg_20_1(NPC, Spawn)
  199. FaceTarget(NPC, Spawn)
  200. conversation = CreateConversation()
  201. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist019.mp3", "", "nod", 594170508, 523076668, Spawn)
  202. AddConversationOption(conversation, "Well, Gurna and Gnor both loved it. It actually knocked Gnor down.", "dlg_20_2")
  203. StartConversation(conversation, NPC, Spawn, "So, tell me, what did they think?")
  204. end
  205. function dlg_20_2(NPC, Spawn)
  206. FaceTarget(NPC, Spawn)
  207. conversation = CreateConversation()
  208. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist020.mp3", "", "chuckle", 1002724009, 2022330670, Spawn)
  209. AddConversationOption(conversation, "She said it was wonderful, but asked me not to tell you that.", "dlg_20_3")
  210. StartConversation(conversation, NPC, Spawn, "Hah hah! What about Dunda though, what did she think?")
  211. end
  212. function dlg_20_3(NPC, Spawn)
  213. if HasQuest(Spawn, QUEST_2) then
  214. SetStepComplete(Spawn, QUEST_2, 5)
  215. end
  216. FaceTarget(NPC, Spawn)
  217. conversation = CreateConversation()
  218. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist021.mp3", "", "smile", 1410633044, 1626937024, Spawn)
  219. AddConversationOption(conversation, "What was the other good news?", "dlg_20_4")
  220. 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.")
  221. end
  222. ------------------------------------------------------------------------------------------------------------------
  223. -- QUEST 3
  224. ------------------------------------------------------------------------------------------------------------------
  225. function dlg_20_4(NPC, Spawn)
  226. FaceTarget(NPC, Spawn)
  227. conversation = CreateConversation()
  228. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist022.mp3", "", "nod", 153909004, 705302189, Spawn)
  229. AddConversationOption(conversation, "Sure, I can do that.", "OfferQuest3")
  230. 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?")
  231. end
  232. function OfferQuest3(NPC, Spawn)
  233. FaceTarget(NPC, Spawn)
  234. OfferQuest(NPC, Spawn, QUEST_3)
  235. end
  236. function OnQuest3(NPC, Spawn, conversation)
  237. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist024.mp3", "", "", 791126844, 977657821, Spawn)
  238. if (HasQuest(Spawn, QUEST_3) and GetQuestStep(Spawn, QUEST_3) == 4) or (HasCompletedQuest(Spawn, QUEST_3)) then
  239. AddConversationOption(conversation, "Yes, I do.", "dlg_30_1")
  240. end
  241. if (HasQuest(Spawn, QUEST_3) and GetQuestStep(Spawn, QUEST_3) >= 3) or (HasCompletedQuest(Spawn, QUEST_3)) then
  242. AddConversationOption(conversation, "Yes, but I have to clear it with the shipping coordinator first. I'll be back.")
  243. else
  244. AddConversationOption(conversation, "No, not yet.")
  245. end
  246. StartConversation(conversation, NPC, Spawn, "Do you have my package?")
  247. end
  248. function dlg_30_1(NPC, Spawn)
  249. if HasQuest(Spawn, QUEST_3) then
  250. SetStepComplete(Spawn, QUEST_3, 4)
  251. end
  252. FaceTarget(NPC, Spawn)
  253. conversation = CreateConversation()
  254. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist025.mp3", "", "happy", 2520635779, 2527828241, Spawn)
  255. AddConversationOption(conversation, "That is impressive!", "dlg_30_2")
  256. AddConversationOption(conversation, "Kaladim?", "Kaladim")
  257. 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?")
  258. end
  259. ------------------------------------------------------------------------------------------------------------------
  260. -- QUEST 4
  261. ------------------------------------------------------------------------------------------------------------------
  262. function dlg_30_2(NPC, Spawn)
  263. FaceTarget(NPC, Spawn)
  264. conversation = CreateConversation()
  265. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist028.mp3", "", "", 903680612, 2544408116, Spawn)
  266. AddConversationOption(conversation, "I have the time.", "dlg_30_3")
  267. 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.")
  268. end
  269. function dlg_30_3(NPC, Spawn)
  270. FaceTarget(NPC, Spawn)
  271. conversation = CreateConversation()
  272. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029.mp3", "", "", 1603379033, 880563668, Spawn)
  273. AddConversationOption(conversation, "What shall I do once there?", "dlg_30_4")
  274. 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.")
  275. end
  276. function dlg_30_4(NPC, Spawn)
  277. FaceTarget(NPC, Spawn)
  278. conversation = CreateConversation()
  279. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029a.mp3", "", "", 90624630, 1461619549, Spawn)
  280. AddConversationOption(conversation, "All right, I shall do that.", "OfferQuest4")
  281. 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.")
  282. end
  283. function Kaladim(NPC, Spawn)
  284. Say(NPC, "Need collect, PM Scatman if you have it please.", Spawn)
  285. end
  286. function OfferQuest4(NPC, Spawn)
  287. FaceTarget(NPC, Spawn)
  288. OfferQuest(NPC, Spawn, QUEST_4)
  289. end
  290. function OnQuest4(NPC, Spawn, conversation)
  291. if HasQuest(Spawn, QUEST_4) and GetQuestStep(Spawn, QUEST_4) == 1 then
  292. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029stone.mp3", "", "", 2776022988, 1249928251, Spawn)
  293. AddConversationOption(conversation, "I need your stone.", "NeedStone")
  294. AddConversationOption(conversation, "No, not yet.")
  295. StartConversation(conversation, NPC, Spawn, "Have you taken my stone to the Stone of Kaladim yet?")
  296. else
  297. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist030.mp3", "", "", 4107694784, 255406273, Spawn)
  298. AddConversationOption(conversation, "I think I felt what it may have been like back then.", "dlg_37_1")
  299. AddConversationOption(conversation, "I am not sure. I haven't done it yet.")
  300. StartConversation(conversation, NPC, Spawn, "Did anything happen?")
  301. end
  302. end
  303. function NeedStone(NPC, Spawn)
  304. FaceTarget(NPC, Spawn)
  305. conversation = CreateConversation()
  306. -- Mav's Stone
  307. if HasItem(Spawn, 9384, 1) then
  308. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029stone_b.mp3", "", "", 1899188154, 2228034897, Spawn)
  309. AddConversationOption(conversation, "Ok, I'll do that.")
  310. 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.")
  311. else
  312. SummonItem(Spawn, 9384, 1)
  313. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist029stone_a.mp3", "", "", 3817501989, 1608531398, Spawn)
  314. AddConversationOption(conversation, "Thanks.")
  315. StartConversation(conversation, NPC, Spawn, "Oh, yes, I'm sorry. Here you go.")
  316. end
  317. end
  318. function dlg_37_1(NPC, Spawn)
  319. FaceTarget(NPC, Spawn)
  320. conversation = CreateConversation()
  321. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist031.mp3", "", "ponder", 276770020, 3522074989, Spawn)
  322. AddConversationOption(conversation, "Just sounds and visions.", "dlg_37_2")
  323. StartConversation(conversation, NPC, Spawn, "Oh? What does that mean?")
  324. end
  325. function dlg_37_2(NPC, Spawn)
  326. if HasQuest(Spawn, QUEST_4) then
  327. SetStepComplete(Spawn, QUEST_4, 2)
  328. end
  329. FaceTarget(NPC, Spawn)
  330. conversation = CreateConversation()
  331. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist032.mp3", "", "happy", 4251668081, 2689030734, Spawn)
  332. AddConversationOption(conversation, "I would be interested in that.", "dlg_37_3")
  333. 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?")
  334. end
  335. ------------------------------------------------------------------------------------------------------------------
  336. -- QUEST 5
  337. ------------------------------------------------------------------------------------------------------------------
  338. function dlg_37_3(NPC, Spawn)
  339. FaceTarget(NPC, Spawn)
  340. conversation = CreateConversation()
  341. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist033.mp3", "", "", 1106794113, 1262060028, Spawn)
  342. AddConversationOption(conversation, "All right, I'll go find him.", "OfferQuest5")
  343. 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!")
  344. end
  345. function OfferQuest5(NPC, Spawn)
  346. FaceTarget(NPC, Spawn)
  347. OfferQuest(NPC, Spawn, QUEST_5)
  348. end
  349. function OnQuest5(NPC, Spawn, conversation)
  350. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist034.mp3", "", "", 1752301139, 2700535036, Spawn)
  351. if HasCompletedQuest(Spawn, QUEST_5) then
  352. AddConversationOption(conversation, "Yup. You were right. He's tied up in the business with the slow-shipping.", "dlg_38_1")
  353. end
  354. AddConversationOption(conversation, "No, I haven't.")
  355. StartConversation(conversation, NPC, Spawn, "Have ya found Marv yet?")
  356. end
  357. function dlg_38_1(NPC, Spawn)
  358. FaceTarget(NPC, Spawn)
  359. conversation = CreateConversation()
  360. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/mav_boilfist/qey_village03/quests/mav_boilfist/mav_boilfist035.mp3", "", "", 1414810446, 65037912, Spawn)
  361. AddConversationOption(conversation, "Perhaps.")
  362. StartConversation(conversation, NPC, Spawn, "Ah that lucky nightblood. I'm sure he loves the time away from home.")
  363. end