Shrew.lua 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. --[[
  2. Script Name : SpawnScripts/Freeport/Shrew.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.10 07:08:20
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. conversation = CreateConversation()
  13. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major001.mp3", "", "", 2066527864, 955842408, Spawn)
  14. AddConversationOption(conversation, "Red Hoods? Don't you mean Green Hood?", "dlg1")
  15. AddConversationOption(conversation, "I'll tread where I please, thank you.")
  16. StartConversation(conversation, NPC, Spawn, "Careful where you tread, adventurer. You're stepping on official Red Hood training grounds. It'd be shame if a recruit's stray arrow were to embed itself in that shiny forehead of yours.")
  17. end
  18. function dlg1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major002.mp3", "", "", 1277216120, 819304460, Spawn)
  22. AddConversationOption(conversation, "But, you are rangers, are you not?", "dlg2")
  23. StartConversation(conversation, NPC, Spawn, "Mind your tongue, fool! The Green Hoods are nothing more than a bunch of butterfly chasin' nature-lovers. The mere sight of a broken twig causes 'em to break down in tears. The Red Hoods suffer no such weakness.")
  24. end
  25. function dlg2(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major003.mp3", "", "", 2753059694, 3116320414, Spawn)
  29. AddConversationOption(conversation, "Who is the Jackal?", "dlg3")
  30. AddConversationOption(conversation, "I have not time for this.")
  31. StartConversation(conversation, NPC, Spawn, "Such a word has many meanings, does it not? It is true that we track our prey with little effort. Bird and beast tell us where our enemies maneuver. No weapon exists which we cannot wield with deadly efficiency. We are the crimson serpent that lay waiting in the grass for our next victim. Consider yourself lucky that the Jackal has no use for your hide.")
  32. end
  33. function dlg3(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. conversation = CreateConversation()
  36. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major005.mp3", "", "", 3953744124, 1252610896, Spawn)
  37. AddConversationOption(conversation, "No one sent me, I'm just curious about learning more about your order.", "dlg4")
  38. AddConversationOption(conversation, "I've had enough of your accusations. Good day.")
  39. StartConversation(conversation, NPC, Spawn, "Why? Are you a spy? Who hired you? Did Ralem send you?")
  40. end
  41. function dlg4(NPC, Spawn)
  42. FaceTarget(NPC, Spawn)
  43. conversation = CreateConversation()
  44. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major006.mp3", "", "", 2500784709, 3885266374, Spawn)
  45. AddConversationOption(conversation, "...", "dlg5")
  46. AddConversationOption(conversation, "On second thought, I have no time to listen to your story.")
  47. StartConversation(conversation, NPC, Spawn, "Very well, if you really do wish to learn more about our kind, keep your lips sealed and I will tell you the real story of Jackal.")
  48. end
  49. function dlg5(NPC, Spawn)
  50. FaceTarget(NPC, Spawn)
  51. conversation = CreateConversation()
  52. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major007.mp3", "", "", 1064204516, 1861266404, Spawn)
  53. AddConversationOption(conversation, "What happened?", "dlg6")
  54. StartConversation(conversation, NPC, Spawn, "Good. Now, listen up. I don't have time to repeat myself. The real reason Jackal left the Green Hoods was because they failed him when he needed them most.")
  55. end
  56. function dlg6(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major008.mp3", "", "", 2415643148, 332674121, Spawn)
  60. AddConversationOption(conversation, "Continue.", "dlg7")
  61. StartConversation(conversation, NPC, Spawn, "A few years ago, while Jackal was away reconnoitering troop movement outside Deathfist Citadel, a band of orcs stumbled upon one of the Green Hood villages. While the guards easily slew most of the intruders, one orc managed to evade detection by ducking into one of the village cabins.")
  62. end
  63. function dlg7(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major009.mp3", "", "", 609943541, 3963268716, Spawn)
  67. AddConversationOption(conversation, "Continue.", "dlg8")
  68. StartConversation(conversation, NPC, Spawn, "Inside, the orc discovered a sleeping Feir'Dal who went by the alias, Thistle. As the orc approached her bed, she awoke and screamed in horror. Just as the wanton beast was about to bear down upon her, several Green Hoods burst into the room and found the orc holding a blade to the frightened wood elf's throat.")
  69. end
  70. function dlg8(NPC, Spawn)
  71. FaceTarget(NPC, Spawn)
  72. conversation = CreateConversation()
  73. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major010.mp3", "", "", 1772953226, 2247749489, Spawn)
  74. AddConversationOption(conversation, "What happened next?", "dlg9")
  75. StartConversation(conversation, NPC, Spawn, "In haste, the rangers fired their arrows into the fiend's back. The orc howled in pain and rose swiftly, placing Thistle between himself and the rangers. In a crude form of Common he barked for them to stand down lest he slit the elf's neck.")
  76. end
  77. function dlg9(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major011.mp3", "", "", 1375207259, 3836854048, Spawn)
  81. AddConversationOption(conversation, "Go on.", "dlg10")
  82. StartConversation(conversation, NPC, Spawn, "The men reluctantly lowered their bows, allowing the attacker to exit the cabin and escape into the night with the girl thrown over his shoulder. Later, when Jackal returned from his mission, he learned of the attack on the village and the abduction of Thistle.")
  83. end
  84. function dlg10(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major012.mp3", "", "", 156590281, 1165045788, Spawn)
  88. AddConversationOption(conversation, "What did he do?", "dlg11")
  89. StartConversation(conversation, NPC, Spawn, "You see, Thistle was not only a member of the Green Hoods, but also Jackal's betrothed. When he insisted on going after the kidnapper he was met with protest from his commanding officers. There was no hope in finding her alive, they insisted. If anything, Thistle would be used as bait to lure the Green Hoods out of the forest and into a trap set by the Deathfist orcs.")
  90. end
  91. function dlg11(NPC, Spawn)
  92. FaceTarget(NPC, Spawn)
  93. conversation = CreateConversation()
  94. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major013.mp3", "", "", 4231314087, 4195474447, Spawn)
  95. AddConversationOption(conversation, "Did he find her?", "dlg12")
  96. StartConversation(conversation, NPC, Spawn, "Jackal grew furious with his peers and accused them of cowardice. When his friends failed to take his side, Jackal quit the Green Hoods on the spot and went off looking for the orc who had taken his lover.")
  97. end
  98. function dlg12(NPC, Spawn)
  99. FaceTarget(NPC, Spawn)
  100. conversation = CreateConversation()
  101. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major014.mp3", "", "", 3078228813, 3264531529, Spawn)
  102. AddConversationOption(conversation, "That's tragic. Did he ever find the orc responsible for her death?", "dlg13")
  103. StartConversation(conversation, NPC, Spawn, "Not before she was killed, unfortunately. Jackal found Thistle's frail body, beaten and smashed, in a clearing not far from the village. Though he would never admit it to us, I'm certain the pain he felt after losing her was immeasurable.")
  104. end
  105. function dlg13(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major015.mp3", "", "", 2133909690, 124860836, Spawn)
  109. AddConversationOption(conversation, "Continue.", "dlg14")
  110. StartConversation(conversation, NPC, Spawn, "Jackal made finding the murderer his singular focus. For months he stalked the orcs of Deathfist, slaying scores of their kind before he finally tracked down one who knew the identity of the village attacker.")
  111. end
  112. function dlg14(NPC, Spawn)
  113. FaceTarget(NPC, Spawn)
  114. conversation = CreateConversation()
  115. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major016.mp3", "", "", 3529345752, 1398135562, Spawn)
  116. AddConversationOption(conversation, "Why the Commonlands?", "dlg15")
  117. StartConversation(conversation, NPC, Spawn, "He learned that the orc, named Kogrish Nailripper, had a reputation for unpredictable cruelty and had recently killed one of Emperor Fyst's advisors. Rather than sentencing him to his death, the emperor decided to instead banish Kogrish to the Commonlands of D'Lere.")
  118. end
  119. function dlg15(NPC, Spawn)
  120. FaceTarget(NPC, Spawn)
  121. conversation = CreateConversation()
  122. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major017.mp3", "", "", 223471, 574739350, Spawn)
  123. AddConversationOption(conversation, "So, Jackal traveled to D'Lere to hunt down Kogrish?", "dlg16")
  124. StartConversation(conversation, NPC, Spawn, "The Deathfist Empire often exile their criminals and deserters to a newly organized horde known as the Bloodskulls. These orcs wage war against Freeport in hopes of performing some great act which gain them favor with those who cast them out.")
  125. end
  126. function dlg16(NPC, Spawn)
  127. FaceTarget(NPC, Spawn)
  128. conversation = CreateConversation()
  129. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major018.mp3", "", "", 3792117650, 4150316942, Spawn)
  130. AddConversationOption(conversation, "Go on.", "dlg17")
  131. StartConversation(conversation, NPC, Spawn, "Correct. Along his travels, however, he met several who had heard of his tale and wished to join him on his quest for revenge. He named his followers the Red Hoods and taught us the skills he had once learned from his former order.")
  132. end
  133. function dlg17(NPC, Spawn)
  134. FaceTarget(NPC, Spawn)
  135. conversation = CreateConversation()
  136. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major019.mp3", "", "", 636830240, 3421312513, Spawn)
  137. AddConversationOption(conversation, "What brings you to Freeport then?", "dlg18")
  138. StartConversation(conversation, NPC, Spawn, "Now we defend the innocent travelers who make the arduous journey across D'Lere, ever vigilant for signs of Kogrish Nailripper.")
  139. end
  140. function dlg18(NPC, Spawn)
  141. FaceTarget(NPC, Spawn)
  142. conversation = CreateConversation()
  143. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major020.mp3", "", "", 2970808950, 3130689863, Spawn)
  144. AddConversationOption(conversation, "You tell a fascinating tale. Thank you for your sharing it.")
  145. AddConversationOption(conversation, "Rangers, no matter their business, have no place here in Freeport!")
  146. AddConversationOption(conversation, "Can I become a Red Hood?", "redhood")
  147. StartConversation(conversation, NPC, Spawn, "Our business here is our own. Suffice to say, the Overlord is sympathetic to our cause and has offered to assist us in our quest. In exchange for his knowledge, Jackal has agreed to garrison several of us here to help defend Freeport's battlements with our bows. Additionally, we've agreed to teach those who we deem worthy the arts of a ranger.")
  148. end
  149. function redhood(NPC, Spawn)
  150. FaceTarget(NPC, Spawn)
  151. conversation = CreateConversation()
  152. PlayFlavor(NPC, "shrew/fprt_south/ranger_lore_major/ranger_lore_major023.mp3", "", "", 1652730082, 3821660271, Spawn)
  153. AddConversationOption(conversation, "Very well, good-bye.")
  154. AddConversationOption(conversation, "I'm not sure whether to take that as a compliment or a threat.")
  155. StartConversation(conversation, NPC, Spawn, "You have already forged your destiny, adventurer. The Red Hoods have little need of your profession. We will, however, watch over you during your time here. Go now, know that the deadliest of bowmen watch your back.")
  156. end
  157. function respawn(NPC)
  158. end