qeynos_combined02.lua 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. --[[
  2. Script Name : ZoneScripts/NorthQeynos.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.04.25 03:04:09
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/NorthQeynos/QueenAntoniaBayle.lua")
  9. function init_zone_script(Zone)
  10. end
  11. function player_entry(zone, player)
  12. SendPopUpMessage(Player, "Qeynos Province District", 230, 230, 230)
  13. end
  14. function dawn(Zone) -- ANTONIA SATUE ANIMATION
  15. local Antonia = GetSpawnByLocationID(Zone,570562)
  16. local Antonia2 = GetSpawnByLocationID(Zone,570561)
  17. local choice = MakeRandomInt(1,4)
  18. if Antonia ~=nil then
  19. if choice == 1 then
  20. PlayAnimation(Antonia, 10756)
  21. AddTimer(Antonia, 2000, "visage01")
  22. ProbA(Antonia)
  23. AddTimer(Antonia, 55000, "PropB",1)
  24. AddTimer(Antonia, 85000, "PropC",1)
  25. AddTimer(Antonia, 147000, "PropD",1)
  26. AddTimer(Antonia, 196000,"PropE",1)
  27. AddTimer(Antonia, 233000, "RandomGreeting",1)
  28. AddTimer(Antonia, 233000, "EndLoop",1)
  29. elseif choice == 2 then
  30. PlayAnimation(Antonia, 10756)
  31. AddTimer(Antonia, 2000, "visage01")
  32. NewDawnA(Antonia)
  33. AddTimer(Antonia, 47000, "NewDawnB",1)
  34. AddTimer(Antonia, 97000, "NewDawnC",1)
  35. AddTimer(Antonia, 134000, "EndLoop",1)
  36. --AddTimer(Antonia, 135000, "RandomGreeting",1)
  37. elseif choice ==3 then
  38. PlayAnimation(Antonia, 10756)
  39. AddTimer(Antonia, 2000, "visage01")
  40. local check = MakeRandomInt(1,2)
  41. if check ==1 then
  42. FreeportA(Antonia)
  43. AddTimer(Antonia, 39000, "FreeportB",1)
  44. AddTimer(Antonia, 86000, "FreeportC",1)
  45. AddTimer(Antonia, 120000, "RandomGreeting",1)
  46. elseif check ==2 then
  47. FreeportA2(Antonia)
  48. AddTimer(Antonia, 36000, "FreeportB",1)
  49. AddTimer(Antonia, 83000, "FreeportC",1)
  50. AddTimer(Antonia, 117000, "RandomGreeting",1)
  51. AddTimer(Antonia, 117000, "EndLoop",1)
  52. end
  53. else
  54. RandomGreeting(Antonia)
  55. end
  56. end
  57. if Antonia2 ~=nil then
  58. if choice == 1 then
  59. PlayAnimation(Antonia2, 10756)
  60. AddTimer(Antonia2, 2000, "visage01")
  61. ProbA(Antonia2)
  62. AddTimer(Antonia2, 55000, "PropB",1)
  63. AddTimer(Antonia2, 85000, "PropC",1)
  64. AddTimer(Antonia2, 147000, "PropD",1)
  65. AddTimer(Antonia2, 196000,"PropE",1)
  66. AddTimer(Antonia2, 233000, "RandomGreeting",1)
  67. AddTimer(Antonia2, 233000, "EndLoop",1)
  68. elseif choice == 2 then
  69. PlayAnimation(Antonia2, 10756)
  70. AddTimer(Antonia2, 2000, "visage01")
  71. NewDawnA(Antonia2)
  72. AddTimer(Antonia2, 47000, "NewDawnB",1)
  73. AddTimer(Antonia2, 97000, "NewDawnC",1)
  74. AddTimer(Antonia2, 134000, "EndLoop",1)
  75. --AddTimer(Antonia, 135000, "RandomGreeting",1)
  76. elseif choice ==3 then
  77. PlayAnimation(Antonia2, 10756)
  78. AddTimer(Antonia2, 2000, "visage01")
  79. local check = MakeRandomInt(1,2)
  80. if check ==1 then
  81. FreeportA(Antonia2)
  82. AddTimer(Antonia2, 39000, "FreeportB",1)
  83. AddTimer(Antonia2, 86000, "FreeportC",1)
  84. AddTimer(Antonia2, 120000, "RandomGreeting",1)
  85. elseif check ==2 then
  86. FreeportA2(Antonia2)
  87. AddTimer(Antonia2, 36000, "FreeportB",1)
  88. AddTimer(Antonia2, 83000, "FreeportC",1)
  89. AddTimer(Antonia2, 117000, "RandomGreeting",1)
  90. AddTimer(Antonia2, 117000, "EndLoop",1)
  91. end
  92. else
  93. RandomGreeting(Antonia2)
  94. end
  95. end
  96. end
  97. function dusk(Zone)
  98. local Antonia = GetSpawnByLocationID(Zone,570562)
  99. local Antonia2 = GetSpawnByLocationID(Zone,570561)
  100. if Antonia ~=nil then
  101. RandomGreeting(Antonia)
  102. end
  103. if Antonia2 ~=nil then
  104. RandomGreeting(Antonia2)
  105. end
  106. end
  107. function ProbA(Antonia)
  108. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_propaganda_1_a_c81e36af.mp3", "Good people of Qeynos, we gather today in honor of our city. We citizens have great reason to be proud, for Qeynos has proven its worth through times of struggle and adversity. It has risen from the chaos and darkness of the Age of Cataclysms to become first among all the cities of Norrath. Qeynos- city of valor and defender of the meek. These are not empty words; even those far beyond our borders speak of our accomplishments! Everyone, look around you. The beautiful towers and spires, the gardens, buildings and bustling market places- we live in a paradise without equal. It is hard to believe there was once a time when Qeynos lay in ruins, its streets mired. But our city has returned to life with even greater splendor.", "converse_female02", 724319904, 1189766476)
  109. end
  110. function NewDawnA(Antonia)
  111. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_speech_newdawn_a_c02fffe6.mp3", "Good people of Qeynos, I declare this to be a day of festivities. Welcome everyone to our New Dawn Day celebration! The old year has passed; we stand at the threshold of a new year, full of promise and opportunity. May this be a time to reflect upon our past while looking ahead to a glorious future! One may ask, \"Why do we call the start of the new year 'New Dawn Day'?\" I believe it is because Qeynos is like the sun in early morning. We already shine with an unmatched brilliance, but our full power has yet to come forth into the world. We have only seen a sliver of our city's golden destiny!", "", 3189486571, 2780192347)
  112. end
  113. function FreeportA(Antonia)
  114. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_denouncement_freeport_3_a_92172058.mp3", "Fellow Qeynosians, gather around and listen closely. If my voice sounds strained, it is because of the grave and morbid subject of which I speak. I had prayed that such disturbing words need never be spoken in Qeynos. But these are times of great danger, and you must be warned. Our enemy, Lucan D'Lere, the tyrant of Freeport, is no ordinary, mortal foe. He is no mere renegade General who has allowed his personal ambition to usurp his proper loyalties. What I am about to say will horrify you.", "", 3011381199, 3373600464)
  115. end
  116. function FreeportA2(Antonia)
  117. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_denouncement_freeport_2_a_70f7471b.mp3", "Good people of Qeynos, hear me! There is more you must know about our enemy, Freeport. Our trusted Qeynosian agents have observed the enemy closely keeping a vigilant watch they have brought us news so we may arm and fortify ourselves. If we are to stand up for our city and protect her virture from the forces of evil, we must be wise to the ways of evil. We must have knowledge of Freeport's true nature, lest anyone here be lead astray by its propoganda. Listen carefully fellow citizens!", "", 4187125073, 1375449316)
  118. end
  119. -- Statue Diff
  120. function ProbA_2(Antonia2)
  121. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_propaganda_1_a_c81e36af.mp3", "Good people of Qeynos, we gather today in honor of our city. We citizens have great reason to be proud, for Qeynos has proven its worth through times of struggle and adversity. It has risen from the chaos and darkness of the Age of Cataclysms to become first among all the cities of Norrath. Qeynos- city of valor and defender of the meek. These are not empty words; even those far beyond our borders speak of our accomplishments! Everyone, look around you. The beautiful towers and spires, the gardens, buildings and bustling market places- we live in a paradise without equal. It is hard to believe there was once a time when Qeynos lay in ruins, its streets mired. But our city has returned to life with even greater splendor.", "converse_female02", 724319904, 1189766476)
  122. end
  123. function NewDawnA_2(Antonia2)
  124. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_speech_newdawn_a_c02fffe6.mp3", "Good people of Qeynos, I declare this to be a day of festivities. Welcome everyone to our New Dawn Day celebration! The old year has passed; we stand at the threshold of a new year, full of promise and opportunity. May this be a time to reflect upon our past while looking ahead to a glorious future! One may ask, \"Why do we call the start of the new year 'New Dawn Day'?\" I believe it is because Qeynos is like the sun in early morning. We already shine with an unmatched brilliance, but our full power has yet to come forth into the world. We have only seen a sliver of our city's golden destiny!", "", 3189486571, 2780192347)
  125. end
  126. function FreeportA_2(Antonia2)
  127. PlayFlavor(Antonia, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_denouncement_freeport_3_a_92172058.mp3", "Fellow Qeynosians, gather around and listen closely. If my voice sounds strained, it is because of the grave and morbid subject of which I speak. I had prayed that such disturbing words need never be spoken in Qeynos. But these are times of great danger, and you must be warned. Our enemy, Lucan D'Lere, the tyrant of Freeport, is no ordinary, mortal foe. He is no mere renegade General who has allowed his personal ambition to usurp his proper loyalties. What I am about to say will horrify you.", "", 3011381199, 3373600464)
  128. end
  129. function FreeportA2_2(Antonia2)
  130. PlayFlavor(Antonia2, "voiceover/english/queen_antonia_bayle/qey_north/eco_200_statue_queen_antonia_bayle_denouncement_freeport_2_a_70f7471b.mp3", "Good people of Qeynos, hear me! There is more you must know about our enemy, Freeport. Our trusted Qeynosian agents have observed the enemy closely keeping a vigilant watch they have brought us news so we may arm and fortify ourselves. If we are to stand up for our city and protect her virture from the forces of evil, we must be wise to the ways of evil. We must have knowledge of Freeport's true nature, lest anyone here be lead astray by its propoganda. Listen carefully fellow citizens!", "", 4187125073, 1375449316)
  131. end