9
3

ElddarGrove.lua 9.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. --[[
  2. Script Name : ZoneScripts/ElddarGrove.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.04.27 04:04:32
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/NorthQeynos/QueenAntoniaBayle.lua")
  9. function init_zone_script(Zone)
  10. SetLocationProximityFunction(Zone,659.21, -10.21, -376.89, 12, "Arbos","LeaveLocation")
  11. end
  12. function player_entry(Zone, Player)
  13. SendPopUpMessage(Player, "The Elddar Grove", 230, 230, 230)
  14. end
  15. function Arbos(Zone,Player)
  16. SendPopUpMessage(Player, "Arbos, The Great Tree", 255, 255, 0)
  17. end
  18. function dawn(Zone)
  19. local Antonia = GetSpawnByLocationID(Zone,412938)
  20. if Antonia ~=nil then
  21. local choice = MakeRandomInt(1,5) -- Atonia's Speechs - #5 represents a skipped speech
  22. if choice == 1 then
  23. PlayAnimation(Antonia, 10756)
  24. AddTimer(Antonia, 2000, "visage01")
  25. 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.", "", 724319904, 1189766476)
  26. AddTimer(Antonia, 55000, "PropB",1)
  27. AddTimer(Antonia, 87000, "PropD",1)
  28. AddTimer(Antonia, 137000,"PropE",1)
  29. AddTimer(Antonia, 177000, "EndLoop",1)
  30. elseif choice == 2 then
  31. PlayAnimation(Antonia, 10756)
  32. AddTimer(Antonia, 2000, "visage01")
  33. 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)
  34. AddTimer(Antonia, 47000, "NewDawnB",1)
  35. AddTimer(Antonia, 97000, "NewDawnC",1)
  36. AddTimer(Antonia, 133000, "EndLoop",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. 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)
  43. AddTimer(Antonia, 39500, "FreeportB",1)
  44. AddTimer(Antonia, 86000, "FreeportC",1)
  45. AddTimer(Antonia, 124000, "EndLoop",1)
  46. elseif check ==2 then
  47. 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)
  48. AddTimer(Antonia, 36000, "FreeportB",1)
  49. AddTimer(Antonia, 83000, "FreeportC",1)
  50. AddTimer(Antonia, 117000, "EndLoop",1)
  51. end
  52. elseif choice ==4 then
  53. PlayAnimation(Antonia, 10756)
  54. AddTimer(Antonia, 2000, "visage01")
  55. 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)
  56. AddTimer(Antonia, 36000, "PropC",1)
  57. AddTimer(Antonia, 106000,"PropE",1)
  58. AddTimer(Antonia, 144000, "EndLoop",1)
  59. elseif choice ==5 then
  60. RandomGreeting(Antonia)
  61. end
  62. end
  63. end
  64. function dusk(Zone)
  65. local Antonia = GetSpawnByLocationID(Zone,412938)
  66. if Antonia ~=nil then
  67. RandomGreeting(Antonia)
  68. end
  69. end
  70. function ProbA(Antonia)
  71. 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)
  72. end
  73. function NewDawnA(Antonia)
  74. 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)
  75. end
  76. function FreeportA(Antonia)
  77. 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)
  78. end
  79. function FreeportA2(Antonia)
  80. 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)
  81. end