RaimoHeinila.lua 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/RaimoHeinila.lua
  3. Script Purpose : Raimo Heinila
  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,3)
  22. if choice == 1 then
  23. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/ecology/pub_warrior_raimo_hail_2e22fc60.mp3", "Kelethin belongs to the Fae now.", "", 2984282599, 4013295687, Spawn)
  24. elseif choice == 2 then
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/ecology/pub_warrior_raimo_hail_2e3cf704.mp3", "Times were much simpler when I was younger. So much has changed since then!", "", 2710697396, 295720892, Spawn)
  26. elseif choice == 3 then
  27. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/ecology/pub_warrior_raimo_hail_cf24d0e6.mp3", "I remember the old days...before the Outsiders arrived.", "", 1611261803, 2099858771, Spawn)
  28. else
  29. end
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/quest/qst_raimo_heinila/qst_raimo_heinila001.mp3", "", "", 1429033185, 3057559002, Spawn)
  31. AddConversationOption(conversation, "I've started the Rite of Passage and...", "dlg_87_1")
  32. AddConversationOption(conversation, "Sorry to bother you.")
  33. StartConversation(conversation, NPC, Spawn, "Yes? What do you want?")
  34. end
  35. function dlg_87_1(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/quest/qst_raimo_heinila/qst_raimo_heinila002.mp3", "", "", 3640055551, 3826016721, Spawn)
  39. AddConversationOption(conversation, "But Lyyti said to speak with you!", "dlg_87_2")
  40. StartConversation(conversation, NPC, Spawn, "That gives you the right to interrupt me on my walk? It's bad enough that the Outsiders won't leave me in peace, but a young sprout like you should know better.")
  41. end
  42. function dlg_87_2(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/quest/qst_raimo_heinila/qst_raimo_heinila003.mp3", "", "", 1326667193, 2814659187, Spawn)
  46. AddConversationOption(conversation, "What kind of mistakes?", "dlg_87_3")
  47. StartConversation(conversation, NPC, Spawn, "And if Lyyti said to jump off one of the bridges, would you? The value in history, sprout, is that when you remember it, you can avoid making the same mistakes. I am still trying to learn that lesson.")
  48. end
  49. function dlg_87_3(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/quest/qst_raimo_heinila/qst_raimo_heinila004.mp3", "", "", 2298966137, 2453405549, Spawn)
  53. AddConversationOption(conversation, "We could heal the treants...or cull them.", "dlg_87_4")
  54. StartConversation(conversation, NPC, Spawn, "Mistakes in war and in peace! We should never have allowed the Outsiders to come to Kelethin. Huh! Look at the poor, diseased treants on Green Knoll -- they're dying of an Outsiders' disease. Before long, the disease will waste away treants throughout the Faydarks and who knows what else must suffer for that.")
  55. end
  56. function dlg_87_4(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/quest/qst_raimo_heinila/qst_raimo_heinila005.mp3", "", "", 3829827816, 2730687571, Spawn)
  60. AddConversationOption(conversation, "Queen Amree says...", "dlg_87_5")
  61. StartConversation(conversation, NPC, Spawn, "Our healing has proved useless against whatever plague the Outsiders have placed upon those defenseless treants. You're so eager to defend the Outsiders, you are free to clean up after them as well. Princess Saphronia is right. They'll bring nothing but death, as they always have.")
  62. end
  63. function dlg_87_5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/quest/qst_raimo_heinila/qst_raimo_heinila006.mp3", "", "", 875120539, 3120603699, Spawn)
  67. AddConversationOption(conversation, "I'm sorry to have bothered you.", "dlg_87_6")
  68. StartConversation(conversation, NPC, Spawn, "Queen Amree's spirit comes from a different Ring entirely. You want to listen to happy stories, go see Hamnal Teolofin. Now, please, leave an old spirit in peace. Ugh. Mark my words -- we'll be sorry for the day the Outsiders arrived.")
  69. end
  70. --[[ raw_conversations
  71. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/ecology/pub_warrior_raimo_hail_2e22fc60.mp3", "Kelethin belongs to the Fae now.", "", 2984282599, 4013295687, Spawn)
  72. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/ecology/pub_warrior_raimo_hail_cf24d0e6.mp3", "I remember the old days...before the Outsiders arrived.", "", 1611261803, 2099858771, Spawn)
  73. PlayFlavor(NPC, "voiceover/english/exp03_questvo/raimo_heinila/_exp03/exp03_cty_kelethin/ecology/pub_warrior_raimo_hail_2e3cf704.mp3", "Times were much simpler when I was younger. So much has changed since then!", "", 2710697396, 295720892, Spawn)
  74. --]]