PavoNightfire.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/PavoNightfire.lua
  3. Script Purpose : Pavo Nightfire
  4. Script Author : torsten\\Dorbin
  5. Script Date : 2022.07.18
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local ADramaticPerformance = 5679
  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("The guards don't patrol for our protection they patrol to keep us in line. This part of the city is a holding cell; it's more of a prison than Freeport! Ah, Freeport, I hear its streets are paved with gold!")
  22. Dialog.AddVoiceover("voiceover/english/pavo_nightfire/fprt_hood04/std_pavo_nightfire.mp3", 318731360, 4037507119)
  23. if GetQuestStep(Spawn, ADramaticPerformance) == 1 then
  24. Dialog.AddOption("Maliz T'Raan says his 'friend was brought to tears by the acting troupe's performance'.","Dialog2")
  25. end
  26. Dialog.AddOption("I highly doubt that.")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC,Spawn)
  30. SetStepComplete(Spawn, ADramaticPerformance, 1)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. PlayFlavor(NPC, "", "", "confused", 0, 0, Spawn)
  34. Dialog.AddDialog("What? That's impossible! Those miscreants promised me they would ma--I'm going to kill them, that's what I'm going to do! Okay, think Pavo, think, think, think, think ... got it! Tell him not to worry. The understudies are performing tomorrow night. He needs to make sure the stage is set for the next performance. Make sure he gets that message!")
  35. Dialog.AddOption("I'll see that he does...")
  36. Dialog.Start()
  37. end
  38. --