VassiDarkscale.lua 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/VassiDarkscale.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 04:06:37
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. Dialog8(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,5)
  19. if choice == 1 then
  20. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1048.mp3", 0, 0, Spawn)
  21. elseif choice == 2 then
  22. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1048.mp3", 0, 0, Spawn)
  23. elseif choice == 3 then
  24. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1048.mp3", 0, 0, Spawn)
  25. elseif choice == 4 then
  26. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1028.mp3", 0, 0, Spawn)
  27. elseif choice == 5 then
  28. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1028.mp3", 0, 0, Spawn)
  29. end
  30. end
  31. function Dialog1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. Dialog.New(NPC, Spawn)
  34. Dialog.AddDialog("You come back to Vassi. I see no pieces of the order I sent with you! It doesn't please Vassi to have his customers orders late. Comes back when you're done.")
  35. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi005.mp3", 2383749619, 1590677347)
  36. Dialog.Start()
  37. end
  38. function Dialog2(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("Vassi finds you less repulsive to look at than most. So it is good to see you again. You wish to fill another order for Vassi?")
  42. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi010.mp3", 511468590, 2673212781)
  43. Dialog.AddOption("I'm here am I not? What do you have?", "Dialog9")
  44. Dialog.Start()
  45. end
  46. function Dialog3(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. Dialog.New(NPC, Spawn)
  49. Dialog.AddDialog("Vassi finds you less repulsive to look at than most. So it is good to see you again. You wish to fill another order for Vassi?")
  50. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi010.mp3", 511468590, 2673212781)
  51. Dialog.AddOption("Yes, what do you have this time Vassi?", "Dialog10")
  52. Dialog.Start()
  53. end
  54. function Dialog4(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("You come to speak to Vassi, do you? What can I do for you? Do you want someone to disappear? Or perhaps I can procure something for you?")
  58. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi001.mp3", 1012469301, 3152066826)
  59. Dialog.AddOption("What things might those be?", "Dialog7")
  60. Dialog.AddOption("I have no one I need killed at the moment, maybe later.")
  61. Dialog.Start()
  62. end
  63. function Dialog5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. Dialog.New(NPC, Spawn)
  66. Dialog.AddDialog("Ooh, Vassi is pleased, yes! As Vassi promised, here is your payment. Don't mind the scratches--those are only cosmetic.")
  67. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi009.mp3", 1936712909, 466634042)
  68. Dialog.AddOption("Thank you... I think.")
  69. Dialog.Start()
  70. end
  71. function Dialog6(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. Dialog.New(NPC, Spawn)
  74. Dialog.AddDialog("If you get Vassi what he needs, Vassi get you what you need. I have set of coverings for your skins. It will protect you in battle. You get,Vassi gives. Sound good?")
  75. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi003.mp3", 2874082209, 4209058164)
  76. Dialog.AddOption("Yes, that sounds fine. What do you need first?", "Dialog11")
  77. Dialog.AddOption("Find someone else for this, I'm not interested.")
  78. Dialog.Start()
  79. end
  80. function Dialog7(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. Dialog.New(NPC, Spawn)
  83. Dialog.AddDialog("You haven't heard of Vassi? I'm so ashamed that word of my abilites has not reached your ears. I deal in ... things or people ... or items. People need many things from Vassi. If you help Vassi, he will help you. Perhaps you need protection for your thin skin?")
  84. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi002.mp3", 3928436542, 1633870205)
  85. Dialog.AddOption("I'm listening.", "Dialog6")
  86. Dialog.AddOption("No, I'm not interested right now.")
  87. Dialog.Start()
  88. end
  89. function Dialog8(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. Dialog.New(NPC, Spawn)
  92. Dialog.AddDialog("Vassi does not like the looks of you. Please move out of his view so he may continue to enjoy it.")
  93. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi017.mp3", 3845539405, 604412982)
  94. Dialog.AddOption("Fine!")
  95. Dialog.Start()
  96. end
  97. function Dialog9(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. Dialog.New(NPC, Spawn)
  100. Dialog.AddDialog("Yes, you are here, and so is my next order. How fortunate for us. Please take this list and bring back what's on it. Vassi does not know why these things are needed, but Vassi is wise enough not to ask.")
  101. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi012.mp3", 3683372525, 905543211)
  102. Dialog.AddOption("It shall be done. ")
  103. Dialog.Start()
  104. end
  105. function Dialog10(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. Dialog.New(NPC, Spawn)
  108. Dialog.AddDialog("Vassi has found a way to make much money. Here is the order. The demand for these things has gone up recently, and they are not easy to come by. If you can get them, Vassi would be very grateful. ")
  109. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi011.mp3", 3316326082, 1889719228)
  110. Dialog.AddOption("I'll return soon Vassi.")
  111. Dialog.Start()
  112. end
  113. function Dialog11(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. Dialog.New(NPC, Spawn)
  116. Dialog.AddDialog("Good, good. Vassi is pleased. Take this order. I need the things on it soon. Make haste, and I'll pay you in skins for your skin.")
  117. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi004.mp3", 2390136083, 2595440583)
  118. Dialog.AddOption("I'll have the order back to you soon.")
  119. Dialog.Start()
  120. end
  121. function Dialog12(NPC, Spawn)
  122. FaceTarget(NPC, Spawn)
  123. Dialog.New(NPC, Spawn)
  124. Dialog.AddDialog("You came back! Vassi is pleased to see you again. You have the order, yes? ")
  125. Dialog.AddVoiceover("voiceover/english/vassi_darkscale/fprt_north/quests/vassi_darkscale/vassi006.mp3", 4286313100, 3032785697)
  126. Dialog.AddOption("Yes, here are the things you asked for.", "Dialog5")
  127. Dialog.Start()
  128. end