9
3

LadyAstaarEvinien.lua 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/LadyAstaarEvinien.lua
  3. Script Purpose : Lady Astaar Evinien <Hospitality>
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "What's that?", "dlg_37_1")
  23. AddConversationOption(conversation, "No, thanks.")
  24. StartConversation(conversation, NPC, Spawn, "Hello there! Are you here to participate in the Fae Ritual of Calling?")
  25. if convo==101 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Yes, I have.", "dlg_101_1")
  28. AddConversationOption(conversation, "Not yet.")
  29. StartConversation(conversation, NPC, Spawn, "Have you placed the offering at the memorial?")
  30. end
  31. if convo==102 then
  32. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  33. AddConversationOption(conversation, "Yes, I have.", "dlg_102_1")
  34. AddConversationOption(conversation, "Not yet.")
  35. StartConversation(conversation, NPC, Spawn, "Have you placed the offering at the memorial?")
  36. end
  37. if convo==103 then
  38. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  39. AddConversationOption(conversation, "Yes, I have.", "dlg_103_1")
  40. AddConversationOption(conversation, "Not yet.")
  41. StartConversation(conversation, NPC, Spawn, "Have you placed the offering at the memorial?")
  42. end
  43. end
  44. function dlg_37_1(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  48. AddConversationOption(conversation, "I'd love to do that.", "dlg_37_2")
  49. AddConversationOption(conversation, "I'm not interested.")
  50. StartConversation(conversation, NPC, Spawn, "It's a ritual that allows the Fae, as well as those who honor our ways, to return to Kelethin whenever they wish.")
  51. end
  52. function dlg_37_2(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "What must I do?", "dlg_37_3")
  57. StartConversation(conversation, NPC, Spawn, "Excellent! I have already heard of your prowess from the Matron, .. GetName(Spawn) .. . so this will be easy for you. The Fae use these simple rituals to help us retain our sense of community, especially with so many changes coming our way lately.")
  58. end
  59. function dlg_37_3(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "I see.", "dlg_37_4")
  64. AddConversationOption(conversation, "I'm not ready for this task just yet.")
  65. StartConversation(conversation, NPC, Spawn, "You've heard of the Fae spirit buds and may have assumed that we are some type of plant! It's merely a figure of speech. Our spirit buds surround the city, observing and guiding us. When a spirit bud is ready for renewal, it chooses when and where to return. The ritual you'll perform welcomes a spirit back to us, helping it focus on our beloved city.")
  66. end
  67. function dlg_37_4(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. conversation = CreateConversation()
  70. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  71. AddConversationOption(conversation, "I will do this.", "dlg_37_5")
  72. StartConversation(conversation, NPC, Spawn, "Take this simple offering with you to the memorial inside Kelethin to those who fell during the Siege. The best way to welcome a new spirit is by honoring those spirits no longer with us.")
  73. end
  74. function dlg_101_1(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  78. AddConversationOption(conversation, "It was a memorial to those who fell during the Siege of Kelethin.", "dlg_101_2")
  79. AddConversationOption(conversation, "I don't understand the meaning of the memorial.")
  80. StartConversation(conversation, NPC, Spawn, "Do you understand? Or do you have questions?")
  81. end
  82. function dlg_101_2(NPC, Spawn)
  83. FaceTarget(NPC, Spawn)
  84. conversation = CreateConversation()
  85. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  86. AddConversationOption(conversation, "I see.", "dlg_101_3")
  87. StartConversation(conversation, NPC, Spawn, "The memorial was placed on the remains of a tree burnt during the Siege. Many, not just Fae, lost their lives in that time. Many of our spirits were lost in that time...so we honor the returning Fae spirits that much more. We are glad that they can return, you see?")
  88. end
  89. function dlg_102_1(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  93. AddConversationOption(conversation, "It was a memorial to those who fell during the Siege of Kelethin.", "dlg_102_2")
  94. AddConversationOption(conversation, "I don't understand the meaning of the memorial.")
  95. StartConversation(conversation, NPC, Spawn, "Do you understand? Or do you have questions?")
  96. end
  97. function dlg_102_2(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  101. AddConversationOption(conversation, "I see.")
  102. StartConversation(conversation, NPC, Spawn, "The memorial was placed on the remains of a tree burnt during the Siege. Many, not just Fae, lost their lives in that time. Many of our spirits were lost in that time...so we honor the returning Fae spirits that much more. We are glad that they can return, you see?")
  103. end
  104. function dlg_103_1(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. conversation = CreateConversation()
  107. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  108. AddConversationOption(conversation, "It was a memorial to those who fell during the Siege of Kelethin.", "dlg_103_2")
  109. AddConversationOption(conversation, "I don't understand the meaning of the memorial.")
  110. StartConversation(conversation, NPC, Spawn, "Do you understand? Or do you have questions?")
  111. end
  112. function dlg_103_2(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  116. AddConversationOption(conversation, "I see.", "dlg_103_3")
  117. StartConversation(conversation, NPC, Spawn, "The memorial was placed on the remains of a tree burnt during the Siege. Many, not just Fae, lost their lives in that time. Many of our spirits were lost in that time...so we honor the returning Fae spirits that much more. We are glad that they can return, you see?")
  118. end
  119. function dlg_103_3(NPC, Spawn)
  120. FaceTarget(NPC, Spawn)
  121. conversation = CreateConversation()
  122. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  123. AddConversationOption(conversation, "Thank you.", "dlg_103_4")
  124. StartConversation(conversation, NPC, Spawn, "May Tunare guide you, .. GetName(Spawn) .. . You've shown the Fae respect by honoring our ritual. I'm pleased to present you with the Call of Kelethin, so that your spirit may also return to us.")
  125. end