NorthQeynos.lua 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. SetLocationProximityFunction(Zone,293.00, -18.10, -20.88, 12, "ClaymorePlaza","LeaveLocation")
  11. SetLocationProximityFunction(Zone,473.95, -18.76, -345.05, 18, "IronforgeEstate","LeaveLocation")
  12. end
  13. function ClaymorePlaza(Zone,Player)
  14. SendPopUpMessage(Player, "The Claymore Plaza", 255, 255, 0)
  15. end
  16. function IronforgeEstate(Zone,Player)
  17. SendPopUpMessage(Player, "The Ironforge Estate", 255, 255, 0)
  18. end
  19. function player_entry(Zone, Player)
  20. SendPopUpMessage(Player, "North Qeynos", 230, 230, 230)
  21. end
  22. function dawn(Zone)
  23. local Antonia = GetSpawnByLocationID(Zone,379658)
  24. if Antonia ~=nil then
  25. local choice = MakeRandomInt(1,5) -- Antonia's Speechs - #5 represents a skipped speech
  26. if choice == 1 then
  27. PlayAnimation(Antonia, 10756)
  28. AddTimer(Antonia, 2000, "visage01")
  29. 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)
  30. AddTimer(Antonia, 55000, "PropB",1)
  31. AddTimer(Antonia, 87000, "PropD",1)
  32. AddTimer(Antonia, 137000,"PropE",1)
  33. AddTimer(Antonia, 177000, "EndLoop",1)
  34. elseif choice == 2 then
  35. PlayAnimation(Antonia, 10756)
  36. AddTimer(Antonia, 2000, "visage01")
  37. 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)
  38. AddTimer(Antonia, 47000, "NewDawnB",1)
  39. AddTimer(Antonia, 97000, "NewDawnC",1)
  40. AddTimer(Antonia, 133000, "EndLoop",1)
  41. elseif choice ==3 then
  42. PlayAnimation(Antonia, 10756)
  43. AddTimer(Antonia, 2000, "visage01")
  44. local check = MakeRandomInt(1,2)
  45. if check ==1 then
  46. 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)
  47. AddTimer(Antonia, 39500, "FreeportB",1)
  48. AddTimer(Antonia, 86000, "FreeportC",1)
  49. AddTimer(Antonia, 124000, "EndLoop",1)
  50. elseif check ==2 then
  51. 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)
  52. AddTimer(Antonia, 36000, "FreeportB",1)
  53. AddTimer(Antonia, 83000, "FreeportC",1)
  54. AddTimer(Antonia, 117000, "EndLoop",1)
  55. end
  56. elseif choice ==4 then
  57. PlayAnimation(Antonia, 10756)
  58. AddTimer(Antonia, 2000, "visage01")
  59. 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)
  60. AddTimer(Antonia, 36000, "PropC",1)
  61. AddTimer(Antonia, 106000,"PropE",1)
  62. AddTimer(Antonia, 144000, "EndLoop",1)
  63. elseif choice ==5 then
  64. RandomGreeting(Antonia)
  65. end
  66. end
  67. end
  68. function dusk(Zone)
  69. local Antonia = GetSpawnByLocationID(Zone,379658)
  70. if Antonia ~=nil then
  71. RandomGreeting(Antonia)
  72. end
  73. end