12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- --[[
- Script Name : paying_the_tab.lua
- Script Purpose : Handles the quest, "Paying the Tab"
- Script Author : torsten
- Script Date : 11.07.2022
- Script Notes :
- Zone : Big Bend
- Quest Giver : Galenus Fulvianus
- Preceded by : None
- Followed by : Hops for Galenus
- --]]
- function Init(Quest)
- AddQuestStepChat(Quest, 1, "Converse with Banker Quintius.", 1, "I need to take the money to the banker in Big Bend. The bank is found in the district center, a short distance away from Galenus.", 10, 1340011)
- AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
- end
- function Step1Complete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I have spoken with Banker Quintius.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I have given the money to the banker here in Big Bend.")
-
- AddQuestStepChat(Quest, 2, "I need to return to Galenus.", 1, "I need to return to Galenus.", 11, 1340016)
- AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestDescription(Quest, "I delivered the money that Galenus asked me to. He paid me for my time.")
- 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
|