9
3

NimessSessi.lua 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/NimessSessi.lua
  3. Script Purpose : Nimess Sessi <City Registrar>
  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_3_1006.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Nothing, thanks.", "dlg_3_1")
  23. StartConversation(conversation, NPC, Spawn, "Greetings! Is there something I can do for you?")
  24. if convo==67 then
  25. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "", "", 0, 0, Spawn)
  26. AddConversationOption(conversation, "I was told to speak with you about becoming a citizen of Kelethin.", "dlg_67_1")
  27. AddConversationOption(conversation, "Nothing, thanks.")
  28. StartConversation(conversation, NPC, Spawn, "Greetings! Is there something I can do for you?")
  29. end
  30. if convo==68 then
  31. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "I want to know more about becoming a citizen of Kelethin.", "dlg_68_1")
  33. AddConversationOption(conversation, "Nothing, thanks.")
  34. StartConversation(conversation, NPC, Spawn, "Greetings! Is there something I can do for you?")
  35. end
  36. if convo==69 then
  37. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1006.mp3", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "I want to know more about becoming a citizen of Kelethin.", "dlg_69_1")
  39. AddConversationOption(conversation, "Nothing, thanks.")
  40. StartConversation(conversation, NPC, Spawn, "Greetings! Is there something I can do for you?")
  41. end
  42. end
  43. function dlg_67_1(NPC, Spawn)
  44. FaceTarget(NPC, Spawn)
  45. conversation = CreateConversation()
  46. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  47. AddConversationOption(conversation, "But I'm Fae! Why must I go through this process, too?", "dlg_67_2")
  48. AddConversationOption(conversation, "What do I need to learn?")
  49. StartConversation(conversation, NPC, Spawn, "You've come to the right place! It's my joyous duty to explain a little bit about Kelethin to those who seek permanent citizenship status.")
  50. end
  51. function dlg_67_2(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  55. AddConversationOption(conversation, "Not me!")
  56. AddConversationOption(conversation, "Maybe a little.", "dlg_67_3")
  57. AddConversationOption(conversation, "Of course not!")
  58. AddConversationOption(conversation, "Yes.")
  59. StartConversation(conversation, NPC, Spawn, "Becoming a citizen is simple, but living in Kelethin may be different than it is anywhere else. For one thing, our beautiful city is set in the trees, from which it is possible to fall off. Are you afraid of heights?")
  60. end
  61. function dlg_68_1(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  65. AddConversationOption(conversation, "But I'm Fae! Why must I go through this process, too?", "dlg_68_2")
  66. AddConversationOption(conversation, "What do I need to learn?")
  67. StartConversation(conversation, NPC, Spawn, "You've come to the right place! It's my joyous duty to explain a little bit about Kelethin to those who seek permanent citizenship status.")
  68. end
  69. function dlg_68_2(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  73. AddConversationOption(conversation, "I'm definitely staying!", "dlg_68_3")
  74. AddConversationOption(conversation, "I need to think about this.")
  75. StartConversation(conversation, NPC, Spawn, "Queen Amree specifically requested that ALL who want to become citizens go through this step, including Fae. You can, of course, choose to seek citizenship in Qeynos instead. Even if your spirit bud has lived here for generations, it is up to you to decide whether you'll stay.")
  76. end
  77. function dlg_68_3(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  81. AddConversationOption(conversation, "Not me!", "dlg_68_4")
  82. AddConversationOption(conversation, "Maybe a little.")
  83. AddConversationOption(conversation, "Of course not!")
  84. AddConversationOption(conversation, "Yes.")
  85. StartConversation(conversation, NPC, Spawn, "Becoming a citizen is simple, but living in Kelethin may be different than it is anywhere else. For one thing, our beautiful city is set in the trees, from which it is possible to fall off. Are you afraid of heights?")
  86. end
  87. function dlg_68_4(NPC, Spawn)
  88. FaceTarget(NPC, Spawn)
  89. conversation = CreateConversation()
  90. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  91. AddConversationOption(conversation, "Oh, all right. No, I'm not afraid of heights.")
  92. StartConversation(conversation, NPC, Spawn, "Remember, the Queen herself asked that I go through this with all who wish to become citizens. I'm not pranking you, honest!")
  93. end
  94. function dlg_69_1(NPC, Spawn)
  95. FaceTarget(NPC, Spawn)
  96. conversation = CreateConversation()
  97. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  98. AddConversationOption(conversation, "But I'm Fae! Why must I go through this process, too?", "dlg_69_2")
  99. AddConversationOption(conversation, "What do I need to learn?")
  100. StartConversation(conversation, NPC, Spawn, "You've come to the right place! It's my joyous duty to explain a little bit about Kelethin to those who seek permanent citizenship status.")
  101. end
  102. function dlg_69_2(NPC, Spawn)
  103. FaceTarget(NPC, Spawn)
  104. conversation = CreateConversation()
  105. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  106. AddConversationOption(conversation, "I'm definitely staying!", "dlg_69_3")
  107. AddConversationOption(conversation, "I need to think about this.")
  108. StartConversation(conversation, NPC, Spawn, "Queen Amree specifically requested that ALL who want to become citizens go through this step, including Fae. You can, of course, choose to seek citizenship in Qeynos instead. Even if your spirit bud has lived here for generations, it is up to you to decide whether you'll stay.")
  109. end
  110. function dlg_69_3(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  114. AddConversationOption(conversation, "Not me!", "dlg_69_4")
  115. AddConversationOption(conversation, "Maybe a little.")
  116. AddConversationOption(conversation, "Of course not!")
  117. AddConversationOption(conversation, "Yes.")
  118. StartConversation(conversation, NPC, Spawn, "Becoming a citizen is simple, but living in Kelethin may be different than it is anywhere else. For one thing, our beautiful city is set in the trees, from which it is possible to fall off. Are you afraid of heights?")
  119. end
  120. function dlg_69_4(NPC, Spawn)
  121. FaceTarget(NPC, Spawn)
  122. conversation = CreateConversation()
  123. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  124. AddConversationOption(conversation, "That's a little comforting.")
  125. StartConversation(conversation, NPC, Spawn, "When the Fae rebuilt Kelethin with the Feir'Dal, we added some berms to each platform. They won't keep you from walking off if you aren't paying attention, but if you watch your step, you will see them and know where the edges are located.")
  126. end
  127. function dlg_69_5(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. conversation = CreateConversation()
  130. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  131. AddConversationOption(conversation, "That's very comforting.", "dlg_69_6")
  132. StartConversation(conversation, NPC, Spawn, "Additionally, each ramp has a little curved railing where it attaches to the next platform. This is another visual cue that will guide you toward the proper path. The ramps are very sturdy and do not sway, no matter how many people are actually on them.")
  133. end
  134. function dlg_69_6(NPC, Spawn)
  135. FaceTarget(NPC, Spawn)
  136. conversation = CreateConversation()
  137. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  138. AddConversationOption(conversation, "Oh, come on! Now you ARE pulling my wings!", "dlg_69_7")
  139. AddConversationOption(conversation, "That's good.")
  140. AddConversationOption(conversation, "I see.")
  141. AddConversationOption(conversation, "I need to finish this later.")
  142. StartConversation(conversation, NPC, Spawn, "Good! Kelethin is not as large of a city as Qeynos, which helps us keep things very simple. We do have several amenities that are similar. We have a bank, lovely houses and several areas in which crafters can practice their trades.")
  143. end
  144. function dlg_69_7(NPC, Spawn)
  145. FaceTarget(NPC, Spawn)
  146. conversation = CreateConversation()
  147. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  148. AddConversationOption(conversation, "Thanks!", "dlg_69_8")
  149. StartConversation(conversation, NPC, Spawn, "Heh! I wondered how long you'd put up with this! The Queen does want all Fae to go through the same process, but you're right, she said that we don't need all this stuff. Head back down to talk with Gibrien and you may begin to do your community service immediately. Good luck!")
  150. end