9
3

GrissBrumbaugh.lua 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. --[[
  2. Script Name : SpawnScripts/ButcherblockMountains/GrissBrumbaugh.lua
  3. Script Purpose : Griss Brumbaugh <Irontoe Brigade>
  4. Script Author : jakejp
  5. Script Date : 2018.06.04
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local SarnakSympathizerPart1 = 274
  9. local DarkTides = 275
  10. function spawn(NPC)
  11. ProvidesQuest(NPC, DarkTides)
  12. MovementLoopAddLocation(NPC, 683.90, 24.00, 604.82, 2, 5)
  13. MovementLoopAddLocation(NPC, 675.10, 24.00, 600.29, 2, 5)
  14. MovementLoopAddLocation(NPC, 684.99, 24.00, 594.37, 2, 5)
  15. MovementLoopAddLocation(NPC, 680.69, 24.00, 594.31, 2, 5)
  16. MovementLoopAddLocation(NPC, 684.62, 24.00, 596.14, 2, 5)
  17. MovementLoopAddLocation(NPC, 679.45, 24.00, 597.47, 2, 5)
  18. MovementLoopAddLocation(NPC, 685.68, 24.00, 593.50, 2, 5)
  19. MovementLoopAddLocation(NPC, 679.07, 24.00, 601.21, 2, 5)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function hailed(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. if HasQuest(Spawn, SarnakSympathizerPart1) == true and GetQuestStep(Spawn, SarnakSympathizerPart1) == 1 then
  28. SetStepComplete(Spawn, SarnakSympathizerPart1, 1)
  29. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh001.mp3", "", "", 3709174333, 649188758, Spawn)
  30. AddConversationOption(conversation, "Yes, I've agreed to help your cause.", "dlg_16_1")
  31. AddConversationOption(conversation, "Sorry, wrong person.")
  32. StartConversation(conversation, NPC, Spawn, "Aye, you must be the person Raghuntha told me about. Is this true?")
  33. elseif HasCompletedQuest(Spawn, DarkTides) == false and HasQuest(Spawn, DarkTides) == false and CanReceiveQuest(Spawn, DarkTides) == true then
  34. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh001.mp3", "", "", 3709174333, 649188758, Spawn)
  35. AddConversationOption(conversation, "Yes, I've agreed to help your cause.", "dlg_16_1")
  36. AddConversationOption(conversation, "Sorry, wrong person.")
  37. StartConversation(conversation, NPC, Spawn, "Aye, you must be the person Raghuntha told me about. Is this true?")
  38. elseif GetQuestStep(Spawn, DarkTides) == 1 then
  39. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh001.mp3", "", "", 3709174333, 649188758, Spawn)
  40. AddConversationOption(conversation, "Not yet.", "dlg_Step1_cont")
  41. StartConversation(conversation, NPC, Spawn, "Welcome back. Have you completed your task?")
  42. elseif GetQuestStep(Spawn, DarkTides) == 2 then
  43. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh008.mp3", "", "", 1631651215, 3306624777, Spawn)
  44. AddConversationOption(conversation, "Yes, I have slain several Tidesylph ritualists.", "dlg_5_1")
  45. StartConversation(conversation, NPC, Spawn, "Welcome back. Have you completed your task?")
  46. elseif HasCompletedQuest(Spawn, DarkTides) == true then
  47. PlayFlavor(NPC, "", "Thanks again for the help with the Tidesylph ritualists! Now, go find Grimshaw Packwright at East Fort Irontoe and see if he still needs help.", "", 1689589577, 4560189, Spawn)
  48. else
  49. PlayFlavor(NPC, "", "Hail? Where I come from you simply say, 'Hello' to a passing stranger.", "", 1689589577, 4560189, Spawn)
  50. end
  51. end
  52. function dlg_5_1(NPC, Spawn)
  53. SetStepComplete(Spawn, DarkTides, 2)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh009.mp3", "", "", 5065708, 712148895, Spawn)
  57. AddConversationOption(conversation, "Thanks, who should I speak with now?", "dlg_5_2")
  58. StartConversation(conversation, NPC, Spawn, "Excellent. Thanks for the help. I'll be sure to pass along the word that you've done your part.")
  59. end
  60. function dlg_5_2(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh010.mp3", "", "", 1757082804, 2660421525, Spawn)
  64. AddConversationOption(conversation, "Alright, good-bye!", "dlg_5_3")
  65. StartConversation(conversation, NPC, Spawn, "Go find Grimshaw Packwright. He should be somewhere in East Fort Irontoe. I'm certain he'll have something you can assist him with.")
  66. end
  67. function dlg_16_1(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. conversation = CreateConversation()
  70. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh002.mp3", "", "", 3374372564, 3071968430, Spawn)
  71. AddConversationOption(conversation, "Alright, what shall you have me do?", "dlg_16_2")
  72. StartConversation(conversation, NPC, Spawn, "Good, good. Let's get started right away.")
  73. end
  74. function dlg_16_2(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh003.mp3", "", "", 174914764, 48692594, Spawn)
  78. AddConversationOption(conversation, "What do you mean?", "dlg_16_3")
  79. StartConversation(conversation, NPC, Spawn, "If it's not the Yarpsnals, it's the Krulkiels. If it's not them it's the Muckflicks. Oh, but now apparently the Tidesylphs are getting out of hand.")
  80. end
  81. function dlg_16_3(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh004.mp3", "", "", 1048101023, 1626003091, Spawn)
  85. AddConversationOption(conversation, "Go on.", "dlg_16_4")
  86. StartConversation(conversation, NPC, Spawn, "We normally don't have too many problems involving the Tidesylph sirens. Their constant fight with the aqua goblins keep them more than occupied.")
  87. end
  88. function dlg_16_4(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh005.mp3", "", "", 906540546, 3167837346, Spawn)
  92. AddConversationOption(conversation, "Sounds like necromancy.", "dlg_16_5")
  93. StartConversation(conversation, NPC, Spawn, "However, something strange has been seen more recently. Zombies and skeletons in the water and the constant stench of death wafting in over the normally refreshing coastal air.")
  94. end
  95. function dlg_16_5(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh006.mp3", "", "", 1578749521, 2367042954, Spawn)
  99. AddConversationOption(conversation, "So what should we do?", "GiveDarkTides")
  100. StartConversation(conversation, NPC, Spawn, "Aye, I'm afraid the taint of Bertoxxulous may have touched some of the Tidesylph sirens and turned their interests towards necromancy as a way to combat the aqua goblins.")
  101. end
  102. function dlg_Step1_cont(NPC, Spawn)
  103. FaceTarget(NPC, Spawn)
  104. conversation = CreateConversation()
  105. PlayFlavor(NPC, "griss_brumbaugh/_exp03/exp03_rgn_butcherblock/sarnak_sympathizer/griss_brumbaugh/griss_brumbaugh007.mp3", "", "", 1790400537, 2286410199, Spawn)
  106. StartConversation(conversation, NPC, Spawn, "Return to me once you've finished your current task.")
  107. end
  108. function GiveDarkTides(NPC, Spawn)
  109. OfferQuest(NPC, Spawn, DarkTides)
  110. end
  111. --[[ raw_conversations
  112. PlayFlavor(NPC, "", "Hail? Where I come from you simply say, 'Hello' to a passing stranger.", "", 1689589577, 4560189, Spawn)
  113. --]]