9
3

SeekingBrultenHiltstill.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SeekingBrultenHiltstill.lua
  3. Script Purpose : Handles the quest, "Seeking Brulten Hiltstill"
  4. Script Author : jakejp
  5. Script Date : 6/3/2018
  6. Script Notes :
  7. Zone : Butcherblock Mountains
  8. Quest Giver : Dockmaster Waulon
  9. Preceded by : None
  10. Followed by : None
  11. --]]
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Brulten Hiltstill.", 1, "I need to seek out Brulten Hiltstill. He can be found at the caravan stop, near the entrance to the Greater Faydark.", 11, 1081114)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. end
  16. function QuestComplete(Quest, QuestGiver, Player)
  17. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  18. UpdateQuestStepDescription(Quest, 1, "I have spoken with Brulten Hiltstill.")
  19. UpdateQuestTaskGroupDescription(Quest, 1, "I have found Brulten Hiltstill.")
  20. UpdateQuestDescription(Quest, "I have found Brulten Hiltstill. He needs my help dealing with the Yarpsnarl kobolds.")
  21. GiveQuestReward(Quest, Player)
  22. end
  23. function Reload(Quest, QuestGiver, Player, Step)
  24. if Step == 1 then
  25. QuestComplete(Quest, QuestGiver, Player)
  26. end
  27. end
  28. function Accepted(Quest, QuestGiver, Player)
  29. FaceTarget(NPC, Spawn)
  30. local conversation = CreateConversation()
  31. AddConversationOption(conversation, "Excellent. Then I'm off. Good day!")
  32. StartConversation(conversation, NPC, Spawn, "To get there, you should take the trail that runs along the cliff face to the east. Once you reach the top of the cliff, look for ol' Brulten near the griffin tower.")
  33. end
  34. function Declined(Quest, QuestGiver, Player)
  35. -- Add dialog here for when the quest is declined
  36. end