9
3

back_to_the_inquisitor.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/SunkenCity/back_to_the_inquisitor.lua
  3. Script Purpose : Handles the quest, "Back to the Inquisitor"
  4. Script Author : Scatman
  5. Script Date : 2009.07.28
  6. Zone : Sunken City
  7. Quest Giver: Investigator Curfield
  8. Preceded by: Finding the Shrine (finding_the_shrine.lua)
  9. Followed by: Time to Stop a Madman (time_to_stop_a_madman.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I should return to Inquisitor Thorson.", 1, "I should return to Inquisitor Thorson and let him know that I have the research he needs.", 0, 1240007)
  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/investigator_curfeld/fprt_adv01_sunken/investigator_curfeld018.mp3", "", "", 3880047652, 3528846773, Player)
  19. AddConversationOption(conversation, "I'll take it to him.")
  20. StartConversation(conversation, QuestGiver, Player, "Why must I be constantly bogged down by the trivialities of lesser beings? Fine, anything to be rid of you. Take this journal to Thorson and trouble me no more.")
  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 Inquisitor Thorson.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I returned to Inquisitor Thorson with Curfeld's journal.")
  27. GiveQuestReward(Quest, Player)
  28. UpdateQuestDescription(Quest, "I took Investigator Curfeld's journal to Thorson, but the book reveals some troubling information. It seems Curfeld is a Prexian who wants to recreate the old ritual that nearly destoyed Freeport! Something must be done to stop him!")
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end