Duffy.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : Duffy.lua
  3. Script Purpose : Duffy
  4. Script Author : Dorbin
  5. Script Date : 05/11/2023
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local Sayer = 5812
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. Dialog.New(NPC, Spawn)
  18. Dialog.AddDialog("Take a look around. Never have you seen such finely crafted or wondrous artifacts for sale ... for such little coin!")
  19. Dialog.AddVoiceover("voiceover/english/merchant_duffy/antonica/merchantduffy000.mp3", 2930671172, 614117388)
  20. PlayFlavor(NPC,"","","orate",0,0,Spawn)
  21. if GetQuestStep(Spawn, Sayer) == 1 then
  22. Dialog.AddOption("Delivery from Sayer's Outfitters. ", "Dialog1")
  23. end
  24. Dialog.AddOption("I'll just look about. ")
  25. Dialog.Start()
  26. end
  27. function Dialog1(NPC, Spawn)
  28. SetStepComplete(Spawn, Sayer, 1)
  29. FaceTarget(NPC, Spawn)
  30. Dialog.New(NPC, Spawn)
  31. Dialog.AddDialog("'Bout time my salted lizards made it from the Steppes. I thought for sure old Sayer would forget me. ")
  32. Dialog.AddVoiceover("voiceover/english/merchant_duffy/antonica/merchantduffy001.mp3", 3538554208, 285621501)
  33. PlayFlavor(NPC,"","","thanks",0,0,Spawn)
  34. Dialog.AddOption("Farewell. ")
  35. Dialog.Start()
  36. end