AGuardInsignia.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Darklight/AGuardInsignia.lua
  3. Script Purpose : Handles the quest, "A Guard Insignia?"
  4. Script Author : Cynnar
  5. Script Date : 9/1/2015
  6. Script Notes :
  7. Zone : Darklight Wood
  8. Quest Giver : Examine a Neriak recruit badge
  9. Preceded by : Picking Up Slack
  10. Followed by : The Missing Recruit
  11. --]]
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "Bring the insignia to Ginwyss D'Arkenett", 1, "I should give the insignia I found to Ginwyss D'Arkenett.", 20, 340064)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. end
  16. function QuestComplete(Quest, QuestGiver, Player)
  17. RemoveItem(Player, 2333)
  18. UpdateQuestDescription(Quest, "I have given Ginwyss the insignia. She believes it is from her missing recruit.")
  19. GiveQuestReward(Quest, Player)
  20. end
  21. function Reload(Quest, QuestGiver, Player, Step)
  22. if Step == 1 then
  23. QuestComplete(Quest, QuestGiver, Player)
  24. end
  25. end
  26. function Accepted(Quest, QuestGiver, Player)
  27. -- Add dialog here for when the quest is accepted
  28. end
  29. function Declined(Quest, QuestGiver, Player)
  30. -- Add dialog here for when the quest is declined
  31. end