KnightCaptainAntillin.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : Knight-CaptainAntillin.lua
  3. Script Purpose : Knight-Captain Antillin
  4. Script Author : Jabantiz
  5. Script Date : 08/29/2019
  6. Script Notes : Auto-Generated from a chat log using SpawnScriptDesigner
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. local PeckettsPatrol = 5715
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. Dialog.New(NPC, Spawn)
  18. Dialog.AddDialog("I am Captain Antillin of the Coldwind Point Garrison. The roads ahead are infested with gnolls. No Antonican is safe. Turn back now.")
  19. Dialog.AddVoiceover("voiceover/english/knight-captain_antillin/antonica/captainantillin000.mp3", 135895240, 1341774897)
  20. if GetQuestStep(Spawn, PeckettsPatrol) == 13 then
  21. Dialog.AddOption("Coldwind Point militia patrol reporting.", "Option1")
  22. end
  23. Dialog.AddOption("I shall heed your warning, Captain.")
  24. Dialog.Start()
  25. end
  26. function Option1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddVoiceover("voiceover/english/knight-captain_antillin/antonica/captainantillin001.mp3", 841411724, 1572096111)
  30. Dialog.AddOption("What will you do?", "Option2")
  31. Dialog.AddDialog("Corporal Peckett has raised a militia patrol? Very good! You must return at once to Corporal Peckett and inform him that the entire squad has been lost within a gnoll hive.")
  32. Dialog.Start()
  33. end
  34. function Option2(NPC, Spawn)
  35. SetStepComplete(Spawn, PeckettsPatrol, 13)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddVoiceover("voiceover/english/knight-captain_antillin/antonica/captainantillin002.mp3", 4242603088, 1602660198)
  39. Dialog.AddOption("I wish you luck, Captain. For Qeynos!")
  40. Dialog.AddDialog("I must return to this hive to properly plot its location and uncover some of its mysteries before I report back to the generals of the Qeynos Guard. Now go! Before the gnolls have us both!")
  41. Dialog.Start()
  42. end