SquabKalina.lua 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/SouthFreeport/SquabKalina.lua
  3. Script Purpose : Squab Kalina
  4. Script Author : Dorbin
  5. Script Date : 2022.05.04
  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. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,2)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/squab_kalina/fprt_west/100_soc_halfelf_seafury_kalina_tasked_d91c9a23.mp3", "Return when you have finished your present task.", "", 2558123330, 1821358113, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "", "Well done, friend! I'd let you watch my back at sea any day. You've more than proven yourself to the crew. I have nothing more that would challenge an adventurer of your caliber.", "thumbsup", 0, 0, Spawn, 0)
  23. end
  24. end
  25. function Dialog1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("...")
  29. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1051.mp3", 0, 0)
  30. Dialog.AddOption("I would like the writ: Supplying the Scouts")
  31. Dialog.AddOption("I would like the writ: Feathers for Arrows")
  32. Dialog.AddOption("I would like the writ: Plundering the Ruins of the Dead")
  33. Dialog.AddOption("I will be going.")
  34. Dialog.Start()
  35. end
  36. function Dialog2(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. Dialog.New(NPC, Spawn)
  39. Dialog.AddDialog("...")
  40. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1051.mp3", 0, 0)
  41. Dialog.AddOption("I would like the writ: Supplying the Scouts")
  42. Dialog.AddOption("I would like the writ: Feathers for Arrows", "Dialog4")
  43. Dialog.AddOption("I would like the writ: Plundering the Ruins of the Dead")
  44. Dialog.AddOption("I will be going.")
  45. Dialog.Start()
  46. end
  47. function Dialog3(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. Dialog.New(NPC, Spawn)
  50. Dialog.AddDialog("...")
  51. Dialog.AddOption("I would like the writ: Supplying the Scouts")
  52. Dialog.AddOption("I would like the writ: Feathers for Arrows")
  53. Dialog.AddOption("I would like the writ: Plundering the Ruins of the Dead")
  54. Dialog.AddOption("I will be going.")
  55. Dialog.Start()
  56. end
  57. function Dialog4(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. Dialog.New(NPC, Spawn)
  60. Dialog.AddDialog("Well done. We'll make a pirate out of you yet! Here's another writ from the boats in the harbor. You'll need to accomplish this one as quickly as possible. I'll wait here for you to complete this task. ")
  61. Dialog.AddVoiceover("voiceover/english/squab_kalina/fprt_west/100_soc_halfelf_seafury_kalina_hail_99843fbe.mp3", 2208977185, 3583110371)
  62. Dialog.AddOption("Okay.")
  63. Dialog.Start()
  64. end