9
3

RustySails.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/Antonica/RustySails.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.17 02:09:05
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ZekAccess = 1
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. Dialog1(NPC, Spawn)
  17. end
  18. function Dialog1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. Dialog.AddDialog("Hail yourself, stranger. State your purpose, or be on your way.")
  22. Dialog.AddVoiceover("voiceover/english/optional1/rusty_sails/antonica/rustysails001.mp3", 3878527655, 4076294218)
  23. if GetQuestStepProgress(Spawn,ZekAccess,1) == 0 then
  24. Dialog.AddOption("Captain Coranis sent me.", "Dialog2")
  25. end
  26. Dialog.AddOption("I'm just leaving.")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("Well, I'm glad she sent someone. The attacks have been constant, and we've lost too many able bodies to withstand another attack ... What in Thule!? Another wave of Maruaders!")
  33. Dialog.AddVoiceover("voiceover/english/optional1/rusty_sails/antonica/rustysails002.mp3", 2886366918, 4198367939)
  34. Dialog.AddOption("Where?")
  35. Dialog.Start()
  36. end