9
3

MarevaDIniv.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/MarevaDIniv.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 01:06:17
  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)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("Interested in earning a little prestige with the Overlord?")
  21. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1047.mp3", 0, 0)
  22. Dialog.AddOption("Of course.", "Dialog8")
  23. Dialog.AddOption("The Overlord will probably want someone with more experience. Maybe later.")
  24. Dialog.Start()
  25. end
  26. function Dialog2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("Wise choice. I'm an archaeologist representing a coalition of groups that is interested in a recent...development. I'm hiring some field workers. While that sounds menial, trust me, the interest in this work is anything but.")
  30. Dialog.AddOption("Why is the Overlord interested in your work?", "Dialog12")
  31. Dialog.Start()
  32. end
  33. function Dialog3(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. Dialog.New(NPC, Spawn)
  36. Dialog.AddDialog("Interested in earning a little prestige with the Overlord?")
  37. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", 0, 0)
  38. Dialog.AddOption("Of course.")
  39. Dialog.AddOption("The Overlord will probably want someone with more experience. Maybe later.")
  40. Dialog.Start()
  41. end
  42. function Dialog4(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. Dialog.New(NPC, Spawn)
  45. Dialog.AddDialog("Interested in earning a little prestige with the Overlord?")
  46. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", 0, 0)
  47. Dialog.AddOption("Of course.", "Dialog2")
  48. Dialog.AddOption("No.")
  49. Dialog.Start()
  50. end
  51. function Dialog5(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. Dialog.New(NPC, Spawn)
  54. Dialog.AddDialog("The penalty for non-compliance can be rather severe, so see that you keep your oath. The roekillik have reappeared and they are apparently surveying several different mines across the lands, including the Commonlands and the Thundering Steppes. You need to find out where they are concentrated, and what they are seeking.")
  55. Dialog.AddOption("The roekillik?", "Dialog7")
  56. Dialog.Start()
  57. end
  58. function Dialog6(NPC, Spawn)
  59. FaceTarget(NPC, Spawn)
  60. Dialog.New(NPC, Spawn)
  61. Dialog.AddDialog("Have you discovered what they are doing?")
  62. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", 0, 0)
  63. Dialog.AddOption("Not yet.")
  64. Dialog.Start()
  65. end
  66. function Dialog7(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. Dialog.New(NPC, Spawn)
  69. Dialog.AddDialog("Some say they are ancient relations of the ratonga. Who knows? Our immediate concerns are: why they are here now, and what do they want? Perhaps the answers to these questions will answer other questions as well.")
  70. Dialog.AddOption("I'll take a look around.")
  71. Dialog.Start()
  72. end
  73. function Dialog8(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. Dialog.New(NPC, Spawn)
  76. Dialog.AddDialog("Wise choice. I'm an archaeologist representing a coalition of groups that is interested in a recent...development. I'm hiring some field workers. While that sounds menial, trust me, the interest in this work is anything but.")
  77. Dialog.AddOption("I'm not interested in menial labor.")
  78. Dialog.Start()
  79. end
  80. function Dialog9(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. Dialog.New(NPC, Spawn)
  83. Dialog.AddDialog("Failure does not interest me. If you do not bring me information about these \"investors,\" I shall be forced to inform the Overlord of your lack of trustworthiness.")
  84. Dialog.AddOption("I'll find out about them -- because I want to, not because of your empty threats.")
  85. Dialog.Start()
  86. end
  87. function Dialog10(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. Dialog.New(NPC, Spawn)
  90. Dialog.AddDialog("Have you discovered what they are doing?")
  91. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1007.mp3", 0, 0)
  92. Dialog.AddOption("They are under orders from some \"investors.\"", "Dialog13")
  93. Dialog.AddOption("Not yet.")
  94. Dialog.Start()
  95. end
  96. function Dialog11(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. Dialog.New(NPC, Spawn)
  99. Dialog.AddDialog("Have you discovered what they are doing?")
  100. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1047.mp3", 0, 0)
  101. Dialog.AddOption("They are under orders from some \"investors.\"", "Dialog13")
  102. Dialog.AddOption("Not yet.")
  103. Dialog.Start()
  104. end
  105. function Dialog12(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. Dialog.New(NPC, Spawn)
  108. Dialog.AddDialog("He is interested in many things. Our research will likely solve a new mystery concerning some ancient events. Before I can give you any details, I need your oath of compliance.")
  109. Dialog.AddOption("I will comply with your requests.", "Dialog5")
  110. Dialog.AddOption("I'll have to think about this.")
  111. Dialog.Start()
  112. end
  113. function Dialog13(NPC, Spawn)
  114. FaceTarget(NPC, Spawn)
  115. Dialog.New(NPC, Spawn)
  116. Dialog.AddDialog("Who are the \"investors\" and what do they want? Do I need to drag this information from you?")
  117. Dialog.AddOption("The ratmen were pretty elusive about their investors' identities.", "Dialog9")
  118. Dialog.Start()
  119. end