CaptainVrondell.lua 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : SpawnScripts/WestFreeport/CaptainVrondell.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.26 07:10: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. Dialog2(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("You dare to approach a militia captain without being summoned? State your business or move along!")
  21. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell000.mp3", 1599544138, 213130892)
  22. Dialog.AddOption("Mercy great, captain. Forgive my foolish actions.")
  23. Dialog.Start()
  24. end
  25. function Dialog2(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("You dare to approach a militia captain without being summoned? State your business or move along!")
  29. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell000.mp3", 1599544138, 213130892)
  30. Dialog.AddOption("I've come to collect on the dervish sash bounty. ", "Dialog5")
  31. Dialog.AddOption("Mercy great, captain. Forgive my foolish actions.")
  32. Dialog.Start()
  33. end
  34. function Dialog3(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. Dialog.New(NPC, Spawn)
  37. Dialog.AddDialog("The dervish cutthroats are comprised of bloodthirsty bandits bound to no law. They take any man or beast capable of slitting a throat. ")
  38. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell002.mp3", 2554848783, 139223205)
  39. Dialog.AddOption("How can such a band of unruly thugs be so organized?", "Dialog4")
  40. Dialog.AddOption("I don't need to hear any more. Thank you captain. ")
  41. Dialog.Start()
  42. end
  43. function Dialog4(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. Dialog.New(NPC, Spawn)
  46. Dialog.AddDialog("They say they listen to one man only, their leader, a mysterious dark elf rogue known only as the Highwayman. This elf has enough power and charisma to charm any lawless scoundrel.")
  47. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell003.mp3", 2296158661, 471899834)
  48. Dialog.AddOption("Thank you for the information, captain.")
  49. Dialog.Start()
  50. end
  51. function Dialog5(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. Dialog.New(NPC, Spawn)
  54. Dialog.AddDialog("Well done, citizen. The dervish cutthroats have been profiting from our city without the penalty of taxes or loyalty to the Overlord for far too long. These sashes can be used to infiltrate their ranks.")
  55. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell001.mp3", 578489990, 3054257797)
  56. Dialog.AddOption("Who are these bandits? ", "Dialog3")
  57. Dialog.AddOption("Killing those road leeches was my pleasure!")
  58. Dialog.Start()
  59. end
  60. function Dialog6(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. Dialog.New(NPC, Spawn)
  63. Dialog.AddDialog("Your contribution is one of duty and obligation and does not merit compensation. However, as we understand your need for supplies and repairs to remain a productive member of society, I reward you your bounty.")
  64. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell004.mp3", 1201882587, 2385389190)
  65. Dialog.AddOption("The spilling of orcish blood is always a privilege.")
  66. Dialog.AddOption("I could never forget my loyalty to the Overlord.")
  67. Dialog.Start()
  68. end
  69. function Dialog7(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. Dialog.New(NPC, Spawn)
  72. Dialog.AddDialog("You dare to approach a militia captain without being summoned? State your business or move along!")
  73. Dialog.AddVoiceover("voiceover/english/optional5/captain_vrondell/fprt_west/quests/captain_vrondell000.mp3", 1599544138, 213130892)
  74. Dialog.AddOption("I've come to collect on the Bloodskull earring bounty.", "Dialog6")
  75. Dialog.AddOption("Mercy great, captain. Forgive my foolish actions.")
  76. Dialog.Start()
  77. end