YashaRedblade.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/YashaRedblade.lua
  3. Script Purpose : Yasha Redblade
  4. Script Author : theFoof
  5. Script Date : 2013.03.16
  6. Script Notes :Ememjr 2017.10.21 add code, to give item if missing from your inventory on hail
  7. --]]
  8. local HalasianWelcome = 1
  9. local StoneCombat = 2
  10. local CallArms = 3
  11. local BoatloadWork = 4
  12. local FlameOn = 5
  13. local RideGwenevyn = 8
  14. function spawn(NPC)
  15. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  16. ProvidesQuest(NPC, StoneCombat)
  17. ProvidesQuest(NPC, CallArms)
  18. ProvidesQuest(NPC, BoatloadWork)
  19. ProvidesQuest(NPC, FlameOn)
  20. ProvidesQuest(NPC, RideGwenevyn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end
  25. function InRange(NPC, Spawn)
  26. end
  27. function LeaveRange(NPC, Spawn)
  28. end
  29. function hailed(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. if HasQuest(Spawn, HalasianWelcome) then
  33. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_001.mp3", "", "", 1052109202, 2650157895, Spawn)
  34. AddConversationOption(conversation, "Yes, and my muscles are a bit stiff.", "CompleteHalasianWelcome1")
  35. AddConversationOption(conversation, "Yes, and I heard you could use some help.", "CompleteHalasianWelcome2")
  36. StartConversation(conversation, NPC, Spawn, "Whoa! You finally woke, eh?")
  37. elseif HasCompletedQuest(Spawn, HalasianWelcome) and HasCompletedQuest(Spawn, StoneCombat) == false and HasQuest(Spawn, StoneCombat) == false then
  38. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_001.mp3", "", "", 1052109202, 2650157895, Spawn)
  39. AddConversationOption(conversation, "Yes, and my muscles are a bit stiff.", "Quest2Chat_0_1")
  40. AddConversationOption(conversation, "Yes, and I heard you could use some help.", "Quest2Chat_1_1")
  41. StartConversation(conversation, NPC, Spawn, "Whoa! You finally woke, eh?")
  42. elseif GetQuestStep(Spawn, StoneCombat) == 4 then
  43. AddConversationOption(conversation, "Yes. I defeated my opponent.", "CompleteStoneCombat")
  44. StartConversation(conversation, NPC, Spawn, "Have you passed the test that Trainer Ragnhild Stonefist set before you?")
  45. elseif HasCompletedQuest(Spawn, StoneCombat) and HasCompletedQuest(Spawn, CallArms) == false and HasQuest(Spawn, CallArms) == false then
  46. Quest3Chat_0_1(NPC, Spawn)
  47. elseif GetQuestStep(Spawn, CallArms) == 2 then
  48. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  49. AddConversationOption(conversation, "I killed many of the attacking orcs.", "FinishedCallArms")
  50. StartConversation(conversation, NPC, Spawn, "How did you fare, " .. GetName(Spawn) .. "? Have the attacking orcs been defeated?")
  51. elseif HasCompletedQuest(Spawn, CallArms) and HasCompletedQuest(Spawn, BoatloadWork) == false and HasQuest(Spawn, BoatloadWork) == false then
  52. Quest4Chat_1(NPC, Spawn)
  53. elseif GetQuestStep(Spawn, BoatloadWork) == 2 then
  54. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  55. AddConversationOption(conversation, "I hope so.", "Quest4Chat_6")
  56. StartConversation(conversation, NPC, Spawn, "Thank Marr you have returned with the planks of wood, " .. GetName(Spawn) .. "! This new barricade will certainly help us keep the orcs at bay.")
  57. elseif GetQuestStep(Spawn, BoatloadWork) == 3 then
  58. if HasItem(Spawn, 46842) == false then
  59. StartConversation(conversation, NPC, Spawn, "Set the new barricade down south of me where the break in the barricade is lit by two torches.")
  60. SummonItem(Spawn, 46842, 1)
  61. else
  62. StartConversation(conversation, NPC, Spawn, "Set the new barricade down south of me where the break in the barricade is lit by two torches.")
  63. end
  64. elseif GetQuestStep(Spawn, BoatloadWork) == 4 then
  65. SetStepComplete(Spawn, BoatloadWork, 4)
  66. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  67. AddConversationOption(conversation, "I have been glad to help.", "Quest5Chat_1")
  68. AddConversationOption(conversation, "It has been rewarding.")
  69. StartConversation(conversation, NPC, Spawn, "You really are a blessing from Marr, " .. GetName(Spawn) .. "! We cannot thank you enough for all that you have done to provide for us and keep us safe.")
  70. elseif HasCompletedQuest(Spawn, BoatloadWork) and HasCompletedQuest(Spawn, FlameOn) == false and HasQuest(Spawn, FlameOn) == false then
  71. Quest5Chat_1(NPC, Spawn)
  72. elseif GetQuestStep(Spawn, FlameOn) == 1 then
  73. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_028.mp3", "", "", 3869056834, 2852458001, Spawn)
  74. AddConversationOption(conversation, "Where is it again?", "Quest5Chat_3")
  75. AddConversationOption(conversation, "How do I climb up to it?", "Quest5Chat_4")
  76. AddConversationOption(conversation, "I'll light it, Yasha.")
  77. StartConversation(conversation, NPC, Spawn, "We are counting on you to light the signal fire!")
  78. elseif GetQuestStep(Spawn, FlameOn) == 3 then
  79. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_030.mp3", "", "", 1552005531, 3390176496, Spawn)
  80. AddConversationOption(conversation, "I encountered some of the orcs up there!", "Quest5Chat_5")
  81. StartConversation(conversation, NPC, Spawn, "The signal fire burns bright, " .. GetName(Spawn) .. ". But what took so long? I was growing concerned.")
  82. elseif HasCompletedQuest(Spawn, FlameOn) and HasQuest(Spawn, RideGwenevyn) == false and HasCompletedQuest(Spawn, RideGwenevyn) == false then
  83. Quest6Chat_1(NPC, Spawn)
  84. elseif GetQuestStep(Spawn, RideGwenevyn) == 1 then
  85. PlayFlavor(NPC, "", "You'll find the Gwenavyne II at the southern most tip of Pilgrims' Landing. It will take you over to Erollis.", "nod", 1689589577, 4560189, Spawn)
  86. elseif HasCompletedQuest(Spawn, RideGwenevyn) then
  87. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1041.mp3", "I have no doubt the fates have something great in store for you!", "", 0, 0, Spawn)
  88. else
  89. local choice = math.random(1,3)
  90. if choice == 1 then
  91. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1041.mp3", "", "", 0, 0, Spawn)
  92. elseif choice == 2 then
  93. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1041.mp3", "", "", 0, 0, Spawn)
  94. elseif choice == 3 then
  95. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1041.mp3", "", "", 0, 0, Spawn)
  96. end
  97. end
  98. end
  99. function CompleteHalasianWelcome1(NPC, Spawn)
  100. SetStepComplete(Spawn, HalasianWelcome, 1)
  101. Quest2Chat_0_1(NPC, Spawn)
  102. end
  103. function CompleteHalasianWelcome2(NPC, Spawn)
  104. SetStepComplete(Spawn, HalasianWelcome, 1)
  105. Quest2Chat_1_1(NPC, Spawn)
  106. end
  107. function CompleteStoneCombat(NPC, Spawn)
  108. SetStepComplete(Spawn, StoneCombat, 4)
  109. Quest3Chat_0_1(NPC, Spawn)
  110. end
  111. function Quest2Chat_0_1(NPC, Spawn)
  112. FaceTarget(NPC, Spawn)
  113. conversation = CreateConversation()
  114. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_002.mp3", "", "", 395241080, 1989878493, Spawn)
  115. AddConversationOption(conversation, "That would be great!", "Quest2Chat_1_1")
  116. AddConversationOption(conversation, "Not quite yet.")
  117. StartConversation(conversation, NPC, Spawn, "That's no surprise considering the work out that they must have endured swimming and dragging those others ashore the way you did. You looking to work 'em out a bit?")
  118. end
  119. function Quest2Chat_1_1(NPC, Spawn)
  120. FaceTarget(NPC, Spawn)
  121. conversation = CreateConversation()
  122. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_005.mp3", "", "", 3031703897, 849787882, Spawn)
  123. AddConversationOption(conversation, "I'll go speak with her, right now.", "OfferStoneCombat")
  124. AddConversationOption(conversation, "I don't think I'm up for this. Good bye.")
  125. StartConversation(conversation, NPC, Spawn, "You heard correctly. But first I need to ensure that you are ready to enter the fray. Go speak to Trainer Ragnhild Stonefist. She's east of me at the other end of the ship's hull. She'll teach you the basics of combat.")
  126. end
  127. function Quest3Chat_0_1(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. conversation = CreateConversation()
  130. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_009.mp3", "", "", 3426547133, 152454946, Spawn)
  131. AddConversationOption(conversation, "That's true.", "Quest3Chat_1_1")
  132. AddConversationOption(conversation, "I am more than warmed up.", "Quest3Chat_1_1")
  133. StartConversation(conversation, NPC, Spawn, "I bet your muscles aren't so stiff after that warm up.")
  134. end
  135. function Quest3Chat_1_1(NPC, Spawn)
  136. FaceTarget(NPC, Spawn)
  137. conversation = CreateConversation()
  138. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_010.mp3", "", "", 1856638395, 3517818586, Spawn)
  139. AddConversationOption(conversation, "Is it orcs?", "Quest3Chat_2_1")
  140. AddConversationOption(conversation, "Perfect! Who is it?", "Quest3Chat_2_2")
  141. StartConversation(conversation, NPC, Spawn, "Good, 'cause there's a real foe around here for you to face.")
  142. end
  143. function Quest3Chat_2_2(NPC, Spawn)
  144. FaceTarget(NPC, Spawn)
  145. conversation = CreateConversation()
  146. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_012.mp3", "", "", 1278159585, 3525975110, Spawn)
  147. AddConversationOption(conversation, "There are orcs attacking?!", "Quest3Chat_3_1")
  148. AddConversationOption(conversation, "I am not ready to face orcs!")
  149. StartConversation(conversation, NPC, Spawn, "The tenacious orcs! The mangy beasts started rushing our shore shortly after you swam ashore carrying the others. They must have realized how strong this outpost was becoming.")
  150. end
  151. function Quest3Chat_2_1(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_011.mp3", "", "", 1164815048, 3310979023, Spawn)
  155. AddConversationOption(conversation, "Then we must face them!", "Quest3Chat_3_1")
  156. AddConversationOption(conversation, "I am not ready to face orcs.")
  157. StartConversation(conversation, NPC, Spawn, "Yes! The mangy beasts started rushing our shore shortly after you swam ashore carrying the others. They must have realized how strong this outpost was becoming.")
  158. end
  159. function Quest3Chat_3_1(NPC, Spawn)
  160. FaceTarget(NPC, Spawn)
  161. conversation = CreateConversation()
  162. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_013.mp3", "", "", 4060266194, 2101228978, Spawn)
  163. AddConversationOption(conversation, "Right away!", "OfferCallArms")
  164. StartConversation(conversation, NPC, Spawn, "Yes, indeed! Fall upon the Ry'Gorr centurions that are rushing the barricades southeast of me. Return to me when you have done this.")
  165. end
  166. function FinishedCallArms(NPC, Spawn)
  167. if GetQuestStep(Spawn, CallArms) == 2 then
  168. SetStepComplete(Spawn, CallArms, 2)
  169. end
  170. FaceTarget(NPC, Spawn)
  171. conversation = CreateConversation()
  172. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  173. AddConversationOption(conversation, "I did.", "Quest4Chat_1")
  174. StartConversation(conversation, NPC, Spawn, "Ah, I wish I would have seen it! You must have unleashed an impressive fury upon those murderous meat slabs.")
  175. end
  176. function Quest4Chat_1(NPC, Spawn)
  177. FaceTarget(NPC, Spawn)
  178. conversation = CreateConversation()
  179. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  180. AddConversationOption(conversation, "You want me to kill some more?", "Quest4Chat_2")
  181. AddConversationOption(conversation, "What can we do about it?", "Quest4Chat_3")
  182. StartConversation(conversation, NPC, Spawn, "But I am afraid that is not the last we will see of them. Even now, another wave of them may be crashing upon our shores!")
  183. end
  184. function Quest4Chat_2(NPC, Spawn)
  185. FaceTarget(NPC, Spawn)
  186. conversation = CreateConversation()
  187. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  188. AddConversationOption(conversation, "I can do that.", "Quest4Chat_4")
  189. AddConversationOption(conversation, "I am not interested in crafting.", "Quest4Chat_5")
  190. StartConversation(conversation, NPC, Spawn, "I had something else in mind, " .. GetName(Spawn) .. ". The barricades that are holding back the orcs were frantically crafted out of debris and boat wreckage. There are several of them that need to be replaced.")
  191. end
  192. function Quest4Chat_3(NPC, Spawn)
  193. FaceTarget(NPC, Spawn)
  194. conversation = CreateConversation()
  195. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  196. AddConversationOption(conversation, "I can do that.", "Quest4Chat_4")
  197. AddConversationOption(conversation, "I am not interested in crafting.", "Quest4Chat_5")
  198. StartConversation(conversation, NPC, Spawn, "We must fortify our defenses! The barricades that are holding back the orcs were frantically crafted out of debris and boat wreckage. There are several of them that need to be replaced.")
  199. end
  200. function Quest4Chat_4(NPC, Spawn)
  201. FaceTarget(NPC, Spawn)
  202. conversation = CreateConversation()
  203. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  204. AddConversationOption(conversation, "Right away!", "OfferBoatloadWork")
  205. AddConversationOption(conversation, "Maybe later, Yasha.")
  206. StartConversation(conversation, NPC, Spawn, "I am relieved to hear you say that, " .. GetName(Spawn) .. ". Gather planks of wood from the bow of the old boat wreckage west of me. I'll make them into a makeshift barricade.")
  207. end
  208. function Quest4Chat_5(NPC, Spawn)
  209. FaceTarget(NPC, Spawn)
  210. conversation = CreateConversation()
  211. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  212. AddConversationOption(conversation, "Right away!", "OfferBoatloadWork")
  213. AddConversationOption(conversation, "Maybe later, Yasha.")
  214. StartConversation(conversation, NPC, Spawn, "That's fine, " .. GetName(Spawn) .. ". I'll craft the makeshift barricade. I just need you to gather planks of wood from the bow of the old boat wreckage west of me.")
  215. end
  216. function Quest4Chat_6(NPC, Spawn)
  217. SetStepComplete(Spawn, BoatloadWork, 2)
  218. FaceTarget(NPC, Spawn)
  219. conversation = CreateConversation()
  220. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_014.mp3", "", "", 2562189235, 2582498054, Spawn)
  221. AddConversationOption(conversation, "Will do!")
  222. StartConversation(conversation, NPC, Spawn, "Take this makeshift barricade piece and set it in the frozen tundra south of me where the break in the barricade line is lit by two torches.")
  223. end
  224. function Quest5Chat_1(NPC, Spawn)
  225. FaceTarget(NPC, Spawn)
  226. conversation = CreateConversation()
  227. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_025.mp3", "", "", 1803586212, 1797757498, Spawn)
  228. AddConversationOption(conversation, "What for?", "Quest5Chat_2")
  229. AddConversationOption(conversation, "Sounds easy. I'll do it.", "Quest5Chat_3")
  230. AddConversationOption(conversation, "I am not able to help you right now.")
  231. StartConversation(conversation, NPC, Spawn, "Wait a moment! Your timing is perfect, " .. GetName(Spawn) .. ". We need someone to light the signal fire atop the cliff to the east.")
  232. end
  233. function Quest5Chat_2(NPC, Spawn)
  234. FaceTarget(NPC, Spawn)
  235. conversation = CreateConversation()
  236. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_026.mp3", "", "", 3324242342, 3751082906, Spawn)
  237. AddConversationOption(conversation, "To warn them.", "Quest5Chat_3")
  238. StartConversation(conversation, NPC, Spawn, "It is to alert the fledgling city of New Halas of the orcs that have been attacking our outpost.")
  239. end
  240. function Quest5Chat_3(NPC, Spawn)
  241. FaceTarget(NPC, Spawn)
  242. conversation = CreateConversation()
  243. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_028.mp3", "", "", 3869056834, 2852458001, Spawn)
  244. AddConversationOption(conversation, "I'll light it, Yasha.", "OfferFlameOn")
  245. AddConversationOption(conversation, "How do I climb?", "Quest5Chat_4")
  246. StartConversation(conversation, NPC, Spawn, "Venture east and you will find an imposing wall of ice with a rope ladder scaling it. Climb the ladder to the ice shelf above. The signal fire is up there.")
  247. end
  248. function Quest5Chat_4(NPC, Spawn)
  249. FaceTarget(NPC, Spawn)
  250. conversation = CreateConversation()
  251. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_029.mp3", "", "", 476266339, 1999686318, Spawn)
  252. AddConversationOption(conversation, "That's good to know.", "OfferFlameOn")
  253. StartConversation(conversation, NPC, Spawn, "That's easy! If a vertical surface can be climbed all you need to do is approach it. You will find that you are a natural at it and that you have just as much control over what direction you wish to travel on the vertical surfaces as you do over horizontal ones.")
  254. end
  255. function Quest5Chat_5(NPC, Spawn)
  256. SetStepComplete(Spawn, FlameOn, 3)
  257. FaceTarget(NPC, Spawn)
  258. conversation = CreateConversation()
  259. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_031.mp3", "", "", 517725875, 2427954496, Spawn)
  260. AddConversationOption(conversation, "Thank you.", "Quest6Chat_1")
  261. AddConversationOption(conversation, "I'm not sure that's true.", "Quest6Chat_1")
  262. StartConversation(conversation, NPC, Spawn, "Holy Twins! You killed them, didn't you?! I knew you were brought to this floating island by the fates and now you have proven it!")
  263. end
  264. function Quest6Chat_1(NPC, Spawn)
  265. FaceTarget(NPC, Spawn)
  266. conversation = CreateConversation()
  267. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_032.mp3", "", "", 4231067263, 531833046, Spawn)
  268. AddConversationOption(conversation, "How do I get there?", "Quest6Chat_2")
  269. AddConversationOption(conversation, "Thank you, again.", "OfferRidegwenevyn")
  270. AddConversationOption(conversation, "Maybe later.")
  271. StartConversation(conversation, NPC, Spawn, "Report to Wregan Firebeard. He is at a small camp site at Gwenevyn's Cove, preparing to guide the latest group of pilgrims to the city. If you hurry, you should be able to catch him before they embark on their trek.")
  272. end
  273. function Quest6Chat_2(NPC, Spawn)
  274. FaceTarget(NPC, Spawn)
  275. conversation = CreateConversation()
  276. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_033.mp3", "", "", 1250945947, 234141592, Spawn)
  277. AddConversationOption(conversation, "Thank you, again.", "OfferRidegwenevyn")
  278. AddConversationOption(conversation, "Can't I swim over there?", "OfferRidegwenevynTwo")
  279. StartConversation(conversation, NPC, Spawn, "Get aboard the small ferry craft that we have pieced together at the southern most tip of Pilgrims' Landing. It will take you over to Erollis. The camp site's fire should be noticeable from the beach.")
  280. end
  281. function OfferStoneCombat(NPC, Spawn)
  282. if HasCompletedQuest(Spawn, HalasianWelcome) then
  283. OfferQuest(NPC, Spawn, StoneCombat)
  284. end
  285. end
  286. function OfferCallArms(NPC, Spawn)
  287. if HasCompletedQuest(Spawn, StoneCombat) then
  288. OfferQuest(NPC, Spawn, CallArms)
  289. end
  290. end
  291. function OfferBoatloadWork(NPC, Spawn)
  292. if HasCompletedQuest(Spawn, CallArms) then
  293. OfferQuest(NPC, Spawn, BoatloadWork)
  294. end
  295. end
  296. function OfferFlameOn(NPC, Spawn)
  297. if HasCompletedQuest(Spawn, BoatloadWork) and HasQuest(Spawn, FlameOn) == false then
  298. OfferQuest(NPC, Spawn, FlameOn)
  299. end
  300. end
  301. function OfferRidegwenevyn(NPC, Spawn)
  302. if HasCompletedQuest(Spawn, FlameOn) then
  303. OfferQuest(NPC, Spawn, RideGwenevyn)
  304. end
  305. end
  306. function OfferRidegwenevynTwo(NPC, Spawn)
  307. FaceTarget(NPC, Spawn)
  308. conversation = CreateConversation()
  309. if HasCompletedQuest(Spawn, FlameOn) then
  310. OfferQuest(NPC, Spawn, RideGwenevyn)
  311. end
  312. PlayFlavor(NPC, "yasha_redblade/halas/pilgrims_landing/redblade_034.mp3", "", "", 4096485687, 3591012782, Spawn)
  313. AddConversationOption(conversation, "Oh, okay.")
  314. StartConversation(conversation, NPC, Spawn, "You can, sure. But I wouldn't suggest it. The water is freezing.")
  315. end