9
3

LessaGentare.lua 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/LessaGentare.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 03:06:50
  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. RandomGreeting(NPC, Spawn)
  16. FaceTarget(NPC,Spawn)
  17. end
  18. function RandomGreeting(NPC, Spawn)
  19. local choice = MakeRandomInt(1,3)
  20. if choice == 1 then
  21. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", 0, 0, Spawn)
  22. elseif choice == 2 then
  23. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", 0, 0, Spawn)
  24. elseif choice == 3 then
  25. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1047.mp3", 0, 0, Spawn)
  26. end
  27. end
  28. function Dialog1(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. Dialog.New(NPC, Spawn)
  31. Dialog.AddDialog("So you beat Chon's time in both Antonica and the Commonlands, eh? Impressive! This route's a little harder though.")
  32. Dialog.AddVoiceover("voiceover/english/lessa_gentare/steppes/lessa_gentare001.mp3", 4106101565, 983883578)
  33. Dialog.AddOption("Tell me about it.", "Dialog3")
  34. Dialog.AddOption("Spare me the details, I want to run!")
  35. Dialog.Start()
  36. end
  37. function Dialog2(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. Dialog.New(NPC, Spawn)
  40. Dialog.AddDialog("Ready... Set...")
  41. Dialog.AddVoiceover("voiceover/english/lessa_gentare/steppes/lessa_gentare004.mp3", 2010131401, 109290723)
  42. Dialog.AddOption("[continue]", "Dialog4")
  43. Dialog.Start()
  44. end
  45. function Dialog3(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. Dialog.New(NPC, Spawn)
  48. Dialog.AddDialog("First off, everything's a whole lot nastier out here. We're further from civilization, and I can guarantee you that the giants and centaurs won't be interested in having a picnic. Neither will the griffons, unless you're on their menu.")
  49. Dialog.AddVoiceover("voiceover/english/lessa_gentare/steppes/lessa_gentare002.mp3", 2632787061, 322868000)
  50. Dialog.AddOption("Alright, so it's going to be hard. What's the route?", "Dialog5")
  51. Dialog.Start()
  52. end
  53. function Dialog4(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. Dialog.New(NPC, Spawn)
  56. Dialog.AddDialog("GO!")
  57. Dialog.AddVoiceover("voiceover/english/lessa_gentare/steppes/lessa_gentare005.mp3", 3886709801, 3338965745)
  58. Dialog.AddOption("...")
  59. Dialog.Start()
  60. end
  61. function Dialog5(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. Dialog.New(NPC, Spawn)
  64. Dialog.AddDialog("Starting here, it's a stop by Thundermist, through the Deadview Pass, then on to the Shrine of the Sirens. Take a quick run through the Shrine of Decay, a short jaunt to the Coldwind Cove, a splash through the Grave Pool, and then head back to these docks. ")
  65. Dialog.AddVoiceover("voiceover/english/lessa_gentare/steppes/lessa_gentare003.mp3", 1069727586, 4196073391)
  66. Dialog.AddOption("I'm ready!", "Dialog2")
  67. Dialog.AddOption("I'll wait a bit and explore the area more first.")
  68. Dialog.Start()
  69. end