CaretakerNogfizzle.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/CaretakerNogfizzle.lua
  3. Script Purpose : Caretaker Nogfizzle
  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. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,3)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/caretaker_nogfizzle/qey_north/100_soc_gnome_celestial_nogfizzle_goodbye_92e2ec93.mp3", "I'm afraid you've surpassed the ability of this humble caretaker's teachings. Seek out Disciple Telas'velle when you're ready to continue your teachings. Farewell! ", "sigh", 1044710758, 3793935981, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/caretaker_nogfizzle/qey_north/100_soc_gnome_celestial_nogfizzle_goodbye_92e2ec93.mp3", "I'm afraid you've surpassed the ability of this humble caretaker's teachings. Seek out Disciple Telas`velle when you're ready to continue your teachings. Farewell! ", "sigh", 1044710758, 3793935981, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/caretaker_nogfizzle/qey_north/100_soc_gnome_celestial_nogfizzle_no_e415b034.mp3", "Welcome to the Temple of Life. May the peace and prosperity of those within remove all doubt and questions from your mind.", "bow", 3983926383, 3492617579, Spawn, 0)
  25. end
  26. end
  27. function Dialog1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddDialog("...")
  31. Dialog.AddOption("I would like the writ: Scatter the Bones")
  32. Dialog.AddOption("I would like the writ: The Path of Enlightenment")
  33. Dialog.AddOption("I would like the writ: Wasteland")
  34. Dialog.AddOption("I will be going.")
  35. Dialog.Start()
  36. end
  37. function Dialog2(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. Dialog.New(NPC, Spawn)
  40. Dialog.AddDialog("...")
  41. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", 0, 0)
  42. Dialog.AddOption("I would like the writ: Scatter the Bones")
  43. Dialog.AddOption("I would like the writ: The Path of Enlightenment")
  44. Dialog.AddOption("I would like the writ: Wasteland", "Dialog3")
  45. Dialog.AddOption("I will be going.")
  46. Dialog.Start()
  47. end
  48. function Dialog3(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. Dialog.New(NPC, Spawn)
  51. Dialog.AddDialog("I'm happy to see you return! We set aside another writ for you. Take it, my student, and see to the safety of our city.")
  52. Dialog.AddVoiceover("voiceover/english/caretaker_nogfizzle/qey_north/100_soc_gnome_celestial_nogfizzle_hail_f4707a0f.mp3", 2710561134, 2435527520)
  53. Dialog.AddOption("Okay.")
  54. Dialog.Start()
  55. end