QuintCerliusME.lua 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/QuintCerliusME.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 03:06:49
  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. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,8)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1040.mp3", "Oh bother! What do you want? I am quite busy can't you see?", "", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1040.mp3", "By the way you are stalling, I would think you are working with these Pirates of Gunthak. ", "", 0, 0, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "I did not spend my time tracking down those crates to have some trotter come around and rummage through them. Be off!", "", 0, 0, Spawn, 0)
  25. elseif choice == 4 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "Unless you are confessing to the plundering of Far Seas Trading Company cargo, please go away!", "", 0, 0, Spawn, 0)
  27. elseif choice == 5 then
  28. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1006.mp3", "I can see pirate written all about your face. Look at those shifty eyes!", "", 0, 0, Spawn, 0)
  29. elseif choice == 6 then
  30. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1006.mp3", "I am a very busy Merchant Examiner for the Far Seas Trading Company. I have no time for chit chat.", "", 0, 0, Spawn, 0)
  31. elseif choice == 7 then
  32. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "Leave those crates alone or face the punishment of the Far Seas Trading Company. No one likes to be sentenced to the Hold of Prexus.", "", 0, 0, Spawn, 0)
  33. elseif choice == 8 then
  34. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "Hands off those crates! That is property of the Far Seas Trading Company.", "", 0, 0, Spawn, 0)
  35. end
  36. end
  37. function Dialog1(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. Dialog.New(NPC, Spawn)
  40. Dialog.AddDialog("I can see the curiosity in your expression. Reading faces is my business, you know? So what are you curious about?")
  41. Dialog.AddVoiceover("quint_m.e./steppes/quint_cerlius/quint003.mp3", 1774686373, 2145559568)
  42. Dialog.AddOption("I was actually curious about the crates with the funny symbols and no words.", "Dialog6")
  43. Dialog.AddOption("I am not curious about anything. Farewell. ")
  44. Dialog.Start()
  45. end
  46. function Dialog2(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. Dialog.New(NPC, Spawn)
  49. Dialog.AddDialog("I have tracked the Pirates of Gunthak down and found them operating in the Black Sea. Mariners have reported that they are selling our stolen goods to settlements there. If any trace of them exists, it lies on the beaches of the Feerrott.")
  50. Dialog.AddVoiceover("quint_m.e./steppes/quint_cerlius/quint008.mp3", 1774686373, 2145559568)
  51. Dialog.AddOption("Great! I am off to clear my name. Farewell.")
  52. Dialog.Start()
  53. end
  54. function Dialog3(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("I wish I could believe you, but the only way we could prove you wrong is if we found all the missing cargo... which just happens to be aboard a stolen ship called the Far Pelican.")
  58. Dialog.AddVoiceover("quint_m.e./steppes/quint_cerlius/quint006.mp3", 1774686373, 2145559568)
  59. Dialog.AddOption("Maybe I can find your lost cargo ship? ", "Dialog5")
  60. Dialog.AddOption("Wait here. I will be right back.")
  61. Dialog.Start()
  62. end
  63. function Dialog4(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. Dialog.New(NPC, Spawn)
  66. Dialog.AddDialog("A-ha! Just what a dastardly pirate would say. You are indeed a pirate. It's time to take you to the brig for some painful interrogations. Umm... could you please place your wrists together for me?")
  67. Dialog.AddVoiceover("quint_m.e./steppes/quint_cerlius/quint005.mp3", 1774686373, 2145559568)
  68. Dialog.AddOption("Wait! I am not a pirate. I was just curious about the lack of words on the chest and the weird symbols.", "Dialog3")
  69. Dialog.AddOption("Wait here. I will be right back. Bye.")
  70. Dialog.Start()
  71. end
  72. function Dialog5(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. Dialog.New(NPC, Spawn)
  75. Dialog.AddDialog("Hmm. That sounds reasonable, but I must warn you, if you fail to bring back the ship and the cargo, we will hunt you down and toss you in the Hold of Prexus--the bottom of the sea, not the prison isle.")
  76. Dialog.AddVoiceover("quint_m.e./steppes/quint_cerlius/quint007.mp3", 1774686373, 2145559568)
  77. Dialog.AddOption("Very good! Just tell me where I can find a lead on the Far Pelican.", "Dialog2")
  78. Dialog.AddOption("Forget it. I don't want to clear my name.")
  79. Dialog.Start()
  80. end
  81. function Dialog6(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. Dialog.New(NPC, Spawn)
  84. Dialog.AddDialog("Oh really? Why are you so interested in those crates? Ordinary people would just cross on by and not take another look, but you... I think you have something to do with the high seas raids of the Far Seas Trading Company cargo ships.")
  85. Dialog.AddVoiceover("quint_m.e./steppes/quint_cerlius/quint004.mp3", 1774686373, 2145559568)
  86. Dialog.AddOption("What? I am no pirate!", "Dialog4")
  87. Dialog.AddOption("I better end this conversation before I get arrested. Bye.")
  88. Dialog.Start()
  89. end