1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- --[[
- Script Name : skaggas_signs.lua
- Script Purpose : Handles the quest, "Skagga's Signs"
- Script Author : torsten
- Script Date : 11.07.2022
- Script Notes :
- Zone : Big Bend
- Quest Giver : Skagga
- Preceded by : none
- Followed by : Skin for Skagga
- --]]
- function Init(Quest)
- AddQuestStepChat(Quest, 1, "I need to speak with the Scribe in Big Bend.", 1, "I should check inside these houses to see if I can find the Scribe.", 11, 1340052)
- AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
- end
- function Step1Complete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I have spoken with the Scribe")
- UpdateQuestTaskGroupDescription(Quest, 1, "I've found the scribe and he's made me some signs.")
-
- AddQuestStepChat(Quest, 2, "I should return to Skagga.", 1, "I should return to Skagga to give her the signs.", 11, 1340008)
- AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestDescription(Quest, "Skagga liked her signs, and offered me some coin 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
|