ElsabethiaHartsunder.lua 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/ElsabethiaHartsunder.lua
  3. Script Purpose : Elsabethia Hartsunder
  4. Script Author : Dorbin
  5. Script Date : 2022.04.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. ProvidesQuest(NPC,5545)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. Dialog2(NPC, Spawn)
  17. end
  18. function Dialog1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. PlayFlavor(NPC, "", "", "shrug", 0, 0, Spawn)
  22. Dialog.AddDialog("I'm not entirely certain. I've only been able to identify the species that carry the infection. The malady has eluded any real research because it dies with the host. What I need are some living hosts to study...")
  23. Dialog.AddVoiceover("voiceover/english/optional5/elsabethia_hartsunder/qey_north/elsabethia_hartsunder002.mp3", 2822933996, 1733168788)
  24. if not HasQuest(Spawn,5545) and not HasCompletedQuest(Spawn,5545) and GetLevel(Spawn) >= 10 then
  25. Dialog.AddOption("Maybe I can help you.", "Dialog4")
  26. end
  27. Dialog.AddOption("Good luck with your research.")
  28. Dialog.Start()
  29. end
  30. function Dialog2(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1021.mp3", "", "no", 0, 0, Spawn)
  34. Dialog.AddDialog("Forgive me but I must return to my work. Please speak with one of the other priests. I'm certain they will be more than happy to assist you.")
  35. -- Dialog.AddVoiceover("voiceover/english/optional5/elsabethia_hartsunder/qey_north/elsabethia_hartsunder000.mp3", 2808880606, 3373507880)
  36. Dialog.AddOption("What is your work?", "Dialog3")
  37. Dialog.AddOption("I didn't mean to intrude. Good day.")
  38. Dialog.Start()
  39. end
  40. function Dialog3(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. Dialog.New(NPC, Spawn)
  43. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  44. Dialog.AddDialog("I'm overseeing the research of a new infection spreading among the vermin populace in the catacombs. We've learned from the past years that prevention is the best cure for any ailment.")
  45. Dialog.AddVoiceover("voiceover/english/optional5/elsabethia_hartsunder/qey_north/elsabethia_hartsunder001.mp3", 3349903032, 985226807)
  46. Dialog.AddOption("What type of infection?", "Dialog1")
  47. Dialog.AddOption("I'll let you get back to your work.")
  48. Dialog.Start()
  49. end
  50. function Dialog4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. Dialog.New(NPC, Spawn)
  53. PlayFlavor(NPC, "", "", "agree", 0, 0, Spawn)
  54. Dialog.AddDialog("Your help would come as a blessing. The tomb leeches, giant burrowers, and tomb vermin that infest the Vermin's Snye catacomb are the species that carry the infection. I need a live specimen from each of these host species to progress in my research.")
  55. Dialog.AddVoiceover("voiceover/english/optional5/elsabethia_hartsunder/qey_north/elsabethia_hartsunder003.mp3", 3285881813, 3232967682)
  56. Dialog.AddOption("I'll retrieve the live specimens for you.", "Dialog5")
  57. Dialog.AddOption("I don't think I can be of assistance. Good luck.")
  58. Dialog.Start()
  59. end
  60. function Dialog5(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. OfferQuest(NPC,Spawn,5545)
  63. Dialog.New(NPC, Spawn)
  64. Dialog.AddDialog("Please be careful transporting the diseased creatures. I would hate for you to become infected.")
  65. Dialog.AddVoiceover("voiceover/english/optional5/elsabethia_hartsunder/qey_north/elsabethia_hartsunder004.mp3", 1012652125, 593920710)
  66. Dialog.AddOption("I understand and thank you.")
  67. Dialog.Start()
  68. end