iceslayer.lua 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. --[[
  2. Script Name : iceslayer.lua
  3. Script Purpose : Waypoint Path for iceslayer.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 07:24:41 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1001.mp3", "", "", 0, 0, Spawn)
  15. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_2_1")
  16. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  17. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  18. if convo==7 then
  19. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1001.mp3", "", "", 0, 0, Spawn)
  20. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_7_1")
  21. AddConversationOption(conversation, "No bother... any chores I can help with?")
  22. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  23. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  24. end
  25. if convo==8 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1001.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_8_1")
  28. AddConversationOption(conversation, "No bother... any chores I can help with?")
  29. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  30. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  31. end
  32. if convo==9 then
  33. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1001.mp3", "", "", 0, 0, Spawn)
  34. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_9_1")
  35. AddConversationOption(conversation, "No bother... any chores I can help with?")
  36. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  37. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  38. end
  39. if convo==10 then
  40. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1001.mp3", "", "", 0, 0, Spawn)
  41. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_10_1")
  42. AddConversationOption(conversation, "No bother... any chores I can help with?")
  43. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  44. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  45. end
  46. if convo==11 then
  47. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1001.mp3", "", "", 0, 0, Spawn)
  48. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_11_1")
  49. AddConversationOption(conversation, "No bother... any chores I can help with?")
  50. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  51. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  52. end
  53. if convo==12 then
  54. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1001.mp3", "", "", 0, 0, Spawn)
  55. AddConversationOption(conversation, "Why didn't he get any sleep last night?", "dlg_12_1")
  56. AddConversationOption(conversation, "No bother... any chores I can help with?")
  57. AddConversationOption(conversation, "No problem. I'll just leave him be. ")
  58. StartConversation(conversation, NPC, Spawn, "Pay no attention to Warley down there he just probably didn't sleep last night and is a little grumpy. Isn't that right Warley?")
  59. end
  60. end
  61. function dlg_2_1(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  65. AddConversationOption(conversation, "What is so scary about the Tomb of Varsoon?", "dlg_2_2")
  66. AddConversationOption(conversation, "Sounds like a place I don't want to go to myself. ")
  67. StartConversation(conversation, NPC, Spawn, "Warley went to the Tomb of Varsoon to prove he wasn't afraid of walking around on those islands. Sure enough, he didn't get to the first bridge before turning tail and running back home. Poor thing ... all grumpy ... no sleep.")
  68. end
  69. function dlg_2_2(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  73. AddConversationOption(conversation, "It sounds like a place I'd like to explore.", "dlg_2_3")
  74. AddConversationOption(conversation, "I'll be sure to steer clear from it. ")
  75. StartConversation(conversation, NPC, Spawn, "The tomb once held an evil mage - Varsoon the Undying. He was involved in the War of the Plagues centuries ago. The Cataclysm must have weakened the mage's spells on that place, because he didn't stick around. The Concordium says that Varsoon is long gone, but you wouldn't catch me dead there!")
  76. end
  77. function dlg_2_3(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  81. AddConversationOption(conversation, "I'll be careful. Thank you for the directions.", "dlg_2_4")
  82. StartConversation(conversation, NPC, Spawn, "Heck, I'll tell you where it is! Turn left as you leave the city gates; go through Klicnik Fields. You'll see the islands the tomb rests on. You go any further ... well, that's your decision, not mine.")
  83. end
  84. function dlg_8_1(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  88. AddConversationOption(conversation, "Ready, willing and able!")
  89. StartConversation(conversation, NPC, Spawn, "Chores you ask? I planned on heading out to the caves to gather some spider venom sacs, but if you're willing and able, I'll let you handle this task. I'll need at least five of the sacs.")
  90. end
  91. function dlg_9_1(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  95. AddConversationOption(conversation, "What is so scary about the Tomb of Varsoon?", "dlg_9_2")
  96. AddConversationOption(conversation, "Sounds like a place I don't want to go to myself. ")
  97. StartConversation(conversation, NPC, Spawn, "Warley went to the Tomb of Varsoon to prove he wasn't afraid of walking around on those islands. Sure enough, he didn't get to the first bridge before turning tail and running back home. Poor thing ... all grumpy ... no sleep.")
  98. end
  99. function dlg_10_1(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  103. AddConversationOption(conversation, "What is so scary about the Tomb of Varsoon?", "dlg_10_2")
  104. AddConversationOption(conversation, "Sounds like a place I don't want to go to myself. ")
  105. StartConversation(conversation, NPC, Spawn, "Warley went to the Tomb of Varsoon to prove he wasn't afraid of walking around on those islands. Sure enough, he didn't get to the first bridge before turning tail and running back home. Poor thing ... all grumpy ... no sleep.")
  106. end
  107. function dlg_10_2(NPC, Spawn)
  108. FaceTarget(NPC, Spawn)
  109. conversation = CreateConversation()
  110. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  111. AddConversationOption(conversation, "It sounds like a place I'd like to explore.", "dlg_10_3")
  112. AddConversationOption(conversation, "I'll be sure to steer clear from it. ")
  113. StartConversation(conversation, NPC, Spawn, "The tomb once held an evil mage - Varsoon the Undying. He was involved in the War of the Plagues centuries ago. The Cataclysm must have weakened the mage's spells on that place, because he didn't stick around. The Concordium says that Varsoon is long gone, but you wouldn't catch me dead there!")
  114. end
  115. function dlg_11_1(NPC, Spawn)
  116. FaceTarget(NPC, Spawn)
  117. conversation = CreateConversation()
  118. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  119. AddConversationOption(conversation, "What is so scary about the Tomb of Varsoon?", "dlg_11_2")
  120. AddConversationOption(conversation, "Sounds like a place I don't want to go to myself. ")
  121. StartConversation(conversation, NPC, Spawn, "Warley went to the Tomb of Varsoon to prove he wasn't afraid of walking around on those islands. Sure enough, he didn't get to the first bridge before turning tail and running back home. Poor thing ... all grumpy ... no sleep.")
  122. end
  123. function dlg_11_2(NPC, Spawn)
  124. FaceTarget(NPC, Spawn)
  125. conversation = CreateConversation()
  126. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  127. AddConversationOption(conversation, "It sounds like a place I'd like to explore.", "dlg_11_3")
  128. AddConversationOption(conversation, "I'll be sure to steer clear from it. ")
  129. StartConversation(conversation, NPC, Spawn, "The tomb once held an evil mage - Varsoon the Undying. He was involved in the War of the Plagues centuries ago. The Cataclysm must have weakened the mage's spells on that place, because he didn't stick around. The Concordium says that Varsoon is long gone, but you wouldn't catch me dead there!")
  130. end
  131. function dlg_11_3(NPC, Spawn)
  132. FaceTarget(NPC, Spawn)
  133. conversation = CreateConversation()
  134. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  135. AddConversationOption(conversation, "I'll be careful. Thank you for the directions.", "dlg_11_4")
  136. StartConversation(conversation, NPC, Spawn, "Heck, I'll tell you where it is! Turn left as you leave the city gates; go through Klicnik Fields. You'll see the islands the tomb rests on. You go any further ... well, that's your decision, not mine.")
  137. end
  138. function dlg_12_1(NPC, Spawn)
  139. FaceTarget(NPC, Spawn)
  140. conversation = CreateConversation()
  141. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  142. AddConversationOption(conversation, "Ready, willing and able!")
  143. StartConversation(conversation, NPC, Spawn, "Chores you ask? I planned on heading out to the caves to gather some spider venom sacs, but if you're willing and able, I'll let you handle this task. I'll need at least five of the sacs.")
  144. end
  145. function dlg_12_2(NPC, Spawn)
  146. FaceTarget(NPC, Spawn)
  147. conversation = CreateConversation()
  148. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  149. AddConversationOption(conversation, "All right.", "dlg_12_3")
  150. StartConversation(conversation, NPC, Spawn, "Good! Bring them back here as soon as you have them.")
  151. end
  152. function respawn(NPC)
  153. spawn(NPC)
  154. end
  155. function waypoints(NPC)
  156. MovementLoopAddLocation(NPC, 541.45, -3.5, 136.91, 2, 0)
  157. MovementLoopAddLocation(NPC, 526.93, -3.5, 136.14, 2, 0)
  158. MovementLoopAddLocation(NPC, 510.52, -3.48, 134.38, 2, 0)
  159. MovementLoopAddLocation(NPC, 511.79, -3.48, 125.96, 2, 0)
  160. MovementLoopAddLocation(NPC, 527.66, -3.5, 128.38, 2, 0)
  161. MovementLoopAddLocation(NPC, 542.06, -3.5, 128.03, 2, 0)
  162. MovementLoopAddLocation(NPC, 542.42, -5.55, 121.07, 2, 0)
  163. MovementLoopAddLocation(NPC, 552.51, -5.55, 121.16, 2, 0)
  164. MovementLoopAddLocation(NPC, 552.24, -3.5, 127.63, 2, 0)
  165. MovementLoopAddLocation(NPC, 566.13, -3.5, 128.07, 2, 0)
  166. MovementLoopAddLocation(NPC, 582.44, -3.48, 125.97, 2, 0)
  167. MovementLoopAddLocation(NPC, 583.6, -3.48, 135.08, 2, 0)
  168. MovementLoopAddLocation(NPC, 567.53, -3.5, 136.55, 2, 0)
  169. MovementLoopAddLocation(NPC, 553.23, -3.5, 136.78, 2, 0)
  170. MovementLoopAddLocation(NPC, 567.53, -3.5, 136.55, 2, 0)
  171. MovementLoopAddLocation(NPC, 583.6, -3.48, 135.08, 2, 0)
  172. MovementLoopAddLocation(NPC, 582.44, -3.48, 125.97, 2, 0)
  173. MovementLoopAddLocation(NPC, 566.13, -3.5, 128.07, 2, 0)
  174. MovementLoopAddLocation(NPC, 552.24, -3.5, 127.63, 2, 0)
  175. MovementLoopAddLocation(NPC, 552.51, -5.55, 121.16, 2, 0)
  176. MovementLoopAddLocation(NPC, 542.42, -5.55, 121.07, 2, 0)
  177. MovementLoopAddLocation(NPC, 542.06, -3.5, 128.03, 2, 0)
  178. MovementLoopAddLocation(NPC, 527.66, -3.5, 128.38, 2, 0)
  179. MovementLoopAddLocation(NPC, 511.79, -3.48, 125.96, 2, 0)
  180. MovementLoopAddLocation(NPC, 510.52, -3.48, 134.38, 2, 0)
  181. MovementLoopAddLocation(NPC, 526.93, -3.5, 136.14, 2, 0)
  182. MovementLoopAddLocation(NPC, 541.45, -3.5, 136.91, 2, 0)
  183. end