12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- --[[
- Script Name : Quests/CastleviewHamlet/jewelry_delivery_to_taneran.lua
- Script Author : Dorbin
- Script Date : 2022.01.26 07:01:39
- Script Purpose :
- Zone : CastleviewHamlet
- Quest Giver: Taneranthalis Nedaiveren
- Preceded by: None
- Followed by:
- --]]
- require "SpawnScripts/Generic/DialogModule"
- function Init(Quest)
- AddQuestStepChat(Quest, 1, " I need to deliver this note to Tara Ironforge.", 1, " I must deliver a note to Tara Ironforge in the Jewel Box located in North Qeynos.", 75, 2220057)
- AddQuestStepCompleteAction(Quest, 1, "Delivery")
- UpdateQuestZone(Quest, "North Qeynos")
- end
- function Accepted(Quest, QuestGiver, Player)
- FaceTarget(QuestGiver, Player)
- Dialog.New(QuestGiver, Player)
- Dialog.AddDialog("It's a simple task. I need you to deliver a note to Tara Ironforge at the Jewel Box in North Qeynos. The shop isn't difficult to find. It's outside the Ironforge Estate, look for the Ironforge shops in the southern section of the district. Return with the package that Tara gives you.")
- Dialog.AddVoiceover("voiceover/english/taneranthalis_nedaiveren/qey_village04/qst_taneranthalisnedaiveren002.mp3",1622360856, 1471149811)
- PlayFlavor(QuestGiver, "", "", "agree", 0,0 , Player)
- Dialog.AddOption("Understood. I'll see what I can do.")
- Dialog.Start()
- end
- function Declined(Quest, QuestGiver, Player)
- end
- function Delivery(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 1, " I've delivered the note to Tara Ironforge.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I've delivered the note to Tara Ironforge in the Jewel Box.")
- AddQuestStepChat(Quest, 2, "I need to return to Taneran.", 1, "I need to deliver this jewlery to Taneran in Castleview.", 927, 2360012)
- AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
- UpdateQuestZone(Quest, "Castleview Hamlet")
- end
- function QuestComplete(Quest, QuestGiver, Player)
- UpdateQuestStepDescription(Quest, 2, "I've returned to Taneran.")
- UpdateQuestTaskGroupDescription(Quest, 2, "I've given Taneran the jewlery from Tara Ironforge as requested.")
- UpdateQuestDescription(Quest, "I'm sure Taneranthalis and Listalania will make a good couple when and if he decides the time is right. Perhaps one day their children will be able to visit his home city of Felwithe... indeed, maybe I will be able to see its white towers as well.")
- GiveQuestReward(Quest, Player)
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- Delivery(Quest, QuestGiver, Player)
- elseif Step == 2 then
- QuestComplete(Quest, QuestGiver, Player)
- end
- end
|