CorporalBatton.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : CorporalBatton.lua
  3. Script Purpose : Corporal Batton
  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. if GetQuestStep(Spawn, PeckettsPatrol) == 6 then
  19. Dialog.AddOption("Coldwind Point Garrison reporting.", "Option1")
  20. end
  21. Dialog.AddDialog("I am afraid I must ask you to move along, citizen. This is a place of duty, not chatter.")
  22. Dialog.AddVoiceover("voiceover/english/corporal_batton/mudlib/vdl/quests/antonica/corporalbatton000.mp3", 3155813947, 2657899917)
  23. Dialog.AddOption("Excuse my interruption, guard.")
  24. Dialog.Start()
  25. end
  26. function Option1(NPC, Spawn)
  27. SetStepComplete(Spawn, PeckettsPatrol, 6)
  28. FaceTarget(NPC, Spawn)
  29. Dialog.New(NPC, Spawn)
  30. Dialog.AddVoiceover("voiceover/english/corporal_batton/antonica/corporalbatton001.mp3", 77618874, 84026675)
  31. Dialog.AddOption("For Qeynos!")
  32. Dialog.AddDialog("Nothing to report here militiaman. Before you proceed with your patrol the General has asked that you patrol Crater Pond also. You'll find Crater Pond just east of the South Gate of Qeynos.")
  33. Dialog.Start()
  34. end