TestQuest.lua 708 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name: LeafySurprise
  3. Script Purpose: Test Quest
  4. Script Author: Roachie
  5. Script Date: 2021.01.21
  6. Quest ID: 999908
  7. Zone: houseofroachie
  8. Preceded By:
  9. Followed By:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepObtainItem(Quest, 1, "Get the leaves", 5, 2, "Freddums needs your help!", 0, 3352)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Quest_Complete(Quest, QuestGiver, Player)
  16. UpdateQuestStepDescription(Quest, 1, "I got the leaves!")
  17. UpdateQuestTaskGroupDescription(Quest, 1, "You have helped roachie")
  18. UpdateQuestDescription(Quest, "description")
  19. GiveQuestReward(Quest, Player)
  20. end
  21. function Reload(Quest, QuestGiver, Player, Step)
  22. end