MalylNVazin.lua 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. --[[
  2. Script Name : SpawnScripts/DarklightWood/MalylNVazin.lua
  3. Script Purpose : Malyl N'Vazin
  4. Script Author : fearfx
  5. Script Date : 2017.01.26
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local ContinuingAssistance = 154
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  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. if HasQuest(Spawn, ContinuingAssistance) then
  23. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  24. AddConversationOption(conversation, "Laexyra Y'Barriath wanted me to report to you and offer my help.", "Quest_ContinuingAssistance")
  25. StartConversation(conversation, NPC, Spawn, "Yes?")
  26. end
  27. end
  28. function Quest_ContinuingAssistance(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. conversation = CreateConversation()
  31. SetStepComplete(Spawn, ContinuingAssistance, 1)
  32. AddConversationOption(conversation, "All right.")
  33. StartConversation(conversation, NPC, Spawn, "Ah, that sounds good. We could definitely use help here. Take some time to look around, I have no doubt that you will run into someone who could use your help shortly--even if it's not in the official capacity of the guard, most of what these folks need will help Darklight as a whole.")
  34. end
  35. --[[
  36. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  37. AddConversationOption(conversation, "I did. Atalika and I took out the Thexian camp.", "dlg_6_1")
  38. StartConversation(conversation, NPC, Spawn, "Have you finished?")
  39. if convo==7 then
  40. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  41. AddConversationOption(conversation, "I will return.", "dlg_7_1")
  42. AddConversationOption(conversation, "I'd rather not. ")
  43. StartConversation(conversation, NPC, Spawn, "Please speak to Miriam Will stationed near the Thexian camp. ")
  44. end
  45. if convo==9 then
  46. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  47. AddConversationOption(conversation, "I will return.", "dlg_9_1")
  48. AddConversationOption(conversation, "I'd rather not. ")
  49. StartConversation(conversation, NPC, Spawn, "Please speak to Miriam Will stationed near the Thexian camp. ")
  50. end
  51. if convo==15 then
  52. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  53. AddConversationOption(conversation, "I am ready.", "dlg_15_1")
  54. StartConversation(conversation, NPC, Spawn, "Are you ready to face a greater threat?")
  55. end
  56. if convo==16 then
  57. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  58. AddConversationOption(conversation, "I am ready.", "dlg_16_1")
  59. StartConversation(conversation, NPC, Spawn, "Are you ready to face a greater threat?")
  60. end
  61. if convo==17 then
  62. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "Laexyra Y'Barriath wanted me to report to you and offer my help.", "dlg_17_1")
  64. StartConversation(conversation, NPC, Spawn, "Yes?")
  65. end
  66. if convo==21 then
  67. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1007.mp3", "", "", 0, 0, Spawn)
  68. AddConversationOption(conversation, "Laexyra Y'Barriath wanted me to report to you and offer my help.", "dlg_21_1")
  69. StartConversation(conversation, NPC, Spawn, "Yes?")
  70. end
  71. if convo==23 then
  72. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  73. AddConversationOption(conversation, "I did. Atalika and I took out the Thexian camp.", "dlg_23_1")
  74. StartConversation(conversation, NPC, Spawn, "Have you finished?")
  75. end
  76. if convo==26 then
  77. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  78. AddConversationOption(conversation, "I come bearing news from Larxena D'Ziett.", "dlg_26_1")
  79. StartConversation(conversation, NPC, Spawn, "Welcome back, Hacaci. Why the worried look on your face?")
  80. end
  81. if convo==27 then
  82. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1007.mp3", "", "", 0, 0, Spawn)
  83. AddConversationOption(conversation, "I come bearing news from Larxena D'Ziett.", "dlg_27_1")
  84. StartConversation(conversation, NPC, Spawn, "Welcome back, Hacaci. Why the worried look on your face?")
  85. end
  86. if convo==28 then
  87. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1007.mp3", "", "", 0, 0, Spawn)
  88. AddConversationOption(conversation, "I come bearing news from Larxena D'Ziett.", "dlg_28_1")
  89. StartConversation(conversation, NPC, Spawn, "Welcome back, Hacaci. Why the worried look on your face?")
  90. end
  91. end
  92. function dlg_6_1(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. conversation = CreateConversation()
  95. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  96. AddConversationOption(conversation, "Of course I am. ", "dlg_6_2")
  97. AddConversationOption(conversation, "No, I wouldn't.")
  98. StartConversation(conversation, NPC, Spawn, "Excellent news. I cannot wait to hear what reports our spies return with on the effects of this. In fact, I want you to go get the news immediately. Would you be willing do to that?")
  99. end
  100. function dlg_15_1(NPC, Spawn)
  101. FaceTarget(NPC, Spawn)
  102. conversation = CreateConversation()
  103. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  104. AddConversationOption(conversation, "What else is there to do?", "dlg_15_2")
  105. StartConversation(conversation, NPC, Spawn, "The Thexians continue their crusade to oust Cristanos. Never mind that they didn't even know Neriak still existed until recently; they believe they have some right to it. The younger, more foolish of them seem to think their physical presence in Nektulos forest somehow helps them. It doesn't. However, slaughtering them doesn't seem to dissuade more from coming--they are tenacious, I'll give them that.")
  106. end
  107. function dlg_15_2(NPC, Spawn)
  108. FaceTarget(NPC, Spawn)
  109. conversation = CreateConversation()
  110. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  111. AddConversationOption(conversation, "All right.", "dlg_15_3")
  112. AddConversationOption(conversation, "Perhaps later.")
  113. StartConversation(conversation, NPC, Spawn, "Break their faith. They believe the gods are on their side in this campaign of theirs. While I cannot arrange for Innoruuk to meet them, I do believe I can work to convince them that the Darklight Wood itself has rejected them. I have been speaking with the druids at the Shadowed Oak and we have come up with a plan, I would like you to go speak with them as well. Go find Atalika, he will put this plan into motion.")
  114. end
  115. function dlg_16_1(NPC, Spawn)
  116. FaceTarget(NPC, Spawn)
  117. conversation = CreateConversation()
  118. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  119. AddConversationOption(conversation, "What else is there to do?", "dlg_16_2")
  120. StartConversation(conversation, NPC, Spawn, "The Thexians continue their crusade to oust Cristanos. Never mind that they didn't even know Neriak still existed until recently; they believe they have some right to it. The younger, more foolish of them seem to think their physical presence in Nektulos forest somehow helps them. It doesn't. However, slaughtering them doesn't seem to dissuade more from coming--they are tenacious, I'll give them that.")
  121. end
  122. function dlg_16_2(NPC, Spawn)
  123. FaceTarget(NPC, Spawn)
  124. conversation = CreateConversation()
  125. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  126. AddConversationOption(conversation, "All right.", "dlg_16_3")
  127. AddConversationOption(conversation, "Perhaps later.")
  128. StartConversation(conversation, NPC, Spawn, "Break their faith. They believe the gods are on their side in this campaign of theirs. While I cannot arrange for Innoruuk to meet them, I do believe I can work to convince them that the Darklight Wood itself has rejected them. I have been speaking with the druids at the Shadowed Oak and we have come up with a plan, I would like you to go speak with them as well. Go find Atalika, he will put this plan into motion.")
  129. end
  130. function dlg_16_3(NPC, Spawn)
  131. FaceTarget(NPC, Spawn)
  132. conversation = CreateConversation()
  133. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  134. AddConversationOption(conversation, "I agree.", "dlg_16_4")
  135. StartConversation(conversation, NPC, Spawn, "Skulls are much easier to crush than spirits, but a crushed spirit is so much more satisfying.")
  136. end
  137. function dlg_17_1(NPC, Spawn)
  138. FaceTarget(NPC, Spawn)
  139. conversation = CreateConversation()
  140. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  141. AddConversationOption(conversation, "All right.", "dlg_17_2")
  142. StartConversation(conversation, NPC, Spawn, "Ah, that sounds good. We could definitely use help here. Take some time to look around, I have no doubt that you will run into someone who could use your help shortly--even if it's not in the official capacity of the guard, most of what these folks need will help Darklight as a whole.")
  143. end
  144. function dlg_21_1(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  148. AddConversationOption(conversation, "All right.", "dlg_21_2")
  149. StartConversation(conversation, NPC, Spawn, "Ah, you must be Hacaci, savior of Hate's Envy. I heard were it not for your swift action, the whole town might have gone up in flames. We could definitely use the help of someone like you. Look around. I have no doubt that you'll run into someone who could use your help shortly--even if it's not in the official capacity of the guard.")
  150. end
  151. function dlg_23_1(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. conversation = CreateConversation()
  154. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  155. AddConversationOption(conversation, "You are welcome.", "dlg_23_2")
  156. StartConversation(conversation, NPC, Spawn, "Excellent news. I cannot wait to hear what reports our spies return with on the effects of this. You have done well, Chayne. Neriak thanks you.")
  157. end
  158. function dlg_26_1(NPC, Spawn)
  159. FaceTarget(NPC, Spawn)
  160. conversation = CreateConversation()
  161. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  162. AddConversationOption(conversation, "What threat?", "dlg_26_2")
  163. StartConversation(conversation, NPC, Spawn, "Why am I not surprised? Prince Talvus is an honorless coward that would feed his own men to the slaughter should it bring him one step closer to the throne of Neriak. Thank you for bringing this to my attention, Hacaci. We will deal with this new matter at once. Now then, are you ready to face a greater threat?")
  164. end
  165. function dlg_26_2(NPC, Spawn)
  166. FaceTarget(NPC, Spawn)
  167. conversation = CreateConversation()
  168. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  169. AddConversationOption(conversation, "What else is there to do?", "dlg_26_3")
  170. StartConversation(conversation, NPC, Spawn, "The Thexians continue their crusade to oust Cristanos. Never mind that they didn't even know Neriak still existed until recently; they believe they have some right to it. The younger, more foolish of them seem to think their physical presence in Nektulos forest somehow helps them. It doesn't. However, slaughtering them doesn't seem to dissuade more from coming--they are tenacious, I'll give them that.")
  171. end
  172. function dlg_26_3(NPC, Spawn)
  173. FaceTarget(NPC, Spawn)
  174. conversation = CreateConversation()
  175. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  176. AddConversationOption(conversation, "All right.", "dlg_26_4")
  177. AddConversationOption(conversation, "Perhaps later.")
  178. StartConversation(conversation, NPC, Spawn, "Break their faith. They believe the gods are on their side in this campaign of theirs. While I cannot arrange for Innoruuk to meet them, I do believe I can work to convince them that the Darklight Wood itself has rejected them. I have been speaking with the druids at the Shadowed Oak and we have come up with a plan. I would like you to go speak with them. Go find Atalika, he will put this plan into motion.")
  179. end
  180. function dlg_27_1(NPC, Spawn)
  181. FaceTarget(NPC, Spawn)
  182. conversation = CreateConversation()
  183. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  184. AddConversationOption(conversation, "What threat?", "dlg_27_2")
  185. StartConversation(conversation, NPC, Spawn, "Why am I not surprised? Prince Talvus is an honorless coward that would feed his own men to the slaughter should it bring him one step closer to the throne of Neriak. Thank you for bringing this to my attention, Hacaci. We will deal with this new matter at once. Now then, are you ready to face a greater threat?")
  186. end
  187. function dlg_27_2(NPC, Spawn)
  188. FaceTarget(NPC, Spawn)
  189. conversation = CreateConversation()
  190. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  191. AddConversationOption(conversation, "What else is there to do?", "dlg_27_3")
  192. StartConversation(conversation, NPC, Spawn, "The Thexians continue their crusade to oust Cristanos. Never mind that they didn't even know Neriak still existed until recently; they believe they have some right to it. The younger, more foolish of them seem to think their physical presence in Nektulos forest somehow helps them. It doesn't. However, slaughtering them doesn't seem to dissuade more from coming--they are tenacious, I'll give them that.")
  193. end
  194. function dlg_27_3(NPC, Spawn)
  195. FaceTarget(NPC, Spawn)
  196. conversation = CreateConversation()
  197. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  198. AddConversationOption(conversation, "All right.", "dlg_27_4")
  199. AddConversationOption(conversation, "Perhaps later.")
  200. StartConversation(conversation, NPC, Spawn, "Break their faith. They believe the gods are on their side in this campaign of theirs. While I cannot arrange for Innoruuk to meet them, I do believe I can work to convince them that the Darklight Wood itself has rejected them. I have been speaking with the druids at the Shadowed Oak and we have come up with a plan. I would like you to go speak with them. Go find Atalika, he will put this plan into motion.")
  201. end
  202. function dlg_28_1(NPC, Spawn)
  203. FaceTarget(NPC, Spawn)
  204. conversation = CreateConversation()
  205. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  206. AddConversationOption(conversation, "What threat?", "dlg_28_2")
  207. StartConversation(conversation, NPC, Spawn, "Why am I not surprised? Prince Talvus is an honorless coward that would feed his own men to the slaughter should it bring him one step closer to the throne of Neriak. Thank you for bringing this to my attention, Hacaci. We will deal with this new matter at once. Now then, are you ready to face a greater threat?")
  208. end
  209. function dlg_28_2(NPC, Spawn)
  210. FaceTarget(NPC, Spawn)
  211. conversation = CreateConversation()
  212. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  213. AddConversationOption(conversation, "What else is there to do?", "dlg_28_3")
  214. StartConversation(conversation, NPC, Spawn, "The Thexians continue their crusade to oust Cristanos. Never mind that they didn't even know Neriak still existed until recently; they believe they have some right to it. The younger, more foolish of them seem to think their physical presence in Nektulos forest somehow helps them. It doesn't. However, slaughtering them doesn't seem to dissuade more from coming--they are tenacious, I'll give them that.")
  215. end
  216. function dlg_28_3(NPC, Spawn)
  217. FaceTarget(NPC, Spawn)
  218. conversation = CreateConversation()
  219. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  220. AddConversationOption(conversation, "All right.", "dlg_28_4")
  221. AddConversationOption(conversation, "Perhaps later.")
  222. StartConversation(conversation, NPC, Spawn, "Break their faith. They believe the gods are on their side in this campaign of theirs. While I cannot arrange for Innoruuk to meet them, I do believe I can work to convince them that the Darklight Wood itself has rejected them. I have been speaking with the druids at the Shadowed Oak and we have come up with a plan. I would like you to go speak with them. Go find Atalika, he will put this plan into motion.")
  223. end
  224. function dlg_28_4(NPC, Spawn)
  225. FaceTarget(NPC, Spawn)
  226. conversation = CreateConversation()
  227. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  228. AddConversationOption(conversation, "I agree.", "dlg_28_5")
  229. StartConversation(conversation, NPC, Spawn, "Skulls are much easier to crush than spirits, but a crushed spirit is so much more satisfying.")
  230. end
  231. --]]
  232. --[[ raw_conversations
  233. PlayFlavor(NPC, "", "Please keep working with Atalika.", "", 1689589577, 4560189, Spawn)
  234. --]]