DeputyStoutgut.lua 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. --[[
  2. Script Name : SpawnScripts/EnchantedLands/DeputyStoutgut.lua
  3. Script Purpose : Deputy Stoutgut
  4. Script Author : Cynnar
  5. Script Date : 2015.02.24
  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. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut014.mp3", "", "", 2205151102, 3536637230, Spawn)
  22. AddConversationOption(conversation, "The villagers weren't very cooperative, but I got the plans.", "dlg_5_1")
  23. AddConversationOption(conversation, "Pest? Watch it, Stoutgut!")
  24. StartConversation(conversation, NPC, Spawn, "And you return yet again. What can I do for you, pest?")
  25. if convo==6 then
  26. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut001.mp3", "", "", 3000217040, 2274433071, Spawn)
  27. AddConversationOption(conversation, "Where is the parchment I gave you, Deputy?", "dlg_6_1")
  28. AddConversationOption(conversation, "If you're going to be like that, nothing!")
  29. StartConversation(conversation, NPC, Spawn, "What in the name of Bristlebane do you want?")
  30. end
  31. if convo==7 then
  32. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut001.mp3", "", "", 3000217040, 2274433071, Spawn)
  33. AddConversationOption(conversation, "If you're going to be like that, nothing!", "dlg_7_1")
  34. StartConversation(conversation, NPC, Spawn, "What in the name of Bristlebane do you want?")
  35. end
  36. if convo==11 then
  37. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut001.mp3", "", "", 3000217040, 2274433071, Spawn)
  38. AddConversationOption(conversation, "Deputy Nettlebrine sent me. Do you have any fundraising ideas for the Museum?", "dlg_11_1")
  39. AddConversationOption(conversation, "If you're going to be like that, nothing!")
  40. StartConversation(conversation, NPC, Spawn, "What in the name of Bristlebane do you want?")
  41. end
  42. if convo==12 then
  43. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut024.mp3", "", "", 986032444, 593246848, Spawn)
  44. AddConversationOption(conversation, "I have this for you.", "dlg_12_1")
  45. AddConversationOption(conversation, "No, not yet.")
  46. StartConversation(conversation, NPC, Spawn, "Have you fixed the hole in the wall yet? Come on, kid, I don't have all day!")
  47. end
  48. if convo==13 then
  49. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut030.mp3", "", "", 3454621926, 2606477724, Spawn)
  50. AddConversationOption(conversation, "What is the problem, Deputy?", "dlg_13_1")
  51. AddConversationOption(conversation, "Nothing!")
  52. StartConversation(conversation, NPC, Spawn, "I knew it, I just knew it! Oh, so you've come back yet again. Whatda ya want now?")
  53. end
  54. if convo==17 then
  55. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut006.mp3", "", "", 1718510880, 3032820724, Spawn)
  56. AddConversationOption(conversation, "I know how to do this.", "dlg_17_1")
  57. AddConversationOption(conversation, "No, get your own.")
  58. AddConversationOption(conversation, "I'm not quite ready yet.")
  59. StartConversation(conversation, NPC, Spawn, "So you're back already? I'll show you how to put this thing together if you're ready.")
  60. end
  61. if convo==18 then
  62. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut001.mp3", "", "", 3000217040, 2274433071, Spawn)
  63. AddConversationOption(conversation, "Do you have any work for me?", "dlg_18_1")
  64. AddConversationOption(conversation, "If you're going to be like that, nothing!")
  65. StartConversation(conversation, NPC, Spawn, "What in the name of Bristlebane do you want?")
  66. end
  67. if convo==19 then
  68. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut012.mp3", "", "", 689544930, 1394566660, Spawn)
  69. AddConversationOption(conversation, "I'm sorry I didn't know. Where can I find them?", "dlg_19_1")
  70. AddConversationOption(conversation, "Calm down, Deputy!")
  71. StartConversation(conversation, NPC, Spawn, "If you want somethin' done you've got to... What, you're back already? You haven't even tried to fix the wall yet, have you? You'll need to get the plans for the wall before you fix it. I thought that would've been obvious!")
  72. end
  73. end
  74. function dlg_5_1(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut015.mp3", "", "", 1819724040, 1763342876, Spawn)
  78. AddConversationOption(conversation, "Okay.", "dlg_5_2")
  79. StartConversation(conversation, NPC, Spawn, "No, I didn't think the villagers would be. If only they'd listened to me...but there, I'm not going to get all sappy. Let me see those plans. I'm not sure what this mess is. Give it here, I'll try to piece it together. Now be on your way!")
  80. end
  81. function dlg_6_1(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut016.mp3", "", "", 3995053640, 1949553230, Spawn)
  85. AddConversationOption(conversation, "Where you told me to get them!", "dlg_6_2")
  86. AddConversationOption(conversation, "Don't call me kid. Bye!")
  87. StartConversation(conversation, NPC, Spawn, "Where did you get these plans, kid?")
  88. end
  89. function dlg_6_2(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut017.mp3", "", "", 3112714121, 3825102590, Spawn)
  93. AddConversationOption(conversation, "Who should I see to translate it?", "dlg_6_3")
  94. AddConversationOption(conversation, "I don't have time right now.")
  95. StartConversation(conversation, NPC, Spawn, "Sure you did. I can't make heads or tails of this mess. You'll need to go have someone translate this.")
  96. end
  97. function dlg_6_3(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut018.mp3", "", "", 3627724909, 917879739, Spawn)
  101. AddConversationOption(conversation, "I can find him.", "dlg_6_4")
  102. AddConversationOption(conversation, "I don't have time, sorry.")
  103. StartConversation(conversation, NPC, Spawn, "You don't know Deputy Blumble? Heh, you can find him at the wall in one of the offices. Do you think you can find him or do I have to walk you over there?")
  104. end
  105. function dlg_6_4(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut019.mp3", "", "", 644412765, 165524188, Spawn)
  109. AddConversationOption(conversation, "I'm going already.", "dlg_6_5")
  110. StartConversation(conversation, NPC, Spawn, "Hurry up then! Those vermin are flooding in through that hole in the wall as we speak.")
  111. end
  112. function dlg_11_1(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut002.mp3", "", "", 1141279887, 640125766, Spawn)
  116. AddConversationOption(conversation, "I'm not sure what you mean, Deputy.", "dlg_11_2")
  117. AddConversationOption(conversation, "Nothing is wrong with us!")
  118. StartConversation(conversation, NPC, Spawn, "What is this about, not another fundraiser, is it? What is wrong with you whippersnappers now-a-days?")
  119. end
  120. function dlg_11_2(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut003.mp3", "", "", 4081208043, 1448404412, Spawn)
  124. AddConversationOption(conversation, "There aren't that many.", "dlg_11_3")
  125. AddConversationOption(conversation, "You're right. Bye!")
  126. StartConversation(conversation, NPC, Spawn, "I mean, I hate fund raisers! You kids have more fund raisers than they had gods before the Shattering.")
  127. end
  128. function dlg_11_3(NPC, Spawn)
  129. FaceTarget(NPC, Spawn)
  130. conversation = CreateConversation()
  131. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut004.mp3", "", "", 520106342, 1808385038, Spawn)
  132. AddConversationOption(conversation, "Back to the fundraiser...", "dlg_11_4")
  133. AddConversationOption(conversation, "Ha Ha both ways? Bye!")
  134. StartConversation(conversation, NPC, Spawn, "In my day, I had to walk the entire thicket end to end, bare foot, up hill and through the snow ... BOTH WAYS! What's wrong with you kids?")
  135. end
  136. function dlg_11_4(NPC, Spawn)
  137. FaceTarget(NPC, Spawn)
  138. conversation = CreateConversation()
  139. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut005.mp3", "", "", 1123541835, 2802574331, Spawn)
  140. AddConversationOption(conversation, "You might be onto something, Deputy. I'll get right to work!", "dlg_11_5")
  141. StartConversation(conversation, NPC, Spawn, "I hate fundraisers, you will not get my hard earned coins. What that museum needs is good luck! Why don't you track down some goblins and string their ears together? That's how the Leatherfoot Raiders, the real halfling warriors, made a luck charm. If you want to give something to the museum, give them something real, something from our history! Now go! ")
  142. end
  143. function dlg_12_1(NPC, Spawn)
  144. FaceTarget(NPC, Spawn)
  145. conversation = CreateConversation()
  146. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut025.mp3", "", "", 3205887150, 1501358947, Spawn)
  147. AddConversationOption(conversation, "This is what I made from the plans you had me get.", "dlg_12_2")
  148. StartConversation(conversation, NPC, Spawn, "What in the name of Bristlebane's whiskers is this?")
  149. end
  150. function dlg_12_2(NPC, Spawn)
  151. FaceTarget(NPC, Spawn)
  152. conversation = CreateConversation()
  153. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut026.mp3", "", "", 402908551, 4204831156, Spawn)
  154. AddConversationOption(conversation, "But, this is what you told me... Nevermind! Thanks, I guess.", "dlg_12_3")
  155. StartConversation(conversation, NPC, Spawn, "This isn't what you were to get! I need the wall fixed, not this! Bah! Here ya made this piece of junk. You keep it.")
  156. end
  157. function dlg_13_1(NPC, Spawn)
  158. FaceTarget(NPC, Spawn)
  159. conversation = CreateConversation()
  160. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut020.mp3", "", "", 187178887, 2713594168, Spawn)
  161. AddConversationOption(conversation, "What happened, Deputy?", "dlg_13_2")
  162. AddConversationOption(conversation, "You're right, you are a crazy old fool!")
  163. StartConversation(conversation, NPC, Spawn, "Nothin' you would be interested in, but if ya must know... It all started when the lamia found their way to the Enchanted Lands. I told them! I told them all, I did! And nooo! They wouldn't listen to a word I had to say, would they? Don't listen to the crazy old fool. And that's when it happened!")
  164. end
  165. function dlg_13_2(NPC, Spawn)
  166. FaceTarget(NPC, Spawn)
  167. conversation = CreateConversation()
  168. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut021.mp3", "", "", 756155612, 2416013509, Spawn)
  169. AddConversationOption(conversation, "That's bad! What have you done about it?", "dlg_13_3")
  170. AddConversationOption(conversation, "Really, disappeared huh? I don't have time for this.")
  171. StartConversation(conversation, NPC, Spawn, "First the dogs started to act strange. One of them even tried to bite Deputy Huckfar! Then people started acting funny. I tried to warn them. 'The crazy old coot doesn't know what he's talking about,' is all I heard. Now, folks are disappearing. Deputy Kegie's partner went missing. Kegie's never been real bright, but now he's completely unhinged. He thinks he's next.")
  172. end
  173. function dlg_13_3(NPC, Spawn)
  174. FaceTarget(NPC, Spawn)
  175. conversation = CreateConversation()
  176. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut022.mp3", "", "", 1307903429, 4229629453, Spawn)
  177. AddConversationOption(conversation, "Charmed?", "dlg_13_4")
  178. AddConversationOption(conversation, "I don't have time for this.")
  179. StartConversation(conversation, NPC, Spawn, "What have I done? I did my duty; I sounded the alarm. Folks didn't listen and I'm too old to go out there waltzing through the wilderness. If they want to get themselves charmed then so be it.")
  180. end
  181. function dlg_13_4(NPC, Spawn)
  182. FaceTarget(NPC, Spawn)
  183. conversation = CreateConversation()
  184. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut023.mp3", "", "", 3792453407, 3976719679, Spawn)
  185. AddConversationOption(conversation, "What wimmin, er, women? Who did they take?", "dlg_13_5")
  186. AddConversationOption(conversation, "Now that's crazy talk.")
  187. StartConversation(conversation, NPC, Spawn, "Yes, charmed! I said charmed, didn't I? They came in the middle of the night and just took 'em. No one knew, but I did! No one listened to my warnings and now they're gone! Corrupted by those wimmin! ")
  188. end
  189. function dlg_13_5(NPC, Spawn)
  190. FaceTarget(NPC, Spawn)
  191. conversation = CreateConversation()
  192. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut031.mp3", "", "", 1581307422, 3420291599, Spawn)
  193. AddConversationOption(conversation, "Is there anything I can do?", "dlg_13_6")
  194. AddConversationOption(conversation, "It's not my problem.")
  195. StartConversation(conversation, NPC, Spawn, "The younger halflings, they have weaker minds and stronger bodies. Like that partner of Kegie's, I forget his name now. He was taken right out from under Kegie's nose. The poor guy, he thinks he's next. And he might be! We all might be! Those wimmin must be stopped!")
  196. end
  197. function dlg_13_6(NPC, Spawn)
  198. FaceTarget(NPC, Spawn)
  199. conversation = CreateConversation()
  200. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut032.mp3", "", "", 3158007445, 2557802354, Spawn)
  201. AddConversationOption(conversation, "How?", "dlg_13_7")
  202. StartConversation(conversation, NPC, Spawn, "You, kid? Is there anything you can do? You can help me prove that the lamia are the problem. Help me prove I've been right all along! ")
  203. end
  204. function dlg_13_7(NPC, Spawn)
  205. FaceTarget(NPC, Spawn)
  206. conversation = CreateConversation()
  207. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut037.mp3", "", "", 3149180998, 3606483921, Spawn)
  208. AddConversationOption(conversation, "You can count on me.", "dlg_13_8")
  209. StartConversation(conversation, NPC, Spawn, "Go out and see what is happening in the halfling village. They used to be peaceful folk, but remember what a fuss they put up over those plans! See if you can figure out a connection between them wimmin and what's happened to the villagers. Come back and tell me what you find.")
  210. end
  211. function dlg_17_1(NPC, Spawn)
  212. FaceTarget(NPC, Spawn)
  213. conversation = CreateConversation()
  214. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut007.mp3", "", "", 1428232613, 2978158003, Spawn)
  215. AddConversationOption(conversation, "Thanks, I guess.", "dlg_17_2")
  216. StartConversation(conversation, NPC, Spawn, "Let me have that! First you poke the ears with the needle like this and then pull the thread though like thi... Ouch! I'll take this luck charm over to Nettlebrine later. She won't need any museum fundraisers with one of these!")
  217. end
  218. function dlg_18_1(NPC, Spawn)
  219. FaceTarget(NPC, Spawn)
  220. conversation = CreateConversation()
  221. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut009.mp3", "", "", 284712331, 1970714418, Spawn)
  222. AddConversationOption(conversation, "What hole in the wall?", "dlg_18_2")
  223. AddConversationOption(conversation, "Fix it yourself!")
  224. StartConversation(conversation, NPC, Spawn, "As a matter of fact I do. You young people think you know everything, don't you? DON'T YOU? If you want something to do, go fix that hole in the wall. I hate looking at it.")
  225. end
  226. function dlg_18_2(NPC, Spawn)
  227. FaceTarget(NPC, Spawn)
  228. conversation = CreateConversation()
  229. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut010.mp3", "", "", 1085130442, 3309326051, Spawn)
  230. AddConversationOption(conversation, "I see it.", "dlg_18_3")
  231. AddConversationOption(conversation, "Good bye.")
  232. StartConversation(conversation, NPC, Spawn, "What hole in the wall? You haven't been around here very long have you? The hole over there! See it? OVER There!")
  233. end
  234. function dlg_18_3(NPC, Spawn)
  235. FaceTarget(NPC, Spawn)
  236. conversation = CreateConversation()
  237. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut011.mp3", "", "", 3851743591, 2529609948, Spawn)
  238. AddConversationOption(conversation, "Okay! Okay, I'm going.", "dlg_18_4")
  239. StartConversation(conversation, NPC, Spawn, "Good now go fix it, the creatures from the other side are coming in through that hole. I don't know why no one ever does anything I say. Now get over there!")
  240. end
  241. function dlg_19_1(NPC, Spawn)
  242. FaceTarget(NPC, Spawn)
  243. conversation = CreateConversation()
  244. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut013.mp3", "", "", 3884070206, 1389103522, Spawn)
  245. AddConversationOption(conversation, "Where can I find them?", "dlg_19_2")
  246. AddConversationOption(conversation, "Okay, thank you, Deputy.")
  247. StartConversation(conversation, NPC, Spawn, "The plans? You'll find them within the halfling village west of the wall. Our folks have been caring for the plans until the time when we could rebuild. You might wanna be careful, though. Lately some of the villagers haven't been themselves. Under the influence, no doubt.")
  248. end
  249. function dlg_19_2(NPC, Spawn)
  250. FaceTarget(NPC, Spawn)
  251. conversation = CreateConversation()
  252. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/deputy_stoutgut/enchanted/solo_stoutgut/deputy_stoutgut029.mp3", "", "", 58649674, 1428625764, Spawn)
  253. AddConversationOption(conversation, "Okay, I'm going!", "dlg_19_3")
  254. StartConversation(conversation, NPC, Spawn, "Are you daft? I said west of the wall! Those villagers might be a bit distrustful of an outsider. Especially since...oh, never mind. Now for the last time, hurry up and get those plans!")
  255. end