SirAidanGodard.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/SirAidanGodard.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.28 05:10:55
  5. Script Purpose :
  6. :
  7. - -]]
  8. local ACrumpledNote = 5375 -- A Crumpled Note Warriors Version quest
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/sir_aidan_godard/qey_harbor/siraidangodard000.mp3", "", "", 3029735688, 33892878, Spawn)
  15. if HasQuest(Spawn, ACrumpledNote) then
  16. AddConversationOption(conversation, "I think you should see this note I recovered from the catacombs.", "quest_complete")
  17. end
  18. AddConversationOption(conversation, "Thanks for the information.")
  19. StartConversation(conversation, NPC, Spawn, "Before you stands the Hall of Steel. Within these walls is the birthplace of the Steel Warriors, the greatest fighters in all of Norrath.")
  20. end
  21. function quest_complete(NPC, Spawn)
  22. SetStepComplete(Spawn, ACrumpledNote, 1)
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "voiceover/english/sir_aidan_godard/qey_harbor/siraidangodard001.mp3", "", "", 3964717986, 1813107488, Spawn)
  25. AddConversationOption(conversation, "Thank you, I hope this was of service to Qeynos.")
  26. StartConversation(conversation, NPC, Spawn, "Let me take a look at that ... hmm, thank you very much. I'll make sure my superiors see this; they'll be quite interested. Here, allow me to reward you for your troubles.")
  27. end
  28. function respawn(NPC)
  29. spawn(NPC)
  30. end