123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- --[[
- Script Name : hops_for_galenus.lua
- Script Purpose : Handles the quest, "Hops for Galenus"
- Script Author : torsten
- Script Date : 11.07.2022
- Script Notes :
- Zone : Big Bend
- Quest Giver : Galenus Fulvianus
- Preceded by : Paying the Tab
- Followed by : None
- --]]
- function Init(Quest)
- AddQuestStepChat(Quest, 1, "I need to speak with Hurska.", 1, "I need to find Hurska. She should be near the docks.", 11, 1340041)
- AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
- end
- function Step1Complete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I have spoken to Hurska.")
- UpdateQuestTaskGroupDescription(Quest, 1, "Hurska gave me the hops and barley.")
- AddQuestStepChat(Quest, 2, "I should return to Galenus.", 1, "I should return to Galenus to deliver the 'hops and barley'.", 11, 1340016)
- AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestDescription(Quest, "I have given Galenus his package of 'hops and barley'. I'm pretty certain it wasn't what he said it was, but I'd rather not ask any questions.")
- GiveQuestReward(Quest, Player)
- end
- function Accepted(Quest, QuestGiver, Player)
- -- Add dialog here for when the quest is accepted
- end
- function Declined(Quest, QuestGiver, Player)
- -- Add dialog here for when the quest is declined
- end
- function Deleted(Quest, QuestGiver, Player)
- -- Remove any quest specific items here when the quest is deleted
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- Step1Complete(Quest, QuestGiver, Player)
- elseif Step == 2 then
- QuestComplete(Quest, QuestGiver, Player)
- end
- end
|