LyytiEloranta.lua 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/LyytiEloranta.lua
  3. Script Purpose : Lyyti Eloranta <General Goods>
  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/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti001.mp3", "", "", 4088228408, 3514253455, Spawn)
  22. AddConversationOption(conversation, "Lady Katri said that you're the history instructor.", "dlg_39_1")
  23. AddConversationOption(conversation, "Not right now, thanks.")
  24. StartConversation(conversation, NPC, Spawn, "May I help you with something?")
  25. if convo==40 then
  26. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti001.mp3", "", "", 4088228408, 3514253455, Spawn)
  27. AddConversationOption(conversation, "Lady Katri said that you're the history instructor.", "dlg_40_1")
  28. AddConversationOption(conversation, "Not right now, thanks.")
  29. StartConversation(conversation, NPC, Spawn, "May I help you with something?")
  30. end
  31. if convo==41 then
  32. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti001.mp3", "", "", 4088228408, 3514253455, Spawn)
  33. AddConversationOption(conversation, "Not right now, thanks.", "dlg_41_1")
  34. StartConversation(conversation, NPC, Spawn, "May I help you with something?")
  35. end
  36. end
  37. function dlg_39_1(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti002.mp3", "", "", 2837904161, 4185990953, Spawn)
  41. AddConversationOption(conversation, "Sort of. Did you used to be a history teacher?", "dlg_39_2")
  42. StartConversation(conversation, NPC, Spawn, "Are you wondering why she sent you to learn history from a merchant?")
  43. end
  44. function dlg_39_2(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti003.mp3", "", "", 1895475560, 810904654, Spawn)
  48. AddConversationOption(conversation, "Will these lessons fill in all the gaps?", "dlg_39_3")
  49. StartConversation(conversation, NPC, Spawn, "I love our Fae heritage and when Katri told me she would be the Rite of Passage advisor, I told her I wanted to help. I believe my spirit used to inhabit that of a teacher. Each Fae's spirit holds memories and experiences from the ancestors, but they are often incomplete, leaving gaps in our history that only the community's knowledge can fill.")
  50. end
  51. function dlg_39_3(NPC, Spawn)
  52. FaceTarget(NPC, Spawn)
  53. conversation = CreateConversation()
  54. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti005.mp3", "", "", 3025668755, 1997035225, Spawn)
  55. AddConversationOption(conversation, "What must I do now, then?", "dlg_39_4")
  56. AddConversationOption(conversation, "You want me to jump around?")
  57. StartConversation(conversation, NPC, Spawn, "I'm not going to talk your ears off about history -- yet! Your spirit bud has begun to re-awaken. That's how you know it's time for you to consider the Rite of Passage. To help your spirit along, sometimes it needs to be -- jiggled.")
  58. end
  59. function dlg_39_4(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti006.mp3", "", "", 407255999, 3852881, Spawn)
  63. AddConversationOption(conversation, "Will all the old memories come back?")
  64. StartConversation(conversation, NPC, Spawn, "Not really. Have you ever had the feeling that you've been somewhere before, but you honestly don't recall ever being there in your life? That's the re-awakening of your spirit bud. The Rite of Passage completes its re-awakening, revealing some of its experiences and memories to you.")
  65. end
  66. function dlg_40_1(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti002.mp3", "", "", 2837904161, 4185990953, Spawn)
  70. AddConversationOption(conversation, "Sort of. Did you used to be a history teacher?", "dlg_40_2")
  71. StartConversation(conversation, NPC, Spawn, "Are you wondering why she sent you to learn history from a merchant?")
  72. end
  73. function dlg_40_2(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti003.mp3", "", "", 1895475560, 810904654, Spawn)
  77. AddConversationOption(conversation, "Will these lessons fill in all the gaps?", "dlg_40_3")
  78. StartConversation(conversation, NPC, Spawn, "I love our Fae heritage and when Katri told me she would be the Rite of Passage advisor, I told her I wanted to help. I believe my spirit used to inhabit that of a teacher. Each Fae's spirit holds memories and experiences from the ancestors, but they are often incomplete, leaving gaps in our history that only the community's knowledge can fill.")
  79. end
  80. function dlg_40_3(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. conversation = CreateConversation()
  83. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti005.mp3", "", "", 3025668755, 1997035225, Spawn)
  84. AddConversationOption(conversation, "What must I do now, then?", "dlg_40_4")
  85. AddConversationOption(conversation, "You want me to jump around?")
  86. StartConversation(conversation, NPC, Spawn, "I'm not going to talk your ears off about history -- yet! Your spirit bud has begun to re-awaken. That's how you know it's time for you to consider the Rite of Passage. To help your spirit along, sometimes it needs to be -- jiggled.")
  87. end
  88. function dlg_40_4(NPC, Spawn)
  89. FaceTarget(NPC, Spawn)
  90. conversation = CreateConversation()
  91. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti008.mp3", "", "", 226867157, 1271697959, Spawn)
  92. AddConversationOption(conversation, "And then? Where's the history in this lesson?", "dlg_40_5")
  93. StartConversation(conversation, NPC, Spawn, "You will need to visit several areas of Kelethin to help your spirit further its re-awakening. Pay attention to the areas that stir your interest the most, for those are places that held importance to your spirit at some point along the way.")
  94. end
  95. function dlg_40_5(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. PlayFlavor(NPC, "voiceover/english/exp03_questvo/lyyti_eloranta/_exp03/exp03_cty_kelethin/tutorials/qst_lyyti/qst_lyyti009.mp3", "", "", 1286146575, 1120239850, Spawn)
  99. AddConversationOption(conversation, "All right.", "dlg_40_6")
  100. StartConversation(conversation, NPC, Spawn, "You will speak to several different folks along the way -- I've written their names down for you in your journal. You should start with Banker Athinae over there. The history is within you. All we can do is help re-awaken it.")
  101. end