9
3

JalmariKeletana.lua 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/JalmariKeletana.lua
  3. Script Purpose : Jalmari Keletana
  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_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/quest/quest_intro_jalmari_hail_1193678d.mp3", "Not all Fae are flighty.", "", 3091431058, 1671211988, Spawn)
  24. elseif choice == 2 then
  25. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/quest/quest_intro_jalmari_hail_ff5378ca.mp3", "The key to good government is efficiency.", "", 824038916, 1598888890, Spawn)
  26. else
  27. end
  28. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/tutorials/qst_jalmari/qst_jalmari001.mp3", "", "", 2121079748, 3485347487, Spawn)
  29. AddConversationOption(conversation, "I need to speak with you about the Grender.", "dlg_2_1")
  30. AddConversationOption(conversation, "Nothing right now, thanks.")
  31. StartConversation(conversation, NPC, Spawn, "Yes? Can I help you?")
  32. end
  33. function dlg_2_1(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/tutorials/qst_jalmari/qst_jalmari002.mp3", "", "", 2082721768, 1564608519, Spawn)
  37. AddConversationOption(conversation, "But I have proof!", "dlg_2_2")
  38. AddConversationOption(conversation, "It is a waste of time, never mind.")
  39. StartConversation(conversation, NPC, Spawn, "The Grender? I do not have time to listen to more rumors about a mythical creature!")
  40. end
  41. function dlg_2_2(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/tutorials/qst_jalmari/qst_jalmari003.mp3", "", "", 1197751578, 2295690654, Spawn)
  45. AddConversationOption(conversation, "I was much younger then. And besides, there really is a Grender!", "dlg_2_3")
  46. StartConversation(conversation, NPC, Spawn, "Where is your 'proof,' .. GetName(Spawn) .. . Do you think it's wise to pull a prank while you're undergoing the Rite of Passage? No one has forgotten that stunt you pulled in Joleena's Restaurant.")
  47. end
  48. function dlg_2_3(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. conversation = CreateConversation()
  51. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/tutorials/qst_jalmari/qst_jalmari004.mp3", "", "", 3695624936, 3885790951, Spawn)
  52. AddConversationOption(conversation, "The scouts focused on areas farther away. The Grender is beneath Kelethin itself.", "dlg_2_4")
  53. StartConversation(conversation, NPC, Spawn, "Where is the proof, then? How were you able to locate it while our scouts could not?")
  54. end
  55. function dlg_2_4(NPC, Spawn)
  56. FaceTarget(NPC, Spawn)
  57. conversation = CreateConversation()
  58. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/tutorials/qst_jalmari/qst_jalmari007.mp3", "", "", 1547507401, 2590251315, Spawn)
  59. AddConversationOption(conversation, "I get to meet the Queen?", "dlg_2_5")
  60. StartConversation(conversation, NPC, Spawn, "Interesting...then we'll need to hold a meeting to discuss what this could mean and how we're to handle it. The Queen will want to be involved. She's very hands-on. When you get to the Fae Royal Hall, speak with the Lady Milika Vikaarinen. She'll decide whether you get to meet Queen Amree today or not.")
  61. end
  62. function dlg_2_5(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. conversation = CreateConversation()
  65. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/tutorials/qst_jalmari/qst_jalmari008.mp3", "", "", 313118275, 4120683222, Spawn)
  66. AddConversationOption(conversation, "I'll be on my way.", "dlg_2_6")
  67. StartConversation(conversation, NPC, Spawn, "Before you seek an audience with her, speak to Hamnal and Eleoona. They're both members of the self-defense team stationed near the other two lifts. Explain to them what has happened and get their recommendations before you head to the Fae Royal Hall.")
  68. end
  69. --[[ raw_conversations
  70. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/quest/quest_intro_jalmari_hail_1193678d.mp3", "Not all Fae are flighty.", "", 3091431058, 1671211988, Spawn)
  71. PlayFlavor(NPC, "voiceover/english/exp03_questvo/jalmari_keletana/_exp03/exp03_cty_kelethin/quest/quest_intro_jalmari_hail_ff5378ca.mp3", "The key to good government is efficiency.", "", 824038916, 1598888890, Spawn)
  72. --]]