JessaQuellborn.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : JessaQuellborn.lua
  3. Script Purpose : Jessa Quellborn
  4. Script Author : ParserGenerated Neatz09
  5. Script Date : 01/01/2021
  6. Script Notes : Auto-Generated from a chat log using SpawnScriptDesigner
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. PlayAnimation(NPC, 1563)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. Dialog.New(NPC, Spawn)
  18. Dialog.AddDialog("To gain entry to the foyer you must disable the locking mechanism holding the doors closed. Use the levers in the towers at the same time to release the locks.")
  19. Dialog.AddOption("Thank you.", "dlg_1")
  20. Dialog.AddOption("We seem to have misplaced an important item from the house. Have you seen it?", "dlg_2")
  21. Dialog.Start()
  22. --[[ Say() from this NPC
  23. Orphaned PlayFlavors
  24. --]]
  25. end
  26. function dlg_2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("That would be most unfortunate. However, I may have found what you are looking for. You may check inside this chest. I hope what you seek is inside.")
  30. Dialog.AddOption("Thank you, Lady Jessa.", "dlg_1")
  31. Dialog.Start()
  32. end