EvaCorunnothes.lua 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/EvaCorunnothes.lua
  3. Script Purpose : Eva Corunno'thes <High Priestess of Growth>
  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_1053.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "You're Tunare's prophet.", "dlg_19_1")
  23. AddConversationOption(conversation, "I'm sorry to bother you. Excuse me.")
  24. StartConversation(conversation, NPC, Spawn, "Tunare's blessings be with you. How may I assist you?")
  25. if convo==20 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1053.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "You're Tunare's prophet.", "dlg_20_1")
  28. AddConversationOption(conversation, "I'm sorry to bother you. Excuse me.")
  29. StartConversation(conversation, NPC, Spawn, "Tunare's blessings be with you. How may I assist you?")
  30. end
  31. end
  32. function dlg_19_1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "Yes.", "dlg_19_2")
  37. AddConversationOption(conversation, "I'm not sure.")
  38. AddConversationOption(conversation, "No.")
  39. StartConversation(conversation, NPC, Spawn, "Correct. I am the High Priestess of Growth, one of Tunare's faithful. Are you a follower of the Mother of All as well?")
  40. end
  41. function dlg_19_2(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  45. AddConversationOption(conversation, "How can I follow Tunare?")
  46. AddConversationOption(conversation, "I must think about this.", "dlg_19_3")
  47. StartConversation(conversation, NPC, Spawn, "The blessings of Tunare surround us, for she is not only Mother of All, but goddess of Growth and Nature. If you wish to become one of her devotees, you need but ask me and I will help you find the way.")
  48. end
  49. function dlg_19_3(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  53. AddConversationOption(conversation, "May I learn more about the Mother of All and Growth?", "dlg_19_4")
  54. AddConversationOption(conversation, "I need to think about this before I continue.")
  55. StartConversation(conversation, NPC, Spawn, "The way of Tunare is not an easy path. There are those who would foul the soil, destroy nature's bounty and claim that it is 'progress.' The Mother of All will not sit idly by and watch what she has given us be ruined.")
  56. end
  57. function dlg_19_4(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. conversation = CreateConversation()
  60. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  61. AddConversationOption(conversation, "She is deserving of our faith.", "dlg_19_5")
  62. AddConversationOption(conversation, "And Growth?")
  63. AddConversationOption(conversation, "I'll be on my way now.")
  64. StartConversation(conversation, NPC, Spawn, "The Mother of All is a name for our sacred lady, Tunare, Goddess of Life and Growth. She resides upon the Plane of Growth and watches over all of her creations. She is awakening from her long slumber to once again bless her faithful followers.")
  65. end
  66. function dlg_19_5(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  70. AddConversationOption(conversation, "And now she will return?")
  71. AddConversationOption(conversation, "I'll be on my way now.", "dlg_19_6")
  72. StartConversation(conversation, NPC, Spawn, "Growth is the power of creation, a force that maintains and empowers all living things. It is Tunare's gift to us, that Norrath continue to thrive even during her long absence.")
  73. end
  74. function dlg_19_6(NPC, Spawn)
  75. FaceTarget(NPC, Spawn)
  76. conversation = CreateConversation()
  77. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  78. AddConversationOption(conversation, "I'll be on my way now.", "dlg_19_7")
  79. StartConversation(conversation, NPC, Spawn, "Faith and patience are always rewarded, .. GetName(Spawn) .. . Though the gods, for whatever purpose, withdrew from our realms, they are returning. No one is more deserving of our service than Tunare.")
  80. end
  81. function dlg_20_1(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  85. AddConversationOption(conversation, "Yes.", "dlg_20_2")
  86. AddConversationOption(conversation, "I'm not sure.")
  87. AddConversationOption(conversation, "No.")
  88. StartConversation(conversation, NPC, Spawn, "Correct. I am the High Priestess of Growth, one of Tunare's faithful. Are you a follower of the Mother of All as well?")
  89. end
  90. function dlg_20_2(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  94. AddConversationOption(conversation, "How can I follow Tunare?", "dlg_20_3")
  95. AddConversationOption(conversation, "I must think about this.")
  96. StartConversation(conversation, NPC, Spawn, "The blessings of Tunare surround us, for she is not only Mother of All, but goddess of Growth and Nature. If you wish to become one of her devotees, you need but ask me and I will help you find the way.")
  97. end
  98. function dlg_20_3(NPC, Spawn)
  99. FaceTarget(NPC, Spawn)
  100. conversation = CreateConversation()
  101. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  102. AddConversationOption(conversation, "May I learn more about the Mother of All and Growth?", "dlg_20_4")
  103. AddConversationOption(conversation, "I need to think about this before I continue.")
  104. StartConversation(conversation, NPC, Spawn, "The way of Tunare is not an easy path. There are those who would foul the soil, destroy nature's bounty and claim that it is 'progress.' The Mother of All will not sit idly by and watch what she has given us be ruined.")
  105. end
  106. function dlg_20_4(NPC, Spawn)
  107. FaceTarget(NPC, Spawn)
  108. conversation = CreateConversation()
  109. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  110. AddConversationOption(conversation, "She is deserving of our faith.", "dlg_20_5")
  111. AddConversationOption(conversation, "And Growth?")
  112. AddConversationOption(conversation, "I'll be on my way now.")
  113. StartConversation(conversation, NPC, Spawn, "The Mother of All is a name for our sacred lady, Tunare, Goddess of Life and Growth. She resides upon the Plane of Growth and watches over all of her creations. She is awakening from her long slumber to once again bless her faithful followers.")
  114. end
  115. function dlg_20_5(NPC, Spawn)
  116. FaceTarget(NPC, Spawn)
  117. conversation = CreateConversation()
  118. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  119. AddConversationOption(conversation, "I'll be on my way now.", "dlg_20_6")
  120. StartConversation(conversation, NPC, Spawn, "Faith and patience are always rewarded, .. GetName(Spawn) .. . Though the gods, for whatever purpose, withdrew from our realms, they are returning. No one is more deserving of our service than Tunare.")
  121. end