CaptainSteelforge.lua 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/CaptainSteelforge.lua
  3. Script Purpose : Captain Steelforge
  4. Script Author : John Adams
  5. Script Date : 2009.02.05
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. if HasCompletedQuest(Spawn, 152) then
  22. -- initial response when not on Trillis quest, but also not on Spelunkle quest yet (convo 17)
  23. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge001.mp3", "", "", 3588015158, 768345314, Spawn)
  24. AddConversationOption(conversation, "I'm not worried about any ole grobins.", "dlg_17_1")
  25. AddConversationOption(conversation, "I'm out of here!")
  26. StartConversation(conversation, NPC, Spawn, "Whoa, what are ye doin' out here? Thar be grobins in this cave that'll eat yer eyeballs and roast yer toes! Watch yerself youngin'.")
  27. else
  28. -- initial hail when on quest from Trillis
  29. -- if convo==13 then
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge001.mp3", "", "", 3588015158, 768345314, Spawn)
  31. AddConversationOption(conversation, "I brought a status report from Sentry Trillis.", "dlg_13_1")
  32. AddConversationOption(conversation, "I'm not worried about any ole grobins.")
  33. AddConversationOption(conversation, "I'm out of here!")
  34. StartConversation(conversation, NPC, Spawn, "Whoa, what are ye doin' out here? Thar be grobins in this cave that'll eat yer eyeballs and roast yer toes! Watch yerself youngin'.")
  35. end
  36. -- initial response when on Trillis quest, but not on Spelunkle quest
  37. if convo==22 then
  38. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge001.mp3", "", "", 3588015158, 768345314, Spawn)
  39. AddConversationOption(conversation, "I brought a status report from Sentry Trillis.", "dlg_22_1")
  40. AddConversationOption(conversation, "I'm out of here!")
  41. StartConversation(conversation, NPC, Spawn, "Whoa, what are ye doin' out here? Thar be grobins in this cave that'll eat yer eyeballs and roast yer toes! Watch yerself youngin'.")
  42. end
  43. -- completing Spelunkle quest
  44. if convo==30 then
  45. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge005.mp3", "", "", 2083248035, 1619033401, Spawn)
  46. AddConversationOption(conversation, "He's fine. He also told me about the shrumbler queen they had in the cave.", "dlg_30_1")
  47. AddConversationOption(conversation, "I haven't found him yet.")
  48. StartConversation(conversation, NPC, Spawn, "Did ya find little Spelunkle? Tell me, is he okay?")
  49. end
  50. end
  51. function dlg_5_1(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge006.mp3", "", "", 897068952, 3276150926, Spawn)
  55. AddConversationOption(conversation, "Nah, I took care of it.", "dlg_5_2")
  56. StartConversation(conversation, NPC, Spawn, "The shrumbler queen they 'had'? Did they go and move her or somethin'?")
  57. end
  58. function dlg_5_2(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. conversation = CreateConversation()
  61. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge007.mp3", "", "", 1161262204, 1265134941, Spawn)
  62. AddConversationOption(conversation, "I couldn't have done it without Spelunkle's help.", "dlg_5_3")
  63. AddConversationOption(conversation, "Yeah, I'm that good.")
  64. StartConversation(conversation, NPC, Spawn, "You did? Amazin'! You solved our problems on your own?")
  65. end
  66. function dlg_5_3(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge008.mp3", "", "", 647162173, 4086848516, Spawn)
  70. AddConversationOption(conversation, "Thank you, Captain Steelforge.", "dlg_5_4")
  71. StartConversation(conversation, NPC, Spawn, "Cleanin' up the rest of these grobins should be a breeze now that you've destroyed their operation. You did a fine job, .. GetName(Spawn) .. . Please take this as payment. ")
  72. end
  73. function dlg_5_4(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge009.mp3", "", "", 195987972, 3354737418, Spawn)
  77. AddConversationOption(conversation, "Sure, I can take it.", "dlg_5_5")
  78. AddConversationOption(conversation, "No thanks, I'm busy.")
  79. StartConversation(conversation, NPC, Spawn, "Oh, before you go... could you take this report of our activities to Jenthis Viridar at the Sapling Spur Outpost? You'll find the outpost through Echo Echo Canyon, east of here.")
  80. end
  81. function dlg_5_5(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge010.mp3", "", "", 247015049, 192968662, Spawn)
  85. AddConversationOption(conversation, "You are welcome.", "dlg_5_6")
  86. StartConversation(conversation, NPC, Spawn, "Thanks again for all your help!")
  87. end
  88. function dlg_13_1(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge002.mp3", "", "", 182585775, 224821525, Spawn)
  92. AddConversationOption(conversation, "Grobins don't worry me. I already got rid of the ones at Amethyst Pond.", "dlg_13_2")
  93. StartConversation(conversation, NPC, Spawn, "Private Trillis' report, ya say? Good, looks like 'All Clear' from up top, boys. Now ya best be gettin' to some place safe. Grobins ain't some wee pals to be playing ring-around-the-rosey-posey with.")
  94. end
  95. function dlg_13_2(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge003.mp3", "", "", 2413910951, 3163146972, Spawn)
  99. AddConversationOption(conversation, "I can handle it. What is going on?", "dlg_13_3")
  100. AddConversationOption(conversation, "Into the cave? No thanks.")
  101. StartConversation(conversation, NPC, Spawn, "Not worried, eh? We could all use a bit o' help if yer interested. But it involves goin' into Drippy Caves, so it be okay if ye want to back out.")
  102. end
  103. function dlg_13_3(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge004.mp3", "", "", 4222019617, 563206009, Spawn)
  107. AddConversationOption(conversation, "You got it.", "dlg_13_4")
  108. StartConversation(conversation, NPC, Spawn, "We got here a few minutes ago, and before we could even unload our packs, old Spelunkle darted into the caves to investigate. He's got no brains, but ya gotta admire his spunk. We need to set up the defenses here to contain the grobin, but I need you to check on Spelunkle and make sure he's okay.")
  109. end
  110. function dlg_13_4(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge004_offer.mp3", "", "", 2284193320, 823728005, Spawn)
  114. AddConversationOption(conversation, "I'll find him.", "dlg_13_5")
  115. StartConversation(conversation, NPC, Spawn, "I'm sure he's fine, but that don't stop me from worrying.")
  116. end
  117. function dlg_17_1(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. conversation = CreateConversation()
  120. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge003.mp3", "", "", 2413910951, 3163146972, Spawn)
  121. AddConversationOption(conversation, "I can handle it. What is going on?", "dlg_17_2")
  122. AddConversationOption(conversation, "Into the cave? No thanks.")
  123. StartConversation(conversation, NPC, Spawn, "Not worried, eh? We could all use a bit o' help if yer interested. But it involves goin' into Drippy Caves, so it be okay if ye want to back out.")
  124. end
  125. function dlg_17_2(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. conversation = CreateConversation()
  128. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge004.mp3", "", "", 4222019617, 563206009, Spawn)
  129. AddConversationOption(conversation, "You got it.", "dlg_17_3")
  130. StartConversation(conversation, NPC, Spawn, "We got here a few minutes ago, and before we could even unload our packs, old Spelunkle darted into the caves to investigate. He's got no brains, but ya gotta admire his spunk. We need to set up the defenses here to contain the grobin, but I need you to check on Spelunkle and make sure he's okay.")
  131. end
  132. function dlg_17_3(NPC, Spawn)
  133. FaceTarget(NPC, Spawn)
  134. conversation = CreateConversation()
  135. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge004_offer.mp3", "", "", 2284193320, 823728005, Spawn)
  136. AddConversationOption(conversation, "I'll find him.", "dlg_17_4")
  137. StartConversation(conversation, NPC, Spawn, "I'm sure he's fine, but that don't stop me from worrying.")
  138. end
  139. function dlg_22_1(NPC, Spawn)
  140. FaceTarget(NPC, Spawn)
  141. conversation = CreateConversation()
  142. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge002.mp3", "", "", 182585775, 224821525, Spawn)
  143. AddConversationOption(conversation, "Well, I'll be going.", "dlg_22_2")
  144. StartConversation(conversation, NPC, Spawn, "Private Trillis' report, ya say? Good, looks like 'All Clear' from up top, boys. Now ya best be gettin' to some place safe. Grobins ain't some wee pals to be playing ring-around-the-rosey-posey with.")
  145. end
  146. function dlg_30_1(NPC, Spawn)
  147. FaceTarget(NPC, Spawn)
  148. conversation = CreateConversation()
  149. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge006.mp3", "", "", 897068952, 3276150926, Spawn)
  150. AddConversationOption(conversation, "Nah, I took care of it.", "dlg_30_2")
  151. StartConversation(conversation, NPC, Spawn, "The shrumbler queen they 'had'? Did they go and move her or somethin'?")
  152. end
  153. function dlg_30_2(NPC, Spawn)
  154. FaceTarget(NPC, Spawn)
  155. conversation = CreateConversation()
  156. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge007.mp3", "", "", 1161262204, 1265134941, Spawn)
  157. AddConversationOption(conversation, "I couldn't have done it without Spelunkle's help.", "dlg_30_3")
  158. AddConversationOption(conversation, "Yeah, I'm that good.")
  159. StartConversation(conversation, NPC, Spawn, "You did? Amazin'! You solved our problems on your own?")
  160. end
  161. function dlg_30_3(NPC, Spawn)
  162. FaceTarget(NPC, Spawn)
  163. conversation = CreateConversation()
  164. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge008.mp3", "", "", 647162173, 4086848516, Spawn)
  165. AddConversationOption(conversation, "Thank you, Captain Steelforge.", "dlg_30_4")
  166. StartConversation(conversation, NPC, Spawn, "Cleanin' up the rest of these grobins should be a breeze now that you've destroyed their operation. You did a fine job, .. GetName(Spawn) .. . Please take this as payment. ")
  167. end
  168. function dlg_30_4(NPC, Spawn)
  169. FaceTarget(NPC, Spawn)
  170. conversation = CreateConversation()
  171. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge009.mp3", "", "", 195987972, 3354737418, Spawn)
  172. AddConversationOption(conversation, "Sure, I can take it.", "dlg_30_5")
  173. AddConversationOption(conversation, "No thanks, I'm busy.")
  174. StartConversation(conversation, NPC, Spawn, "Oh, before you go... could you take this report of our activities to Jenthis Viridar at the Sapling Spur Outpost? You'll find the outpost through Echo Echo Canyon, east of here.")
  175. end
  176. function dlg_30_5(NPC, Spawn)
  177. FaceTarget(NPC, Spawn)
  178. conversation = CreateConversation()
  179. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/captain_steelforge/captain_steelforge010.mp3", "", "", 247015049, 192968662, Spawn)
  180. AddConversationOption(conversation, "You are welcome.", "dlg_30_6")
  181. StartConversation(conversation, NPC, Spawn, "Thanks again for all your help!")
  182. end
  183. --[[ raw_conversations
  184. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/captain_steelforge/_exp03/exp03_rgn_greater_faydark/quest/captain_steelforge_spelunkle_c8071534.mp3", "Make sure Scout Spelunkle is okay. I worry about the little guy.", "glare", 2067280972, 25682853, Spawn)
  185. --]]