TVal.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/LongshadowAlley/TVal.lua
  3. Script Purpose : T`Val
  4. Script Author : torsten
  5. Script Date : 2022.07.18
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ForThatSpecialSomeone = 5673
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetQuestStep(Spawn, ForThatSpecialSomeone) == 1 then
  17. SetStepComplete(Spawn, ForThatSpecialSomeone, 1)
  18. end
  19. RandomGreeting(NPC, Spawn)
  20. end
  21. function RandomGreeting(NPC, Spawn)
  22. Dialog1(NPC, Spawn)
  23. end
  24. function Dialog1(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. Dialog.New(NPC, Spawn)
  27. Dialog.AddDialog("Hail to you. Currency exchange, secure storage of goods, I offer a range of services tailored to the needs of Freeport guild members.")
  28. Dialog.AddVoiceover("voiceover/english/banker_t_val/fprt_hood05/bnk_banker_tval.mp3", 90970771, 1252206294)
  29. Dialog.AddOption("I'll keep that in mind.")
  30. Dialog.Start()
  31. end