reinforcements.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Quests/PeatBog/reinforcements.lua
  3. Script Purpose : Handles the quest, "Reinforcements"
  4. Script Author : Scatman
  5. Script Date : 2009.05.11
  6. Zone : The Peat Bog
  7. Quest Giver: Lieutenant Dawson
  8. Preceded by: A Final Foe (a_final_foe.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I must report to Consul Bree in The Caves.", 1, "I must report to Consul Bree in The Caves to help in the defense of Qeynos.", 0, 1970010)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. AddConversationOption(conversation, "I can do this.")
  19. StartConversation(conversation, QuestGiver, Player, "I know you can. Qeynos is counting on you, " .. GetName(Player) .. ". Make us proud!")
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. end
  23. function QuestComplete(Quest, QuestGiver, Player)
  24. UpdateQuestDescription(Quest, "I have spoken with Consul Bree.")
  25. GiveQuestReward(Quest, Player)
  26. end
  27. function Reload(Quest, QuestGiver, Player, Step)
  28. end