BlorpisaBogchild.lua 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/BlorpisaBogchild.lua
  3. Script Purpose : Blorpisa Bogchild
  4. Script Author : theFoof
  5. Script Date : 2013.05.20
  6. Script Notes :
  7. --]]
  8. local ArcaneElements = 19
  9. local BearBottoms = 20
  10. local CodChips = 21
  11. local EssentialIngredient = 22
  12. local FieldTesting = 23
  13. local FieldTwo = 24
  14. function spawn(NPC)
  15. AddSpawnAccess(NPC, NPC)
  16. SetPlayerProximityFunction(NPC, 50, "SpawnAccess", "SpawnAccess")
  17. ProvidesQuest(NPC, ArcaneElements)
  18. ProvidesQuest(NPC, BearBottoms)
  19. ProvidesQuest(NPC, CodChips)
  20. ProvidesQuest(NPC, EssentialIngredient)
  21. ProvidesQuest(NPC, FieldTesting)
  22. ProvidesQuest(NPC, FieldTwo)
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end
  27. function SpawnAccess(NPC, Spawn)
  28. if HasCompletedQuest(Spawn, FieldTwo) == false then
  29. AddSpawnAccess(NPC, Spawn)
  30. end
  31. end
  32. function hailed(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. if HasCompletedQuest(Spawn, ArcaneElements) == false and HasQuest(Spawn, ArcaneElements) == false then
  36. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_001.mp3", "", "", 1215134818, 256392720, Spawn)
  37. AddConversationOption(conversation, "Hello Blorpisa, I am " .. GetName(Spawn) .. ".", "Quest1Chat_2")
  38. StartConversation(conversation, NPC, Spawn, "Hello! I haven't seen you around here before! I am Blorpisa Bogchild.")
  39. elseif GetQuestStep(Spawn, ArcaneElements) == 1 then
  40. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_010.mp3", "", "", 1541998982, 3704557731, Spawn)
  41. AddConversationOption(conversation, "No. Where can I find the aged ice slurries?", "Quest1Chat_8")
  42. StartConversation(conversation, NPC, Spawn, "Have you collected the aged ice slurry core?")
  43. elseif GetQuestStep(Spawn, ArcaneElements) == 2 then
  44. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_002.mp3", "", "", 3029801000, 1524345260, Spawn)
  45. AddConversationOption(conversation, "I have collected the ore for you.", "Quest1Chat_9")
  46. StartConversation(conversation, NPC, Spawn, "Have you collected the arcane imbued ore?")
  47. elseif HasCompletedQuest(Spawn, ArcaneElements) and HasCompletedQuest(Spawn, BearBottoms) == false and HasQuest(Spawn, BearBottoms) == false then
  48. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_003.mp3", "", "", 3065502678, 2912351776, Spawn)
  49. AddConversationOption(conversation, "I'm doing quite well. How are you?", "Quest2Chat_2")
  50. StartConversation(conversation, NPC, Spawn, "Hello, " .. GetName(Spawn) .. "! How are you faring?")
  51. elseif GetQuestStep(Spawn, BearBottoms) == 1 then
  52. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_004.mp3", "", "", 4029927720, 1452950200, Spawn)
  53. AddConversationOption(conversation, "I have not yet done so. Where can I find the blizzard grizzly cubs?", "Quest2Chat_5")
  54. StartConversation(conversation, NPC, Spawn, "Have you skinned the pelts for me?")
  55. elseif GetQuestStep(Spawn, BearBottoms) == 2 then
  56. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_004.mp3", "", "", 4029927720, 1452950200, Spawn)
  57. AddConversationOption(conversation, "I have the pelts you requested.", "Quest2Chat_6")
  58. StartConversation(conversation, NPC, Spawn, "Have you skinned the pelts for me?")
  59. elseif HasCompletedQuest(Spawn, BearBottoms) and HasCompletedQuest(Spawn, CodChips) == false and HasQuest(Spawn, CodChips) == false then
  60. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_005.mp3", "", "", 3705783760, 1192084203, Spawn)
  61. AddConversationOption(conversation, "How are things with you, Blorpisa?", "Quest3Chat_1")
  62. StartConversation(conversation, NPC, Spawn, "Hello, " .. GetName(Spawn) .. ".")
  63. elseif GetQuestStep(Spawn, CodChips) == 1 then
  64. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_006.mp3", "", "", 900575849, 2922187159, Spawn)
  65. AddConversationOption(conversation, "I have not yet hunted enough cod for everyone's dinner. Where can I find the co again?", "Quest3Chat_4")
  66. StartConversation(conversation, NPC, Spawn, "Did you get the large Iceclad cod?")
  67. elseif GetQuestStep(Spawn, CodChips) == 2 then
  68. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_006.mp3", "", "", 900575849, 2922187159, Spawn)
  69. AddConversationOption(conversation, "I have enough large cod for everyone to eat well tonight!", "Quest3Chat_5")
  70. StartConversation(conversation, NPC, Spawn, "Did you get the large Iceclad cod?")
  71. elseif HasCompletedQuest(Spawn, CodChips) and HasCompletedQuest(Spawn, EssentialIngredient) == false and HasQuest(Spawn, EssentialIngredient) == false then
  72. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_007.mp3", "", "", 570631167, 547031581, Spawn)
  73. AddConversationOption(conversation, "Hello, Blorpisa. How are you?", "Quest4Chat_2")
  74. StartConversation(conversation, NPC, Spawn, "Greetings, " .. GetName(Spawn) .. ".")
  75. elseif GetQuestStep(Spawn, EssentialIngredient) == 1 or GetQuestStep(Spawn, EssentialIngredient) == 2 then
  76. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_008.mp3", "", "", 3240154599, 1916004366, Spawn)
  77. AddConversationOption(conversation, "Not yet. Where can I find the iceflows and snowpacks?", "Quest4Chat_5")
  78. StartConversation(conversation, NPC, Spawn, "Have you captured the elementals I asked for, " .. GetName(Spawn) .. ".")
  79. elseif GetQuestStep(Spawn, EssentialIngredient) == 3 then
  80. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_008.mp3", "", "", 3240154599, 1916004366, Spawn)
  81. AddConversationOption(conversation, "I have captured eight elementals for you, four of each kind.", "Quest4Chat_6")
  82. StartConversation(conversation, NPC, Spawn, "Have you captured the elementals I asked for, " .. GetName(Spawn) .. "?")
  83. elseif HasCompletedQuest(Spawn, EssentialIngredient) and HasCompletedQuest(Spawn, FieldTesting) == false and HasQuest(Spawn, FieldTesting) == false then
  84. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_009.mp3", "", "", 3405427240, 3750540234, Spawn)
  85. AddConversationOption(conversation, "If you define lovely as freezing cold, then it is indeed lovely.", "Quest5Chat_2")
  86. AddConversationOption(conversation, "Not so much, no.", "Quest5Chat_2")
  87. StartConversation(conversation, NPC, Spawn, "" .. GetName(Spawn) .. "! It is a most lovely day, is it not?")
  88. elseif GetQuestStep(Spawn, FieldTesting) == 1 then
  89. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_010.mp3", "", "", 624684361, 1424465021, Spawn)
  90. AddConversationOption(conversation, "I have not yet obtained the lillies. Where again can I find them?", "Quest5Chat_6")
  91. StartConversation(conversation, NPC, Spawn, "Have you collected the ice lilies for me?")
  92. elseif GetQuestStep(Spawn, FieldTesting) == 2 then
  93. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_010.mp3", "", "", 624684361, 1424465021, Spawn)
  94. AddConversationOption(conversation, "I have the lilies you requested.", "Quest5Chat_7")
  95. StartConversation(conversation, NPC, Spawn, "Have you collected the ice lilies for me?")
  96. elseif HasCompletedQuest(Spawn, FieldTesting) and HasCompletedQuest(Spawn, FieldTwo) == false and HasQuest(Spawn, FieldTwo) == false then
  97. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_020.mp3", "", "", 1958149539, 711345401, Spawn)
  98. AddConversationOption(conversation, "Does that mean it's time for another field test?", "Quest6Chat_2")
  99. StartConversation(conversation, NPC, Spawn, "" .. GetName(Spawn) .. ", I have made the necessary modifications to my Frost-born Ward.")
  100. elseif GetQuestStep(Spawn, FieldTwo) == 1 then
  101. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_021.mp3", "", "", 3376846306, 3092977992, Spawn)
  102. AddConversationOption(conversation, "I do not yet know. Where can I find Pride Overlook?", "Quest6Chat_4")
  103. StartConversation(conversation, NPC, Spawn, "Did the Frost-born Ward work this time, " .. GetName(Spawn) .. "?")
  104. elseif GetQuestStep(Spawn, FieldTwo) == 2 then
  105. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_021.mp3", "", "", 3376846306, 3092977992, Spawn)
  106. AddConversationOption(conversation, "No, your spell did not work. At all.", "Quest6Chat_5")
  107. StartConversation(conversation, NPC, Spawn, "Did the Frost-born Ward work this time, " .. GetName(Spawn) .. "?")
  108. end
  109. end
  110. function Quest1Chat_2(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_011.mp3", "", "", 846938752, 844089056, Spawn)
  114. AddConversationOption(conversation, "I'm on my way to New Halas.", "Quest1Chat_3")
  115. StartConversation(conversation, NPC, Spawn, "Ah! I had not seen you before, but I have heard of you and your accomplishments! This is such a pleasure, " .. GetName(Spawn) .. ". We're lucky to have such a hero within our midst. What brings you to Gwenevyn's Cove?")
  116. end
  117. function Quest1Chat_3(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. conversation = CreateConversation()
  120. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_012.mp3", "", "", 3605255838, 2576534049, Spawn)
  121. AddConversationOption(conversation, "How will you cast the spell on all of the pilgrims?", "Quest1Chat_4")
  122. StartConversation(conversation, NPC, Spawn, "As am I! I've stopped along the way as I've been attempting to create a new spell. It is one that would protect the pilgrims from the bitter winds and frosty landscape of New Halas, as well as protect them from the wild creatures and hostile entities.")
  123. end
  124. function Quest1Chat_4(NPC, Spawn)
  125. FaceTarget(NPC, Spawn)
  126. conversation = CreateConversation()
  127. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_013.mp3", "", "", 970695236, 4167602091, Spawn)
  128. AddConversationOption(conversation, "What if they can't read? What if they have children with them?", "Quest1Chat_5")
  129. StartConversation(conversation, NPC, Spawn, "I don't intend to cast it on them all! I will enchant the spell onto parchment for the pilgrims to read aloud when they arrive.")
  130. end
  131. function Quest1Chat_5(NPC, Spawn)
  132. FaceTarget(NPC, Spawn)
  133. conversation = CreateConversation()
  134. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_014.mp3", "", "", 947009240, 1540493739, Spawn)
  135. AddConversationOption(conversation, "Well this all sounds very technical to me.", "Quest1Chat_6")
  136. StartConversation(conversation, NPC, Spawn, "Such details! But you do bring up a good point; I will have to make it so that when the spell is read it affects everyone in the area, not just the reader.")
  137. end
  138. function Quest1Chat_6(NPC, Spawn)
  139. FaceTarget(NPC, Spawn)
  140. conversation = CreateConversation()
  141. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_015.mp3", "", "", 1255109690, 1640879678, Spawn)
  142. AddConversationOption(conversation, "What kind of help do you need?", "Quest1Chat_7")
  143. AddConversationOption(conversation, "No, sorry, I am in a hurry to get to New Halas.")
  144. StartConversation(conversation, NPC, Spawn, "Say, if you aren't in a hurry, I could use some help.")
  145. end
  146. function Quest1Chat_7(NPC, Spawn)
  147. FaceTarget(NPC, Spawn)
  148. conversation = CreateConversation()
  149. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_016.mp3", "", "", 1464127042, 4108357478, Spawn)
  150. AddConversationOption(conversation, "I sure could.", "OfferArcaneElements")
  151. AddConversationOption(conversation, "No, unfortunately.")
  152. StartConversation(conversation, NPC, Spawn, "To make the ink to enchant the spell to paper I need the arcane imbued ore of the rolling stones found southeast of here. Do you think you could go and collect some of the ore for me?")
  153. end
  154. function Quest1Chat_8(NPC, Spawn)
  155. FaceTarget(NPC, Spawn)
  156. conversation = CreateConversation()
  157. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_016.mp3", "", "", 717321044, 3158147617, Spawn)
  158. AddConversationOption(conversation, "I shall return to you once I have collected the weapons.")
  159. StartConversation(conversation, NPC, Spawn, "I'm glad that you have agreed to help the coldain. You can find the slain coldain southeast of here, upon a great battlefield.")
  160. end
  161. function Quest1Chat_9(NPC, Spawn)
  162. FaceTarget(NPC, Spawn)
  163. conversation = CreateConversation()
  164. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_018.mp3", "", "", 2448606843, 4112204434, Spawn)
  165. AddConversationOption(conversation, "Let me know if it turns out successful!", "Quest1Chat_10")
  166. StartConversation(conversation, NPC, Spawn, "Thank you, " .. GetName(Spawn) .. "! I will crumble and crush this ore into a fine powder and then use it to make ink to enchant my spell onto parchment, once I have perfected the spell.")
  167. end
  168. function Quest1Chat_10(NPC, Spawn)
  169. SetStepComplete(Spawn, ArcaneElements, 2)
  170. FaceTarget(NPC, Spawn)
  171. conversation = CreateConversation()
  172. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_022.mp3", "", "", 2006824864, 3295508205, Spawn)
  173. AddConversationOption(conversation, "If you need help with anything else, please ask me. I am glad to help others here in New Halas.")
  174. AddConversationOption(conversation, "Good luck!")
  175. StartConversation(conversation, NPC, Spawn, "Oh I shall, but I will not be able to test my spell for a while yet. I've got to hop about collecting some more materials first.")
  176. end
  177. function Quest2Chat_2(NPC, Spawn)
  178. FaceTarget(NPC, Spawn)
  179. conversation = CreateConversation()
  180. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_023.mp3", "", "", 1753584306, 4118176236, Spawn)
  181. AddConversationOption(conversation, "Need any help?", "Quest2Chat_3")
  182. StartConversation(conversation, NPC, Spawn, "I had been working on that protection spell, but now I have been put in charge of making blankets for the people of Gwenevyn's Cove.")
  183. end
  184. function Quest2Chat_3(NPC, Spawn)
  185. FaceTarget(NPC, Spawn)
  186. conversation = CreateConversation()
  187. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_024.mp3", "", "", 4187781831, 3119266103, Spawn)
  188. AddConversationOption(conversation, "I will go and get the unmarred fur pelts for you.", "OfferBearBottoms")
  189. AddConversationOption(conversation, "I'm not killing baby bears! Forget it!")
  190. StartConversation(conversation, NPC, Spawn, "I could use it if you're offering! I need unmarred fur pelts from the blizzard grizzly cubs. These cubs are around a cave that is northwest of Gwenevyn's Cove.")
  191. end
  192. function Quest2Chat_4(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. conversation = CreateConversation()
  195. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_025.mp3", "", "", 3290905220, 1893346275, Spawn)
  196. AddConversationOption(conversation, "I will return to you once I have gathered the pelts.")
  197. StartConversation(conversation, NPC, Spawn, "Thanks. I know it's distasteful to kill cubs, but I need their softer fur to make blankets. Thank you for doing this for me, " .. GetName(Spawn) .. ".")
  198. end
  199. function Quest2Chat_5(NPC, Spawn)
  200. FaceTarget(NPC, Spawn)
  201. conversation = CreateConversation()
  202. AddConversationOption(conversation, "I will return with the pelts.")
  203. StartConversation(conversation, NPC, Spawn, "The cubs roam northwest of Gwenevyn's Cove.")
  204. end
  205. function Quest2Chat_6(NPC, Spawn)
  206. FaceTarget(NPC, Spawn)
  207. conversation = CreateConversation()
  208. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_026.mp3", "", "", 1759018155, 1598876766, Spawn)
  209. AddConversationOption(conversation, "Thank you. I did my best.", "Quest2Chat_7")
  210. StartConversation(conversation, NPC, Spawn, "Great! I can get right to work stitching up the blankets. You did a fine job skinning, " .. GetName(Spawn) .. ". None of the edges of the pelts are ragged.")
  211. end
  212. function Quest2Chat_7(NPC, Spawn)
  213. SetStepComplete(Spawn, BearBottoms, 2)
  214. FaceTarget(NPC, Spawn)
  215. conversation = CreateConversation()
  216. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_028.mp3", "", "", 3080889721, 2381851654, Spawn)
  217. AddConversationOption(conversation, "Thanks, Blorpisa. I appreciate it.")
  218. StartConversation(conversation, NPC, Spawn, "No, thank you, " .. GetName(Spawn) .. ". You really are a hero! I don't have much to give you, but please, take this coin for your troubles and one of my accessories.")
  219. end
  220. function Quest3Chat_1(NPC, Spawn)
  221. FaceTarget(NPC, Spawn)
  222. conversation = CreateConversation()
  223. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_029.mp3", "", "", 1210199796, 2166040902, Spawn)
  224. AddConversationOption(conversation, "The nerve of some people!", "Quest3Chat_2")
  225. StartConversation(conversation, NPC, Spawn, "As thanks for making the blankets, they've now decided I should prepare dinner!")
  226. end
  227. function Quest3Chat_2(NPC, Spawn)
  228. FaceTarget(NPC, Spawn)
  229. conversation = CreateConversation()
  230. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_030.mp3", "", "", 14855483, 1166912182, Spawn)
  231. AddConversationOption(conversation, "The Frostfang Sea didn't seem too cold to me.", "Quest3Chat_3")
  232. AddConversationOption(conversation, "Brr! I agree it's much too cold. Best of luck with dinner!")
  233. StartConversation(conversation, NPC, Spawn, "It's as the old saying goes: there's always something more to do around camp. I don't mind cooking over the fire, it's just that there's nothing to cook! I have a delicious recipe for cod, but it's too cold to swim in the Frostfang Sea and I don't know how to use a fishing pole.")
  234. end
  235. function Quest3Chat_3(NPC, Spawn)
  236. FaceTarget(NPC, Spawn)
  237. conversation = CreateConversation()
  238. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_031.mp3", "", "", 2157156103, 1975601374, Spawn)
  239. AddConversationOption(conversation, "I can get the Iceclad cod for you.", "OfferCodChips")
  240. AddConversationOption(conversation, "I can't. I am already busy, Blorpisa.")
  241. StartConversation(conversation, NPC, Spawn, "Really? Maybe I'm getting old. If it's not too cold for you, would you mind getting the Iceclad cod that I need for my recipe? I think everyone would like a nice bit of cod and chips for dinner.")
  242. end
  243. function Quest3Chat_4(NPC, Spawn)
  244. FaceTarget(NPC, Spawn)
  245. conversation = CreateConversation()
  246. AddConversationOption(conversation, "I will return with enough cod for everyone's dinner.")
  247. StartConversation(conversation, NPC, Spawn, "The large Iceclad cod swim in the Frostfang Sea northeast of Gwenevyn's Cove.")
  248. end
  249. function Quest3Chat_5(NPC, Spawn)
  250. FaceTarget(NPC, Spawn)
  251. conversation = CreateConversation()
  252. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_033.mp3", "", "", 2508783935, 568039203, Spawn)
  253. AddConversationOption(conversation, "I am glad that I was able to help you out.", "Quest3Chat_6")
  254. StartConversation(conversation, NPC, Spawn, "Splendid, " .. GetName(Spawn) .. "! I shall get right to work cooking up the fish and chips for dinner.")
  255. end
  256. function Quest3Chat_6(NPC, Spawn)
  257. SetStepComplete(Spawn, CodChips, 2)
  258. FaceTarget(NPC, Spawn)
  259. conversation = CreateConversation()
  260. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_035.mp3", "", "", 787726717, 3426749776, Spawn)
  261. AddConversationOption(conversation, "It's more than enough. Thank you, Blorpisa.")
  262. StartConversation(conversation, NPC, Spawn, "We are truly in your debt, " ..GetName(Spawn) .. ". I've collected some coin from the other citizens of Gwenevyn's Cove. It isn't much, but it's better than nothing, right?")
  263. end
  264. function Quest4Chat_2(NPC, Spawn)
  265. FaceTarget(NPC, Spawn)
  266. conversation = CreateConversation()
  267. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_036.mp3", "", "", 3721924071, 2621057833, Spawn)
  268. AddConversationOption(conversation, "Is there anything I can do to help?", "Quest4Chat_3")
  269. StartConversation(conversation, NPC, Spawn, "I myself am well, but the Frost-born Ward that I've been creating is not going so well. It appears that I am still missing a few key components to the formula.")
  270. end
  271. function Quest4Chat_3(NPC, Spawn)
  272. FaceTarget(NPC, Spawn)
  273. conversation = CreateConversation()
  274. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_037.mp3", "", "", 2815442129, 1528606877, Spawn)
  275. AddConversationOption(conversation, "I can capture some elementals for you.", "Quest4Chat_4")
  276. AddConversationOption(conversation, "Sorry, I'm very busy today. Perhaps I can help you later.")
  277. StartConversation(conversation, NPC, Spawn, "I've created an Iced Trap to capture a few elementals. If you are not too busy, you could hop west of here and collect iceflows and snowpacks on the Icemane Plains. That would save me a lot of time.")
  278. end
  279. function Quest4Chat_4(NPC, Spawn)
  280. FaceTarget(NPC, Spawn)
  281. conversation = CreateConversation()
  282. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_038.mp3", "", "", 3909457491, 3153535025, Spawn)
  283. AddConversationOption(conversation, "I am sure I can handle a few small elementals.", "OfferEssentialIngredient")
  284. StartConversation(conversation, NPC, Spawn, "Thank you! Just take the Iced Trap and use it on any iceflow or snowpack. They should be instantly attracted to it. I do not anticipate any problems.")
  285. end
  286. function Quest4Chat_5(NPC, Spawn)
  287. FaceTarget(NPC, Spawn)
  288. conversation = CreateConversation()
  289. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_041.mp3", "", "", 502468794, 246049475, Spawn)
  290. AddConversationOption(conversation, "I will return once I have captured the elementals.")
  291. StartConversation(conversation, NPC, Spawn, "The iceflows and snowpacks gather on the Icemane Plains, west of Gwenevyn's Cove.")
  292. end
  293. function Quest4Chat_6(NPC, Spawn)
  294. FaceTarget(NPC, Spawn)
  295. conversation = CreateConversation()
  296. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_040.mp3", "", "", 3949759324, 1772100940, Spawn)
  297. AddConversationOption(conversation, "I am glad that you are pleased with my efforts.", "Quest4Chat_7")
  298. StartConversation(conversation, NPC, Spawn, "Excellent! That's much more than I hoped. With this many elementals I am sure I will be able to progress the Frost-born Ward.")
  299. end
  300. function Quest4Chat_7(NPC, Spawn)
  301. FaceTarget(NPC, Spawn)
  302. conversation = CreateConversation()
  303. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_042.mp3", "", "", 301178077, 3194637507, Spawn)
  304. AddConversationOption(conversation, "It is the right thing to do.", "Quest4Chat_8")
  305. StartConversation(conversation, NPC, Spawn, "I am more than pleased, " .. GetName(Spawn) .. ". You are saving us! With every bit of aid you give us here in Gwenevyn's Cove, you help to ensure our survival within this inhospitable land. We are sure to live to see Mithaniel's blessed city of New Halas because of you!")
  306. end
  307. function Quest4Chat_8(NPC, Spawn)
  308. SetStepComplete(Spawn, EssentialIngredient, 3)
  309. FaceTarget(NPC, Spawn)
  310. conversation = CreateConversation()
  311. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_044.mp3", "", "", 4160372502, 1958782481, Spawn)
  312. AddConversationOption(conversation, "I will return if you need help.")
  313. StartConversation(conversation, NPC, Spawn, "If only everyone had your heart, " .. GetName(Spawn) .. ". Now, surely you have other things that must be done on this day. If you find yourself with more free time, I could always use your assistance.")
  314. end
  315. function Quest5Chat_2(NPC, Spawn)
  316. FaceTarget(NPC, Spawn)
  317. conversation = CreateConversation()
  318. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_045.mp3", "", "", 2755043591, 501739216, Spawn)
  319. AddConversationOption(conversation, "Sure! This is exciting!", "Quest5Chat_3")
  320. AddConversationOption(conversation, "No way, get someone else to be your lab rat.")
  321. StartConversation(conversation, NPC, Spawn, "I have made great progress on the Frost-born Ward! It is finally ready for its first field test. Will you do the honors?")
  322. end
  323. function Quest5Chat_3(NPC, Spawn)
  324. FaceTarget(NPC, Spawn)
  325. conversation = CreateConversation()
  326. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_046.mp3", "", "", 2185186057, 1637729185, Spawn)
  327. AddConversationOption(conversation, "I know, Blorpisa.", "Quest5Chat_4")
  328. AddConversationOption(conversation, "I'll keep that in mind.", "Quest5Chat_4")
  329. StartConversation(conversation, NPC, Spawn, "Now I make no guarantees that this spell will work. Remember that this is a field test.")
  330. end
  331. function Quest5Chat_4(NPC, Spawn)
  332. FaceTarget(NPC, Spawn)
  333. conversation = CreateConversation()
  334. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_047.mp3", "", "", 2602829291, 2631146795, Spawn)
  335. AddConversationOption(conversation, "Is there anything else you need gathered?", "Quest5Chat_5")
  336. StartConversation(conversation, NPC, Spawn, "Let's see, where should you go to test my spell?")
  337. end
  338. function Quest5Chat_5(NPC, Spawn)
  339. FaceTarget(NPC, Spawn)
  340. conversation = CreateConversation()
  341. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_048.mp3", "", "", 1989757627, 78481858, Spawn)
  342. AddConversationOption(conversation, "Where can I find these ice lilies?", "OfferFieldTesting")
  343. StartConversation(conversation, NPC, Spawn, "Oh, yes! I do need some ice lilies. I feel that they will add a special component to the Frost-born Ward.")
  344. end
  345. function Quest5Chat_6(NPC, Spawn)
  346. FaceTargget(NPC, Spawn)
  347. conversation = CreateConversation()
  348. AddConversationOption(conversation, "I shall return with the lilies as soon as I am able")
  349. StartConversation(conversation, NPC, Spawn, "You can find the ice lilies on the Icemane Plains west of here. I have also refreshed the Frost-born Ward upon you as it seemed to be very weak.")
  350. end
  351. function Quest5Chat_7(NPC, Spawn)
  352. FaceTarget(NPC, Spawn)
  353. conversation = CreateConversation()
  354. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_050.mp3", "", "", 2480968598, 2345683156, Spawn)
  355. AddConversationOption(conversation, "It didn't work at all. I was attacked by every lion that I came across.", "Quest5Chat_8")
  356. StartConversation(conversation, NPC, Spawn, "And how did my spell fare?")
  357. end
  358. function Quest5Chat_8(NPC, Spawn)
  359. FaceTarget(NPC, Spawn)
  360. conversation = CreateConversation()
  361. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_052.mp3", "", "", 1918897363, 1844692964, Spawn)
  362. AddConversationOption(conversation, "I understand your dilemma.", "Quest5Chat_9")
  363. StartConversation(conversation, NPC, Spawn, "That is terrible! I do apologize! This is a very experimental spell, and I've been working as quickly as I can to get it working so that we do not lose yet more pilgrims to the hazards of New Halas.")
  364. end
  365. function Quest5Chat_9(NPC, Spawn)
  366. FaceTarget(NPC, Spawn)
  367. conversation = CreateConversation()
  368. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_053.mp3", "", "", 4064573044, 3063721552, Spawn)
  369. AddConversationOption(conversation, "Yes, I can handle lions, bears and other creatures just fine.", "Quest5Chat_10")
  370. StartConversation(conversation, NPC, Spawn, "Thank you great hero, " .. GetName(Spawn) .. "! Will you continue to help me?")
  371. end
  372. function Quest5Chat_10(NPC, Spawn)
  373. SetStepComplete(Spawn, FieldTesting, 2)
  374. FaceTarget(NPC, Spawn)
  375. conversation = CreateConversation()
  376. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_054.mp3", "", "", 1222972448, 2143317846, Spawn)
  377. AddConversationOption(conversation, "I will refresh myself and return to you once I am ready.")
  378. StartConversation(conversation, NPC, Spawn, "I am glad to hear it! I shall incorporate these ice lilies into the ink for my spell. Return to me when you are recovered enough to do a second field test.")
  379. end
  380. function Quest6Chat_2(NPC, Spawn)
  381. FaceTarget(NPC, Spawn)
  382. conversation = CreateConversation()
  383. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_055.mp3", "", "", 2588594475, 1367979821, Spawn)
  384. AddConversationOption(conversation, "Where shall I go to test the spell this time?", "Quest6Chat_3")
  385. AddConversationOption(conversation, "No, I am not yet ready.")
  386. StartConversation(conversation, NPC, Spawn, "It does! Are you ready, brave one?")
  387. end
  388. function Quest6Chat_3(NPC, Spawn)
  389. FaceTarget(NPC, Spawn)
  390. conversation = CreateConversation()
  391. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_056.mp3", "", "", 3655265348, 981674489, Spawn)
  392. AddConversationOption(conversation, "I shall head to Pride Overlook.", "OfferFieldTwo")
  393. StartConversation(conversation, NPC, Spawn, "There is an overhang on the Icemane Plains called Pride Overlook. As the name implies, it is within the lions' territory. It is also near the Great Shelf, which is where I plan on going next, as it is the next stop on the pilgrims' path.")
  394. end
  395. function Quest6Chat_4(NPC, Spawn)
  396. FaceTarget(NPC, Spawn)
  397. conversation = CreateConversation()
  398. AddConversationOption(conversation, "I will return to you once I have properly tested your spell.")
  399. StartConversation(conversation, NPC, Spawn, "Pride Overlook is on the Icemane Plains. It is west of Gwenevyn's Cove. I have also refeshed the Frost-born Ward upon you as it seemed to be very weak.")
  400. end
  401. function Quest6Chat_5(NPC, Spawn)
  402. FaceTarget(NPC, Spawn)
  403. conversation = CreateConversation()
  404. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_058.mp3", "", "", 3927456133, 2378795664, Spawn)
  405. AddConversationOption(conversation, "Well, it didn't.", "Quest6Chat_6")
  406. StartConversation(conversation, NPC, Spawn, "I am terribly sorry! I really thought it would work this time!")
  407. end
  408. function Quest6Chat_6(NPC, Spawn)
  409. FaceTarget(NPC, Spawn)
  410. conversation = CreateConversation()
  411. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_060.mp3", "", "", 1746628301, 1931600273, Spawn)
  412. AddConversationOption(conversation, "Maybe I will see you there.", "Quest6Chat_7")
  413. StartConversation(conversation, NPC, Spawn, "I wonder what could be wrong with it. Hmm... I shall have to find new sources of power for my spell. Fortunately, I am traveling on to the Great Shelf, so perhaps I can continue my work there.")
  414. end
  415. function Quest6Chat_7(NPC, Spawn)
  416. SetStepComplete(Spawn, FieldTwo, 2)
  417. FaceTarget(NPC, Spawn)
  418. conversation = CreateConversation()
  419. PlayFlavor(NPC, "blorpisa_bogchild/halas/gwenevyns_cove/blorpisa_bogchild/blorpisa_bogchild_061.mp3", "", "", 2498685853, 3116008120, Spawn)
  420. AddConversationOption(conversation, "Thank you, Blorpisa.")
  421. StartConversation(conversation, NPC, Spawn, "Thank you for all of your help, " .. GetName(Spawn) .. ". I cannot express how truly grateful I am for all you have done. It is not much, but please take this as a bit of payment for your troubles.")
  422. RemoveSpawnAccess(NPC, Spawn)
  423. end
  424. function OfferArcaneElements(NPC, Spawn)
  425. OfferQuest(NPC, Spawn, ArcaneElements)
  426. end
  427. function OfferBearBottoms(NPC, Spawn)
  428. OfferQuest(NPC, Spawn, BearBottoms)
  429. end
  430. function OfferCodChips(NPC, Spawn)
  431. OfferQuest(NPC, Spawn, CodChips)
  432. end
  433. function OfferEssentialIngredient(NPC, Spawn)
  434. OfferQuest(NPC, Spawn, EssentialIngredient)
  435. end
  436. function OfferFieldTesting(NPC, Spawn)
  437. OfferQuest(NPC, Spawn, FieldTesting)
  438. end
  439. function OfferFieldTwo(NPC, Spawn)
  440. OfferQuest(NPC, Spawn, FieldTwo)
  441. end