123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- --[[
- Script Name : Quests/Oakmyst/proof_of_poachers.lua
- Script Purpose : Handles the quest, "Proof of Poachers"
- Script Author : Scatman
- Script Date : 2009.10.09
-
- Zone : Oakmyst Forest
- Quest Giver: Steward Tredo
- Preceded by: None
- Followed by: None
- --]]
- function Init(Quest)
- AddQuestStepKill(Quest, 1, "Slay two shady furriers", 2, 100, "Slay two shady furriers. They can be found at night lurking the Oakmyst Forest.", 2468, 1950006)
- AddQuestStepCompleteAction(Quest, 1, "Step1_Complete_KilledPoachers")
- end
- function Accepted(Quest, QuestGiver, Player)
- FaceTarget(QuestGiver, Player)
- conversation = CreateConversation()
-
- PlayFlavor(QuestGiver, "voiceover/english/optional1/steward_tredo/qey_adv01_oakmyst/stewardtredo001.mp3", "", "", 3490306942, 2253910242, Player)
- AddConversationOption(conversation, "I'll keep my eyes out at night.")
- StartConversation(conversation, QuestGiver, Player, "A new defender of Oakmyst? Grand! Tracker Galera seeks proof of the poachers' existence. They say they lurk the shadows at night. Bring her proof, and I'm sure she'll be grateful.")
- end
- function Declined(Quest, QuestGiver, Player)
- end
- function Step1_Complete_KilledPoachers(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I have collected a frog poison gland.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I slew two shady furriers and retrieved poached pelts as proof of their invasion of the woods.")
- AddQuestStepChat(Quest, 2, "Speak to Tracker Galera.", 1, "Speak to Tracker Galera, a wood elf that walks the trails of Oakmyst Forest.", 0, 1950011)
- AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 2, "I have spoken to Tracker Galera.")
- UpdateQuestTaskGroupDescription(Quest, 2, "I spoke with Tracker Galera and gave her poached pelts as proof of the poaching activity going on in the forest.")
-
- UpdateQuestDescription(Quest, "I hunted down the shady furriers and retrieved poached pelts of the Oakmyst creatures. I gave the pelts to Tracker Galera as proof of the poacher's activity within the woods.")
- GiveQuestReward(Quest, Player)
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- Step1_Complete_KilledPoachers(Quest, QuestGiver, Player)
- end
- end
|