requesting_further_orders.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Ruins/requesting_further_orders.lua
  3. Script Purpose : Handles the quest, "Requesting Further Orders"
  4. Script Author : Scatman
  5. Script Date : 2009.08.02
  6. Zone : The Ruins
  7. Quest Giver: Lieutenant Argosian
  8. Preceded by: Prophet and Loss (prophet_and_loss.lua)
  9. Followed by: Stepping up the Offensive (stepping_up_the_offensive.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I must return to Captain Arellius to receive further orders.", 1, "I have been ordered to return to Captain Arellius.", 0, 1270003)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/tutorial_revamp/lieutenant_argosian/fprt_adv04_ruins/revamp/lieutenant_argosian027b.mp3", "", "", 3190269915, 3618413640, Player)
  19. AddConversationOption(conversation, "I will.")
  20. StartConversation(conversation, QuestGiver, Player, "Travel safely, citizen of Freeport.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Quest_Complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have spoken to Captain Arellius.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I have spoken to Captain Arellius.")
  27. GiveQuestReward(Quest, Player)
  28. UpdateQuestDescription(Quest, "I followed the orders of Lieutenant Argosian, who told me to report back to Captain Arellius at the docks in the Ruins. I will now see if I can be of further assistance in the defense of Freeport.")
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end