1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- --[[
- Script Name : into_the_sewers_for_lucius.lua
- Script Purpose : Handles the quest, "Into The Sewers For Lucius"
- Script Author : torsten\\Dorbin
- Script Date : 15.07.2022
- Script Notes :
- Zone : Beggar's Court
- Quest Giver : Lucius Vulso
- Preceded by : Casing the Joint
- Followed by : None
- --]]
- require "SpawnScripts/Generic/DialogModule"
- function Init(Quest)
- AddQuestStepKill(Quest, 1, "I must kill six trash hoppers.", 6, 100, "I need to go into the sewers and find six trash hoppers and kill them. Once they're dead, I'll scrape the slime off of their bodies. I sure hope they're not too big.", 611, 8430032)
- AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
- end
- function Step1Complete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, "I have killed the trash hoppers.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I've managed to kill enough trash hoppers to gather up this slime for Lucius.")
- AddQuestStepChat(Quest, 2, "I should return to Lucius.", 1, "I should bring these trash hoppers to Lucius.", 611, 1370036)
- AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 2, "I gave the trash hoppers to Lucius.")
- UpdateQuestTaskGroupDescription(Quest, 2, "I've given the slime to Lucius so he can pursue his crazy plan. I sure hope it doesn't work.")
- UpdateQuestDescription(Quest, "I've given Lucius Vulso enough slime from the frog's skin to mask his scent. If he manages to pull off this bank heist, I'll have to follow his lead and get out of the city. I'm the only one who was seen asking about the place... what was I thinking?")
- GiveQuestReward(Quest, Player)
- end
- function Accepted(Quest, QuestGiver, Player)
- FaceTarget(QuestGiver, Player)
- Dialog.New(QuestGiver, Player)
- Dialog.AddDialog("Regret this? Never! If I pull this off, you and I will be famous! I examined the layout of the districts ... the quickest route around the sewers is through a putrid marsh of frogs called trash hoppers. Kill these frogs and scrape the slime from their bodies. I'll use this slime to mask my scent when I sneak through the bog. Now, get me that slime, and I'll pay you for your time.")
- Dialog.AddOption("This sounds questionable already...")
- Dialog.Start()
- 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
|