9
3

MerchantTalia.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/MerchantTalia.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.07.04 02:07:29
  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. Dialog1(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("What do you want to purchase? Don't be shy. My fine wares are worth spending your coin.")
  21. Dialog.AddVoiceover("voiceover/english/merchant_talia_of_the_coalition/fprt_adv04_ruins/merchanttalia000.mp3", 1965549585, 3553254734)
  22. if GetQuestStep(Spawn,5872)==1 then
  23. Dialog.AddOption("I hate to be the bearer of bad news, but G'Zule sent me to deliver this death certificate. ", "Dialog2")
  24. end
  25. Dialog.AddOption("Give me a moment.")
  26. Dialog.Start()
  27. end
  28. function Dialog2(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. Dialog.New(NPC, Spawn)
  31. Dialog.AddDialog("Barel, dead?! Really?! It took too long for that no-good son of a... Well, he deserved to die, you know! I hope it was painful! Now, let me unload some of your coin... I know you need something...")
  32. PlayFlavor(NPC,"","","boggle",0,0,Spawn)
  33. Dialog.AddVoiceover("voiceover/english/merchant_talia_of_the_coalition/fprt_adv04_ruins/merchanttalia001.mp3", 871186766, 640332456)
  34. Dialog.AddOption("I do believe that was the shortest bereavement I've ever witnessed.")
  35. Dialog.Start()
  36. SetStepComplete(Spawn,5872,1)
  37. end