reporting_for_duty.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : Quests/Ruins/reporting_for_duty.lua
  3. Script Purpose : Handles the quest, "Driving Back the Dervish"
  4. Script Author : Scatman
  5. Script Date : 2009.07.28
  6. Zone : The Ruins
  7. Quest Giver: Captain Arellius
  8. Preceded by: None
  9. Followed by: Pawns in the Game (pawns_in_the_game.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should seek out Lieutenant Argosian at the first outpost in the Ruins.", 1, "I have been ordered to speak to Lieutenant Argosian.", 0, 1270031)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. AddConversationOption(conversation, "Thank you for the advice.", "dlg_2_14")
  19. StartConversation(conversation, QuestGiver, Player, "Good. Oh, be sure to pay homage to the statue of our beloved Overlord. It would prove most beneficial for you to bask in the wisdom of his visage.")
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. end
  23. function dlg_2_14(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. conversation = CreateConversation()
  26. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/captain_arellius/fprt_adv04_ruins/revamp/captain_arellius018.mp3", "", "", 377300022, 2983031406, Spawn)
  27. AddConversationOption(conversation, "I'll go see him.")
  28. StartConversation(conversation, NPC, Spawn, "Lieutenant Argosian at the first outpost will be responsible for your initial training. Do not return to me until he has ordered you to do so.")
  29. end
  30. function Quest_Complete(Quest, QuestGiver, Player)
  31. UpdateQuestStepDescription(Quest, 1, "I spoke to the lieutenant.")
  32. UpdateQuestTaskGroupDescription(Quest, 1, "I have reported to Lietenant Argosian.")
  33. GiveQuestReward(Quest, Player)
  34. UpdateQuestDescription(Quest, "I followed the orders of Captain Arellius, who had me report to Lieutenant Argosian at the first outpost in the Ruins. I will now be aiding him in his quest to battle the Brokentusk orcs.")
  35. end
  36. function Reload(Quest, QuestGiver, Player)
  37. end