1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- --[[
- Script Name : SpawnScripts/SunkenCity/Lukur.lua
- Script Purpose : Lukur <General Goods>
- Script Author : jakejp
- Script Date : 2018.12.27 (16.7.2022 by Torsten)
- Script Notes :
- --]]
- local LukursAntiques = 374
- function spawn(NPC)
- ProvidesQuest(NPC, LukursAntiques)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- conversation = CreateConversation()
- if not HasCompletedQuest(Spawn, LukursAntiques) then
- if HasQuest(Spawn, LukursAntiques) then
- if GetQuestStep(Spawn, LukursAntiques) == 4 then
- AddConversationOption(conversation, "I've returned with the masks.", "dlg_12_1")
- end
- else
- AddConversationOption(conversation, "Who are you?", "dlg_4_1")
- end
- end
-
- PlayFlavor(NPC, "voiceover/english/optional1/lukur/fprt_adv01_sunken/lukur000.mp3", "", "", 1584752461, 2942049134, Spawn)
- AddConversationOption(conversation, "I'm not one to be sifting through other people's things.")
- StartConversation(conversation, NPC, Spawn, "This place is a wellspring for me. Look around! Crates and barrels full of abandoned goods just waiting to be uncovered. There are far too many for me to search alone.")
- end
- function dlg_4_1(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- conversation = CreateConversation()
- PlayFlavor(NPC, "voiceover/english/optional1/lukur/fprt_adv01_sunken/lukur001.mp3", "", "", 3143062912, 3824299878, Spawn)
- AddConversationOption(conversation, "I think I can help you.", "OfferQuest1")
- AddConversationOption(conversation, "Not right now, sorry.")
- StartConversation(conversation, NPC, Spawn, "My name's Lukur, and I deal antiques. I was told of the riches waiting to be discovered here, but I didn't believe it until I arrived. Will you help me search for some valuables?")
- end
- function dlg_12_1(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- conversation = CreateConversation()
- SetStepComplete(Spawn, LukursAntiques, 4)
- PlayFlavor(NPC, "voiceover/english/optional1/lukur/fprt_adv01_sunken/lukur003.mp3", "", "", 1196217033, 2873878783, Spawn)
- AddConversationOption(conversation, "Thank you. ", "dlg_12_2")
- StartConversation(conversation, NPC, Spawn, "Look at the amazing quality of these ancient masks! You did well. Here is your reward.")
- end
- function OfferQuest1(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- OfferQuest(NPC, Spawn, LukursAntiques)
- end
|