9
3

EuphemiusGranius.lua 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/EuphemiusGranius.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. Dialog5(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,3)
  19. if choice == 1 then
  20. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1008.mp3", 0, 0, Spawn)
  21. elseif choice == 2 then
  22. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1008.mp3", 0, 0, Spawn)
  23. elseif choice == 3 then
  24. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1008.mp3", 0, 0, Spawn)
  25. end
  26. end
  27. function Dialog1(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddDialog("Good. Take these containers of reagents to the commonlands. Head to the banks along the Sea of Grass near the Magi Tower. Find that quack Melicinn who conducts his \"so-called\" experiments. The containers are coated in a phosphorous powder that glows when you arrive at the right place. When the containers start to glow, empty the contents on the ground. Return to me with the results of this experiment. Hopefully, you'll report the breakthrough I need.")
  31. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius008.mp3", 1258003805, 1541074837)
  32. Dialog.AddOption("You can count on me.")
  33. Dialog.Start()
  34. end
  35. function Dialog2(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddDialog("As you know, producing golems takes a great deal of time, energy, and money. I've gathered valuable information on creating and controlling the beasts...")
  39. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius001.mp3", 2862838662, 604767921)
  40. Dialog.AddOption("Please continue.", "Dialog9")
  41. Dialog.Start()
  42. end
  43. function Dialog3(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. Dialog.New(NPC, Spawn)
  46. Dialog.AddDialog("Oh, it's you. I really don't have any time right now, you're dismissed.")
  47. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius011.mp3", 3965217984, 775059204)
  48. Dialog.AddOption("Okay.")
  49. Dialog.Start()
  50. end
  51. function Dialog4(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. Dialog.New(NPC, Spawn)
  54. Dialog.AddDialog("Ahh ... you're back ... do you have the zombie remains?")
  55. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius005.mp3", 3205486195, 962913784)
  56. Dialog.AddOption("Yes I have the remains.", "Dialog7")
  57. Dialog.Start()
  58. end
  59. function Dialog5(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. Dialog.New(NPC, Spawn)
  62. Dialog.AddDialog("Hello there. You look eager. Will you help me? If you're a good citizen, you know the importance of academic research.")
  63. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius000.mp3", 3590594591, 2513692343)
  64. Dialog.AddOption("I might be willing, tell me more.", "Dialog2")
  65. Dialog.AddOption("Perhaps some other time.")
  66. Dialog.Start()
  67. end
  68. function Dialog6(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. Dialog.New(NPC, Spawn)
  71. Dialog.AddDialog("Well, what happened?")
  72. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius009.mp3", 3354667576, 2401085198)
  73. Dialog.AddOption("I haven't been able to test your reagents yet.")
  74. Dialog.Start()
  75. end
  76. function Dialog7(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. Dialog.New(NPC, Spawn)
  79. Dialog.AddDialog("Excellent! I'll produce regeants with these cadavers. My methods shall revolutionize golem creation! My name shall be honored throughout Freeport! I need nothing more from you; I've work to do. Be gone.")
  80. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius006.mp3", 2913012525, 3358874287)
  81. Dialog.AddOption("Okay.")
  82. Dialog.Start()
  83. end
  84. function Dialog8(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. Dialog.New(NPC, Spawn)
  87. Dialog.AddDialog("Well, what happened?")
  88. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius009.mp3", 3354667576, 2401085198)
  89. Dialog.AddOption("A huge rotting mess of a golem sprang out of the muck, why didn't you warn me?", "Dialog11")
  90. Dialog.Start()
  91. end
  92. function Dialog9(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. Dialog.New(NPC, Spawn)
  95. Dialog.AddDialog("I believe I can construct golems using the same forces that animate the undead. I'm in the midst of in-depth research and I need you to collect samples of undead troll and ogre remains from the Fallen Gate area. Can you handle this task?")
  96. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius002.mp3", 3775562579, 3177609254)
  97. Dialog.AddOption("How many samples do you need?", "Dialog13")
  98. Dialog.AddOption("I'm not interested.")
  99. Dialog.Start()
  100. end
  101. function Dialog10(NPC, Spawn)
  102. FaceTarget(NPC, Spawn)
  103. Dialog.New(NPC, Spawn)
  104. Dialog.AddDialog("Ahh ... you're back ... do you have the zombie remains?")
  105. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius005.mp3", 3205486195, 962913784)
  106. Dialog.AddOption("I'm still collecting samples.")
  107. Dialog.Start()
  108. end
  109. function Dialog11(NPC, Spawn)
  110. FaceTarget(NPC, Spawn)
  111. Dialog.New(NPC, Spawn)
  112. Dialog.AddDialog("That's great news! I knew I could succeed where the others had failed. Consider yourself fortunate, you are in the presence of one of the greatest minds in Freeport history. The academy knows how to reward those who persevere. Take heart that even one such as yourself had a role to play in my ascendance. ")
  113. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius010.mp3", 1598582616, 3261831074)
  114. Dialog.AddOption("Okay.")
  115. Dialog.Start()
  116. end
  117. function Dialog12(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. Dialog.New(NPC, Spawn)
  120. Dialog.AddDialog("Back so soon? It doesn't surprise me. Many, like you, are drawn to my greatness like a moth to a flame. Be assured, your adoration is not in vain. I'm on the verge of a major breakthrough, and I need someone to test my reagents. Will you do this?")
  121. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius007.mp3", 3762043988, 2784731175)
  122. Dialog.AddOption("Certainly.", "Dialog1")
  123. Dialog.AddOption("Not right now.")
  124. Dialog.Start()
  125. end
  126. function Dialog13(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. Dialog.New(NPC, Spawn)
  129. Dialog.AddDialog("I require samples of several troll and ogre zombies. I can use only pristine specimens so do not damage the bodies. When you collect these corpses, return to me. Now, don't waste my time, get moving!")
  130. Dialog.AddVoiceover("voiceover/english/euphemius_granius/fprt_north/quests/euphemiusgranius/euphemiusgranius003.mp3", 479128782, 4029940593)
  131. Dialog.AddOption("I'm on my way.")
  132. Dialog.Start()
  133. end