9
3

stepping_up_the_offense.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Ruins/stepping_up_the_offense.lua
  3. Script Purpose : Handles the quest, "Stepping Up the Offense"
  4. Script Author : Scatman
  5. Script Date : 2009.08.18
  6. Zone : The Ruins
  7. Quest Giver: Captain Arellius
  8. Preceded by: Request Further Orders (requesting_further_orders.lua)
  9. Followed by: Knock the Fight Out of 'Em (knock_the_fight_out_of_em.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should locate Lieutenant Imperidus at the second Militia outpost in the Ruins and speak to her.", 1, "I have been ordered by the captain to report to Lieutenant Imperidus.", 0, 1270070)
  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/captain_arellius/fprt_adv04_ruins/revamp/captain_arellius028.mp3", "", "", 11330989, 3299447227, Player)
  19. AddConversationOption(conversation, "I understand, Captain.")
  20. StartConversation(conversation, QuestGiver, Player, "Again, keep in mind that even travel to the second outpost will be dangerous. Travel with companions to ensure your safety. Do not report back to me until you have followed the lieutenant's orders.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Quest_Complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I found Lietenant Imperidus deep in the Ruins.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I have reported to Lieutenant Imperidus.")
  27. UpdateQuestDescription(Quest, "I made my way through the Ruins and found the second Militia outpost, where I reported to Lieutenant Imperidus for duty.")
  28. GiveQuestReward(Quest, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end