SergeantatArmsIroncast.lua 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/Sergeant-at-ArmsIroncast.lua
  3. Script Purpose : Sergeant-at-Arms Ironcast
  4. Script Author : Dorbin
  5. Script Date : 2022.04.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  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. PlayFlavor(NPC, "voiceover/english/sergeant-at-arms_ironcast/qey_north/100_soc_dwarf_guard_officer_ironcast_no_181290a1.mp3", "Hail, citizen. I'm on duty and can't speak. If you need the assistance of the guard, let us know.", "", 904288338, 3551828428, Spawn, 0)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,2)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/sergeant-at-arms_ironcast/qey_north/100_soc_dwarf_guard_officer_ironcast_tasked_28d1905b.mp3", "Please return to me when you have completed your current task.", "", 1503240045, 3535420733, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/sergeant-at-arms_ironcast/qey_north/100_soc_dwarf_guard_officer_ironcast_no_181290a1.mp3", "Hail, citizen. I'm on duty and can't speak. If you need the assistance of the guard, let us know.", "", 904288338, 3551828428, Spawn, 0)
  23. end
  24. end
  25. function Dialog1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("Greetings, again. We're in serious trouble, friend, and the court needs your help. This writ was hand delivered from the castle. Take it and follow its instuctions to the letter. Be very careful. I've a bad feeling about this one.")
  29. Dialog.AddVoiceover("voiceover/english/sergeant-at-arms_ironcast/qey_north/100_soc_dwarf_guard_officer_ironcast_hail_dcee4157.mp3", 2922366004, 1416171234)
  30. Dialog.AddOption("Okay.")
  31. Dialog.Start()
  32. end
  33. function Dialog2(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. Dialog.New(NPC, Spawn)
  36. Dialog.AddDialog("Welcome, friend. Our thanks to you for your continued service to Qeynos. I'm afraid the reports from the villages are not good. We've a situation we'd like you to look at. Take this writ and exercise extreme caution. I'll speak to you again once you complete this task.")
  37. Dialog.AddVoiceover("voiceover/english/sergeant-at-arms_ironcast/qey_north/100_soc_dwarf_guard_officer_ironcast_greeting_9e29967c.mp3", 3325653132, 2631555784)
  38. Dialog.AddOption("Okay.")
  39. Dialog.Start()
  40. end
  41. function Dialog3(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. Dialog.New(NPC, Spawn)
  44. Dialog.AddDialog("...")
  45. Dialog.AddOption("I would like the writ: Earth and Water", "Dialog2")
  46. Dialog.AddOption("I would like the writ: The Gathering Shadows")
  47. Dialog.AddOption("I would like the writ: No One Sees Us")
  48. Dialog.AddOption("I would like the writ: Sinew vs. Steel")
  49. Dialog.AddOption("I will be going.")
  50. Dialog.Start()
  51. end
  52. function Dialog4(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. Dialog.New(NPC, Spawn)
  55. Dialog.AddDialog("...")
  56. Dialog.AddOption("I would like the writ: Muzzle the Carnivores", "Dialog1")
  57. Dialog.AddOption("I would like the writ: Blind to All Else")
  58. Dialog.AddOption("I would like the writ: Legacy of Xanuusus")
  59. Dialog.AddOption("I would like the writ: The Roar of the Colossal")
  60. Dialog.AddOption("I would like the writ: Underneath the Bridge")
  61. Dialog.AddOption("I will be going.")
  62. Dialog.Start()
  63. end