CordunBrenland.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/CordunBrenland.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.13 05:06:36
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. ProvidesQuest(NPC,5585)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. Dialog.New(NPC, Spawn)
  15. Dialog.AddDialog("No one in this world can you trust. Not men, not women, not beasts. But steel ... Steel, now steel you can trust.")
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1002.mp3", "", "frustrated", 0, 0, Spawn)
  17. if GetQuestStep(Spawn,5585)== 4 then
  18. Dialog.AddOption("I've returned with the catch.", "FishDelivery")
  19. end
  20. if not HasCompletedQuest(Spawn,5585) and not HasQuest(Spawn,5585) then
  21. Dialog.AddOption("You can trust me.", "Fish1")
  22. end
  23. Dialog.AddOption("Don't you think the city of Qeynos can be trusted?", "Coin1")
  24. Dialog.AddOption("I'll leave you to it then.")
  25. Dialog.Start()
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end
  30. function Coin1(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. Dialog.New(NPC, Spawn)
  33. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  34. Dialog.AddDialog("I don't trust anything other than steel. The Circle of Five may claim to look out for the best interests of the people, but I have my doubts. If we can trust them, why do they only let you work for one of them?")
  35. Dialog.AddOption( "They have their good reasons for doing so. Good luck with your steel.", "")
  36. Dialog.AddOption( "Have you considered Freeport? I've heard its people only report to the Overlord.", "Coin2")
  37. Dialog.Start()
  38. end
  39. function Coin2(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. Dialog.New(NPC, Spawn)
  42. PlayFlavor(NPC, "", "", "no", 0, 0, Spawn)
  43. Dialog.AddDialog("No, but me and my partner are sailing there soon. We're sick of this pathetic city. All we have to do is pull off one last job, then we're off to Freeport, the land of opportunity! What kind of person are you, eh? Do you want to join us and leave this stupid city behind? Think of it ... all the gold you want...")
  44. Dialog.AddOption( "Freeport is a corrupt city of oppression and pain! I will never betray Qeynos!", "Bah")
  45. Dialog.AddOption( "I want what I deserve. I will gladly be evil to gain that. I'll join you and go to Freeport!", "Betray")
  46. Dialog.Start()
  47. end
  48. function Bah(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. PlayFlavor(NPC, "", "Bah! Off with you then or you'll find how much I trust my steel.", "shakefist", 0, 0, Spawn)
  51. end
  52. function Betray(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. Dialog.New(NPC, Spawn)
  55. PlayFlavor(NPC, "", "", "ponder", 0, 0, Spawn)
  56. Dialog.AddDialog("Well now, perhaps you could be of use to us. I'm putting together a job, but it isn't quite ready yet. Return to me later and we'll see what we can accomplish together.")
  57. Dialog.AddOption( "[Classic Betrayal Quest a Work in Progress]", "")
  58. Dialog.AddOption( "I await patiently", "")
  59. Dialog.Start()
  60. end
  61. function Fish1(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. Dialog.New(NPC, Spawn)
  64. PlayFlavor(NPC, "", "", "glare", 0, 0, Spawn)
  65. Dialog.AddDialog("And just what have you done for me, huh? Nothing! If you want me to trust you, then do something for me.")
  66. Dialog.AddOption( "What would you like me to do?", "FishQuest")
  67. Dialog.AddOption( "Fine. I don't have time for this anyways.")
  68. Dialog.Start()
  69. end
  70. function FishQuest(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. Dialog.New(NPC, Spawn)
  73. Dialog.AddDialog("All right then! Go to Antonica and fetch me two barracuda, one manta ray, and two sea turtles. Once you've done me a bit of good, then perhaps I can trust you.")
  74. Dialog.AddOption( "I'm ok with that.", "QuestStart")
  75. Dialog.AddOption( "I don't like how any of this conversation smells. Goodbye.")
  76. Dialog.Start()
  77. end
  78. function QuestStart(NPC,Spawn)
  79. FaceTarget(NPC, Spawn)
  80. OfferQuest(NPC,Spawn, 5585)
  81. end
  82. function FishDelivery(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. Dialog.New(NPC, Spawn)
  85. Dialog.AddDialog("That you have! And it will make for a fine stew, a fine stew indeed.")
  86. Dialog.AddOption( "So when do we eat?", "FishDelivery2")
  87. Dialog.Start()
  88. end
  89. function FishDelivery2(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. Dialog.New(NPC, Spawn)
  92. PlayFlavor(NPC, "", "", "chuckle", 0, 0, Spawn)
  93. Dialog.AddDialog("HA! You thought I was going to share this feast with you? HA! I've dinner plans that don't include you. Don't feel bad though ... you did a great deed. Why don't you stop by another day, and we'll speak then. For now, take this coin.")
  94. Dialog.AddOption( "Thanks for the coin.", "QuestDone")
  95. Dialog.Start()
  96. SetStepComplete(Spawn,5585, 4)
  97. end
  98. --But while peace with Qeynos may serve my purposes for the moment, never let your guard falter. This shattered world needs strength, not mercy. And until there is but one nation on Norrath, we must always be prepared to strike against the weak.