finding_the_investigator.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/SunkenCity/finding_the_investigator
  3. Script Purpose : Handles the quest, "Finding the Investigator"
  4. Script Author : Scatman
  5. Script Date : 2009.07.28 (15.7.2022 by torsten)
  6. Zone : Sunken City
  7. Quest Giver: Inquisitor Thorson
  8. Preceded by: Cataloging Local Critters (cataloging_local_critters.lua)
  9. Followed by: Taking Back from the Blackshields (taking_back_from_the_blackshields.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to speak to Investigator Curfeld of the Dismal Rage.", 1, "I need to seek out Investigator Curfeld and speak to him.", 0, 1240027)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. AddConversationOption(conversation, "I will do so.")
  19. StartConversation(conversation, QuestGiver, Player, "You can find Investigator Curfeld by going north through the archway, then west and south. He stands past the scorpions you discovered near the gateway to the Graveyard. He knows that additional help is coming, so tell him that I sent you.")
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. end
  23. function Quest_Complete(Quest, QuestGiver, Player)
  24. UpdateQuestStepDescription(Quest, 1, "I have spoken to Investigator Curfeld.")
  25. UpdateQuestTaskGroupDescription(Quest, 1, "I have found Investigator Curfeld.")
  26. GiveQuestReward(Quest, Player)
  27. UpdateQuestDescription(Quest, "I have found Investigator Curfeld just where Thorson said he would be. Now I will see if the investigator needs my assistance.")
  28. end
  29. function Reload(Quest, QuestGiver, Player, Step)
  30. end