WatchyourstepinTheThunderingSteppesPartIV.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/ThunderingSteppes/WatchyourstepinTheThunderingSteppesPartIV.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.07.05 10:07:48
  5. Script Purpose :
  6. Zone : ThunderingSteppes
  7. Quest Giver: Jacques (2490212)
  8. Preceded by: Watch your step in The Thundering Steppes Part IV
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStep(Quest, 1, "I am to deliver the mail to Deputy Nettlebrine in The Enchanted Lands.", 1, "My mail delivery job is about over, and my final task is to deliver a letter to Deputy Nettlebrine in The Enchanted Lands.", 11)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  14. end
  15. function Step1Complete(Quest, QuestGiver, Player)
  16. GiveQuestReward(Quest, Player)
  17. end
  18. function Accepted(Quest, QuestGiver, Player)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. AddConversationOption(conversation, "Ok, I will do it for you then.")
  22. StartConversation(conversation, NPC, Spawn, "This letter needs to go out to Deputy Nettlebrine in The Enchanted Lands. I would take it myself, but after my last trip on a boat I think its best that I don't.")
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. end
  26. function Declined(Quest, QuestGiver, Player)
  27. end
  28. function Reload(Quest, QuestGiver, Player, Step)
  29. if Step == 1 then
  30. Step1Complete(Quest, QuestGiver, Player)
  31. end
  32. end