9
3

HwalRucksif.lua 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. --[[
  2. Script Name : SpawnScripts/Antonica/HwalRucksif.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.26 07:06:22
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 15, "InRange", "", Spawn)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. Dialog23(NPC, Spawn)
  15. end
  16. function InRange(NPC, Spawn)
  17. PlayFlavor(NPC, "voiceover/english/hwal_rucksif/antonica/quest/quest_hwal_rucksif_callout_30d20c93.mp3", "Ho, there! You wouldn't mind helping out a hard working dwarf, would ya?", "hello", 596769271, 2784563151, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function Dialog1(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. Dialog.New(NPC, Spawn)
  25. Dialog.AddDialog("Now, now, no need to be rude about it! They're quite a fine pair of dwarven boots! But I'll need something to replace 'em. Hah ha! I've got just the thing!")
  26. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif021.mp3", 3908614762, 554555549)
  27. Dialog.AddOption("[groan] Why does this sound bad for me?", "Dialog11")
  28. Dialog.Start()
  29. end
  30. function Dialog2(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("He's the quiet sort, doesn't really get out to bother anyone these days. Oh, sure, he used to be a real terror out here in Antonica, but he's gotten quiet in his old age. Spends most of his time moaning and groaning underneath that bard's tower.")
  34. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif016.mp3", 1645899542, 3940230430)
  35. Dialog.AddOption("I guess I'll see what I can do.", "Dialog26")
  36. Dialog.Start()
  37. end
  38. function Dialog3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("Easy now! Don't go dropping it all over! I'll just have to pick it up later!")
  42. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif005.mp3", 2215806706, 569080202)
  43. Dialog.AddOption("It's heavy!", "Dialog24")
  44. Dialog.Start()
  45. end
  46. function Dialog4(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. Dialog.New(NPC, Spawn)
  49. Dialog.AddDialog("Oh, now where's the fun in that, eh? I suppose you're expecting some sort of reward. Adventurers are always thinking about what they get for helpin' someone. I think it's a law of nature!")
  50. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif019.mp3", 2615861284, 4010544627)
  51. Dialog.AddOption("Well, it would be appreciated...", "Dialog19")
  52. Dialog.Start()
  53. end
  54. function Dialog5(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("Much thanks to ya, stranger! I'm not sure I could finish the job without your help! I need plenty of iron and wood for these weapons. It's a lot of work, but I'm sure that together we can get it done in half the time that it'd take me to do it alone!")
  58. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif003.mp3", 584697893, 4066288386)
  59. Dialog.AddOption("It'd better be worth my time, dwarf.")
  60. Dialog.Start()
  61. end
  62. function Dialog6(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. Dialog.New(NPC, Spawn)
  65. Dialog.AddDialog("Now, now, that's no way to talk! Bring the stuff to Minty, and I'll give you my boots when you get back.")
  66. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif023.mp3", 1586655326, 3399089635)
  67. Dialog.AddOption("Fine, I guess there's not much I can say about that...")
  68. Dialog.Start()
  69. end
  70. function Dialog7(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. Dialog.New(NPC, Spawn)
  73. Dialog.AddDialog("Ahh, you're back! My now, that's a serious load of iron and wood!")
  74. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif004.mp3", 1212942996, 3121543539)
  75. Dialog.AddOption("Mmmffff! Take it, quick!", "Dialog3")
  76. Dialog.Start()
  77. end
  78. function Dialog8(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. Dialog.New(NPC, Spawn)
  81. Dialog.AddDialog("Oh, so you've heard of the ol' Rucksif curse! Jolly good! I just need ya to totter off and see if ya can lay him to rest properly.")
  82. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif015.mp3", 1437826389, 2209485957)
  83. Dialog.AddOption("I've never heard of a ghost around here before...", "Dialog2")
  84. Dialog.Start()
  85. end
  86. function Dialog9(NPC, Spawn)
  87. FaceTarget(NPC, Spawn)
  88. Dialog.New(NPC, Spawn)
  89. Dialog.AddDialog("Speaking of work, all this smithing is thirsty business! You wouldn't mind helping me curb a guilty pleasure, would you? Noooo, of course you wouldn't!")
  90. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif010.mp3", 3100412846, 461623462)
  91. Dialog.AddOption("I'm almost afraid to ask...", "Dialog16")
  92. Dialog.Start()
  93. end
  94. function Dialog10(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. Dialog.New(NPC, Spawn)
  97. Dialog.AddDialog("Oh, I think you'll like the ol' Rucksif boots well enough, mark my words! It's been an honor knowing such a fine and upstanding adventurer. I'd shake your hand, but I'm afraid mine's all sooty.")
  98. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif025.mp3", 1217158698, 2375616433)
  99. Dialog.AddOption("These are... really... err... amazing boots!")
  100. Dialog.Start()
  101. end
  102. function Dialog11(NPC, Spawn)
  103. FaceTarget(NPC, Spawn)
  104. Dialog.New(NPC, Spawn)
  105. Dialog.AddDialog("Buck up! It's only a quick thing! I needed a new pair o' boots anyway! A good friend of mine, Minty Frostbeard, is likely the finest Dwarven tailor you'll ever meet. She gave me a list of things to gather a while back, but I haven't gotten around to it.")
  106. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif022.mp3", 3066848429, 3653191715)
  107. Dialog.AddOption("I'm not sure I like where this is going...", "Dialog6")
  108. Dialog.Start()
  109. end
  110. function Dialog12(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. Dialog.New(NPC, Spawn)
  113. Dialog.AddDialog("The captain of the guards requested I forge a rather special sword, and I'm having a slight problem finding the materials I need. That's a dandy little book you've got there; I'll just write down what I need.")
  114. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif008.mp3", 2629427115, 991638830)
  115. Dialog.AddOption("Hey, that's my journal!")
  116. Dialog.Start()
  117. end
  118. function Dialog13(NPC, Spawn)
  119. FaceTarget(NPC, Spawn)
  120. Dialog.New(NPC, Spawn)
  121. Dialog.AddDialog("Whoa, and here I thought you might have some trouble!")
  122. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif018.mp3", 732409035, 4138837447)
  123. Dialog.AddOption("You know, you really could have warned me that he'd put up a fight.", "Dialog4")
  124. Dialog.Start()
  125. end
  126. function Dialog14(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. Dialog.New(NPC, Spawn)
  129. Dialog.AddDialog("Ya see, I've been tasked with gettin' a whole bunch of fine weapons made for the sentries out here, and me achin' back is already at its limit. Argh! These boots chafe something awful!")
  130. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif002.mp3", 4019058614, 2305053500)
  131. Dialog.AddOption("No thanks, I lost my work ethic a while back.")
  132. Dialog.Start()
  133. end
  134. function Dialog15(NPC, Spawn)
  135. FaceTarget(NPC, Spawn)
  136. Dialog.New(NPC, Spawn)
  137. Dialog.AddDialog("Very nice, indeed! These samples will make a wonderful sword. I'm sure that Eitoa will be pleased once I get a chance to make it for her.")
  138. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif009.mp3", 612576791, 3127535606)
  139. Dialog.AddOption("I hope so, that was a lot of work.", "Dialog9")
  140. Dialog.Start()
  141. end
  142. function Dialog16(NPC, Spawn)
  143. FaceTarget(NPC, Spawn)
  144. Dialog.New(NPC, Spawn)
  145. Dialog.AddDialog("Don't be! It's not traditional, and it's hard to come by, but I could really go for a Blackburrow Stout! Now, back to the forge!")
  146. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif011.mp3", 3697829619, 659221647)
  147. Dialog.AddOption("A dwarf drinking gnoll-brew?")
  148. Dialog.Start()
  149. end
  150. function Dialog17(NPC, Spawn)
  151. FaceTarget(NPC, Spawn)
  152. Dialog.New(NPC, Spawn)
  153. Dialog.AddDialog("Much thanks to ya, stranger! I'm not sure I could finish the job without your help! I need plenty of iron and wood for these weapons. It's a lot of work, but I'm sure that together we can get it done in half the time that it'd take me to do it alone!")
  154. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif003.mp3", 584697893, 4066288386)
  155. Dialog.AddOption("Happy to help out with this.")
  156. Dialog.Start()
  157. end
  158. function Dialog18(NPC, Spawn)
  159. FaceTarget(NPC, Spawn)
  160. Dialog.New(NPC, Spawn)
  161. Dialog.AddDialog("You've been trustworthy thus far. I think you'd be perfect to help me out with my dear old granddad.")
  162. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif013.mp3", 50142058, 1032335681)
  163. Dialog.AddOption("Oh no, I draw the line at convalescent care!", "Dialog21")
  164. Dialog.Start()
  165. end
  166. function Dialog19(NPC, Spawn)
  167. FaceTarget(NPC, Spawn)
  168. Dialog.New(NPC, Spawn)
  169. Dialog.AddDialog("I don't have much, just the boots on my feet ... and my forge of course. I'm not givin' up my forge, ya hear!")
  170. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif020.mp3", 2118687776, 743391925)
  171. Dialog.AddOption("So the only thing you have left is your set of old, smelly boots?", "Dialog1")
  172. Dialog.Start()
  173. end
  174. function Dialog20(NPC, Spawn)
  175. FaceTarget(NPC, Spawn)
  176. Dialog.New(NPC, Spawn)
  177. Dialog.AddDialog("Ya see, I've been tasked with gettin' a whole bunch of fine weapons made for the sentries out here, and me achin' back is already at its limit. Argh! These boots chafe something awful!")
  178. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif002.mp3", 4019058614, 2305053500)
  179. Dialog.AddOption("I might be able to help you.", "Dialog5")
  180. Dialog.AddOption("No thanks, I lost my work ethic a while back.")
  181. Dialog.Start()
  182. end
  183. function Dialog21(NPC, Spawn)
  184. FaceTarget(NPC, Spawn)
  185. Dialog.New(NPC, Spawn)
  186. Dialog.AddDialog("Don't be silly. He's been dead for more than a century! But ... well ... ya see... there's this family curse that goes back every other generation for the past ... oh Ro's flame, I don't know how many years, but a long dang time!")
  187. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif014.mp3", 2209750474, 3589103244)
  188. Dialog.AddOption("Now you're going to tell me he's some sort of ghost?", "Dialog8")
  189. Dialog.Start()
  190. end
  191. function Dialog22(NPC, Spawn)
  192. FaceTarget(NPC, Spawn)
  193. Dialog.New(NPC, Spawn)
  194. Dialog.AddDialog("I've got some coin for ya, but how about I enlist you to help with another task? What's that? Yes? Great!")
  195. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif007.mp3", 2431845223, 2233032287)
  196. Dialog.AddOption("Obviously your back isn't the only thing that's going. ", "Dialog12")
  197. Dialog.AddOption("Well, yes, I suppose I can help. ", "Dialog12")
  198. Dialog.Start()
  199. end
  200. function Dialog23(NPC, Spawn)
  201. FaceTarget(NPC, Spawn)
  202. Dialog.New(NPC, Spawn)
  203. Dialog.AddDialog("Ahh, too much to do here! There's no way I can get it all done!")
  204. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif001.mp3", 3472595051, 2956823529)
  205. Dialog.AddOption("Anything I can help with?","Dialog20")
  206. Dialog.AddOption("All right.")
  207. Dialog.Start()
  208. end
  209. function Dialog24(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. Dialog.New(NPC, Spawn)
  212. Dialog.AddDialog("Har har har! Don't tell me that! I have to do this all day long! The forge is a cruel mistress, but she rewards well!")
  213. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif006.mp3", 342444773, 1889970866)
  214. Dialog.AddOption("I'll take some of that reward!", "Dialog22")
  215. Dialog.Start()
  216. end
  217. function Dialog25(NPC, Spawn)
  218. FaceTarget(NPC, Spawn)
  219. Dialog.New(NPC, Spawn)
  220. Dialog.AddDialog("Well done! Nothing hits the spot like a good keg o' the Stout!")
  221. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif012.mp3", 4272911909, 2566231204)
  222. Dialog.AddOption("If you say so... I wouldn't touch that gnoll-filth with a ten foot polearm!", "Dialog18")
  223. Dialog.Start()
  224. end
  225. function Dialog26(NPC, Spawn)
  226. FaceTarget(NPC, Spawn)
  227. Dialog.New(NPC, Spawn)
  228. Dialog.AddDialog("That's the spirit! Give him my best. Brell guide his path!")
  229. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif017.mp3", 3573355881, 2429569870)
  230. Dialog.AddOption("Bah, you should be guiding his path.")
  231. Dialog.Start()
  232. end
  233. function Dialog27(NPC, Spawn)
  234. FaceTarget(NPC, Spawn)
  235. Dialog.New(NPC, Spawn)
  236. Dialog.AddDialog("Ahh, well done! I trust Minty is well? These boots are a testament to her prowess with the needle!")
  237. Dialog.AddVoiceover("voiceover/english/hwal_rucksif/antonica/hwal_rucksif024.mp3", 746062436, 1532463336)
  238. Dialog.AddOption("Should have kept those for myself!", "Dialog10")
  239. Dialog.Start()
  240. end