one_last_request.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : Quests/BeggarsCourt/one_last_request.lua
  3. Script Purpose : Handles the quest, "One Last Request"
  4. Script Author : Scatman (updated by Cynnar 2018.06.14 11:06:14)
  5. Script Date : 2009.04.07
  6. Zone : Beggar's Court
  7. Quest Giver: Thavian Destrus
  8. Preceded by: Thaen Sevellos (thaen_sevellos.lua)
  9. Followed by: None
  10. --]]
  11. local INQUISITOR_THORSON = 1240024
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Inquisitor Thorson in the Sunken City. From Beggar's Court, I can use the Mariner's Bell on the docks to reach the Sunken City.", 1, ".", 0, INQUISITOR_THORSON)
  14. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. FaceTarget(QuestGiver, Player)
  18. conversation = CreateConversation()
  19. PlayFlavor(QuestGiver, "voiceover/english/tutorial_revamp/delcairn_sebastian/fprt_hood04/quests/delcairn/delcairn015a.mp3", "", "", 2742302436, 855265638, Player)
  20. AddConversationOption(conversation, "You're welcome.")
  21. StartConversation(conversation, QuestGiver, Player, "Thanks again, " .. GetName(Player) .. ".")
  22. end
  23. function Declined(Quest, QuestGiver, Player)
  24. end
  25. function Quest_Complete(Quest, QuestGiver, Player)
  26. UpdateQuestDescription(Quest, "I have found Inquisitor Thorson.")
  27. GiveQuestReward(Quest, Player)
  28. end
  29. function Reload(Quest, QuestGiver, Player, Step)
  30. end
  31. function Deleted(Quest, QuestGiver, Player)
  32. end