12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- --[[
- Script Name : Quests/TheCommonlands/an_abandoned_boat.lua
- Script Purpose : Handles the quest, "An Abandoned Boat"
- Script Author : premierio015
- Script Date : 25.05.2021
- Script Notes : Auto generated with QuestParser.
- Zone : Commonlands
- Quest Giver : Abandoned Boat(BoatWidget)
- Preceded by : None
- Followed by : None
- --]]
- function Init(Quest)
- AddQuestStepKill(Quest, 1, "I need to slay some carrion hounds", 15, 100, "There are some carrion hounds near a small pond in the Commonlands that have been causing some people a bit of trouble. I should slay those beasts and run them out of the area.", 2256, 330029, 330027)
- AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
- 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 QuestComplete(Quest, QuestGiver, Player)
- -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
- UpdateQuestStepDescription(Quest, 1, "I have slain the carrion hounds.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I have destroyed the carrion hounds, hopefully the area will be safer from my efforts.")
- UpdateQuestDescription(Quest, "I have destroyed quite a few of the carrion hounds. ")
- GiveQuestReward(Quest, Player)
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- QuestComplete(Quest, QuestGiver, Player)
- end
- end
|