file_a_final_report.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Ruins/file_a_final_report.lua
  3. Script Purpose : Handles the quest, "File a Final Report"
  4. Script Author : Scatman
  5. Script Date : 2009.08.20
  6. Zone : The Ruins
  7. Quest Giver: Captain Arellius
  8. Preceded by: Identifying the Lonetusk Ally (identifying_the_lonetusk_ally.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should return to the docks and tell Captain Arellius what I have learned about the Rujarkian orcs.", 1, "I must report to Captain Arellius on the docks of the Ruins.", 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_imperidus/fprt_adv04_ruins/revamp/lieutenant_imperidus022.mp3", "", "", 3956036992, 4003496180, Player)
  19. AddConversationOption(conversation, "Thank you, lieutenant. You have earned mine as well.")
  20. StartConversation(conversation, QuestGiver, Player, "Report back to the captain. She will take word of this discovery back to our superiors in the Militia. This is extremely valuable information, my friend. You just might have given Freeport the edge it needs to ensure its safety. You have earned my respect.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Quest_Complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have informed the captain that the Rujarkians are supplying the orcs in the Ruins with weapons and armor.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I have reported back to Captain Arellius.")
  27. UpdateQuestDescription(Quest, "I informed Captain Arellius that the Rujarkian orcs are supplying the Brokentusk and Lonetusk orcs in the Ruins with improved weapons and armor. The captain was very pleased with my work and rewarded me well. I will now read the note she gave me to lead me to my next adventure.")
  28. GiveQuestReward(Quest, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end