HagricSkolvein.lua 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/HagricSkolvein.lua
  3. Script Author : Rylec
  4. Script Date : 2021.01.31 02:01:06
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. math.randomseed(os.time())
  16. local voice = math.random(1,3)
  17. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1004.mp3", "", "", 0, 0, Spawn)
  18. conversation = CreateConversation()
  19. AddConversationOption(conversation, "Actually, I was going to ask you about just that. This is your training ground?", "conv_01")
  20. AddConversationOption(conversation, "Not at the moment, but thank you.")
  21. StartConversation(conversation, NPC, Spawn, "Hello, friend. I am Hagric Skolvein of the Graystone Guild. Have you come here to train with us?")
  22. end
  23. function conv_01(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. conversation = CreateConversation()
  26. PlayAnimation(NPC, "10745")
  27. AddConversationOption(conversation, "Is that so? So is Dalluk the head of the Guild, then?", "conv_02")
  28. AddConversationOption(conversation, "Well, I will leave you to it, then. Farewell.")
  29. StartConversation(conversation, NPC, Spawn, "That it is! It's here we spend time teaching others the techniques we developed and honed, both from fighting each other, and from observation of others who were trained as brawlers. We've all worked together to help perfect our art, and now the Guild, under the direction of Dalluk, is looking to teach others what we've learned.")
  30. end
  31. function conv_02(NPC, Spawn)
  32. FaceTarget(NPC, Spawn)
  33. conversation = CreateConversation()
  34. PlayAnimation(NPC, "11882")
  35. AddConversationOption(conversation, "How's that? What happened?", "conv_03")
  36. AddConversationOption(conversation, "Then I would guess he is doing a fine job. Farewell.")
  37. StartConversation(conversation, NPC, Spawn, "He is. He is the best of us, without question. It was his idea to start the guild as well, and ultimately through him that we were able to overcome the apathy we were greeted with from those around us.")
  38. end
  39. function conv_03(NPC, Spawn)
  40. FaceTarget(NPC, Spawn)
  41. conversation = CreateConversation()
  42. AddConversationOption(conversation, "Interesting concept. Please go on.", "conv_04")
  43. AddConversationOption(conversation, "Hmm... that's something I'd have to think about. Goodbye for now.")
  44. StartConversation(conversation, NPC, Spawn, "So, as I'm sure you can imagine, we didn't all always just come here to fight. We had trades and duties, and Dalluk was no exception. He is a merchant by trade, selling and buying items from his contacts in Kelethin. The nightly brawls were his way, as with all of us, of a manner of relaxation. It might sound strange that fighting might be relaxing, but we found that you really get to know others and yourself in a brawl.")
  45. end
  46. function conv_04(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. AddConversationOption(conversation, "I see. What happened, then?", "conv_05")
  50. AddConversationOption(conversation, "I'll come back another time. Farewell.")
  51. StartConversation(conversation, NPC, Spawn, "Dalluk was far and away the best of us. He seemed to have a sixth sense about fighting, and even when outnumbered three-to-one, he nearly always came out on top, and when he didn't, he would just laugh and say that he clearly hadn't had enough ale. He was able to watch any of us in a fight, and immediately know our weaknesses and how to counter our moves.")
  52. end
  53. function conv_05(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayAnimation(NPC, "10745")
  57. AddConversationOption(conversation, "That seems rather incredible!", "conv_06")
  58. AddConversationOption(conversation, "That's fascinating, but I must be somewhere. Farewell for now.")
  59. StartConversation(conversation, NPC, Spawn, "It happened that on one of those trips to Faydwer, he came across a young elf mage under attack from aviaks in Butcherblock Mountains. Without hesitation, he jumped into the fray, and began fighting them as he might fight one of us. He claims he remembers little of it, except that once it was over, he was standing, and the aviaks were not. Using the skills we developed here, he was able to defeat armed, deadly creatures.")
  60. end
  61. function conv_06(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. AddConversationOption(conversation, "What did you do?", "conv_07")
  65. AddConversationOption(conversation, "Tell me more about this later. Farewell.")
  66. StartConversation(conversation, NPC, Spawn, "It was! When he returned, he excitedly relayed the story, and insisted that we could use these skills to help others, just as he had helped the mage back in Faydwer. We were dubious ??? the residents here were none too pleased with our activities, and the word of a drunken dwarf and a single elven mage wasn't going to change anyone's minds.")
  67. end
  68. function conv_07(NPC, Spawn)
  69. FaceTarget(NPC, Spawn)
  70. conversation = CreateConversation()
  71. PlayAnimation(NPC, "10745")
  72. AddConversationOption(conversation, "And they accepted you?", "conv_08")
  73. AddConversationOption(conversation, "I actually need to be going. Farewell.")
  74. StartConversation(conversation, NPC, Spawn, "Dalluk had an idea. He reckoned that if we were to receive backing from the monks here in Qeynos, our operation could be legitimized and we could become officially recognized within the city. So, with almost the same vigor that he used to confront the aviaks, he made his way to Elddar to speak with the monks.")
  75. end
  76. function conv_08(NPC, Spawn)
  77. FaceTarget(NPC, Spawn)
  78. conversation = CreateConversation()
  79. PlayAnimation(NPC, "11881")
  80. AddConversationOption(conversation, "He did? What happened?", "conv_09")
  81. AddConversationOption(conversation, "I hope he did well, then. Farewell.")
  82. StartConversation(conversation, NPC, Spawn, "Not hardly. We were nearly laughed out. They believed us undisciplined and unfocused, saying that we would be more of a harm than a help to anyone. The worst of the bunch was Sensei Shoda's right hand, Karuda. He berated our art, and Dalluk in particular. Finally, Dalluk had enough, and challenged him.")
  83. end
  84. function conv_09(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. AddConversationOption(conversation, "How did it go?", "conv_10")
  88. AddConversationOption(conversation, "I have some matters to attend to. I'll return another time.")
  89. StartConversation(conversation, NPC, Spawn, "Karuda didn't believe it at first, and waved us off. But Dalluk didn't move, and said he wasn't leaving without the fight. Karuda refused, and turned to walk away, but Sensei Shoda was there behind him. He ordered Karuda to honor Dalluk's request, and fight him.")
  90. end
  91. function conv_10(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. PlayAnimation(NPC, "11152")
  95. AddConversationOption(conversation, "One hit?? I'll bet Sensei Shoda was furious!", "conv_11")
  96. AddConversationOption(conversation, "That's some story. Let me have you finish it another time.")
  97. StartConversation(conversation, NPC, Spawn, "Karuda was furious. He immediately turned and squared off with Dalluk, and both waited for Sensei Shoda to call the start of the fight. After a few tense seconds, the call came to begin, and Karuda immediately attacked Dalluk. I wish I could have slowed time at that moment. Dalluk simply pulled back his fist, waited for the monk to come close, and then, caught Karuda square in the jaw with his fist. It was over in one punch.")
  98. end
  99. function conv_11(NPC, Spawn)
  100. FaceTarget(NPC, Spawn)
  101. conversation = CreateConversation()
  102. PlayAnimation(NPC, "11882")
  103. AddConversationOption(conversation, "That is quite the story. Well, thank you for your time. I'll take my leave now.")
  104. StartConversation(conversation, NPC, Spawn, "He was, but not with us. He said that it was clear that Karuda let his emotions cloud his view, and that he should always take an opponent seriously. The whole exercise was a lesson for Karuda. Sensei Shoda said he saw strength within us, and told Dalluk that he would offer his backing for our guild. With his support, we received our recognition.")
  105. end