9
3

EleoonaFaleisinae.lua 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/EleoonaFaleisinae.lua
  3. Script Purpose : Eleoona Faleisinae
  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. choice = math.random(1,3)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/quest/quest_intro_eleoona_hail_2e22fc60.mp3", "Kelethin belongs to the Fae now.", "", 1403528353, 3139849181, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/quest/quest_intro_eleoona_hail_2e3cf704.mp3", "Times were much simpler when I was younger. So much has changed since then!", "", 1966167640, 4246981561, Spawn)
  20. elseif choice == 3 then
  21. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/quest/quest_intro_eleoona_hail_60d7f941.mp3", "Nothing makes me laugh more than seeing someone take a wrong turn off a platform!", "chuckle", 2980400722, 2578144339, Spawn)
  22. else
  23. end
  24. end
  25. function LeaveRange(NPC, Spawn)
  26. end
  27. function hailed(NPC, Spawn)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/tutorials/qst_eleoona/qst_eleoona001.mp3", "", "", 2570228484, 695828840, Spawn)
  31. AddConversationOption(conversation, "Jalmari Keletana sent me to ask your advice about the Grender.", "dlg_5_1")
  32. AddConversationOption(conversation, "I seek nothing at this time.")
  33. StartConversation(conversation, NPC, Spawn, "What do you seek?")
  34. end
  35. function dlg_5_1(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. conversation = CreateConversation()
  38. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/tutorials/qst_eleoona/qst_eleoona002.mp3", "", "", 3929358033, 309978465, Spawn)
  39. AddConversationOption(conversation, "They say that?", "dlg_5_2")
  40. StartConversation(conversation, NPC, Spawn, "The Grender? I've heard of it. They say it breathes fire and belches a thick gaseous cloud that poisons all it touches! They say its eyes are red hot coals and if you stare into them, you'll be blinded!")
  41. end
  42. function dlg_5_2(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/tutorials/qst_eleoona/qst_eleoona003.mp3", "", "", 2961784962, 1653403158, Spawn)
  46. AddConversationOption(conversation, "Working with Kalamar Vesinger, I've located the Grender's lair beneath Kelethin. Jalmari wants to know what you recommend we do.", "dlg_5_3")
  47. StartConversation(conversation, NPC, Spawn, "Of course not! Heehee ... I'm just kidding! What do you need advice about?")
  48. end
  49. function dlg_5_3(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/tutorials/qst_eleoona/qst_eleoona004.mp3", "", "", 3699665352, 534069949, Spawn)
  53. AddConversationOption(conversation, "But I...oh, nevermind.", "dlg_5_4")
  54. StartConversation(conversation, NPC, Spawn, "I've no time for your foolishness! I'm planning the next social event for the self-defense force and it does not include waltzing with the Grender. Please, take your jokes elsewhere.")
  55. end
  56. --[[ raw_conversations
  57. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/quest/quest_intro_eleoona_hail_60d7f941.mp3", "Nothing makes me laugh more than seeing someone take a wrong turn off a platform!", "chuckle", 2980400722, 2578144339, Spawn)
  58. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/quest/quest_intro_eleoona_hail_2e3cf704.mp3", "Times were much simpler when I was younger. So much has changed since then!", "", 1966167640, 4246981561, Spawn)
  59. PlayFlavor(NPC, "voiceover/english/exp03_questvo/eleoona_faleisinae/_exp03/exp03_cty_kelethin/quest/quest_intro_eleoona_hail_2e22fc60.mp3", "Kelethin belongs to the Fae now.", "", 1403528353, 3139849181, Spawn)
  60. --]]