9
3

TomeWardenKNarn.lua 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/TomeWardenKNarn.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 01:06:03
  5. Script Purpose :
  6. :
  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. Dialog1(NPC, Spawn)end
  16. function Dialog1(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. Dialog.New(NPC, Spawn)
  19. Dialog.AddDialog("Busy! Very busy! Books, tomes, scrolls and lexicons ... the knowledge never ends nor does my work. ")
  20. Dialog.AddVoiceover("voiceover/english/optional5/tome_warden_k_narn/fprt_north/tomewarden_knarn000.mp3", 1480684922, 4003003231)
  21. Dialog.AddOption("What is your task?", "Dialog3")
  22. Dialog.AddOption("I can see you are busy. Farewell.")
  23. Dialog.Start()
  24. end
  25. function Dialog2(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("My task you ask? Look about! Walls and walls of knowledge ... many once lost and newly recovered by agents of the Academy. I am the Tome Warden. I must organize! Place this book here and that book there! It never ends! I am also the first to touch the lost tomes and the one to reward any offering of lost knowledge. ")
  29. Dialog.AddVoiceover("voiceover/english/optional5/tome_warden_k_narn/fprt_north/tomewarden_knarn001.mp3", 2804877395, 1971245347)
  30. Dialog.AddOption("I will let you get back to work. ")
  31. Dialog.AddOption("I bring the 'Bootstrutter's Field Guide to the Commonlands'. ")
  32. Dialog.Start()
  33. end
  34. function Dialog3(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. Dialog.New(NPC, Spawn)
  37. Dialog.AddDialog("My task you ask? Look about! Walls and walls of knowledge ... many once lost and newly recovered by agents of the Academy. I am the Tome Warden. I must organize! Place this book here and that book there! It never ends! I am also the first to touch the lost tomes and the one to reward any offering of lost knowledge. ")
  38. Dialog.AddVoiceover("voiceover/english/optional5/tome_warden_k_narn/fprt_north/tomewarden_knarn001.mp3", 2804877395, 1971245347)
  39. Dialog.AddOption("I will let you get back to work. ")
  40. Dialog.Start()
  41. end
  42. function Dialog4(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. Dialog.New(NPC, Spawn)
  45. Dialog.AddDialog("Busy! Very busy! Books, tomes, scrolls and lexicons ... the knowledge never ends nor does my work. ")
  46. Dialog.AddVoiceover("voiceover/english/optional5/tome_warden_k_narn/fprt_north/tomewarden_knarn000.mp3", 1480684922, 4003003231)
  47. Dialog.AddOption("What is your task?", "Dialog2")
  48. Dialog.AddOption("I bring the 'Bootstrutter's Field Guide to the Commonlands'. ", "Dialog5")
  49. Dialog.AddOption("I can see you are busy. Farewell.")
  50. Dialog.Start()
  51. end
  52. function Dialog5(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. Dialog.New(NPC, Spawn)
  55. Dialog.AddDialog("Ah! One of the field guides of the Hasten Bootstrutter! This shall make a fine addition to our library. The Academy of Arcane Science thanks you for your contribution. ")
  56. Dialog.AddVoiceover("voiceover/english/optional5/tome_warden_k_narn/fprt_north/tomewarden_knarn002.mp3", 3840236028, 2942457162)
  57. Dialog.AddOption("Thank you for the reward. ")
  58. Dialog.Start()
  59. end