9
3

BrinkTrudger.lua 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/BrinkTrudger.lua
  3. Script Purpose : Brink Trudger
  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. ProvidesQuest(NPC, 1)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function InRange(NPC, Spawn)
  16. end
  17. function LeaveRange(NPC, Spawn)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. conversation = CreateConversation()
  22. -- says this until you are level 5
  23. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/quest/brink_trudger_low_level_c046f9f.mp3", "Hello, youngin'! Check back with me when you have a bit more experience under your belt. I may have some work for you then!", "", 1587078746, 1916787035, Spawn)
  24. --PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger013.mp3", "", "", 4292702593, 57983242, Spawn)
  25. --AddConversationOption(conversation, "Yes, I have them right here.", "dlg_3_1")
  26. --AddConversationOption(conversation, "Not yet, but I'm working on it.")
  27. --StartConversation(conversation, NPC, Spawn, "Hello there, " .. GetName(Spawn) .. ". Any luck getting those shells from the beach?")
  28. if convo==5 then
  29. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger001.mp3", "", "", 2534543570, 2988502140, Spawn)
  30. AddConversationOption(conversation, "Who are you?", "dlg_5_1")
  31. AddConversationOption(conversation, "Thanks, goodbye.")
  32. StartConversation(conversation, NPC, Spawn, "Hi there, young one'! Heh. Off to start your adventures in the great-big, crazy world, eh? Always keep your wits about you! My wits saved me from a few scrapes over the years.")
  33. end
  34. if convo==7 then
  35. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger004.mp3", "", "", 1893137792, 84245308, Spawn)
  36. AddConversationOption(conversation, "I have some growler pelts for you.", "dlg_7_1")
  37. AddConversationOption(conversation, "I don't have the pelts yet.")
  38. StartConversation(conversation, NPC, Spawn, "Howdy youngin'! How goes the hunt for the growler pelts?")
  39. end
  40. if convo==14 then
  41. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger001.mp3", "", "", 2534543570, 2988502140, Spawn)
  42. AddConversationOption(conversation, "Who are you?", "dlg_14_1")
  43. AddConversationOption(conversation, "Thanks, goodbye.")
  44. StartConversation(conversation, NPC, Spawn, "Hi there, young one'! Heh. Off to start your adventures in the great-big, crazy world, eh? Always keep your wits about you! My wits saved me from a few scrapes over the years.")
  45. end
  46. if convo==15 then
  47. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger007.mp3", "", "", 3075516817, 4149443357, Spawn)
  48. AddConversationOption(conversation, "Yes, I have some spider silk for you.", "dlg_15_1")
  49. AddConversationOption(conversation, "Nope, not yet.")
  50. StartConversation(conversation, NPC, Spawn, "Welcome back, " .. GetName(Spawn) .. ". Heehee ...Were you able to get your hands on some spider silk?")
  51. end
  52. if convo==19 then
  53. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger007.mp3", "", "", 3075516817, 4149443357, Spawn)
  54. AddConversationOption(conversation, "Yes, I have some spider silk for you.", "dlg_19_1")
  55. AddConversationOption(conversation, "Nope, not yet.")
  56. StartConversation(conversation, NPC, Spawn, "Welcome back, " .. GetName(Spawn) .. ". Heehee ...Were you able to get your hands on some spider silk?")
  57. end
  58. end
  59. function dlg_3_1(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger014.mp3", "", "", 4065110799, 2574058259, Spawn)
  63. AddConversationOption(conversation, "Thanks, Brink.", "dlg_3_2")
  64. StartConversation(conversation, NPC, Spawn, "Ah, these are excellent huhhuh. Not a scratch on 'em! Uh, these will make fine plate armor, indeed. We appreciate everything you've done. You're going to make a mark in this world, I tell you.")
  65. end
  66. function dlg_5_1(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger002.mp3", "", "", 2521303074, 4079509468, Spawn)
  70. AddConversationOption(conversation, "Sure. How can I help?", "dlg_5_2")
  71. AddConversationOption(conversation, "I'm sorry, I'm busy.")
  72. StartConversation(conversation, NPC, Spawn, "The names Trudger, youngin', Brink Trudger. I've been where you're going. I used to be an adventurer, wandering the Shattered Lands, but now I help the Matron of the Nursery by making clothing for newly awakened fae. Eh, I could use your help, if you're willing.")
  73. end
  74. function dlg_5_2(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger003.mp3", "", "", 860825066, 492028532, Spawn)
  78. AddConversationOption(conversation, "I can get the hides for you.", "dlg_5_3")
  79. StartConversation(conversation, NPC, Spawn, "I'm running low on leather for my fae outfits. I'd go out hunting myself, but I don't think my old bones could take it. Hahaha! If you get me some growler pelts from the grey growlers west of here, I could tan them to make new strips of leather.")
  80. end
  81. function dlg_5_3(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger003_offer.mp3", "", "", 179963171, 4058842652, Spawn)
  85. AddConversationOption(conversation, "This should be no problem.", "dlg_5_4")
  86. StartConversation(conversation, NPC, Spawn, "Great! I appreciate it!")
  87. end
  88. function dlg_7_1(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger005.mp3", "", "", 904667062, 23815959, Spawn)
  92. AddConversationOption(conversation, "Sure, what is it?", "dlg_7_2")
  93. AddConversationOption(conversation, "I don't have time to help anymore, goodbye.")
  94. StartConversation(conversation, NPC, Spawn, "These are great! Nice skinning job on the hides. They'll make great leather pieces. You know, I hate to ask, but, uh, I need your help just one more time. ")
  95. end
  96. function dlg_7_2(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. conversation = CreateConversation()
  99. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger006.mp3", "", "", 429538583, 2492036558, Spawn)
  100. AddConversationOption(conversation, "I'll get the silk for you.", "dlg_7_3")
  101. StartConversation(conversation, NPC, Spawn, "While you were out, I discovered I'm almost out of the spider silk I use to sew fae clothes for the magically-inclined. I'd be in your debt if you'd get me just a small amount of spider silk so that I can continue making the wee fae outfits.")
  102. end
  103. function dlg_7_3(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger009.mp3", "", "", 94899034, 3216566812, Spawn)
  107. AddConversationOption(conversation, "I'll be careful.", "dlg_7_4")
  108. StartConversation(conversation, NPC, Spawn, "Wonderful! The silkspinner spiders usually live in an area to the west, past the growlers. Be careful though, those silkspinners are dangerous fellers!")
  109. end
  110. function dlg_14_1(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger002.mp3", "", "", 2521303074, 4079509468, Spawn)
  114. AddConversationOption(conversation, "Sure. How can I help?", "dlg_14_2")
  115. AddConversationOption(conversation, "I'm sorry, I'm busy.")
  116. StartConversation(conversation, NPC, Spawn, "The names Trudger, youngin', Brink Trudger. I've been where you're going. I used to be an adventurer, wandering the Shattered Lands, but now I help the Matron of the Nursery by making clothing for newly awakened fae. Eh, I could use your help, if you're willing.")
  117. end
  118. function dlg_14_2(NPC, Spawn)
  119. FaceTarget(NPC, Spawn)
  120. conversation = CreateConversation()
  121. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger003.mp3", "", "", 860825066, 492028532, Spawn)
  122. AddConversationOption(conversation, "I can get the hides for you.", "dlg_14_3")
  123. StartConversation(conversation, NPC, Spawn, "I'm running low on leather for my fae outfits. I'd go out hunting myself, but I don't think my old bones could take it. Hahaha! If you get me some growler pelts from the grey growlers west of here, I could tan them to make new strips of leather.")
  124. end
  125. function dlg_14_3(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. conversation = CreateConversation()
  128. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger003_offer.mp3", "", "", 179963171, 4058842652, Spawn)
  129. AddConversationOption(conversation, "This should be no problem.", "dlg_14_4")
  130. StartConversation(conversation, NPC, Spawn, "Great! I appreciate it!")
  131. end
  132. function dlg_15_1(NPC, Spawn)
  133. FaceTarget(NPC, Spawn)
  134. conversation = CreateConversation()
  135. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger008.mp3", "", "", 1249335835, 2386333509, Spawn)
  136. AddConversationOption(conversation, "Is there anything else I can help with?", "dlg_15_2")
  137. AddConversationOption(conversation, "Thank you, Brink.")
  138. StartConversation(conversation, NPC, Spawn, "Marvelous! Uhoh! This silk is very good quality! You, you did an excellent job, and I know the fae appreciate your hard work. You'll make a fine adventurer, .. GetName(Spawn) .. . A fine adventurer, indeed. Huhuh.")
  139. end
  140. function dlg_15_2(NPC, Spawn)
  141. FaceTarget(NPC, Spawn)
  142. conversation = CreateConversation()
  143. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger010.mp3", "", "", 1214199522, 2851008750, Spawn)
  144. AddConversationOption(conversation, "What kind of shells do you need?", "dlg_15_3")
  145. AddConversationOption(conversation, "I don't feel like getting shells, goodbye.")
  146. StartConversation(conversation, NPC, Spawn, "Hmmm... I'm running low on hard plates to use in making the armor for the heavy fighter types. If you get me the shells I need, I'd sure appreciate it.")
  147. end
  148. function dlg_15_3(NPC, Spawn)
  149. FaceTarget(NPC, Spawn)
  150. conversation = CreateConversation()
  151. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger011.mp3", "", "", 4145013832, 3563128686, Spawn)
  152. AddConversationOption(conversation, "I'll get the shells for you.", "dlg_15_4")
  153. StartConversation(conversation, NPC, Spawn, "I've been using crustacean and turtle shells. The clawsnaps and sand sifters on the beach seem plentiful. If you bring me their shells, I'm sure I'll be able to make them into hard armor for newly awakened fae.")
  154. end
  155. function dlg_15_4(NPC, Spawn)
  156. FaceTarget(NPC, Spawn)
  157. conversation = CreateConversation()
  158. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger012.mp3", "", "", 3911384586, 1778696172, Spawn)
  159. AddConversationOption(conversation, "Okay, I'll be right back.", "dlg_15_5")
  160. StartConversation(conversation, NPC, Spawn, "Thank you, " .. GetName(Spawn) .. ". I'll be right here putting this gear together.")
  161. end
  162. function dlg_19_1(NPC, Spawn)
  163. FaceTarget(NPC, Spawn)
  164. conversation = CreateConversation()
  165. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger008.mp3", "", "", 1249335835, 2386333509, Spawn)
  166. AddConversationOption(conversation, "Is there anything else I can help with?", "dlg_19_2")
  167. AddConversationOption(conversation, "Thank you, Brink.")
  168. StartConversation(conversation, NPC, Spawn, "Marvelous! Uhoh! This silk is very good quality! You, you did an excellent job, and I know the fae appreciate your hard work. You'll make a fine adventurer, .. GetName(Spawn) .. . A fine adventurer, indeed. Huhuh.")
  169. end
  170. function dlg_19_2(NPC, Spawn)
  171. FaceTarget(NPC, Spawn)
  172. conversation = CreateConversation()
  173. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger010.mp3", "", "", 1214199522, 2851008750, Spawn)
  174. AddConversationOption(conversation, "What kind of shells do you need?", "dlg_19_3")
  175. AddConversationOption(conversation, "I don't feel like getting shells, goodbye.")
  176. StartConversation(conversation, NPC, Spawn, "Hmmm... I'm running low on hard plates to use in making the armor for the heavy fighter types. If you get me the shells I need, I'd sure appreciate it.")
  177. end
  178. function dlg_19_3(NPC, Spawn)
  179. FaceTarget(NPC, Spawn)
  180. conversation = CreateConversation()
  181. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger011.mp3", "", "", 4145013832, 3563128686, Spawn)
  182. AddConversationOption(conversation, "I'll get the shells for you.", "dlg_19_4")
  183. StartConversation(conversation, NPC, Spawn, "I've been using crustacean and turtle shells. The clawsnaps and sand sifters on the beach seem plentiful. If you bring me their shells, I'm sure I'll be able to make them into hard armor for newly awakened fae.")
  184. end
  185. function dlg_19_4(NPC, Spawn)
  186. FaceTarget(NPC, Spawn)
  187. conversation = CreateConversation()
  188. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/brink_trudger/brink_trudger012.mp3", "", "", 3911384586, 1778696172, Spawn)
  189. AddConversationOption(conversation, "Okay, I'll be right back.", "dlg_19_5")
  190. StartConversation(conversation, NPC, Spawn, "Thank you, " .. GetName(Spawn) .. ". I'll be right here putting this gear together.")
  191. end
  192. --[[ raw_conversations
  193. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/brink_trudger/_exp03/exp03_rgn_greater_faydark/quest/brink_trudger_low_level_c046f9f.mp3", "Hello, youngin'! Check back with me when you have a bit more experience under your belt. I may have some work for you then!", "", 1587078746, 1916787035, Spawn)
  194. --]]