LadyMilikaVikaarinen.lua 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/LadyMilikaVikaarinen.lua
  3. Script Purpose : Lady Milika Vikaarinen <Fae Royal Defense Minister>
  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/voice_emotes/greetings/greetings_1_1005.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I have news of the Grender!", "dlg_6_1")
  23. AddConversationOption(conversation, "Nothing in particular. Just looking around.")
  24. StartConversation(conversation, NPC, Spawn, "Greetings! What brings you into the Fae Royal Hall this day?")
  25. if convo==70 then
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1005.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "Nothing in particular. Just looking around.", "dlg_70_1")
  28. StartConversation(conversation, NPC, Spawn, "Greetings! What brings you into the Fae Royal Hall this day?")
  29. end
  30. end
  31. function dlg_6_1(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  35. AddConversationOption(conversation, "Er...I don't think that's the same one.", "dlg_6_2")
  36. StartConversation(conversation, NPC, Spawn, "The mythical beast that supposedly steals a Fae's wings at night?")
  37. end
  38. function dlg_6_2(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  42. AddConversationOption(conversation, "The one that's brought disease to Greater Faydark's creatures. Its lair is directly beneath Kelethin!", "dlg_6_3")
  43. StartConversation(conversation, NPC, Spawn, "What Grender is it, then?")
  44. end
  45. function dlg_6_3(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  49. AddConversationOption(conversation, "I know where it is. I'll go!", "dlg_6_4")
  50. StartConversation(conversation, NPC, Spawn, "This is terrible news! We must defend Kelethin at all costs!")
  51. end
  52. function dlg_6_4(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "I will.", "dlg_6_5")
  57. StartConversation(conversation, NPC, Spawn, "You? Hm...I would prefer to send someone with more experience, but perhaps stealth is the wiser course. You know where it is and can hurry there before it escapes. Speak with Queen Amree and ask permission to undertake this task.")
  58. end
  59. --[[ raw_conversations
  60. PlayFlavor(NPC, "", "Queen Amree is the current ruler of the Fae.", "", 1689589577, 4560189, Spawn)
  61. --]]