LurinaGalla.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/LurinaGalla.lua
  3. Script Purpose : Lurina Galla
  4. Script Author : torsten\\Dorbin
  5. Script Date : 2022.07.17
  6. Script Notes :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local RunningForACandidate = 5666
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. Dialog1(NPC, Spawn)
  17. end
  18. function Dialog1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. Dialog.AddDialog("You had better leave before my husband gets home. I'm not supposed to have guests while he's not around.")
  22. Dialog.AddVoiceover("voiceover/english/lurina_galla/fprt_hood04/std_lurina_galla.mp3", 2277358416, 3185524841)
  23. if GetQuestStep(Spawn, RunningForACandidate) ==1 then
  24. Dialog.AddOption("Mariana said Elowyn is a perfect candidate.","Dialog2")
  25. end
  26. Dialog.AddOption("I guess I'll leave then.")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. SetStepComplete(Spawn, RunningForACandidate, 1)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("Elowyn? You know, I never thought of him ... but yes, he is perfect! Great! Now, look, you must leave before my husband sees you. Please, go!")
  34. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  35. Dialog.AddOption("Not sure what this is about, but I'm done with this.")
  36. Dialog.Start()
  37. end