RichFishFlesh.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/Darklight/RichFishFlesh.lua
  3. Script Author : fearfx
  4. Script Date : 2017.01.25 07:01:26
  5. Script Purpose :
  6. Zone : Darklight
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to bring Smolderfin's flesh to Calnozz.", 1, "I should bring the rich flesh of Smolderfin to Calnozz J'Melvirr.", 134, 340066)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function QuestComplete(Quest, QuestGiver, Player)
  16. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  17. UpdateQuestStepDescription(Quest, 1, "I have given Calnozz the flesh.")
  18. UpdateQuestTaskGroupDescription(Quest, 1, "I have brought the flesh of Smolderfin to Calnozz.")
  19. UpdateQuestDescription(Quest, "I have brought the flesh of Smolderfin to Calnozz.")
  20. RemoveItem(Player, 11524)
  21. GiveQuestReward(Quest, Player)
  22. end
  23. function Reload(Quest, QuestGiver, Player, Step)
  24. if Step == 1 then
  25. QuestComplete(Quest, QuestGiver, Player)
  26. end
  27. end
  28. function Accepted(Quest, QuestGiver, Player)
  29. -- Add dialog here for when the quest is accepted
  30. end
  31. function Declined(Quest, QuestGiver, Player)
  32. -- Add dialog here for when the quest is declined
  33. end