9
3

JianaWaterway.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/JianaWaterway.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.09 03:07:17
  5. Script Purpose :
  6. Script Date : 2022.07.09
  7. Script Notes : Auto-Generated Conversation from PacketParser Data
  8. --]]
  9. require "SpawnScripts/Generic/DialogModule"
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. Dialog4(NPC, Spawn)
  17. --RandomGreeting(NPC, Spawn)
  18. end
  19. function RandomGreeting(NPC, Spawn)
  20. local choice = MakeRandomInt(1,6)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/jiana_waterway/varsoon/030_qst_halfelf_jiana_waterway_repeatable_1_task_754becd3.mp3", "You still need to complete your task.", "", 364368353, 2881150620, Spawn, 0)
  23. elseif choice == 2 then
  24. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1051.mp3", 0, 0, Spawn)
  25. elseif choice == 3 then
  26. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1021.mp3", 0, 0, Spawn)
  27. elseif choice == 4 then
  28. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1051.mp3", 0, 0, Spawn)
  29. elseif choice == 5 then
  30. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1051.mp3", 0, 0, Spawn)
  31. elseif choice == 6 then
  32. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1021.mp3", 0, 0, Spawn)
  33. end
  34. end
  35. function Dialog1(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddDialog("This devious place is nothing but trouble. Maybe one day, we'll seal this place off and everyone will be safe.")
  39. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway007_edit_64.mp3", 181248332, 1242894792)
  40. Dialog.AddOption("That would be helpful.", "Dialog5")
  41. Dialog.AddOption("I am leaving this area. Good luck with the dark creatures.")
  42. Dialog.Start()
  43. end
  44. function Dialog2(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. Dialog.New(NPC, Spawn)
  47. Dialog.AddDialog("Like I said, you look brave, and you're certainly more capable of dealing with those monstrosities than I am. More creatures lurk beneath. I hope you can help us again ... soon!")
  48. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway005_edit_64.mp3", 2733962084, 4038622739)
  49. Dialog.AddOption("Perhaps.")
  50. Dialog.Start()
  51. end
  52. function Dialog3(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. Dialog.New(NPC, Spawn)
  55. Dialog.AddDialog("You look brave. Why don't you venture down there and take care of the fiends? We can't let them hurt any more people!")
  56. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway004_edit_64.mp3", 321618762, 2571748313)
  57. Dialog.AddOption("I'll do what I can to deal with those dark creatures.")
  58. Dialog.Start()
  59. end
  60. function Dialog4(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. Dialog.New(NPC, Spawn)
  63. Dialog.AddDialog("Too many dark entities down in the dungeon. I'm not equipped to handle so many of them!")
  64. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway001_edit_64.mp3", 2395185061, 953418060)
  65. Dialog.AddOption("Did you just come from the dungeon?", "Dialog7")
  66. Dialog.AddOption("I'll leave you to your business.")
  67. Dialog.Start()
  68. end
  69. function Dialog5(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. Dialog.New(NPC, Spawn)
  72. Dialog.AddDialog("Until the dungeon is sealed, we must kill more of the dark creatures that pose a threat to the people on the surface. Please, go down there and kill more of them!")
  73. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway008_edit_64.mp3", 3122417390, 284078790)
  74. Dialog.AddOption("Sure, I am heading down there right now.")
  75. Dialog.Start()
  76. end
  77. function Dialog6(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. Dialog.New(NPC, Spawn)
  80. Dialog.AddDialog("For some reason, the dark creatures from below are coming to the surface and terrorizing the locals. I decided to take the matter into my own hands. I went down to the dungeon to destroy those creatures before they do any more harm on the surface. I seriously underestimated those beasts of the dark and almost didn't make it out alive!")
  81. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway003_edit_64.mp3", 3688141364, 3942256705)
  82. Dialog.AddOption("Fortunately you did make it out.", "Dialog3")
  83. Dialog.AddOption("You should be more careful next time. Take care.")
  84. Dialog.Start()
  85. end
  86. function Dialog7(NPC, Spawn)
  87. FaceTarget(NPC, Spawn)
  88. Dialog.New(NPC, Spawn)
  89. Dialog.AddDialog("Yes, I was down in the dungeon fighting the dark creatures. Evil beings lurk beneath our feet.")
  90. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway002_edit_64.mp3", 4089072438, 1821924622)
  91. Dialog.AddOption("What were you doing down in such a dangerous place by yourself?", "Dialog6")
  92. Dialog.AddOption("I need to be going. Take care of yourself.")
  93. Dialog.Start()
  94. end
  95. function Dialog8(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. Dialog.New(NPC, Spawn)
  98. Dialog.AddDialog("Killing the dark creatures down below keeps the surface safe. Thank you, brave friend!")
  99. Dialog.AddVoiceover("voiceover/english/optional5/jiana_waterway/jiana_waterway006_edit_64.mp3", 1353498689, 3652526064)
  100. Dialog.AddOption("It is never a problem for me to help defeat creatures of evil.", "Dialog1")
  101. Dialog.AddOption("I need to go. Take care.")
  102. Dialog.Start()
  103. end