12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- --[[
- Script Name : Quests/Baubbleshire/nylas_pie_thief.lua
- Script Author : Dorbin
- Script Date : 2022.01.11 01:01:26
- Script Purpose :
- Notes: Reconstructed Removed Quest from Live - Using Voice Overs and Prima Guide as resources.
- Zone : Baubbleshire
- Quest Giver: Nyla Diggs
- Preceded by: None
- Followed by:
- --]]
- require "SpawnScripts/Generic/DialogModule"
- function Init(Quest)
- AddQuestStepLocation(Quest, 1, "I must check 'The Ringing Hammer' smithy.", 5, "I need to check the smithy for someone who may have taken the pie.", 2558, 850.34, -18.22, -514.64, 238)
- AddQuestStepCompleteAction(Quest, 1, "step1beentothesmithy")
- end
- function Accepted(Quest, QuestGiver, Player)
- FaceTarget(QuestGiver, Player)
- Dialog.New(QuestGiver,Player)
- Dialog.AddDialog("You'd do that? Tell you what, you search for the missing pie and when you return I'll have a fresh baked pie waiting for you. Oh, and I'll give the culprit such a scolding, he'll think twice before taking another one of my pies!")
- Dialog.AddVoiceover("voiceover/english/nyla_diggs/qey_village06/nyladiggs002.mp3", 1037348617, 3974383553)
- Dialog.AddLanguage(8)
- Dialog.AddOption("I'll return as soon as I find out more about that pie!")
- Dialog.Start()
- end
- function Declined(Quest, QuestGiver, Player)
- end
- function Deleted(Quest, QuestGiver, Player)
- end
- function step1beentothesmithy(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I checked 'The Ringing Hammer'")
- UpdateQuestTaskGroupDescription(Quest, 1, "I checked the smithy, but found no trace of the pie")
- AddQuestStepLocation(Quest, 2, "I need to check 'The Qeynos Exchange'.", 5, "I need to check the bank for someone who may have taken the pie", 2558, 895.18, -18.01, -480.29, 238)
- AddQuestStepCompleteAction(Quest, 2, "step2beentobank")
- end
- function step2beentobank(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 2, "I checked 'The Qeynos Exchange'")
- UpdateQuestTaskGroupDescription(Quest, 2, "The bank seems fairly quiet. The banker is tending to his ledger, and there are no tell-tale crumbs lying around on the floor or desk. No one here took Nyla's pie!")
- AddQuestStepLocation(Quest, 3, "I need to investigate 'The Deepmug Tavern'.", 5, "I need to check the tavern for someone who may have taken the pie", 2558, 880.47, -18.31, -443.50, 238)
- AddQuestStepCompleteAction(Quest, 3, "step3deepmug")
- end
- function step3deepmug(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 3, "I smell the pie in 'The Deepmug Tavern'")
- UpdateQuestTaskGroupDescription(Quest, 3, "I smell fresh pie in the tavern! Someone in here is the pie thief.")
- AddQuestStepChat(Quest, 4, "I need to ask the The Deepmug Tavern patrons about the pie.", 1, "Someone in the tavern must know about the pie.", 0, 2380030)
- AddQuestStepCompleteAction(Quest, 4, "step4Thief")
- end
- function step4Thief(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 4, "Lozoria Shinkicker took the pie!")
- UpdateQuestTaskGroupDescription(Quest, 4, "Sadly, Lozoria Shinkicker couldn't resist eating the pie.")
- AddQuestStepChat(Quest, 5, "I should tell Nyla about her pie.", 1, "I need to tell Nyla Diggs that Lozoria was the thief.", 0, 2380023)
- AddQuestStepCompleteAction(Quest, 5, "QuestComplete")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 5, "I've told Nyla about her lost pie.")
- UpdateQuestTaskGroupDescription(Quest, 5, "I've uncovered Nyla's pie thief and told Nyla who did it.")
- UpdateQuestDescription(Quest, "I told Nyla about her lost pie. I guess the thief was Lozoria over in the Deepmug tavern. Couldn't resist he said! Oh well, it seems like everything's all right though. ")
- GiveQuestReward(Quest, Player)
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- step1beentothesmithy(Quest, QuestGiver, Player)
- elseif Step == 2 then
- step2beentobank(Quest, QuestGiver, Player)
- elseif Step == 3 then
- step3deepmug(Quest, QuestGiver, Player)
- elseif Step == 4 then
- step4Thief(Quest, QuestGiver, Player)
- elseif Step == 5 then
- ThiefFound(Quest, QuestGiver, Player)
- -- elseif Step == 6 then
- -- QuestComplete(Quest, QuestGiver, Player)
- end
- end
|