HamnalTeolofin.lua 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/HamnalTeolofin.lua
  3. Script Purpose : Hamnal Teolofin
  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. choice = math.random(1,2)
  22. if choice == 1 then
  23. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/quest/quest_intro_hamnal_hail_2e3cf704.mp3", "Times were much simpler when I was younger. So much has changed since then!", "", 3662633997, 945334687, Spawn)
  24. elseif choice == 2 then
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/quest/quest_intro_hamnal_hail_cec6199c.mp3", "Not too many Outsiders fall from the platforms anymore.", "sigh", 2765799254, 1455381840, Spawn)
  26. else
  27. end
  28. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal001.mp3", "", "", 2895828066, 2742672495, Spawn)
  29. AddConversationOption(conversation, "I've been learning the history of the Fae.", "dlg_3_1")
  30. AddConversationOption(conversation, "Jalmari sent me to speak with you about the Grender.")
  31. AddConversationOption(conversation, "Nothing, thanks.")
  32. StartConversation(conversation, NPC, Spawn, "Yes? What can I do for you?")
  33. if convo==4 then
  34. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal001.mp3", "", "", 2895828066, 2742672495, Spawn)
  35. AddConversationOption(conversation, "I've been learning the history of the Fae.", "dlg_4_1")
  36. AddConversationOption(conversation, "Jalmari sent me to speak with you about the Grender.")
  37. AddConversationOption(conversation, "Nothing, thanks.")
  38. StartConversation(conversation, NPC, Spawn, "Yes? What can I do for you?")
  39. end
  40. end
  41. function dlg_3_1(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal002.mp3", "", "", 3893730348, 46248323, Spawn)
  45. AddConversationOption(conversation, "Not yet. At least, I don't think so.", "dlg_3_2")
  46. StartConversation(conversation, NPC, Spawn, "You're beginning the Rite of Passage? Good for you. I know you need to help your spirit bud reawaken. That helps prepare you for the challenges ahead. Have you been drawn to anything in particular yet?")
  47. end
  48. function dlg_3_2(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal003.mp3", "", "", 3572378326, 3165862508, Spawn)
  52. AddConversationOption(conversation, "He seemed rather angry.", "dlg_3_3")
  53. StartConversation(conversation, NPC, Spawn, "Sometimes it can take a while. I remember the shock of it, the first time my spirit began to recall things from its past -- from the Burning Ring. I sense that you have spoken with old Raimo. Don't let him worry you with his anti-Outsider rubbish.")
  54. end
  55. function dlg_3_3(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal004.mp3", "", "", 3972764887, 2023370376, Spawn)
  59. AddConversationOption(conversation, "Raimo mentioned Princess Saphronia...", "dlg_3_4")
  60. StartConversation(conversation, NPC, Spawn, "His spirit and mine go way back. We're both warriors, you see, defending the Fae through the lives of all our spirits. In the Burning Ring, during the War of Fay, our spirits were slain defending Queen Maarita. He's taken it somewhat bitterly, poor fellow, even though our spirits have survived.")
  61. end
  62. function dlg_3_4(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. conversation = CreateConversation()
  65. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal005.mp3", "", "", 1909837591, 112454132, Spawn)
  66. AddConversationOption(conversation, "How do I know which Outsiders are good and which are evil?", "dlg_3_5")
  67. StartConversation(conversation, NPC, Spawn, "She's young still and her spirit is still reawakening. Her memories, like Raimo's, are sad and bitter. Outsiders caused trouble, yes, but many of them also came to our aid. Like the brownies that came to save Kelethin when we were under siege. Without them, neither you or I would be here.")
  68. end
  69. function dlg_3_5(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal006.mp3", "", "", 1030007137, 1974015787, Spawn)
  73. AddConversationOption(conversation, "I see. Well, thank you for your time.", "dlg_3_6")
  74. StartConversation(conversation, NPC, Spawn, "It is impossible to tell by looking. There is something seeping through from somewhere into our lands, but who is to say that the Outsiders brought it? Perhaps it's been here all along.")
  75. end
  76. function dlg_4_1(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal012.mp3", "", "", 2850757242, 2097247143, Spawn)
  80. AddConversationOption(conversation, "In working with Kalamar Vesinger, I've located the Grender's lair -- beneath Kelethin!")
  81. StartConversation(conversation, NPC, Spawn, "Why does Jalmari think I'd be interested in more rumors and nonsense about that mythical creature?")
  82. end
  83. function dlg_4_2(NPC, Spawn)
  84. FaceTarget(NPC, Spawn)
  85. conversation = CreateConversation()
  86. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal013.mp3", "", "", 1457571777, 1576417874, Spawn)
  87. AddConversationOption(conversation, "Jalmari wants your advice on the matter.", "dlg_4_3")
  88. StartConversation(conversation, NPC, Spawn, "That's not good. We'll need to move swiftly against it. So it really exists? That is disheartening, that something could spread disease to our land and be hiding so close to our homes!")
  89. end
  90. function dlg_4_3(NPC, Spawn)
  91. FaceTarget(NPC, Spawn)
  92. conversation = CreateConversation()
  93. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/tutorials/qst_hamnal/qst_hamnal014.mp3", "", "", 2206859761, 150584229, Spawn)
  94. AddConversationOption(conversation, "Thank you!", "dlg_4_4")
  95. StartConversation(conversation, NPC, Spawn, "Move swiftly. If it is close by, then it would notice any sudden change in our behaviors. We must act before it suspects that we know where it is. And that it actually exists.")
  96. end
  97. --[[ raw_conversations
  98. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/quest/quest_intro_hamnal_hail_2e3cf704.mp3", "Times were much simpler when I was younger. So much has changed since then!", "", 3662633997, 945334687, Spawn)
  99. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/hamnal_teolofin/_exp03/exp03_cty_kelethin/quest/quest_intro_hamnal_hail_cec6199c.mp3", "Not too many Outsiders fall from the platforms anymore.", "sigh", 2765799254, 1455381840, Spawn)
  100. --]]