9
3

AlexandriaTalAzroth.lua 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. --[[
  2. Script Name : SpawnScripts/Freeport/AlexandriaTalAzroth.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.07.02 07:07:29
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheFallenRetriever = 5274
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth000.mp3", "", "", 1050176753, 2267381562, Spawn)
  15. if GetQuestStep(Spawn, TheFallenRetriever) == 1 then
  16. AddConversationOption(conversation, "Who is your brother? ", "Option1")
  17. end
  18. AddConversationOption(conversation, "I'm sorry I do not know your brother.")
  19. StartConversation(conversation, NPC, Spawn, "Hello. It's nice to meet you, stranger. I've been waiting for news of my brother. I haven't heard from him in a very long time and I fear the worst.")
  20. end
  21. function Option1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. local conversation = CreateConversation()
  24. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth001.mp3", "", "", 2213773274, 2594896031, Spawn)
  25. AddConversationOption(conversation, "Possibly, I found a letter in the sewers. ", "Option2")
  26. AddConversationOption(conversation, "Sorry, but I cant help you.")
  27. StartConversation(conversation, NPC, Spawn, "My little brother's name is Horatio; he's always been an adventure seeker, but I feel this time he may have gotten in over his head. Do you have news of my brother?")
  28. end
  29. function Option2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. local conversation = CreateConversation()
  32. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth002.mp3", "", "", 450301294, 3517461069, Spawn)
  33. AddConversationOption(conversation, "The letter has your name on it.", "Option3")
  34. AddConversationOption(conversation, "Nothing, I guess I made a mistake.")
  35. StartConversation(conversation, NPC, Spawn, "A letter? What makes you think it's from my brother or has anything to do with me?")
  36. end
  37. function Option3(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. local conversation = CreateConversation()
  40. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth003.mp3", "", "", 3241932776, 1351160403, Spawn)
  41. AddConversationOption(conversation, "Sure, here you go. ", "Option4")
  42. AddConversationOption(conversation, "Im afraid I cant do that.")
  43. StartConversation(conversation, NPC, Spawn, "My name? Hmm ... that is quite odd. I guess if my name is on the note, it could be my brother's. May I please see it?")
  44. end
  45. function Option4(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. local conversation = CreateConversation()
  48. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth004.mp3", "", "", 1192264052, 1762030072, Spawn)
  49. AddConversationOption(conversation, "Who would have written this?", "Option5")
  50. AddConversationOption(conversation, "I do not know what to tell you. ")
  51. StartConversation(conversation, NPC, Spawn, "Although his name is difficult to make out, this letter is indeed addressed to my brother. If I only knew what has become of him, it would put my mind at ease, no matter the news. ")
  52. end
  53. function Option5(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. local conversation = CreateConversation()
  56. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth005.mp3", "", "", 1557077522, 3890285599, Spawn)
  57. AddConversationOption(conversation, "Did he speak of anyone in the Academy?", "Option6")
  58. AddConversationOption(conversation, "That's interesting but I think I have helped you enough.")
  59. StartConversation(conversation, NPC, Spawn, "I know that he was doing some work for the Academy of Arcane Science. He always told me he wished to study as a magician. Perhaps he got into trouble trying to impress someone at the Academy.")
  60. end
  61. function Option6(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. local conversation = CreateConversation()
  64. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth006.mp3", "", "", 1298048316, 2588992169, Spawn)
  65. AddConversationOption(conversation, "Where can I find Qalantir?", "Option7")
  66. AddConversationOption(conversation, "It seems that this is getting a bit too dangerous for me. Good Luck.")
  67. StartConversation(conversation, NPC, Spawn, "I heard him mention his friend Qalantir who was a professor in the academy. Qalantir didn't seem like the best influence - every time Horatio talked about him it sounded like bad news.")
  68. end
  69. function Option7(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. local conversation = CreateConversation()
  72. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth007.mp3", "", "", 743743960, 3277573198, Spawn)
  73. AddConversationOption(conversation, "I will seek out Qalantir.", "Option8")
  74. AddConversationOption(conversation, "Maybe you should go find him then, I'm quite busy.")
  75. StartConversation(conversation, NPC, Spawn, "Like I said, last I heard, Qalantir was a professor in the Academy, but that was months ago. He could have moved on, but I guess if you were to search for him, I'd check the Academy first.")
  76. end
  77. function Option8(NPC, Spawn)
  78. SetStepComplete(Spawn, TheFallenRetriever, 1)
  79. FaceTarget(NPC, Spawn)
  80. local conversation = CreateConversation()
  81. PlayFlavor(NPC, "voiceover/english/qalantir/fprt_south/alexandria_tal_azroth008.mp3", "", "", 3444449635, 316283748, Spawn)
  82. AddConversationOption(conversation, "I will do that, thank you for your help.")
  83. StartConversation(conversation, NPC, Spawn, "Thank you so much! I hope you find out something about Horatio's whereabouts. Please return with any information you can find!")
  84. end
  85. function respawn(NPC)
  86. spawn(NPC)
  87. end