9
3

BlorpisaBogchild_(shelf).lua 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/BlorpisaBogchild_(shelf).lua
  3. Script Purpose : Blorpisa Bogchild located at the Great Shelf
  4. Script Author : theFoof
  5. Script Date : 2013.06.02
  6. Script Notes :
  7. --]]
  8. local FieldTwo = 24
  9. local WeaponChoice = 47
  10. local DisarmingRyGorr = 48
  11. local PerfectlyMissing = 49
  12. local LastIngredient = 50
  13. function spawn(NPC)
  14. AddSpawnAccess(NPC, NPC)
  15. SetPlayerProximityFunction(NPC, 50, "SpawnAccess", "SpawnAccess")
  16. ProvidesQuest(NPC, WeaponChoice)
  17. ProvidesQuest(NPC, DisarmingRyGorr)
  18. ProvidesQuest(NPC, PerfectlyMissing)
  19. ProvidesQuest(NPC, LastIngredient)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function hailed(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. if not HasCompletedQuest(Spawn, WeaponChoice) and not HasQuest(Spawn, WeaponChoice) then
  28. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_003.mp3", "", "", 3193177069, 1800399458, Spawn)
  29. AddConversationOption(conversation, "Hello, Blorpisa.", "Quest1Chat_1")
  30. StartConversation(conversation, NPC, Spawn, GetName(Spawn) .. "! It is good to see you again!")
  31. elseif GetQuestStep(Spawn, WeaponChoice) == 1 then
  32. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_004.mp3", "", "", 4181283850, 2893617958, Spawn)
  33. AddConversationOption(conversation, "No, I have not. Where can I find these weapons?", "Quest1Chat_6")
  34. StartConversation(conversation, NPC, Spawn, "Have you collected the weapons for me?")
  35. elseif GetQuestStep(Spawn, WeaponChoice) == 2 then
  36. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_004.mp3", "", "", 4181283850, 2893617958, Spawn)
  37. AddConversationOption(conversation, "Yes, I have the weapons you requested.", "Quest1Chat_7")
  38. StartConversation(conversation, NPC, Spawn, "Have you collected the weapons for me?")
  39. elseif HasCompletedQuest(Spawn, WeaponChoice) and not HasCompletedQuest(Spawn, DisarmingRyGorr) and not HasQuest(Spawn, DisarmingRyGorr) then
  40. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_005.mp3", "", "", 1579551723, 976991105, Spawn)
  41. AddConversationOption(conversation, "I am always ready to do anything to ruin the Ry'Gorr plans.", "Quest2Chat_1")
  42. StartConversation(conversation, NPC, Spawn, "Have you rested? Do you feel refreshed and ready to thwart the Ry'Gorr?")
  43. elseif GetQuestStep(Spawn, DisarmingRyGorr) == 1 then
  44. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_006.mp3", "", "", 2115424713, 269076828, Spawn)
  45. AddConversationOption(conversation, "Not yet. Where can I find these weapons?", "Quest2Chat_4")
  46. StartConversation(conversation, NPC, Spawn, "Have you cleansed the weapons?")
  47. elseif GetQuestStep(Spawn, DisarmingRyGorr) == 2 then
  48. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_006.mp3", "", "", 2115424713, 269076828, Spawn)
  49. AddConversationOption(conversation, "I have cleansed the Ry'Gorr weapons.", "Quest2Chat_5")
  50. StartConversation(conversation, NPC, Spawn, "Have you cleansed the weapons?")
  51. elseif HasCompletedQuest(Spawn, DisarmingRyGorr) and not HasCompletedQuest(Spawn, PerfectlyMissing) and not HasQuest(Spawn, PerfectlyMissing) then
  52. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_007.mp3", "", "", 3686037916, 2573543704, Spawn)
  53. AddConversationOption(conversation, "I agree, no one else should die at the claws of the Ry'Gorr.", "Quest3Chat_1")
  54. StartConversation(conversation, NPC, Spawn, "These skirmishes with the Ry'Gorr have had me thinking of new modifications to my Frost-born Ward. It is not enough that the pilgrims be protected from the cold and animal attacks, they must also be protected from the magic that the Ry'Gorr wield.")
  55. elseif GetQuestStep(Spawn, PerfectlyMissing) == 1 then
  56. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_008.mp3", "", "", 2666323814, 4844605, Spawn)
  57. AddConversationOption(conversation, "I have not yet found the core. Where can I find the ice slurries?", "Quest3Chat_3")
  58. StartConversation(conversation, NPC, Spawn, "Have you harvested the perfect ice slurry core?")
  59. elseif GetQuestStep(Spawn, PerfectlyMissing) == 2 then
  60. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_008.mp3", "", "", 2666323814, 4844605, Spawn)
  61. AddConversationOption(conversation, "I have found the perfect ice slurry core.", "Quest3Chat_4")
  62. StartConversation(conversation, NPC, Spawn, "Have you harvested the perfect ice slurry core?")
  63. elseif HasCompletedQuest(Spawn, PerfectlyMissing) and not HasCompletedQuest(Spawn, LastIngredient) and not HasQuest(Spawn, LastIngredient) then
  64. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_009.mp3", "", "", 3631519683, 72729038, Spawn)
  65. AddConversationOption(conversation, "Is there a problem?", "Quest4Chat_1")
  66. StartConversation(conversation, NPC, Spawn, "Mithaniel's gall!")
  67. elseif GetQuestStep(Spawn, LastIngredient) == 1 then
  68. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_010.mp3", "", "", 1541998982, 3704557731, Spawn)
  69. AddConversationOption(conversation, "No. Where can I find the aged ice slurries?", "Quest4Chat_5")
  70. StartConversation(conversation, NPC, Spawn, "Have you collected the aged ice slurry core?")
  71. elseif GetQuestStep(Spawn, LastIngredient) == 2 then
  72. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_010.mp3", "", "", 1541998982, 3704557731, Spawn)
  73. AddConversationOption(conversation, "I have the aged ice slurry core.", "Quest4Chat_6")
  74. StartConversation(conversation, NPC, Spawn, "Have you collected the aged ice slurry core?")
  75. elseif HasCompletedQuest(Spawn, LastIngredient) then
  76. PlayFlavor(NPC, "", "Thanks for all of your help!", "thanks", 0, 0, Spawn)
  77. end
  78. end
  79. function SpawnAccess(NPC, Spawn)
  80. if HasCompletedQuest(Spawn, FieldTwo) then
  81. AddSpawnAccess(NPC, Spawn)
  82. end
  83. end
  84. function Quest1Chat_1(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_011.mp3", "", "", 2022397228, 290072007, Spawn)
  88. AddConversationOption(conversation, "A bit cramped, actually.", "Quest1Chat_2")
  89. StartConversation(conversation, NPC, Spawn, "How do you find the Great Shelf?")
  90. end
  91. function Quest1Chat_2(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_012.mp3", "", "", 4283018282, 2903892824, Spawn)
  95. AddConversationOption(conversation, "I think they stomp more than crawl.", "Quest1Chat_3")
  96. StartConversation(conversation, NPC, Spawn, "Agreed! I have not been able to hop about much, what with the Ry'Gorr orcs crawling all over this area.")
  97. end
  98. function Quest1Chat_3(NPC, Spawn)
  99. FaceTarget(NPC, Spawn)
  100. conversation = CreateConversation()
  101. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_014.mp3", "", "", 736205101, 798079277, Spawn)
  102. AddConversationOption(conversation, "You want me to loot corpses?", "Quest1Chat_4")
  103. StartConversation(conversation, NPC, Spawn, "The coldain and the Ry'Gorr orcs are fighting a fierce battle southeast of here. I know you cannot take the weapons from the live coldain, but I am sure their fallen dead wouldn't mind you collecting their dormant weapons.")
  104. end
  105. function Quest1Chat_4(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_015.mp3", "", "", 3812649727, 4013790608, Spawn)
  109. AddConversationOption(conversation, "Well, in that case, I will help you.", "Quest1Chat_5")
  110. AddConversationOption(conversation, "I'm still not looting corpses, I don't care how worthy the cause may be.")
  111. StartConversation(conversation, NPC, Spawn, "For a worthy cause! Any weapons you return to me I can enchant to do additional damage to the Ry'Gorr. I know they are resistant to ice, so I think a fire enchant would really hurt them.")
  112. end
  113. function Quest1Chat_5(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. conversation = CreateConversation()
  116. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_016.mp3", "", "", 717321044, 3158147617, Spawn)
  117. AddConversationOption(conversation, "I shall return to you once I have collected the weapons.", "OfferWeaponChoice")
  118. 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.")
  119. end
  120. function Quest1Chat_6(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. AddConversationOption(conversation, "Thanks, Blorpisa.")
  124. StartConversation(conversation, NPC, Spawn, "You can find the weapons on the slain coldain that lie on the battlefield southeast of the Great Shelf.")
  125. end
  126. function Quest1Chat_7(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. conversation = CreateConversation()
  129. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_017.mp3", "", "", 4187444416, 2657798398, Spawn)
  130. AddConversationOption(conversation, "I'm glad that I was able to help. The Ry'Gorr orcs are a scourge upon this land.", "Quest1Chat_8")
  131. StartConversation(conversation, NPC, Spawn, "Thank you, " .. GetName(Spawn) .. ". I will begin enchanting these weapons immediately and send them to the coldain as soon as I am able.")
  132. end
  133. function Quest1Chat_8(NPC, Spawn)
  134. SetStepComplete(Spawn, WeaponChoice, 2)
  135. FaceTarget(NPC, Spawn)
  136. conversation = CreateConversation()
  137. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_019.mp3", "", "", 3213450920, 2902031584, Spawn)
  138. AddConversationOption(conversation, "I will return once I am rested.")
  139. StartConversation(conversation, NPC, Spawn, "They are most vile indeed, preying upon pilgrims and sinking ships. If you want to continue to thwart the Ry'Gorr, return to me once you have eaten and rested. I will have more work for you then.")
  140. end
  141. function Quest2Chat_1(NPC, Spawn)
  142. FaceTarget(NPC, Spawn)
  143. conversation = CreateConversation()
  144. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_020.mp3", "", "", 1335665620, 3336740356, Spawn)
  145. AddConversationOption(conversation, "What do you need me to do?", "Quest2Chat_2")
  146. StartConversation(conversation, NPC, Spawn, "It is good to see you committed to fighting the Ry'Gorr. I left the offensive against the Ry'Gorr to others but now I see that I too must do my part to fight them.")
  147. end
  148. function Quest2Chat_2(NPC, Spawn)
  149. FaceTarget(NPC, Spawn)
  150. conversation = CreateConversation()
  151. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_021.mp3", "", "", 4091770286, 182089722, Spawn)
  152. AddConversationOption(conversation, "That sounds very awful.", "Quest2Chat_3")
  153. StartConversation(conversation, NPC, Spawn, "The Ry'Gorr weapons are imbued with a dark miasma, one that must be cleansed. If the weapons are left as they are, they will taint the very ground and all of the creatures near.")
  154. end
  155. function Quest2Chat_3(NPC, Spawn)
  156. FaceTarget(NPC, Spawn)
  157. conversation = CreateConversation()
  158. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_022.mp3", "", "", 4197171883, 263915525, Spawn)
  159. AddConversationOption(conversation, "If this must be done, then I shall do it.", "Quest2Chat_4")
  160. AddConversationOption(conversation, "This sounds dangerous, I must prepare myself before I can continue. I will return to you when I am ready.")
  161. StartConversation(conversation, NPC, Spawn, "It is very awful! Thankfully the Ry'Gorr are rather stupid when it comes to more complex spells and so it can be easily undone. I have made a poultice that will cleanse the weapons, dissolving the miasma.")
  162. end
  163. function Quest2Chat_4(NPC, Spawn)
  164. FaceTarget(NPC, Spawn)
  165. conversation = CreateConversation()
  166. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_025.mp3", "", "", 1812986023, 1861136256, Spawn)
  167. AddConversationOption(conversation, "I will return once I have cleansed the weapons.", "OfferDisarmingRyGorr")
  168. StartConversation(conversation, NPC, Spawn, "The weapons lay on the battlefield southeast of here.")
  169. end
  170. function Quest2Chat_5(NPC, Spawn)
  171. FaceTarget(NPC, Spawn)
  172. conversation = CreateConversation()
  173. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_024.mp3", "", "", 3608040156, 1455978587, Spawn)
  174. AddConversationOption(conversation, "It worked very well, so well that it dissolved the Ry'Gorr weapons before my eyes.", "Quest2Chat_6")
  175. StartConversation(conversation, NPC, Spawn, "So the poultice worked?")
  176. end
  177. function Quest2Chat_6(NPC, Spawn)
  178. FaceTarget(NPC, Spawn)
  179. conversation = CreateConversation()
  180. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_026.mp3", "", "", 771316187, 1400627586, Spawn)
  181. AddConversationOption(conversation, "I am just doing my job.", "Quest2Chat_7")
  182. StartConversation(conversation, NPC, Spawn, "Then the miasma must have been very deep. I am glad that you are here to help us, thanks to you a great danger has been averted.")
  183. end
  184. function Quest2Chat_7(NPC, Spawn)
  185. SetStepComplete(Spawn, DisarmingRyGorr, 2)
  186. FaceTarget(NPC, Spawn)
  187. conversation = CreateConversation()
  188. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_027.mp3", "", "", 1176369371, 2813456869, Spawn)
  189. AddConversationOption(conversation, "I appreciate the gesture, Blorpisa.")
  190. StartConversation(conversation, NPC, Spawn, "Even so, it is one few can do. Thank you, " .. GetName(Spawn) .. ". Please, accept this coin as a thank you from me.")
  191. end
  192. function Quest3Chat_1(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. conversation = CreateConversation()
  195. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_028.mp3", "", "", 3909433831, 280040798, Spawn)
  196. AddConversationOption(conversation, "Do you need me to collect it for you?", "Quest3Chat_2")
  197. StartConversation(conversation, NPC, Spawn, "To that end, I have studied my texts and have determined the ingredient I need to begin to modify the spell.")
  198. end
  199. function Quest3Chat_2(NPC, Spawn)
  200. FaceTarget(NPC, Spawn)
  201. conversation = CreateConversation()
  202. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_029.mp3", "", "", 1151875239, 4282449451, Spawn)
  203. AddConversationOption(conversation, "I shall search for the perfect ice slurry core so that you may complete your spell.", "OfferPerfectlyMissing")
  204. AddConversationOption(conversation, "Forget it, I'm not killing a bunch of ice slurries.")
  205. StartConversation(conversation, NPC, Spawn, "I do. It is called the perfect ice slurry core. You can harvest it from the ice slurries, but it is rare. Many times you will kill an ice slurry, only to find that its core has a flaw.")
  206. end
  207. function Quest3Chat_3(NPC, Spawn)
  208. FaceTarget(NPC, Spawn)
  209. conversation = CreateConversation()
  210. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_030.mp3", "", "", 1741611934, 1901038615, Spawn)
  211. AddConversationOption(conversation, "I shall return as soon as I find the perfect core.")
  212. StartConversation(conversation, NPC, Spawn, "You can find the ice slurries on the hill south of the Great Shelf. Please hurry. The sooner you return with the core, the sooner I can perfect the spell to protect the pilgrims.")
  213. end
  214. function Quest3Chat_4(NPC, Spawn)
  215. SetStepComplete(Spawn, PerfectlyMissing, 2)
  216. FaceTarget(NPC, Spawn)
  217. conversation = CreateConversation()
  218. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_031.mp3", "", "", 826714400, 1486587557, Spawn)
  219. AddConversationOption(conversation, "Do you need my assistance further?", "Quest3Chat_5")
  220. StartConversation(conversation, NPC, Spawn, "I shall incorporate this perfect core into my spell. Thank you for harvesting this perfect ice slurry core.")
  221. end
  222. function Quest3Chat_5(NPC, Spawn)
  223. FaceTarget(NPC, Spawn)
  224. conversation = CreateConversation()
  225. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_033.mp3", "", "", 754123351, 1435387384, Spawn)
  226. AddConversationOption(conversation, "I shall return in a little while.")
  227. StartConversation(conversation, NPC, Spawn, "I do not know. Give me some time to incorporate this core and then return to me.")
  228. end
  229. function Quest4Chat_1(NPC, Spawn)
  230. FaceTarget(NPC, Spawn)
  231. conversation = CreateConversation()
  232. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_034.mp3", "", "", 2303152841, 514356885, Spawn)
  233. AddConversationOption(conversation, "Please tell me I don't have to test it.", "Quest4Chat_2")
  234. StartConversation(conversation, NPC, Spawn, "This Frost-born Ward isn't taking to the modifications I made. It keeps having unexpected outcomes.")
  235. end
  236. function Quest4Chat_2(NPC, Spawn)
  237. FaceTarget(NPC, Spawn)
  238. conversation = CreateConversation()
  239. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_035.mp3", "", "", 2152784278, 4092517503, Spawn)
  240. AddConversationOption(conversation, "Perhaps there was something wrong with the core?", "Quest4Chat_3")
  241. StartConversation(conversation, NPC, Spawn, "No, you do not have to test it. I just don't understand why the perfect ice slurry core didn't work!")
  242. end
  243. function Quest4Chat_3(NPC, Spawn)
  244. FaceTarget(NPC, Spawn)
  245. conversation = CreateConversation()
  246. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_036.mp3", "", "", 2421741424, 974749894, Spawn)
  247. AddConversationOption(conversation, "Well, are there any other types of ice slurries?", "Quest4Chat_4")
  248. StartConversation(conversation, NPC, Spawn, "How could there be something wrong with it?! It was perfect!")
  249. end
  250. function Quest4Chat_4(NPC, Spawn)
  251. FaceTarget(NPC, Spawn)
  252. conversation = CreateConversation()
  253. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_037.mp3", "", "", 3543415032, 2306350142, Spawn)
  254. AddConversationOption(conversation, "I will get you an aged ice slurry core.", "OfferLastIngredient")
  255. AddConversationOption(conversation, "Sorry, I'm busy. Perhaps later.")
  256. StartConversation(conversation, NPC, Spawn, "There are! There are aged ice slurries, but I thought their cores would be too old to use. You could try to obtain one for me, it couldn't hurt to try.")
  257. end
  258. function Quest4Chat_5(NPC, Spawn)
  259. FaceTarget(NPC, Spawn)
  260. conversation = CreateConversation()
  261. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_038.mp3", "", "", 2165797862, 1375729873, Spawn)
  262. AddConversationOption(conversation, "I shall return with an aged ice slurry core.")
  263. StartConversation(conversation, NPC, Spawn, "The aged ice slurries are in the same place as the others. They gather on the hill south of the Great Shelf.")
  264. end
  265. function Quest4Chat_6(NPC, Spawn)
  266. FaceTarget(NPC, Spawn)
  267. conversation = CreateConversation()
  268. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_039.mp3", "", "", 469439028, 3249363787, Spawn)
  269. AddConversationOption(conversation, "Spell scribing seems fascinating.", "Quest4Chat_7")
  270. StartConversation(conversation, NPC, Spawn, "Quickly, I must incorporate it into the spell ink before the core loses its potency.")
  271. end
  272. function Quest4Chat_7(NPC, Spawn)
  273. FaceTarget(NPC, Spawn)
  274. conversation = CreateConversation()
  275. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_041.mp3", "", "", 2408705067, 2217536445, Spawn)
  276. AddConversationOption(conversation, "So how's the Frost-born Ward coming along?", "Quest4Chat_8")
  277. StartConversation(conversation, NPC, Spawn, "Oh yes, most fascinating, until you turn yourself into an imp, or sweat fire.")
  278. end
  279. function Quest4Chat_8(NPC, Spawn)
  280. FaceTarget(NPC, Spawn)
  281. conversation = CreateConversation()
  282. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_042.mp3", "", "", 829550711, 3566915207, Spawn)
  283. AddConversationOption(conversation, "Is that it?", "Quest4Chat_9")
  284. StartConversation(conversation, NPC, Spawn, "It seems to be combining successfully.")
  285. end
  286. function Quest4Chat_9(NPC, Spawn)
  287. FaceTarget(NPC, Spawn)
  288. conversation = CreateConversation()
  289. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_043.mp3", "", "", 1150736225, 953291323, Spawn)
  290. AddConversationOption(conversation, "No more tests? No more running around?", "Quest4Chat_10")
  291. StartConversation(conversation, NPC, Spawn, "For now.")
  292. end
  293. function Quest4Chat_10(NPC, Spawn)
  294. FaceTarget(NPC, Spawn)
  295. conversation = CreateConversation()
  296. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_044.mp3", "", "", 3571375839, 1539014597, Spawn)
  297. AddConversationOption(conversation, "Gee, I don't know what to say...", "Quest4Chat_11")
  298. StartConversation(conversation, NPC, Spawn, "I think not. I shall test this on myself, I am confident it will work. When it does, I will produce the parchments needed. Thank you for everything, " .. GetName(Spawn) .. ". Between helping me scribe this spell and thwarting the Ry'Gorr, you have helped the people of New Halas more than you can know.")
  299. end
  300. function Quest4Chat_11(NPC, Spawn)
  301. SetStepComplete(Spawn, LastIngredient, 2)
  302. FaceTarget(NPC, Spawn)
  303. conversation = CreateConversation()
  304. PlayFlavor(NPC, "blorpisa_bogchild/halas/great_shelf/blorpisa_bogchild/blorpisa_bogchild_045.mp3", "", "", 4192880371, 50904844, Spawn)
  305. AddConversationOption(conversation, "Thank you, Blorpisa. I am most honored.")
  306. StartConversation(conversation, NPC, Spawn, "Please, accept this as a token of our thanks.")
  307. end
  308. function OfferWeaponChoice(NPC, Spawn)
  309. OfferQuest(NPC, Spawn, WeaponChoice)
  310. end
  311. function OfferDisarmingRyGorr(NPC, Spawn)
  312. if not HasQuest(Spawn, DisarmingRyGorr) and not HasCompletedQuest(Spawn, DisarmingRyGorr) then
  313. OfferQuest(NPC, Spawn, DisarmingRyGorr)
  314. end
  315. end
  316. function OfferPerfectlyMissing(NPC, Spawn)
  317. OfferQuest(NPC, Spawn, PerfectlyMissing)
  318. end
  319. function OfferLastIngredient(NPC, Spawn)
  320. OfferQuest(NPC, Spawn, LastIngredient)
  321. end