AnreanVelvinna.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/AnreanVelvinna.lua
  3. Script Purpose : Anrean Velvinna
  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 quest = 480
  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("You can almost see the Temple of War from up here. Some day I will walk through those halls.")
  22. Dialog.AddVoiceover("voiceover/english/optional5/anrean_velvinna/fprt_hood04/std_anrean_velvinna.mp3", 2790550041, 3876548447)
  23. if GetQuestStep(Spawn,quest)==2 then
  24. Dialog.AddOption("I recovered your stolen property.", "Dialog2")
  25. end
  26. Dialog.AddOption("Sure you will.")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("Well, it's about time someone recovered it! I was beginning to think that no one would face the Darkblades for me.")
  33. Dialog.AddVoiceover("voiceover/english/optional5/anrean_velvinna/fprt_hood04/quests/anreanvelvinna/stolenchest_anreanvelvinna_x1_initial.mp3", 3706216301, 2084378968)
  34. Dialog.AddOption("I was more than willing to slay the Darkblades on your behalf.", "Dialog3")
  35. Dialog.AddOption("I've recovered your property. My timing should not be in question.", "Dialog3")
  36. Dialog.Start()
  37. end
  38. function Dialog3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("You took your sweet time getting back to me! But I see you didn't damage it too badly, so I suppose you deserve a reward. It's more than adequate compensation; I assure you. Good day.")
  42. Dialog.AddVoiceover("voiceover/english/optional5/anrean_velvinna/fprt_hood04/quests/anreanvelvinna/stolenchest_anreanvelvinna_x1_initial1.mp3", 624254019, 390284454)
  43. PlayFlavor(NPC,"","","scold",0,0,Spawn)
  44. Dialog.AddOption("Thanks. Good bye.")
  45. Dialog.Start()
  46. SetStepComplete(Spawn,quest,2)
  47. end