9
3

DajorBotswein.lua 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. ProvidesQuest(NPC,5587)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if GetLevel(Spawn)<21 then
  17. RandomGreeting(NPC, Spawn)
  18. else
  19. Dialog2(NPC, Spawn)
  20. end
  21. end
  22. function Quest(NPC,Spawn)
  23. FaceTarget(NPC, Spawn)
  24. OfferQuest(NPC,Spawn,5587)
  25. end
  26. function RandomGreeting(NPC, Spawn)
  27. local choice = MakeRandomInt(1,1)
  28. if choice == 1 then
  29. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", "Don't let the pretty waves fool you; life at sea is no holiday, what with serpents, sirens and pirates.", "", 0, 0, Spawn, 0)
  30. end
  31. end
  32. function Dialog1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. Dialog.New(NPC, Spawn)
  35. 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.")
  36. Dialog.AddOption("What are you talking about? What pirates?", "Dialog4")
  37. Dialog.Start()
  38. end
  39. function Dialog2(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_3_1052.mp3", 0, 0)
  44. Dialog.AddOption("Who is? That barbarian fishing over there?", "Dialog8")
  45. Dialog.AddOption("I've no time for a drunken sailor's musings.")
  46. Dialog.Start()
  47. end
  48. function Dialog4(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. Dialog.New(NPC, Spawn)
  51. 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.")
  52. Dialog.AddOption("Perhaps I can help.","Quest")
  53. Dialog.Start()
  54. end
  55. function Dialog5(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. Dialog.New(NPC, Spawn)
  58. Dialog.AddDialog("I'm having no luck with my search. How's it going for you?")
  59. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", 0, 0)
  60. Dialog.AddOption("I'm still looking.")
  61. Dialog.Start()
  62. end
  63. function Dialog6(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. Dialog.New(NPC, Spawn)
  66. Dialog.AddDialog("She's beautiful, isn't she? And deadly.")
  67. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_3_1052.mp3", 0, 0)
  68. Dialog.AddOption("I've no time for a drunken sailor's musings.")
  69. Dialog.Start()
  70. end
  71. function Dialog7(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. Dialog.New(NPC, Spawn)
  74. Dialog.AddDialog("I'm having no luck with my search. How's it going for you?")
  75. Dialog.AddVoiceover("voiceover/english/voice_emotes/greetings/greetings_2_1052.mp3", 0, 0)
  76. Dialog.AddOption("I'm still looking.")
  77. Dialog.Start()
  78. end
  79. function Dialog8(NPC, Spawn)
  80. FaceTarget(NPC, Spawn)
  81. Dialog.New(NPC, Spawn)
  82. 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.")
  83. Dialog.AddOption("I never thought of the sea that way.", "Dialog1")
  84. Dialog.Start()
  85. end