DajorBotswein.lua 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/DajorBotswein.lua
  3. Script Purpose : Dajor Botswein
  4. Script Author : Dorbin
  5. Script Date : 2022.04.16
  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,1)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "Don't let the pretty waves fool you; life at sea is no holiday, what with serpents, sirens and pirates.", "", 0, 0, Spawn, 0)
  21. end
  22. end
  23. function Dialog1(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. Dialog.New(NPC, Spawn)
  26. Dialog.AddDialog("Captured young, I was and never will be the same, no matter what happens. None of us fought back the first time and them pirates moved so quick, by the time we could move they were gone. If I see them again, I'll protect the ship as I should. If she means for me to be sliced through by a pirate's blade, aye, then so be it.")
  27. Dialog.AddOption("What are you talking about? What pirates?", "Dialog4")
  28. Dialog.Start()
  29. end
  30. function Dialog2(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. Dialog.AddDialog("She's beautiful, isn't she? And deadly.")
  34. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", 0, 0)
  35. Dialog.AddOption("Who is? That barbarian fishing over there?", "Dialog8")
  36. Dialog.AddOption("I've no time for a drunken sailor's musings.")
  37. Dialog.Start()
  38. end
  39. function Dialog3(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. Dialog.New(NPC, Spawn)
  42. Dialog.AddDialog("She's beautiful, isn't she? And deadly.")
  43. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_1_1052.mp3", 0, 0)
  44. Dialog.AddOption("I've no time for a drunken sailor's musings.")
  45. Dialog.Start()
  46. end
  47. function Dialog4(NPC, Spawn)
  48. FaceTarget(NPC, Spawn)
  49. Dialog.New(NPC, Spawn)
  50. Dialog.AddDialog("Pirates as boarded our ship. Do you not keep up with the news? Stole from us they did...but not just from our ship. Odd things they took, too. Cap'n thinks they've brought them to Qeynos Harbor, though I think their hideout is further away from the city. I'm going to get back those stolen trinkets, I am.")
  51. Dialog.AddOption("Perhaps I can help.")
  52. Dialog.Start()
  53. end
  54. function Dialog5(NPC, Spawn)
  55. FaceTarget(NPC, Spawn)
  56. Dialog.New(NPC, Spawn)
  57. Dialog.AddDialog("I'm having no luck with my search. How's it going for you?")
  58. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", 0, 0)
  59. Dialog.AddOption("I'm still looking.")
  60. Dialog.Start()
  61. end
  62. function Dialog6(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. Dialog.New(NPC, Spawn)
  65. Dialog.AddDialog("She's beautiful, isn't she? And deadly.")
  66. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", 0, 0)
  67. Dialog.AddOption("I've no time for a drunken sailor's musings.")
  68. Dialog.Start()
  69. end
  70. function Dialog7(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. Dialog.New(NPC, Spawn)
  73. Dialog.AddDialog("I'm having no luck with my search. How's it going for you?")
  74. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", 0, 0)
  75. Dialog.AddOption("I'm still looking.")
  76. Dialog.Start()
  77. end
  78. function Dialog8(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. Dialog.New(NPC, Spawn)
  81. Dialog.AddDialog("What? Oh, no, not her, though she is rather good looking! I mean the sea... she's my mistress, my wife, my love. Deadly, too, like all women.")
  82. Dialog.AddOption("I never thought of the sea that way.", "Dialog1")
  83. Dialog.Start()
  84. end