QueenAmree.lua 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/QueenAmree.lua
  3. Script Purpose : Queen Amree
  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, "Yes, I have!", "dlg_0_1")
  23. AddConversationOption(conversation, "I am on my way there now.")
  24. StartConversation(conversation, NPC, Spawn, "Have you successfully slain the Grender?")
  25. if convo==7 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1005.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "I seek permission to hunt the Grender!", "dlg_7_1")
  28. AddConversationOption(conversation, "Nothing at the moment, Your Majesty.")
  29. StartConversation(conversation, NPC, Spawn, "Welcome to the Hall. What is it you seek?")
  30. end
  31. if convo==71 then
  32. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1005.mp3", "", "", 0, 0, Spawn)
  33. AddConversationOption(conversation, "Yes, Ma'am.", "dlg_71_1")
  34. AddConversationOption(conversation, "No, Ma'am.")
  35. StartConversation(conversation, NPC, Spawn, "Are you prepared for the citizenship ceremony, XXXXXXXX?")
  36. end
  37. end
  38. function dlg_0_1(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  42. AddConversationOption(conversation, "Thank you, Ma'am!", "dlg_0_2")
  43. StartConversation(conversation, NPC, Spawn, "Excellent! I've heard of you from my cousin, Lady Katri. She has been quite pleased with your progress.")
  44. end
  45. function dlg_0_2(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  49. AddConversationOption(conversation, "I don't know what to say!", "dlg_0_3")
  50. StartConversation(conversation, NPC, Spawn, "She's so pleased, in fact, that she considers the completion of this deed sufficient to prove your spirit's awakening. .. GetName(Spawn) .. . you have successfully completed your Rite of Passage! Congratulations!")
  51. end
  52. function dlg_0_3(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "Thank you!", "dlg_0_4")
  57. StartConversation(conversation, NPC, Spawn, "Your dedication to Kelethin has been admirable. Go now and receive your reward from Lady Katri. Good luck to you always, .. GetName(Spawn) .. . May Tunare bless you.")
  58. end
  59. function dlg_7_1(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "I've heard them, too.", "dlg_7_2")
  64. StartConversation(conversation, NPC, Spawn, "Ah, so you're the one who has proven its existence! You wouldn't believe some of the tales I've been hearing about it.")
  65. end
  66. function dlg_7_2(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  70. AddConversationOption(conversation, "Thank you, Ma'am.", "dlg_7_3")
  71. StartConversation(conversation, NPC, Spawn, "Kelethin is grateful for your assistance. This will be an excellent challenge for you. Go, then, and come see me when you have completed this task.")
  72. end
  73. function dlg_71_1(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  77. AddConversationOption(conversation, "Yes, I have.", "dlg_71_2")
  78. AddConversationOption(conversation, "I must think about it further.")
  79. StartConversation(conversation, NPC, Spawn, "You have renounced your allegiance to the cities which have given you shelter, seeking to serve the city of Kelethin and to promote Growth throughout Norrath?")
  80. end
  81. function dlg_71_2(NPC, Spawn)
  82. FaceTarget(NPC, Spawn)
  83. conversation = CreateConversation()
  84. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  85. AddConversationOption(conversation, "Yes, I have.", "dlg_71_3")
  86. AddConversationOption(conversation, "I knew I was forgetting something.")
  87. StartConversation(conversation, NPC, Spawn, "You have claimed all your worldly possessions from your old home and bank accounts, enabling you to put roots in your new community without longing for the old?")
  88. end
  89. function dlg_71_3(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  93. AddConversationOption(conversation, "I do.", "dlg_71_4")
  94. AddConversationOption(conversation, "I need a moment to gather my thoughts!")
  95. StartConversation(conversation, NPC, Spawn, "XXXXXXXX, your works have proven your commitment to Kelethin. Your services will enable us to continue our work towards the promotion and protection of Growth, both in Faydwer and abroad. Do you make known your commitment here, in the presence of myself and others, forsaking allegiance to all other cities in Norrath?")
  96. end
  97. function dlg_71_4(NPC, Spawn)
  98. FaceTarget(NPC, Spawn)
  99. conversation = CreateConversation()
  100. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  101. AddConversationOption(conversation, "I do.", "dlg_71_5")
  102. StartConversation(conversation, NPC, Spawn, "Then so be it: you shall become a citizen of Kelethin, defender of the Fae of Kelethin and a guardian of the sacred powers of Growth. Do you solemnly affirm that you will fulfill your obligations to these principles without hesitation?")
  103. end
  104. function dlg_71_5(NPC, Spawn)
  105. FaceTarget(NPC, Spawn)
  106. conversation = CreateConversation()
  107. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  108. AddConversationOption(conversation, "Thank you, Ma'am.", "dlg_71_6")
  109. StartConversation(conversation, NPC, Spawn, "Welcome to Kelethin, .. GetName(Spawn) .. . I am very glad you will be one of us. You may seek out our local trainers if you have need of updating any training you received previously. Good luck, Leighlah.")
  110. end