GriffinEggForTheSteppesTowerStations.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : Quests/ThunderingSteppes/GriffinEggForTheSteppesTowerStations.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.07.14 10:07:24
  5. Script Purpose :
  6. Zone : ThunderingSteppes
  7. Quest Giver: a griffin tamer (2490000)
  8. Preceded by: None
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepHarvest(Quest, 1, "I'll have to look around the Thundering Steppes for griffin eggs. It's likely I'd find eggs near the prides that fly about the western steppes.", 1, 100, "I need to find a griffin egg for the griffin tower station trainer!", 2346, 6675)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  14. end
  15. function Step1Complete(Quest, QuestGiver, Player)
  16. UpdateQuestTaskGroupDescription(Quest, 1, "I've found an egg for the griffin tower trainer.")
  17. AddQuestStepChat(Quest, 2, "Return the unhatched egg to the griffin trainer at the nearest griffin station.", 1, "Return the egg to the nearest griffin tower station quickly! If the egg cools, the only thing it'll be useful for is a really big omlette!", 11, 2490000)
  18. AddQuestStepCompleteAction(Quest, 2, "Step2Complete")
  19. end
  20. function Step2Complete(Quest, QuestGiver, Player)
  21. GiveQuestReward(Quest, Player)
  22. end
  23. function Accepted(Quest, QuestGiver, Player)
  24. end
  25. function Deleted(Quest, QuestGiver, Player)
  26. end
  27. function Declined(Quest, QuestGiver, Player)
  28. end
  29. function Reload(Quest, QuestGiver, Player, Step)
  30. if Step == 1 then
  31. Step1Complete(Quest, QuestGiver, Player)
  32. elseif Step == 2 then
  33. Step2Complete(Quest, QuestGiver, Player)
  34. end
  35. end