1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- --[[
- Script Name : Quests/OakmystForest/cleaning_supplies_for_findlebop.lua
- Script Author : Dorbin
- Script Date : 2022.01.18 03:01:08
- Script Purpose :
- Zone : OakmystForest
- Quest Giver: Smithy Findlebop
- Preceded by: None
- Followed by:
- --]]
- function Init(Quest)
- AddQuestStepKill(Quest, 1, "I need to find a pristine Mystail rat tail.", 1, 65, "I need to hunt down Mystail matriarch in the Oakmyst forest until I can find a suitable tail.", 172, 1950017)
- AddQuestStepCompleteAction(Quest, 1, "step1_complete_Matriarchs")
- UpdateQuestZone(Quest, "Oakmyst Forest")
- end
- function Accepted(Quest, QuestGiver, Player)
- FaceTarget(QuestGiver, Player)
- conversation = CreateConversation()
- AddConversationOption(conversation, "Ok, I'll be back.")
- StartConversation(conversation, QuestGiver, Player, "FINE! Sorry to be harsh, but you bother me a critical juncture! If you want to help me, go get me something to scrub this bit of metal. Perhaps the tail of a Mystail rat will do the trick. Yes, yes. That would work. Get one from the Oakmyst Forest! ")
- end
- function Declined(Quest, QuestGiver, Player)
- end
- function step1_complete_Matriarchs(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I found a perfect mystail rat tail.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I gathered a perfect Mystail rat tail for Smithy Findlebop to clean with.")
- UpdateQuestZone(Quest, "Baubbleshire")
-
- AddQuestStepChat(Quest, 2, "I must return to Smithy Findlebop.", 1, "I must return to Smithy Findlebop in Baubbleshire.", 238, 2380011)
- AddQuestStepCompleteAction(Quest, 2, "quest_complete")
- end
- function quest_complete(Quest, QuestGiver, Player, Step)
- UpdateQuestStepDescription(Quest, 2, "I returned to Smithy Findlebop.")
- UpdateQuestTaskGroupDescription(Quest, 2, "I gave the Mystrat tail to Smithy Findlebop in Baubbleshire.")
- UpdateQuestDescription(Quest, "I finally got a suitable tail to bring back to Smithy Findlebop, and it seemed to work out well for his purposes. He apologized for being so curt with me earlier too.")
- GiveQuestReward(Quest, Player)
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- step1_complete_Matriarchs(Quest, QuestGiver, Player)
- end
- end
|