9
3

QueenAntoniaBayle.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/QueenAntoniaBayle.lua
  3. Script Purpose : Queen Antonia Bayle
  4. Script Author : Dorbin
  5. Script Date : 2022.04.25
  6. Script Notes : Queen Antonia Statue Script ***TO BE USED ON ALL CITY ANTONIA STATUES in conjunction with zone scripts
  7. --]]
  8. --Good citizens of Qeynos, many brave souls have undertaken the daunting task of expanding our horizons through exploration. Those of you who helped discover the Feerrott faced dangers of an unearthly and terrifying nature. Qeynos is enriched by your courageous deeds. We bow to you in gratitude. However, we have received alarming reports about that most haunted of places in the Feerrott- the Temple of Cazic Thule. How it appeared in Norrath is yet a mystery.
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function PropB(NPC)
  15. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_propaganda_1_b_e5f9dee6.mp3", "Who performed this miracle? We did. All of us, by our own hands, guided by our vision and the blessings of the gods. Qeynos stands as proof in the power of justice, equality, and compassion. For, as our founding patriarch, Antonius Bayle, would say: If a city will be great, it must first be good! And our city indeed owes its greatness to the goodness and benevolent ideals we citizens uphold.", "converse", 1818828034, 1870559483)
  16. end
  17. function PropC(NPC)
  18. EndSpeech = true
  19. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_propaganda_1_c_1aa755c8.mp3", "In this Age of Destiny, Qeynos blossoms with abundance in both arts and commerce. Our children are nourished in body, mind, and spirit. Scholars, merchants, artisans, soldiers- all of us are welcome here; all of us find ample means and opportunity to share our unique gifts. Our city is a lamp in the darkness, and a clarion call to awaken Norrath from its long nightmare of discord. Let us remember that people in other lands look to us for hope and guidance. We are Norrath's shining example of what civilization really and truly means. But we mustn't fall into complacency and self-satisfaction. There is yet much to be done. There are refugees beyond our gates who do not enjoy the freedoms and rights we take for granted. They scratch out their meager lives in hunger and ignorance. Some flee persecution and violence; others are tormented by the merciless ravages of want. We Qeynosians who live in abundance are called to reach out to these refugees, to open our hearts and hands.", " converse_female02", 3038020523, 1696768651)
  20. end
  21. function PropD(NPC)
  22. EndSpeech = true
  23. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_propaganda_1_d_54e171d.mp3", "Yes, I am proud to call myself a Qeynosian. And I am certain that every one of us here is just as proud, just as grateful, and just as eager to share the light of civilization until it shines in every corner of Norrath. We must be extra vigilant to protect our way of life from the corruption of Freeport, which threatens us night and day. In Freeport, they mock the ideals we hold dear. They would make slaves of each and every one of us if they could. We have all seen examples of their ruthlessness and cruelty, of their total disregard for righteousness, of their deceptive and treacherous ways. We know of their unabated greed, and their appetite for territory. How they snap up lands and goods with no thought for the rights of needs of their victims.", "converse_female03", 2019122145, 3355586847)
  24. end
  25. function PropE(NPC)
  26. EndSpeech = true
  27. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_propaganda_1_e_8dd02ef3.mp3", "But Freeport shall not prevail! We Qeynosians know that the destiny of Norrath is like the sun at dawn, like a great light which begins with a spark and illuminates the land. Qeynos is that spark! Qeynos will spread its light of civilization until nothing and no one remains in darkness! And we are the ones called to carry this light. And so ... everyone ... I beseech thee all to remember that this is indeed the Age Of Destiny. And we Qeynosians are its children, and its acolytes ... and its greatest hope!", " converse_female04", 4080984009, 3907237860)
  28. end
  29. function NewDawnB(NPC)
  30. EndSpeech = true
  31. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_speech_newdawn_b_694279fc.mp3", "And we are all a part of that light, that shining beacon that illuminates Norrath and awakens her from her dark slumber. As Norrath gently turns on her axis and revolves around the sun, each of us becomes a living light that guides all peoples into the Age of Destiny. We are like the stars in the night sky. For Qeynos must lead the way. The ideals which we have championed are the one true hope for peace and prosperity in this world. It is up to Qeynos to show all of Norrath what is possible when truth and justice, equality and mercy are enthroned. I am merely a handmaid to the real rulers: our ideals. These are what we look to for guidance.", "", 982014123, 829335521)
  32. end
  33. function NewDawnC(NPC)
  34. EndSpeech = true
  35. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_speech_newdawn_c_4465cb71.mp3", "And words cannot express the gratitude I feel ... to be entrusted with this august responsibility. To stand here before you and before all of Qeynos fills me with great pride. I know that we will seize every opportunity, this new year, to advance our cause and spread liberty throughout the land! We shall not dwell on failures of times past. Instead we will live for the future. Each of us will strive for the common good, and for the highest ambitions to which we can aspire! This is the meaning of New Dawn Day!", "", 3866349527, 2161431192)
  36. end
  37. function FreeportB(NPC)
  38. EndSpeech = true
  39. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_denouncement_freeport_3_b_f1948507.mp3", "As you know, Lucan has misled his subjects to see him as their savior. No ... their god. He has enthroned himself in the gods' place. He has corrupted the history of Freeport, claiming every victory as his own. His subjects praise him for the rising and setting of the sun. They think he alone holds back the remains of the moon! The truth, however, is too horrible to behold. Lucan ... Lucan D'Lere ... does not even belong among the living. His mortal life was forfeit hundreds of years ago. The monster we see is a corpse, a skeleton with a few shreds of flesh that long for the grave-unnaturally sustained by dark magic. ", "", 2587904628, 1366269418)
  40. end
  41. function FreeportC(NPC)
  42. EndSpeech = true
  43. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_denouncement_freeport_3_c_6283e942.mp3", "This is why Lucan hides in that floating sarcophagus called the Twilight Citadel. His battle armor is really a burial shroud. Any humanity he once possessed has long since passed over into the land of shades. So be on your guard, but take heart. We Qeynosians have more courage than the beaten and terrified subjects of Freeport. We are not afraid of the dead, and will never cower before a sack of bones. Life will triumph in Qeynos, and the burial grounds of Norrath will one day claim their own.", "", 1432372035, 3833716814)
  44. end
  45. function RandomGreeting(NPC, Spawn)
  46. local choice = MakeRandomInt(1,9)
  47. if choice == 1 then
  48. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_578f5fd1.mp3", "We must remain united.", "", 2546826310, 3168168943)
  49. elseif choice == 2 then
  50. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_3f750d3f.mp3", "Good citizen, thank you for your loyalty to Qeynos in her time of need.", "", 3804322354, 768684401)
  51. elseif choice == 3 then
  52. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_3231dd68.mp3", "Only time will tell if we are destined to prevail.", "", 4232919472, 1608431927)
  53. elseif choice == 4 then
  54. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_77a2c0db.mp3", "We owe our success to the ideals we uphold.", "", 1722692490, 2388238708)
  55. elseif choice == 5 then
  56. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_cbcafcc7.mp3", "Remember ... all things shall pass.", "", 3101211730, 2443276883)
  57. elseif choice == 6 then
  58. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_776921e3.mp3", "Do not be afraid. Believe in yourselves, and believe in Qeynos.", "", 956298383, 2870821091)
  59. elseif choice == 7 then
  60. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_6626b0a8.mp3", "I shall always be proud to call myself a Qeynosian.", "", 320835052, 345885614)
  61. elseif choice == 8 then
  62. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_82b8bc23.mp3", "No challenge is too great for the brave and dedicated.", "", 1245844757, 2085854167)
  63. elseif choice == 9 then
  64. PlayFlavor(NPC, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_generic_82b8bc23.mp3", "No challenge is too great for the brave and dedicated.", "", 1245844757, 2085854167)
  65. end
  66. end
  67. -- STATUE ANIMATION
  68. local EndSpeech = true
  69. function visage01(NPC, Spawn)
  70. EndSpeech = false
  71. EmoteLoop(NPC)
  72. end
  73. function EmoteLoop(NPC)
  74. math.randomseed(os.time())
  75. local choice = math.random(1,12)
  76. if choice == 1 then
  77. PlayAnimation(NPC, 13042)
  78. AddTimer(NPC, 5200, "Idle")
  79. elseif choice == 2 then
  80. PlayAnimation(NPC, 13043)
  81. AddTimer(NPC, 4400, "Idle")
  82. elseif choice == 3 then
  83. PlayAnimation(NPC, 13044)
  84. AddTimer(NPC, 6950, "Idle")
  85. elseif choice == 4 then
  86. PlayAnimation(NPC, 13045)
  87. AddTimer(NPC, 5300, "Idle")
  88. elseif choice == 5 then
  89. PlayAnimation(NPC, 13046)
  90. AddTimer(NPC, 3900, "Idle")
  91. elseif choice == 6 then
  92. PlayAnimation(NPC, 13047)
  93. AddTimer(NPC, 4900, "Idle")
  94. elseif choice == 7 then
  95. PlayAnimation(NPC, 13048)
  96. AddTimer(NPC, 4500, "Idle")
  97. elseif choice == 8 then
  98. PlayAnimation(NPC, 13049)
  99. AddTimer(NPC, 3700, "Idle")
  100. elseif choice == 9 then
  101. PlayAnimation(NPC, 13050)
  102. AddTimer(NPC, 3200, "Idle")
  103. elseif choice == 10 then
  104. PlayAnimation(NPC, 13051)
  105. AddTimer(NPC, 4700, "Idle")
  106. elseif choice == 11 then
  107. PlayAnimation(NPC, 13052)
  108. AddTimer(NPC, 3500, "Idle")
  109. else
  110. PlayAnimation(NPC, 13053)
  111. AddTimer(NPC, 3200, "Idle")
  112. end
  113. end
  114. function Idle(NPC)
  115. PlayAnimation(NPC, 13042)
  116. EmoteCheck(NPC)
  117. end
  118. function EndLoop(NPC)
  119. EndSpeech = true
  120. end
  121. function EmoteCheck(NPC)
  122. if EndSpeech == false then
  123. EmoteLoop(NPC)
  124. else
  125. PlayAnimation(NPC, 13042)
  126. end
  127. end