SisterAalarya.lua 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/SisterAalarya.lua
  3. Script Purpose : Sister Aalarya <Sisterhood of Erollisi>
  4. Script Author : theFoof
  5. Script Date : 2013.08.19
  6. Script Notes :
  7. --]]
  8. local TrustIssues = 85
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, TrustIssues) and not QuestStepIsComplete(Spawn, TrustIssues, 3) then
  18. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya001.mp3", "", "", 2119732267, 2070285157, Spawn)
  19. AddConversationOption(conversation, "Is this a good time?", "Quest1Chat_1")
  20. AddConversationOption(conversation, "I have a few questions about the Sisterhood.", "Quest1Chat_7")
  21. AddConversationOption(conversation, "Brogan MacLellan sent me to speak with you.", "Quest1Chat_6")
  22. AddConversationOption(conversation, "I can already tell this is going to be painful. Goodbye.")
  23. StartConversation(conversation, NPC, Spawn, "Hello there, friend. Blessings of Erollisi to you.")
  24. elseif HasQuest(Spawn, TrustIssues) then
  25. PlayFlavor(NPC, "", "Hello again, " .. GetName(Spawn) .. ". Blessings of Erollisi to you.", "hello", 0, 0, Spawn)
  26. else
  27. PlayFlavor(NPC, "", "Blessings of Erollisi to you.", "hello", 0, 0, Spawn)
  28. end
  29. end
  30. function Quest1Chat_1(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. conversation = CreateConversation()
  33. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya002.mp3", "", "", 778240445, 1265640341, Spawn)
  34. AddConversationOption(conversation, "Perfect.", "Quest1Chat_7")
  35. AddConversationOption(conversation, "On second thought, I have somewhere to be.")
  36. StartConversation(conversation, NPC, Spawn, "Of course. I was looking forward to some stimulating conversation. Sometimes the quiet life of a Sister, while spiritually fulfilling, is dreadfully dull. Ho hum.")
  37. end
  38. function Quest1Chat_2(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya005.mp3", "", "", 2831123605, 2891513253, Spawn)
  42. AddConversationOption(conversation, "What did he do?", "Quest1Chat_3")
  43. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  44. StartConversation(conversation, NPC, Spawn, "Mithaniel Marr smiled upon this forsaken land when He saw the plight of the coldain. They were lost, forgotten, and locked in an endless and hopelessly futile battle with the Ry'Gorr. ")
  45. end
  46. function Quest1Chat_3(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya006.mp3", "", "", 839696070, 368595826, Spawn)
  50. AddConversationOption(conversation, "So how does Erollisi fit in?", "Quest1Chat_4")
  51. AddConversationOption(conversation, "Isn't that a bit Deus Ex Machina?", "Quest1Chat_8")
  52. AddConversationOption(conversation, "I can't stand the preaching of a religious zealot. Goodbye.")
  53. StartConversation(conversation, NPC, Spawn, "He blessed the isle, and showed pilgrims the way here. Since His intervention, this land has flourished.")
  54. end
  55. function Quest1Chat_4(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya009.mp3", "", "", 3023080955, 3940179989, Spawn)
  59. AddConversationOption(conversation, "And you are followers of Erollisi Marr.", "Quest1Chat_5")
  60. AddConversationOption(conversation, "Hence the name: Erollis.", "Quest1Chat_5")
  61. AddConversationOption(conversation, "I can't stand the preaching of a religious zealot. Goodbye.")
  62. StartConversation(conversation, NPC, Spawn, "He left us this statue of His sister. This isle is named in Her honor.")
  63. end
  64. function Quest1Chat_5(NPC, Spawn)
  65. SetStepComplete(Spawn, TrustIssues, 3)
  66. FaceTarget(NPC, Spawn)
  67. conversation = CreateConversation()
  68. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya010.mp3", "", "", 2543843692, 2274240039, Spawn)
  69. AddConversationOption(conversation, "Thank you, Sister Aalarya.")
  70. AddConversationOption(conversation, "I can understand why followers would come here.")
  71. StartConversation(conversation, NPC, Spawn, "This place has become a sacred meeting place for devoted followers of Marr. All who worship Mithaniel or Erollisi are welcome to join us and pay Them tribute.")
  72. end
  73. function Quest1Chat_6(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya004.mp3", "", "", 2080247973, 2428888366, Spawn)
  77. AddConversationOption(conversation, "Okay, okay, I'm leaving!")
  78. StartConversation(conversation, NPC, Spawn, "Brogan? Brogan MacLellan?! Again? So now that we stopped acknowledging him, he's sending others to harass us! I refuse to honor his inane, vapid, fever-mad, unfounded accusations with a response. Get out of here, NOW!")
  79. end
  80. function Quest1Chat_7(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya003.mp3", "", "", 3370074263, 1372386631, Spawn)
  84. AddConversationOption(conversation, "Why did you come to Erollis?", "Quest1Chat_2")
  85. AddConversationOption(conversation, "Why don't you leave?", "Quest1Chat_9")
  86. AddConversationOption(conversation, "Is it true what they say about the Sisterhood?", "Quest1Chat_10")
  87. AddConversationOption(conversation, "Whatever, I don't have the time for this.")
  88. StartConversation(conversation, NPC, Spawn, "It is my duty to speak to travelers about our order. What would you like to know?")
  89. end
  90. function Quest1Chat_8(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. PlayFlavor(NPC, "sister_aalarya/halas/new_halas_guard_house/sister_aalarya011.mp3", "", "", 735077916, 1256331838, Spawn)
  94. AddConversationOption(conversation, "So how does Erollisi fit in?", "Quest1Chat_4")
  95. AddConversationOption(conversation, "I can't stand the preaching of a religious zealot. Goodbye.")
  96. StartConversation(conversation, NPC, Spawn, "One cannot claim to understand the machinations or motivations of the gods. They can drastically change our world or they can leave us to our own designs. The faithful will not question Their actions.")
  97. end
  98. function Quest1Chat_9(NPC, Spawn)
  99. FaceTarget(NPC, Spawn)
  100. conversation = CreateConversation()
  101. AddConversationOption(conversation, "I see what you mean.", "Quest1Chat_3")
  102. AddConversationOption(conversation, "Tell me about your arrival.", "Quest1Chat_3")
  103. StartConversation(conversation, NPC, Spawn, "This land is holy, blessed by the gods we revere. I'll answer your question with a question: why would be anywhere else?")
  104. end
  105. function Quest1Chat_10(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. AddConversationOption(conversation, "Sorry to offend. Tell me about your arrival.", "Quest1Chat_3")
  109. AddConversationOption(conversation, "You wouldn't be so defensive if you weren't hiding something!")
  110. StartConversation(conversation, NPC, Spawn, 'That depends on what "they" say. And I would suggest that unless you are genuinely interested in becoming a member of the Sisterhood, that you ' .. "don't make a cad of yourself by questioning our customs.")
  111. end