9
3

ClaudiaQuarto.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/ClaudiaQuarto.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.11.15 04:11:47
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ShivosRod = 5928
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. local ShivosRod = 5928
  17. end
  18. function Dialog1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. Dialog.AddDialog("Who goes there? Are you a true believer in the Powers? Have you conviction enough to smite your enemies and empower your allies? Only those who are worthy may touch these magical wares. If you dare defile them, then be gone!")
  22. Dialog.AddVoiceover("voiceover/english/claudia_quarto/fprt_north/mer_claudiaquarto.mp3", 2823488041, 2173657542)
  23. if GetQuestStep(Spawn,ShivesRod)==1 then
  24. Dialog.AddOption("I found this rod on a ratonga in the Sprawl. Can you determine its magical properties?","Dialog2")
  25. end
  26. Dialog.AddOption("I may be back later. I haven't decided yet. Until we meet again!")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. SetStepComplete(Spawn,ShivosRod,1)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("A ratonga, you say? A ratonga was slinking about, pretending to be a mage. He stole a magic rod from me and although the item had little power, he committed a grave insult. I'll reward you for its return.")
  34. PlayFlavor(NPC,"","","agree",0,0,Spawn)
  35. Dialog.AddOption("Certainly better than nothing. Thank you.")
  36. Dialog.Start()
  37. end