the_patchwork_tapestry.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : Quests/Oakmyst/the_patchwork_tapestry.lua
  3. Script Purpose : Handles the quest, "The Patchwork Tapestry"
  4. Script Author : Scatman
  5. Script Date : 2009.10.08
  6. Zone : Unknown
  7. Quest Giver: None
  8. Preceded by: None
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. -- Fabric Patch
  13. AddQuestStepObtainItem(Quest, 1, "Hunt fairies in Norrath to gain fay fabric patches to study.", 7, 100, "I must obtain more patches of fay fabric to piece together the foundation of the fairy language. I must get the fabric patches from fairies of Norrath.", 417, 6079)
  14. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. end
  18. function Declined(Quest, QuestGiver, Player)
  19. end
  20. function QuestComplete(Quest, QuestGiver, Player)
  21. UpdateQuestStepDescription(Quest, 1, "I have a studied a fay fabric patch.")
  22. UpdateQuestTaskGroupDescription(Quest, 1, "I have learned Fayfolk, language of the fairies.")
  23. -- Learn language (fayfolk)
  24. UpdateQuestDescription(Quest, "I pieced together patches of fay fabric to discover the foundation of two languages, Norrathian and Fay. I have used the fabric patches to learn the language of the fairies, Fayfolk.")
  25. GiveQuestReward(Quest, Player)
  26. end
  27. function Reload(Quest, QuestGiver, Player, Step)
  28. end