Magic Number cleanup - First pass

This commit is contained in:
Trust 2023-08-13 17:16:42 -04:00
parent b2926f321e
commit e605d8beb4
409 changed files with 1068 additions and 1068 deletions

View file

@ -11,10 +11,10 @@ function event_say(e)
end
if (e.message:findi("hail")) then
if (bit.band(turnins, 1024) ~= 0) then
e.other:Message(12, "Aprilia Marrow covers her face and mumbles. 'Thank you for helping me. Please do the same for the others if you can.'")
e.other:Message(MT.DarkGray, "Aprilia Marrow covers her face and mumbles. 'Thank you for helping me. Please do the same for the others if you can.'")
elseif (greatadventures > 0) then
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
e.other:Message(12, "Aprilia Marrow groans softly as she turns to face you. 'Please leave me be. My darling Prathun has yet to return to me and each day weakens my resolve. I know in my heart he is out there somewhere, but with no word since the day he left, I fear that my heart may be wrong. If only I had something that would let me know what has happened to him.'")
e.other:Message(MT.DarkGray, "Aprilia Marrow groans softly as she turns to face you. 'Please leave me be. My darling Prathun has yet to return to me and each day weakens my resolve. I know in my heart he is out there somewhere, but with no word since the day he left, I fear that my heart may be wrong. If only I had something that would let me know what has happened to him.'")
end
end
end

View file

@ -66,7 +66,7 @@ function event_say(e)
end
elseif (e.message:findi("unless")) then
if (greatadventures == 7) then
e.other:Message(12, "De`van Szostek says 'You seem quite interested in what I have said here and while I could be wrong, when I look at you I see a glimpse of the same honor-filled spirit I saw in them. I know it may be too much to ask, but we have all been suffering for a long time and... well, if you ever find yourself inside Tacvi, and you come across the remains of an adventurer, bring back what you find. For me, I would like to have the writings of Xenaida, Wijdan, Rytan, Kaikachi, Vahlara, Frizznik, Zajeer, and Valtron. As for the rest of them, I would ask that you return their memories to the six they left here on the boat. While this task is not an easy one, I shall handsomely reward anyone who returns all of these things to the proper people.'")
e.other:Message(MT.DarkGray, "De`van Szostek says 'You seem quite interested in what I have said here and while I could be wrong, when I look at you I see a glimpse of the same honor-filled spirit I saw in them. I know it may be too much to ask, but we have all been suffering for a long time and... well, if you ever find yourself inside Tacvi, and you come across the remains of an adventurer, bring back what you find. For me, I would like to have the writings of Xenaida, Wijdan, Rytan, Kaikachi, Vahlara, Frizznik, Zajeer, and Valtron. As for the rest of them, I would ask that you return their memories to the six they left here on the boat. While this task is not an easy one, I shall handsomely reward anyone who returns all of these things to the proper people.'")
end
elseif (e.message:findi("task is complete")) then
if (turnins == 16383) then -- completed!

View file

@ -11,10 +11,10 @@ function event_say(e)
end
if (e.message:findi("hail")) then
if (bit.band(turnins, 4096) ~= 0) then
e.other:Message(12, "Gizzmu the Wise says 'Thank you for your kindness. With people like you around Norrath may yet make it through this.'")
e.other:Message(MT.DarkGray, "Gizzmu the Wise says 'Thank you for your kindness. With people like you around Norrath may yet make it through this.'")
elseif (greatadventures > 0) then
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
e.other:Message(12, "Gizzmu the Wise says 'Forgive me but sometimes I get so distracted when I stare out at the water here. I hate this feeling of worry that has overcome me. Here I am waiting for my son's return and yet something keeps telling me my wait is for naught. He is not coming back that is all I can think, but something keeps me hoping. I am sure you have heard our story, there are several others on this ship who have been awaiting the return of the 14 adventurers who set out to stop the Force Commander, one of them was my son Maddoc. While I am close to giving up, I would at least like to have something of his to remember him by. Something I can keep with me so I know somehow he is still looking out for me.'")
e.other:Message(MT.DarkGray, "Gizzmu the Wise says 'Forgive me but sometimes I get so distracted when I stare out at the water here. I hate this feeling of worry that has overcome me. Here I am waiting for my son's return and yet something keeps telling me my wait is for naught. He is not coming back that is all I can think, but something keeps me hoping. I am sure you have heard our story, there are several others on this ship who have been awaiting the return of the 14 adventurers who set out to stop the Force Commander, one of them was my son Maddoc. While I am close to giving up, I would at least like to have something of his to remember him by. Something I can keep with me so I know somehow he is still looking out for me.'")
end
end
end

View file

@ -11,10 +11,10 @@ function event_say(e)
end
if (e.message:findi("hail")) then
if (bit.band(turnins, 8192) ~= 0) then
e.other:Message(12, "Irena Pereira says 'From one warrior to another, thanks for what you did. Absor's memory will live on with me.'")
e.other:Message(MT.DarkGray, "Irena Pereira says 'From one warrior to another, thanks for what you did. Absor's memory will live on with me.'")
elseif (greatadventures > 0) then
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
e.other:Message(12, "Irena Pereira says 'You must be the one De'van spoke to. I'm not looking for any of your help. I know that the mighty Absor will return someday and until I am proven wrong I will continue to wait for him to arrive.'")
e.other:Message(MT.DarkGray, "Irena Pereira says 'You must be the one De'van spoke to. I'm not looking for any of your help. I know that the mighty Absor will return someday and until I am proven wrong I will continue to wait for him to arrive.'")
end
end
end

View file

@ -11,10 +11,10 @@ function event_say(e)
end
if (e.message:findi("hail")) then
if (bit.band(turnins, 2048) ~= 0) then
e.other:Message(12, "Jenna Gurell stares past you as she replays a past memory in her mind. 'While I thank you for what you have done, the sight of you saddens me. Please leave me be there are others who could use your help.'")
e.other:Message(MT.DarkGray, "Jenna Gurell stares past you as she replays a past memory in her mind. 'While I thank you for what you have done, the sight of you saddens me. Please leave me be there are others who could use your help.'")
elseif (greatadventures > 0) then
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
e.other:Message(12, "Jenna Gurell says 'Please do not disturb me. I am mourning the loss of my dear Rashere. While I do not know if his fate has yet been sealed the empty feeling in my heart tells me so. If only I could see him once more, if only I could read his words again.'")
e.other:Message(MT.DarkGray, "Jenna Gurell says 'Please do not disturb me. I am mourning the loss of my dear Rashere. While I do not know if his fate has yet been sealed the empty feeling in my heart tells me so. If only I could see him once more, if only I could read his words again.'")
end
end
end

View file

@ -11,10 +11,10 @@ function event_say(e)
end
if (e.message:findi("hail")) then
if (bit.band(turnins, 256) ~= 0) then
e.other:Message(12, "Sophia Florence says 'Thank you again for what you have done, I will forever be in your debt.'")
e.other:Message(MT.DarkGray, "Sophia Florence says 'Thank you again for what you have done, I will forever be in your debt.'")
elseif (greatadventures > 0) then
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
e.other:Message(12, "Sophia Florence wipes away a tear as she turns to face you. Hello, " .. e.other:GetName() .. ", sorry if I seem somewhat antisocial but it has been many days since I last saw my father Lyndro and as each hour passes the possibility that he may never return becomes more apparent. While I have not given up hope it gets harder each day not to. If he is never to return to me I wish that I had something to remember him by, something that let me know he died just as brave a man as he has always been.")
e.other:Message(MT.DarkGray, "Sophia Florence wipes away a tear as she turns to face you. Hello, " .. e.other:GetName() .. ", sorry if I seem somewhat antisocial but it has been many days since I last saw my father Lyndro and as each hour passes the possibility that he may never return becomes more apparent. While I have not given up hope it gets harder each day not to. If he is never to return to me I wish that I had something to remember him by, something that let me know he died just as brave a man as he has always been.")
end
end
end

View file

@ -16,7 +16,7 @@ function event_trade(e)
e.other:SummonItem(18398); -- Raging Taelosian Alloy Axe (Epic 1.5)
e.other:AddAAPoints(5);
e.other:Ding();
e.other:Message(15,'You have gained 5 ability points!');
e.other:Message(MT.Yellow,'You have gained 5 ability points!');
eq.set_global("berserk_epic","7",5,"F");
end
item_lib.return_items(e.self, e.other, e.trade);

View file

@ -11,10 +11,10 @@ function event_say(e)
end
if (e.message:findi("hail")) then
if (bit.band(turnins, 512) ~= 0) then
e.other:Message(12, "Verna Abella says 'Your kindness is truly wonderful. Thank you for helping place him to rest.'")
e.other:Message(MT.DarkGray, "Verna Abella says 'Your kindness is truly wonderful. Thank you for helping place him to rest.'")
elseif (greatadventures > 0) then
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
e.other:Message(12, "Verna Abella seems to be deep in thought. She ignores you at first but eventually turns towards you with a somber look on her face. 'Forgive me. I am not much of a talker these days since Silius left on his journey with Lyndro and the others. Sitting here everyday wishing that they would return has consumed me to the point that I can do nothing else. If only I had some proof of what has happened to Silius. Anything at all would help me in this time of wonder and worry.'")
e.other:Message(MT.DarkGray, "Verna Abella seems to be deep in thought. She ignores you at first but eventually turns towards you with a somber look on her face. 'Forgive me. I am not much of a talker these days since Silius left on his journey with Lyndro and the others. Sitting here everyday wishing that they would return has consumed me to the point that I can do nothing else. If only I had some proof of what has happened to Silius. Anything at all would help me in this time of wonder and worry.'")
end
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18770)) then
e.other:Message(15,"Baxok Curhunter, a jittery older looking gnome appears to be startled. 'Well hello there. You scared me! You young ones always popping up here and there. You would think there is a hidden tunnel somewhere around here the way you just popped up near me. Well no matter. If you are here to train with the warriors of Gemchopper Hall, read the note in your inventory and hand it to me to begin your training.'");
e.other:Message(MT.Yellow,"Baxok Curhunter, a jittery older looking gnome appears to be startled. 'Well hello there. You scared me! You young ones always popping up here and there. You would think there is a hidden tunnel somewhere around here the way you just popped up near me. Well no matter. If you are here to train with the warriors of Gemchopper Hall, read the note in your inventory and hand it to me to begin your training.'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18771)) then
e.other:Message(15,"A diminutive, but powerful looking gnome stands before you. 'I am Eonis Mournunder. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
e.other:Message(MT.Yellow,"A diminutive, but powerful looking gnome stands before you. 'I am Eonis Mournunder. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18769)) then
e.other:Message(15,"Evah Xokex, a diminutive, but powerful looking gnome turns to address you. 'I am Evah Xokez. The Dark Reflection has called you. Read the note in your inventory and hand it to me to start your training. Your destiny awaits!");
e.other:Message(MT.Yellow,"Evah Xokex, a diminutive, but powerful looking gnome turns to address you. 'I am Evah Xokez. The Dark Reflection has called you. Read the note in your inventory and hand it to me to start your training. Your destiny awaits!");
end
end

View file

@ -16,7 +16,7 @@ function event_say(e)
elseif(e.message:findi("interesting ore")) then
e.self:Say("We've found some strange items off the dead in the dungeons. At first we just thought they were simple things -- rocks, pebbles, gems, and the like -- and then we noticed they had very unusual auras about them. Well, one day, Morden Rasp was toying with one -- a shiny green shard -- and he went to scrape it with his dagger. Suddenly, the shard began to reform and fused with his dagger. While the dagger remained as fine as ever, Morden himself felt a surge of strength! So, you will want to watch out for these strange magic pieces in the world. Now, I suggest you go talk to Selephra Giztral, Barstre Songweaver, Vual Stoutest, Teria Grinntli, or Ruanya Windleaf. They handle all of those who are interested in working for the Wayfarers Brotherhood and getting rewards. Remember well what I've told you!");
if(qglobals.Wayfarer == nil) then
e.other:Message(15,"You have completed a step toward becoming a great adventurer. Well done!");
e.other:Message(MT.Yellow,"You have completed a step toward becoming a great adventurer. Well done!");
eq.set_global("Wayfarer","1",5,"F");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18434) == true) then
e.other:Message(15,"A diminutive, but powerful looking gnome stands before you. 'I am Garret Zethkog. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
e.other:Message(MT.Yellow,"A diminutive, but powerful looking gnome stands before you. 'I am Garret Zethkog. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18775) == true) then
e.other:Message(15,"Iony Gredlong's tiny voice echoes throughout the room. 'Welcome to the Abbey of Deep Musing " .. e.other:GetName() .. ". I am Iony Gredlong, your new Guild Master should you accept the ways of the Clerics of the Deep Muses. Read the note in your inventory and then hand it to me when you are ready to begin your training.'");
e.other:Message(MT.Yellow,"Iony Gredlong's tiny voice echoes throughout the room. 'Welcome to the Abbey of Deep Musing " .. e.other:GetName() .. ". I am Iony Gredlong, your new Guild Master should you accept the ways of the Clerics of the Deep Muses. Read the note in your inventory and then hand it to me when you are ready to begin your training.'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18773) == true) then
e.other:Message(15,"A beautiful gnomish woman stands before you. 'Welcome to the Library Mechanimagica young apprentice. I am Juline Urncaller, Master Enchanter. Read the note in your inventory and then hand it to me so that we can begin your training.'");
e.other:Message(MT.Yellow,"A beautiful gnomish woman stands before you. 'Welcome to the Library Mechanimagica young apprentice. I am Juline Urncaller, Master Enchanter. Read the note in your inventory and then hand it to me so that we can begin your training.'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18705) == true) then
e.other:Message(15,"A diminutive, but powerful looking gnome stands before you. 'I am Kaxon Frennor. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
e.other:Message(MT.Yellow,"A diminutive, but powerful looking gnome stands before you. 'I am Kaxon Frennor. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
end
end

View file

@ -9,7 +9,7 @@ end
function event_enter(e)
if(e.other:HasItem(18433) == true) then
e.other:Message(15,"An older, male gnome addresses you as you attempt to get your bearings. 'Welcome young apprentice to the Abbey of Deep Musings. I am Lewis Reldnok. Read the note in your inventory and hand it to me when you wish to begin your training.'");
e.other:Message(MT.Yellow,"An older, male gnome addresses you as you attempt to get your bearings. 'Welcome young apprentice to the Abbey of Deep Musings. I am Lewis Reldnok. Read the note in your inventory and hand it to me when you wish to begin your training.'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18759) == true) then
e.other:Message(15,"A diminutive, but powerful looking gnome stands before you. 'I am Naygog Mitope. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
e.other:Message(MT.Yellow,"A diminutive, but powerful looking gnome stands before you. 'I am Naygog Mitope. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18703) == true) then
e.other:Message(15,"An evil cackle echoes throughout the mines as you get your bearings. Rilgor Plegnog turns his gaze upon you. 'Why do you stand about young apprentice?! There is much to learn. Read the note in your inventory and then hand it to me so that we can begin your training! The Dark Reflection will have its revenge!'");
e.other:Message(MT.Yellow,"An evil cackle echoes throughout the mines as you get your bearings. Rilgor Plegnog turns his gaze upon you. 'Why do you stand about young apprentice?! There is much to learn. Read the note in your inventory and then hand it to me so that we can begin your training! The Dark Reflection will have its revenge!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18774) == true) then
e.other:Message(15,"A wise looking gnome stands before you. 'Welcome to the Library Mechanimagica young apprentice. I am Tobon Starpyre. Read the note in your inventory and give it to me so that we may begin your training'");
e.other:Message(MT.Yellow,"A wise looking gnome stands before you. 'Welcome to the Library Mechanimagica young apprentice. I am Tobon Starpyre. Read the note in your inventory and give it to me so that we may begin your training'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18702) == true) then
e.other:Message(15,"An evil cackle echoes throughout the mines as you get your bearings. Vaenor Husga turns his gaze upon you. 'Why do you stand about young apprentice?! There is much to learn. Read the note in your inventory and then hand it to me so that we can begin your training! The Dark Reflection will have its revenge!'");
e.other:Message(MT.Yellow,"An evil cackle echoes throughout the mines as you get your bearings. Vaenor Husga turns his gaze upon you. 'Why do you stand about young apprentice?! There is much to learn. Read the note in your inventory and then hand it to me so that we can begin your training! The Dark Reflection will have its revenge!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18704) == true) then
e.other:Message(15,"A diminutive, but powerful looking gnome stands before you. 'I am Velena Corgtec. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
e.other:Message(MT.Yellow,"A diminutive, but powerful looking gnome stands before you. 'I am Velena Corgtec. The Dark Reflection has called you. Read the note in your inventory and hand it to me when you wish to begin your training. Your destiny awaits!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18776) == true) then
e.other:Message(15,"A voice echoes throughout the room as you take in your surroundings. 'Hey you! This is Welno Tanlonikan. Remember me? Read the note in your inventory and then hand it to me. Hurry up! We don't have all day! You owe me a lot of money!'");
e.other:Message(MT.Yellow,"A voice echoes throughout the room as you take in your surroundings. 'Hey you! This is Welno Tanlonikan. Remember me? Read the note in your inventory and then hand it to me. Hurry up! We don't have all day! You owe me a lot of money!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18772) == true) then
e.other:Message(15,"An older, male gnome stands before you. 'Welcome young apprentice to the Library Mechanimagica. I am Wuggan Azusphere. Read the note in your inventory and then hand it to me so that we can begin your training.'");
e.other:Message(MT.Yellow,"An older, male gnome stands before you. 'Welcome young apprentice to the Library Mechanimagica. I am Wuggan Azusphere. Read the note in your inventory and then hand it to me so that we can begin your training.'");
end
end

View file

@ -4,6 +4,6 @@ function event_enter_zone(e)
local qglobals = eq.get_qglobals(e.self);
if(level >= 15 and qglobals.Wayfarer == nil and e.self:GetStartZone() == zoneid) then
e.self:Message(15, "A mysterious voice whispers to you, 'Flapti Bizttrin has just joined the Wayfarers Brotherhood and has some information about them, and how you can start doing odd jobs for them. You looked like the heroic sort, so I wanted to contact you . . . discreetly.'");
e.self:Message(MT.Yellow, "A mysterious voice whispers to you, 'Flapti Bizttrin has just joined the Wayfarers Brotherhood and has some information about them, and how you can start doing odd jobs for them. You looked like the heroic sort, so I wanted to contact you . . . discreetly.'");
end
end

View file

@ -18,7 +18,7 @@ function event_trade(e)
eq.set_global("ranger_epic","9",5,"F");
e.other:QuestReward(e.self,{itemid=62649, exp=50000});
e.other:AddAAPoints(10);
e.other:Message(15,'You have gained 10 ability points!');
e.other:Message(MT.Yellow,'You have gained 10 ability points!');
eq.set_timer("depop",15*1000);
end
item_lib.return_items(e.self, e.other, e.trade);

View file

@ -5,5 +5,5 @@ function event_spawn(e)
end
function event_enter(e)
e.other:Message(15,"The focus trembles with energy as any living creature approaches it");
e.other:Message(MT.Yellow,"The focus trembles with energy as any living creature approaches it");
end

View file

@ -28,15 +28,15 @@ end
function AMV_HP(e)
if (e.hp_event == 75) then
eq.zone_emote(13, "A voice echoes from behind the shield, 'Vangl, you are my mightiest guardian, yet you allow these insects to remain in my presence? Destroy them now or I will rend the flesh from your worthless frame!");
eq.zone_emote(MT.Red, "A voice echoes from behind the shield, 'Vangl, you are my mightiest guardian, yet you allow these insects to remain in my presence? Destroy them now or I will rend the flesh from your worthless frame!");
eq.set_next_hp_event(50);
e.self:CameraEffect(2000,5);
elseif (e.hp_event == 50) then
eq.zone_emote(13, "The deafening voice shakes the room again, 'You expect to defeat me? I have lived longer than you can begin to comprehend. I walked the realms before your pitiful gods were spawned. I flew the skies in a time before your world's creation and I shall enslave new worlds long after you and your gods are forgotten. You fight only to die. I AM ETERNAL!");
eq.zone_emote(MT.Red, "The deafening voice shakes the room again, 'You expect to defeat me? I have lived longer than you can begin to comprehend. I walked the realms before your pitiful gods were spawned. I flew the skies in a time before your world's creation and I shall enslave new worlds long after you and your gods are forgotten. You fight only to die. I AM ETERNAL!");
eq.set_next_hp_event(10);
e.self:CameraEffect(2000,5);
elseif (e.hp_event == 10) then
eq.zone_emote(13, "The voice echoes from behind the shield, 'Vangl, do not think that you can escape me in death. After I destroy the infiltrators I will find where you are to spend eternity. Death does not end your obligation to me, wretched thrall!");
eq.zone_emote(MT.Red, "The voice echoes from behind the shield, 'Vangl, do not think that you can escape me in death. After I destroy the infiltrators I will find where you are to spend eternity. Death does not end your obligation to me, wretched thrall!");
e.self:CastSpell(5681, e.self:GetTarget():GetID()); --feedback dispersion
e.self:CameraEffect(2000,5);
end
@ -76,7 +76,7 @@ function AMV_Timer(e)
if (client.valid and e.self:CalculateDistance(client:GetX(), client:GetY(), client:GetZ()) <=1000) then
e.self:SendBeginCast(5684, 0);
e.self:SpellFinished(5684, client:CastToMob());
client:Message(15,"You feel the cold grip of death looming over you.");
client:Message(MT.Yellow,"You feel the cold grip of death looming over you.");
eq.debug("mark on: " .. client:GetName());
end
end
@ -105,11 +105,11 @@ function AMV_Timer(e)
elseif (e.timer == "focus30") then
eq.stop_timer("focus30");
eq.set_timer("focus40",40*1000);
eq.zone_emote(15, "The power of the focus energizes the Arch Magus.");
eq.zone_emote(MT.Yellow, "The power of the focus energizes the Arch Magus.");
elseif (e.timer == "focus40") then
eq.stop_timer("focus40");
eq.set_timer("focus30",30*1000);
eq.zone_emote(15, "The power of the focus energizes the Arch Magus.");
eq.zone_emote(MT.Yellow, "The power of the focus energizes the Arch Magus.");
elseif (e.timer == "reset") then
eq.stop_timer("reset");
eq.set_next_hp_event(75);
@ -136,7 +136,7 @@ end
function AMV_Death(e)
--check if OMM is up and there are no preexisting AMV lockouts in raid -> spawn chest
--eq.unique_spawn(317112,0,0, e.self:GetX(),e.self:GetY(),e.self:GetZ(),0); --Ornate_Chest (317112)
eq.zone_emote(13,"As the Arch Magus' corpse falls to the ground, you feel the magical aura filling the room collapse, and hear a deep gutteral laugh growing louder.");
eq.zone_emote(MT.Red,"As the Arch Magus' corpse falls to the ground, you feel the magical aura filling the room collapse, and hear a deep gutteral laugh growing louder.");
e.self:CameraEffect(15000,5);
eq.depop_all(317108);

View file

@ -10,7 +10,7 @@ function Trash_Death(e)
eq.debug("Trash Dead: " .. trash_dead);
if trash_dead == 38 then
eq.signal(317116 , 3); -- NPC: zone_status
eq.zone_emote(15,"The walls of the castle tremble for a moment. Your interference has notified Mata Muram's lieutenants to your presence.");
eq.zone_emote(MT.Yellow,"The walls of the castle tremble for a moment. Your interference has notified Mata Muram's lieutenants to your presence.");
end
end

View file

@ -95,7 +95,7 @@ function Hanvar_Timer(e)
if (e.timer == "check_hp") then
if (e.self:GetHPRatio() < min_hp) then
local new_hp = e.self:GetMaxHP() * min_hp/100;
--eq.zone_emote(15, e.self:GetNPCTypeID() .. " Boss HP PCT: " .. e.self:GetMaxHP() .. " new_hp: " .. new_hp);
--eq.zone_emote(MT.Yellow, e.self:GetNPCTypeID() .. " Boss HP PCT: " .. e.self:GetMaxHP() .. " new_hp: " .. new_hp);
e.self:SetHP(new_hp);
end
elseif (e.timer == "chains") then

View file

@ -106,7 +106,7 @@ function Jelvan_Timer(e)
--chance to spawn 2.0 orb, if so set zone lockout for "bottom orb"
eq.signal(317116 , 317004); -- NPC: zone_status
eq.unique_spawn(317111,0,0, e.self:GetX(),e.self:GetY(),e.self:GetZ(),0); --Jelvan`s_Keepsake (317111)
eq.zone_emote(15,"You hear Jelvan's shouts of gratitude as he runs into the shadows.");
eq.zone_emote(MT.Yellow,"You hear Jelvan's shouts of gratitude as he runs into the shadows.");
event_started=0;
eq.depop();
elseif (torment_alive==1) then

View file

@ -100,11 +100,11 @@ end
function OMM_HP(e)
if (e.hp_event == 80) then
eq.zone_emote(13, "Roaring laughter fills the room, 'Is this what you've come here to show me? You hope to defeat an ancient warrior with this miserable display of force?");
eq.zone_emote(MT.Red, "Roaring laughter fills the room, 'Is this what you've come here to show me? You hope to defeat an ancient warrior with this miserable display of force?");
eq.set_next_hp_event(70);
e.self:CameraEffect(1000,4);
elseif (e.hp_event == 70) then
eq.zone_emote(13, "Mata Muram shouts, 'I can taste your fear. You know the hand of death approaches.'");
eq.zone_emote(MT.Red, "Mata Muram shouts, 'I can taste your fear. You know the hand of death approaches.'");
eq.set_next_hp_event(50);
e.self:CameraEffect(1000,4);
local num_hit=0;
@ -114,14 +114,14 @@ function OMM_HP(e)
if client.valid then
e.self:SendBeginCast(5684, 0);
e.self:SpellFinished(5684, client:CastToMob());
client:Message(15,"You feel the cold grip of death looming over you.");
client:Message(MT.Yellow,"You feel the cold grip of death looming over you.");
eq.debug("mark on: " .. client:GetName());
num_hit=num_hit+1;
end
end
eq.set_timer("check_mark",15*1000); --omm mark of death triggers after 15s
elseif (e.hp_event == 50) then
eq.zone_emote(13, "Mata Muram shouts, 'I will adorn the Gates of Anguish with the corpses of your dead.'");
eq.zone_emote(MT.Red, "Mata Muram shouts, 'I will adorn the Gates of Anguish with the corpses of your dead.'");
eq.set_next_hp_event(30);
eq.spawn2(317122,0,0,331, 4961, 278, 128):AddToHateList(e.self:GetHateRandom(),1);
eq.spawn2(317122,0,0,505, 4792, 278, 384):AddToHateList(e.self:GetHateRandom(),1);
@ -197,8 +197,8 @@ function OMM_Timer(e)
eq.set_timer("mmgaze",70*1000);
gaze_client=eq.get_entity_list():GetRandomClient(e.self:GetX(),e.self:GetY(),e.self:GetZ(),1000000);
if gaze_client.valid then
eq.zone_emote(15, "Mata Muram fixes his gaze on one of your companions.");
gaze_client:Message(6,"You feel a gaze of deadly power focusing on you.");
eq.zone_emote(MT.Yellow, "Mata Muram fixes his gaze on one of your companions.");
gaze_client:Message(MT.Gray,"You feel a gaze of deadly power focusing on you.");
eq.set_timer("mmgaze_cast",10*1000);
else
eq.debug("Invalud MMGaze Client: " .. os.date("!%c"));
@ -215,8 +215,8 @@ function OMM_Timer(e)
eq.set_timer("buzz",55*1000);
eq.set_timer("buzz_spawn",6*1000);
buzz_client=eq.get_entity_list():GetRandomClient(e.self:GetX(),e.self:GetY(),e.self:GetZ(),1000000);
eq.zone_emote(15, "You hear a buzzing in the distance.");
buzz_client:Message(6,"You hear a strange buzzing around your head, and feel as though something is creeping toward you.");
eq.zone_emote(MT.Yellow, "You hear a buzzing in the distance.");
buzz_client:Message(MT.Gray,"You hear a strange buzzing around your head, and feel as though something is creeping toward you.");
elseif (e.timer == "buzz_spawn") then
eq.stop_timer("buzz_spawn");
if (buzz_client.valid) then
@ -242,8 +242,8 @@ function OMM_Timer(e)
eq.depop_all(317120);
eq.depop_all(317121);
eq.depop_all(317122);
eq.zone_emote(13,"Mata Muram breaks free of his bonds, killing the Riftseekers with the magic. 'You dare betray me! When I am done with them I shall see that all of your kind meet the same fate.");
eq.zone_emote(13,"The world shifts around you as the riftseeker's are consumed by their magic.");
eq.zone_emote(MT.Red,"Mata Muram breaks free of his bonds, killing the Riftseekers with the magic. 'You dare betray me! When I am done with them I shall see that all of your kind meet the same fate.");
eq.zone_emote(MT.Red,"The world shifts around you as the riftseeker's are consumed by their magic.");
local now_clients = eq.get_entity_list():GetClientList();
local instance_id = eq.get_zone_instance_id();
for client in now_clients.entries do
@ -300,7 +300,7 @@ function OMM_Timer(e)
end
function OMM_Death(e)
eq.zone_emote(13,"The walls of Anguish tremble, you can feel the world shaking your bones. For a brief moment you think you see a smile flash across Mata Muram's face, and as the last breath escapes his lungs you hear a faint voice, 'There are worlds other than these...");
eq.zone_emote(MT.Red,"The walls of Anguish tremble, you can feel the world shaking your bones. For a brief moment you think you see a smile flash across Mata Muram's face, and as the last breath escapes his lungs you hear a faint voice, 'There are worlds other than these...");
e.self:CameraEffect(1000,8);
eq.signal(317116 , 317109); -- NPC: zone_status
eq.depop_all(317122);
@ -329,7 +329,7 @@ end
function Riftseeker_Signal(e)
if (e.signal==1) then
eq.zone_emote(13,"Rifts open in Mata Muram's Chamber.");
eq.zone_emote(MT.Red,"Rifts open in Mata Muram's Chamber.");
e.self:Shout("Come! They have weakened him. Now is our chance to strike.");
elseif (e.signal==2) then
eq.set_timer("shout",5000);
@ -338,7 +338,7 @@ end
function Riftseeker_Timer(e)
if (e.timer=="shout") then
eq.zone_emote(13,"Tendrils of energy shoot from the fingertips of the Riftseekers, turning Mata Muram's magic inward.");
eq.zone_emote(MT.Red,"Tendrils of energy shoot from the fingertips of the Riftseekers, turning Mata Muram's magic inward.");
e.self:Shout("Now fools. Strike while we hold him, we cannot hold this seal for long.");
eq.stop_timer("shout");
end

View file

@ -3,7 +3,7 @@ function event_click_door(e)
if(door_id == 61) then
if (eq.get_entity_list():IsMobSpawnedByNpcTypeID(317002)==false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(317003)==false
and eq.get_entity_list():IsMobSpawnedByNpcTypeID(317004)==false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(317005)==false) then
--e.self:Message(13,"Success Message?");
--e.self:Message(MT.Red,"Success Message?");
local instance_id = eq.get_zone_instance_id();
--e.self:MovePC(317, 504, 4729, 277.6, 0);
e.self:MovePCInstance(317,instance_id, 504, 4729, 277.6, 0)
@ -12,14 +12,14 @@ function event_click_door(e)
eq.signal(317109 , 1); --signal OMM that a click up happened
eq.debug("click up to amv");
else
e.self:Message(13,"The seal doesn't react to your presence.");
e.self:Message(MT.Red,"The seal doesn't react to your presence.");
end
end
if(door_id == 57 or door_id ==58 or door_id ==59 or door_id ==60) then
if (eq.get_entity_list():IsMobSpawnedByNpcTypeID(317107)==true) then
e.self:Message(15, "The magic of the arch magus holds the shield firmly in place");
e.self:Message(MT.Yellow, "The magic of the arch magus holds the shield firmly in place");
end
end
end

View file

@ -215,7 +215,7 @@ function Spawn_augs()
if i==4 then grid=16 else grid=0 end
if mob_in_list then
--eq.zone_emote(15,"spawn: " .. list_named[i][1] .. " ," .. list_named[i][3] .. " ," .. list_named[i][4] .. " ," .. list_named[i][5] .. " ," ..list_named[i][6]);
--eq.zone_emote(MT.Yellow,"spawn: " .. list_named[i][1] .. " ," .. list_named[i][3] .. " ," .. list_named[i][4] .. " ," .. list_named[i][5] .. " ," ..list_named[i][6]);
eq.spawn2(list_named[i][1],grid,0,list_named[i][3],list_named[i][4],list_named[i][5],list_named[i][6]);
else
eq.spawn2(317076,grid,0,list_named[i][3],list_named[i][4],list_named[i][5],list_named[i][6]); -- NPC: #a_lightning_warrior_commander

View file

@ -5,7 +5,7 @@ local function convert_temp_flag(client, flag_name, flag_msg)
-- Just a quirk in their priority flag checks (they probably use a separate flag)
client:Message(MT.NPCQuestSay, string.format("Gurru tells you, 'I see that you have helped your friends accomplish things in %s. I will tell the High Priest of your deeds. You should seek an audience with him and see if there is anything else that you can help us with.'", flag_msg))
eq.set_data(string.format("%s-%s", client:CharacterID(), flag_name), "1")
client:Message(15, "Your temporary character flag has been converted into a permanent flag!")
client:Message(MT.Yellow, "Your temporary character flag has been converted into a permanent flag!")
eq.debug(string.format("Converted character [%s] temporary flag [%s] to permanent", client:GetName(), flag_name))
end

View file

@ -62,7 +62,7 @@ end
function Ixvet_Death(e)
eq.depop(283153); --Talwin`s_remains (283153) untargettable
eq.spawn2(283048,0,0,-574,568,-98,336); -- NPC: #Talwin`s_remains loot
eq.zone_emote(15,"As the dying cries of Ikaav Ixvet Pox echo off the city walls, the ranks of the Muramites are thrown into chaos. Seizing the opportunity, the many slaves of Barindu rise up and fight for their freedom.");
eq.zone_emote(MT.Yellow,"As the dying cries of Ikaav Ixvet Pox echo off the city walls, the ranks of the Muramites are thrown into chaos. Seizing the opportunity, the many slaves of Barindu rise up and fight for their freedom.");
end
--killing ixvet should signal the Nihil to aggro nearby mobs, which Nihil still needs to be parsed: It seems to be random each time

View file

@ -2,7 +2,7 @@ function event_enter_zone(e)
if(e.self:Class() == "Bard" or e.self:Class() == "Rogue") then
if(e.self:HasItem( 52355) == true and e.self:HasItem( 52357) == false) then --Shakey's Dilapidated Noggin, Pulsing Rose Lightstone
eq.unique_spawn(36102, 2, 0, 165, -170, -10, 0); --Flighty_Rose_Wisp
e.self:Message(15, "Out of the corner of your eye, you catch a glimpse of a brightly colored wisp as it darts by. It's moving at an incredible speed.");
e.self:Message(MT.Yellow, "Out of the corner of your eye, you catch a glimpse of a brightly colored wisp as it darts by. It's moving at an incredible speed.");
end
end
end

View file

@ -11,7 +11,7 @@ function event_trade(e)
if (qglobals["Fatestealer"] == "3" and item_lib.check_turn_in(e.trade, {item1=52349,item2=52350,item3=52351,item4=52352}) and eq.get_entity_list():IsMobSpawnedByNpcTypeID(301033) == false) then
eq.set_global("rog_bf_trigger","1",3,"H1");
eq.spawn2(301033,0,0,72,1749,-895,70); -- NPC: #a_reclusive_girplan
eq.zone_emote(15, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
eq.zone_emote(MT.Yellow, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
end
item_lib.return_items(e.self, e.other, e.trade);
end

View file

@ -88,7 +88,7 @@ function event_timer(e)
e.self:WipeHateList();
e.self:GotoBind();
Agro=0;
eq.zone_emote(0,"You lose all sight of Jekisia. She must have fled away into the caverns, using her lackyes to cover her escape.");
eq.zone_emote(MT.White,"You lose all sight of Jekisia. She must have fled away into the caverns, using her lackyes to cover her escape.");
eq.update_spawn_timer(52919, 1800 * 1000);
-- should depop and respawn 30 mins later
eq.depop_with_timer();

View file

@ -2,7 +2,7 @@ function event_say(e)
local qglobals = eq.get_qglobals(e.other);
if(e.message:findi("lirprin sent me") and qglobals["Fatestealer"] == "3") then
eq.set_global("rogue_epic_keetra","1",5,"F");
e.other:Message(15,"You have confirmed Keetra's innocence.");
e.other:Message(MT.Yellow,"You have confirmed Keetra's innocence.");
--e.self:Say(""); no idea what this text should be
eq.depop();
end

View file

@ -5,7 +5,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
local cl = eq.get_entity_list():GetShuffledClientList(); -- Shuffle the client list and choose 3 targets.
local count = 0;

View file

@ -5,7 +5,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
local cl = eq.get_entity_list():GetShuffledClientList(); -- Shuffle the client list and choose 3 targets.
local count = 0;

View file

@ -1,6 +1,6 @@
function event_death_complete(e)
eq.spawn2(301073,0,0,-1292,61,-910.61,0); -- NPC: #a_reclusive_girplan
eq.zone_emote(15, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
eq.zone_emote(MT.Yellow, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
end
-- 1st girplan spawns 2nd
@ -11,7 +11,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
hate_list = e.self:CountHateList();
if (hate_list ~= nil and tonumber(hate_list) == 1) then

View file

@ -1,6 +1,6 @@
function event_death_complete(e)
eq.spawn2(301074,0,0,-135,996,-622.81,0); -- NPC: #a_reclusive_girplan
eq.zone_emote(15, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
eq.zone_emote(MT.Yellow, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
end
-- 2nd girplan spawns 3rd
@ -11,7 +11,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
hate_list = e.self:CountHateList();
if (hate_list ~= nil and tonumber(hate_list) == 1) then

View file

@ -1,6 +1,6 @@
function event_death_complete(e)
eq.spawn2(301075,0,0,940,106,-938.43,0); -- NPC: #a_reclusive_girplan
eq.zone_emote(15, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
eq.zone_emote(MT.Yellow, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
end
-- 3rd girplan spawns 4th
@ -11,7 +11,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
hate_list = e.self:CountHateList();
if (hate_list ~= nil and tonumber(hate_list) == 1) then

View file

@ -1,6 +1,6 @@
function event_death_complete(e)
eq.spawn2(301076,0,0,-252,1324,-721.67,0); -- NPC: #a_reclusive_girplan
eq.zone_emote(15, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
eq.zone_emote(MT.Yellow, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
end
-- 4th girplan spawns 5th
@ -11,7 +11,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
hate_list = e.self:CountHateList();
if (hate_list ~= nil and tonumber(hate_list) == 1) then

View file

@ -6,7 +6,7 @@ function event_death_complete(e)
else
eq.spawn2(301077,0,0,-1257,144,-913,0); -- NPC: #Myrhee_the_Flighty
end
eq.zone_emote(15, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
eq.zone_emote(MT.Yellow, "Attracted by the recent commotion, a reclusive Girplan emerges from its hiding spot.");
end
-- 5th girplan spawns 6th (named)
@ -17,7 +17,7 @@ end
function event_timer(e)
if (e.timer == "despawn") then
eq.depop();
eq.zone_emote(10, "The reclusive girplans slink back into their caves.");
eq.zone_emote(MT.NPCQuestSay, "The reclusive girplans slink back into their caves.");
elseif e.timer=="blur" then
hate_list = e.self:CountHateList();
if (hate_list ~= nil and tonumber(hate_list) == 1) then

View file

@ -81,7 +81,7 @@ function Dream_Death(e)
-- Spawn Gaz the Gargantuan 301062
eq.spawn2(301062, 0, 0, 677, -419, -816, 0); -- NPC: #Gazz_the_Gargantuan
eq.zone_emote(0,"The earth beneath your feet shakes as the gargantuan beast awakens.");
eq.zone_emote(MT.White,"The earth beneath your feet shakes as the gargantuan beast awakens.");
end
end
@ -109,7 +109,7 @@ function Gaz_Timer(e)
eq.set_timer('detonate', 5 * 1000);
eq.set_timer('reflect', 30 * 1000);
e.self:RemoveAISpell(5822);
eq.zone_emote(13,"Gazz the Gargantuan slows its gait and begins flailing muscular arms in all directions.");
eq.zone_emote(MT.Red,"Gazz the Gargantuan slows its gait and begins flailing muscular arms in all directions.");
e.self:SetSpecialAbility(SpecialAbility.immune_ranged_attacks, 0);
e.self:SetSpecialAbility(SpecialAbility.area_rampage, 1);
@ -125,7 +125,7 @@ function Gaz_Timer(e)
e.self:RemoveAISpell(2490);
eq.zone_emote(13,"Gazz the Gargantuan unleashes an earth shattering roar and picks up speed.");
eq.zone_emote(MT.Red,"Gazz the Gargantuan unleashes an earth shattering roar and picks up speed.");
e.self:SetSpecialAbility(SpecialAbility.immune_ranged_attacks, 1);
e.self:SetSpecialAbility(SpecialAbility.area_rampage, 0);

View file

@ -8,15 +8,15 @@ end
function event_enter(e)
local qglobals = eq.get_qglobals(e.self,e.other);
if(qglobals["ranger_epic"] == "2" and qglobals["ranger_epic_bloodfield"] == nil and e.other:HasItem(62844) == true and eq.get_entity_list():IsMobSpawnedByNpcTypeID(301065) == false ) then
e.other:Message(15,"You feel the Red Dogwood Seed thrash violently for a moment as you near the earth spirit.");
e.other:Message(MT.Yellow,"You feel the Red Dogwood Seed thrash violently for a moment as you near the earth spirit.");
eq.set_global("ranger_epic_bloodfield","1",2,"H2");
eq.set_timer("ranger_epic_depop",30*60*1000);
eq.load_encounter('ranger_1_5');
eq.spawn2(301065, 0, 0, 774,437,-924.8,394); -- NPC: #Marshal_Histent
eq.spawn2(301066, 0, 0, 740,436,-924.8,394); -- NPC: #Grinbik_the_Fertile
eq.spawn2(301067 ,0, 0, 729,457,-924.8,190); -- NPC: #an_enslaved_earthmover
eq.spawn2(301068 ,0, 0, 762.7,457,-925.7,382); -- NPC: #an_eager_student
eq.spawn2(301068 ,0, 0, 762.7,435,-924.8,260); -- NPC: #an_eager_student
eq.spawn2(301065, 0, 0, 774,437,-924.8,394); -- NPC: #Marshal_Histent
eq.spawn2(301066, 0, 0, 740,436,-924.8,394); -- NPC: #Grinbik_the_Fertile
eq.spawn2(301067 ,0, 0, 729,457,-924.8,190); -- NPC: #an_enslaved_earthmover
eq.spawn2(301068 ,0, 0, 762.7,457,-925.7,382); -- NPC: #an_eager_student
eq.spawn2(301068 ,0, 0, 762.7,435,-924.8,260); -- NPC: #an_eager_student
end
end

View file

@ -21,7 +21,7 @@ elseif(e.timer == 'agnarrhelp') then
help_agnarr(e);
eq.stop_timer('agnarrhelp');
elseif(e.timer == 'agnarradds') then
eq.zone_emote(0,"Agnarr strikes his staff to the ground, causing great ripples of energy to rage across the room.");
eq.zone_emote(MT.White,"Agnarr strikes his staff to the ground, causing great ripples of energy to rage across the room.");
eq.signal(209033,1); -- NPC: A_storm_portal
end
end

View file

@ -9,7 +9,7 @@ end
function event_timer(e)
if (e.timer == "Emmy_Adds") then
eq.signal(209036 ,1,1); -- NPC: A_celestial_portal
eq.zone_emote(10, "Emmerik raises his arm high above his head.  Great bolts of energy surge through him and strike the portals.");
eq.zone_emote(MT.NPCQuestSay, "Emmerik raises his arm high above his head.  Great bolts of energy surge through him and strike the portals.");
end
end

View file

@ -9,7 +9,7 @@ end
function event_timer(e)
if (e.timer == "Evynd_Adds") then
eq.signal(209038 ,1,1); -- NPC: A_firestorm_portal
eq.zone_emote(0, "Evynd waves his hands in the air, calling the power of the firestorm through the blazing portals.");
eq.zone_emote(MT.White, "Evynd waves his hands in the air, calling the power of the firestorm through the blazing portals.");
end
end

View file

@ -1,9 +1,9 @@
function event_death_complete(e)
if(eq.get_entity_list():IsMobSpawnedByNpcTypeID(337060) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(337090) == false) then
eq.spawn2(337254,0,0,1403,-282,26.47,253); -- NPC: The_Broodqueen
eq.zone_emote(15, "You've really stirred up the nest this time! Something's rumbling around deep in the jungle and it's furious!");
eq.zone_emote(MT.Yellow, "You've really stirred up the nest this time! Something's rumbling around deep in the jungle and it's furious!");
else
eq.zone_emote(15, "The death of the drone has caused a rustle in the brush beyond. You can't make out what the noise was, but it sounds big.");
eq.zone_emote(MT.Yellow, "The death of the drone has caused a rustle in the brush beyond. You can't make out what the noise was, but it sounds big.");
end
end

View file

@ -61,7 +61,7 @@ function event_trade(e)
e.other:SummonItem(52952); --Oculus 1.5
e.other:AddAAPoints(5);
e.other:Ding();
e.other:Message(15,'You have gained 5 ability points!');
e.other:Message(MT.Yellow,'You have gained 5 ability points!');
eq.set_global("ench_epic","7",5,"F");
elseif (item_lib.check_turn_in(e.trade, {item1 = 52947, item2 = 52945})) then
e.self:Say("How very interesting. This could prove to be invaluable to my work. I have long been researching a new and most powerful tool to help our kind. It is necessary in these most dangerous of times. Unfortunately, it appears as though time has taken its toll on this tome. It is incomplete. Seek the missing pages so that I may study it in depth. There should be ten, unless they have been destroyed by time and decay.");

View file

@ -16,7 +16,7 @@ function event_say(e)
elseif(e.message:findi("interesting ore")) then
e.self:Say("We've found some strange items off the dead in the dungeons. At first we just thought they were simple things -- rocks, pebbles, gems, and the like -- and then we noticed they had very unusual auras about them. Well, one day, Morden Rasp was toying with one -- a shiny green shard -- and he went to scrape it with his dagger. Suddenly, the shard began to reform and fused with his dagger. While the dagger remained as fine as ever, Morden himself felt a surge of strength! So, you will want to watch out for these strange magic pieces in the world. Now, I suggest you go talk to Selephra Giztral, Barstre Songweaver, Vual Stoutest, Teria Grinntli, or Ruanya Windleaf. They handle all of those who are interested in working for the Wayfarers Brotherhood and getting rewards. Remember well what I've told you!");
if(qglobals.Wayfarer == nil) then
e.other:Message(15,"You have completed a step toward becoming a great adventurer. Well done!");
e.other:Message(MT.Yellow,"You have completed a step toward becoming a great adventurer. Well done!");
eq.set_global("Wayfarer","1",5,"F");
end
end

View file

@ -16,7 +16,7 @@ function event_say(e)
elseif(e.message:findi("interesting ore")) then
e.self:Say("We've found some strange items off the dead in the dungeons. At first we just thought they were simple things -- rocks, pebbles, gems, and the like -- and then we noticed they had very unusual auras about them. Well, one day, Morden Rasp was toying with one -- a shiny green shard -- and he went to scrape it with his dagger. Suddenly, the shard began to reform and fused with his dagger. While the dagger remained as fine as ever, Morden himself felt a surge of strength! So, you will want to watch out for these strange magic pieces in the world. Now, I suggest you go talk to Selephra Giztral, Barstre Songweaver, Vual Stoutest, Teria Grinntli, or Ruanya Windleaf. They handle all of those who are interested in working for the Wayfarers Brotherhood and getting rewards. Remember well what I've told you!");
if(qglobals.Wayfarer == nil) then
e.other:Message(15,"You have completed a step toward becoming a great adventurer. Well done!");
e.other:Message(MT.Yellow,"You have completed a step toward becoming a great adventurer. Well done!");
eq.set_global("Wayfarer","1",5,"F");
end
end

View file

@ -43,7 +43,7 @@ function event_trade(e)
if qglobals["bard15"] == "6" then
if item_lib.check_turn_in(e.trade, {item1 = 77641, item2 = 77642, item3 = 77643, item4 = 47100}) then -- black chaos and globe
e.self:Emote(" nods slowly and places the armor on the ground at his feet with the discordant orb in the center. 'Now we shall see if our efforts are for our salvation or destruction. He begins to mark the ground with Dragorn runes and recite an ancient Dragorn rite. The armor begins to hum as the orb dissolves into a black pool on the ground. Alkron draws back in terror. 'No! I was a fool to think I could destroy him! I have brought about the end of us all!' The armor spins and crackles with energy as it flies from your hands and rises into the air. The armor begins to grow as bolts of energy begin to snap between them. A maniacal cackle fills the air as the armor forms into a vaguely humanoid shape.")
e.other:Message(15, "The blade in your hand begins to glow as the dark orb begins to burn your flesh. You struggle to keep the orb from flying away.") -- unsure on color or if it should be close
e.other:Message(MT.Yellow, "The blade in your hand begins to glow as the dark orb begins to burn your flesh. You struggle to keep the orb from flying away.") -- unsure on color or if it should be close
eq.set_global("bard20", "1", 5, "F") -- lets you resummon on fail or whenever because why not!
-- this version has normal aggro and no clearing
eq.unique_spawn(303125, 0, 0, 556, 1921, 320, 332) -- #Oshiruk
@ -53,7 +53,7 @@ function event_trade(e)
if qglobals["bard20"] == "1" then
if item_lib.check_turn_in(e.trade, {item1 = 77644, item2 = 77613, item3 = 77631}) then -- Dragorn Essence, Dark Orb, Prismatic Dragon Blade
e.other:AddAAPoints(10)
e.other:Message(15, "You have gained 10 ability point(s)!")
e.other:Message(MT.Yellow, "You have gained 10 ability point(s)!")
e.self:Emote(" takes the blade and the two orbs from you. He thrusts the sword into the ground at his feet and takes an orb in either hand. He begins to recite an ancient dragorn rite as the air fills with magic around you. Energy begins to surge between the two orbs and eventually begin to strike the blade as well. The roar of energy rises and culminates in a flash of light. The two orbs disappear into thin air as your sword takes on a new glow of power.")
e.other:QuestReward(e.self, 0, 0, 0, 0, 77640, 1) -- Blade of Vesagran
end

View file

@ -1,6 +1,6 @@
function event_spawn(e)
eq.set_timer("depop",30*60*1000);
eq.zone_emote(15,"Korbuk's death has released a more powerful spirit into the mortal realm.");
eq.zone_emote(MT.Yellow,"Korbuk's death has released a more powerful spirit into the mortal realm.");
e.self:Shout("You foolish mortals! How dare you defy the will of Kreljnok! I will be reborn and shall have my sword once more! Hand over what is rightfully mine!");
end
@ -36,5 +36,5 @@ function event_timer(e)
end
function event_death_complete(e)
eq.zone_emote(15,"The death of Kreljnok signals the end of his power in this region. The once powerful warrior has had his life taken by a far superior force.");
eq.zone_emote(MT.Yellow,"The death of Kreljnok signals the end of his power in this region. The once powerful warrior has had his life taken by a far superior force.");
end

View file

@ -9,7 +9,7 @@ local wave = 0;
function event_spawn(e)
wave = 0;
eq.zone_emote(0,"Avatar of Fear shouts, 'Minions of fear hear me now! The temple of the great Cazic Thule has been defiled. I summon you to assist me in its cleansing!");
eq.zone_emote(MT.White,"Avatar of Fear shouts, 'Minions of fear hear me now! The temple of the great Cazic Thule has been defiled. I summon you to assist me in its cleansing!");
e.self:SpellFinished(2128, e.self); -- Avatar of Fear
end
@ -18,17 +18,17 @@ function event_waypoint_arrive(e)
if (e.wp == 5) then
wave = wave +1;
if wave == 5 then
eq.zone_emote(0,"Avatar of Fear shouts, 'In the name of the fearful one, I call forth from the abyss... DREAD!");
eq.zone_emote(MT.White,"Avatar of Fear shouts, 'In the name of the fearful one, I call forth from the abyss... DREAD!");
eq.unique_spawn(48237, 0,0, 625, 1090, -94, 388);
SpawnWave();
e.self:SpellFinished(2128, e.self); -- Avatar of Fear
elseif wave == 10 then
eq.zone_emote(0,"Avatar of Fear shouts, 'In the name of the fearful one, I call forth from the abyss... FRIGHT!");
eq.zone_emote(MT.White,"Avatar of Fear shouts, 'In the name of the fearful one, I call forth from the abyss... FRIGHT!");
eq.unique_spawn(48239, 0,0, 587, 1128, -94, 254);
SpawnWave();
e.self:SpellFinished(2128, e.self); -- Avatar of Fear
elseif wave == 15 then
eq.zone_emote(0,"Avatar of Fear shouts, 'In the name of the fearful one, I call forth from the abyss... TERROR!");
eq.zone_emote(MT.White,"Avatar of Fear shouts, 'In the name of the fearful one, I call forth from the abyss... TERROR!");
eq.unique_spawn(48240, 0,0, 550, 1090, -94, 126);
SpawnWave();
e.self:SpellFinished(2128, e.self); -- Avatar of Fear
@ -47,7 +47,7 @@ function event_waypoint_arrive(e)
e.self:SetSpecialAbility(35, 0); -- No Harm from Players off
--active avatar of fear
else
eq.zone_emote(0,"Avatar of Fear shouts, 'In the name of the faceless, I command you, the minions of fear, ARISE!");
eq.zone_emote(MT.White,"Avatar of Fear shouts, 'In the name of the faceless, I command you, the minions of fear, ARISE!");
SpawnWave();
end
end

View file

@ -11,9 +11,9 @@ function event_tick(e)
local client = eq.get_entity_list():GetClientByCharID(v);
if (client.valid) then
if (client:GetX() > -64 or client:GetY() < 122 ) then
client:Message(13, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
client:Message(MT.Red, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
if ( warnings >= 10 ) then
client:Message(13, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
client:Message(MT.Red, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
if (client:Admin() < 80) then
client:Kill();
end

View file

@ -51,7 +51,7 @@ function Fear_Say(e)
e.self:Say("Very well! Let the battle commence!");
eq.set_timer("minutes", 1 * 60 * 1000);
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
elseif ( e.message:findi('test') and e.other:Admin() > 80 ) then
local mpg_helper = require("mpg_helper");
@ -88,7 +88,7 @@ function Fear_Timer(e)
mpg_helper.UpdateGroupTrialLockout(player_list, this_bit, nil);
else
eq.zone_emote(13, "You have been found unworthy, perhapse you are not as frightful as you thought you might be.");
eq.zone_emote(MT.Red, "You have been found unworthy, perhapse you are not as frightful as you thought you might be.");
eq.depop();
-- no lockout added on failure, the dz shuts down in 5 minutes
@ -98,7 +98,7 @@ function Fear_Timer(e)
end
end
else
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
end

View file

@ -11,9 +11,9 @@ function event_tick(e)
local client = eq.get_entity_list():GetClientByCharID(v);
if (client.valid) then
if (client:GetX() > -64 or client:GetY() < 122 ) then
client:Message(13, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
client:Message(MT.Red, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
if ( warnings >= 10 ) then
client:Message(13, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
client:Message(MT.Red, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
if (client:Admin() < 80) then
client:Kill();
end

View file

@ -156,13 +156,13 @@ function Boss_Timer(e)
elseif (e.timer == 'minute' and e.self:GetNPCTypeID() == 305007) then
minute = minute + 1;
-- eq.zone_emote(15, "Min: " .. minute);
-- eq.zone_emote(MT.Yellow, "Min: " .. minute);
elseif (e.timer == 'hp' and e.self:GetNPCTypeID() == 305007) then
-- Lower both Boss mobs hps by 1%
boss_hp = boss_hp - 1;
local new_hp = e.self:GetMaxHP() * (boss_hp/100);
-- eq.zone_emote(15, e.self:GetNPCTypeID() .. " Boss HP PCT: " .. boss_hp .. " new_hp: " .. new_hp);
-- eq.zone_emote(MT.Yellow, e.self:GetNPCTypeID() .. " Boss HP PCT: " .. boss_hp .. " new_hp: " .. new_hp);
eq.get_entity_list():GetNPCByNPCTypeID(305007):SetHP(new_hp);
eq.get_entity_list():GetNPCByNPCTypeID(305008):SetHP(new_hp);

View file

@ -45,7 +45,7 @@ function Weaponry_Say(e)
e.self:Say("Very well! Let the battle commence!");
eq.set_timer("minutes", 1 * 60 * 1000);
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
@ -59,7 +59,7 @@ function Weaponry_Timer(e)
eq.stop_all_timers();
eq.spawn_condition('chambersb', instance_id, 1, 0);
eq.zone_emote(13, "You have been found unworthy.");
eq.zone_emote(MT.Red, "You have been found unworthy.");
eq.depop();
-- no lockout added on failure, the dz shuts down in 5 minutes
@ -68,7 +68,7 @@ function Weaponry_Timer(e)
dz:SetSecondsRemaining(eq.seconds("5m"))
end
else
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
end

View file

@ -11,9 +11,9 @@ function event_tick(e)
local client = eq.get_entity_list():GetClientByCharID(v);
if (client.valid) then
if (client:GetX() > -64 or client:GetY() < 122 ) then
client:Message(13, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
client:Message(MT.Red, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
if ( warnings >= 10 ) then
client:Message(13, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
client:Message(MT.Red, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
if (client:Admin() < 80) then
client:Kill();
end

View file

@ -120,7 +120,7 @@ function ValidatePlayersAreInZone(requestor)
for k,v in pairs(player_list) do
member = el:GetClientByCharID(v)
if (member.valid == false) then
requestor:Message(13, "All members of the group/raid need to be in " .. eq.get_zone_long_name() .. ". " );
requestor:Message(MT.Red, "All members of the group/raid need to be in " .. eq.get_zone_long_name() .. ". " );
return false;
end
end
@ -133,7 +133,7 @@ function Do_Hazard()
Do_Hazard();
else
last_hazard = num;
eq.zone_emote(14, hazards[num][1]);
eq.zone_emote(MT.Lime, hazards[num][1]);
hazards[num][2]();
end
end
@ -148,7 +148,7 @@ function Boss_Timer(e)
if (client.valid) then
num = math.random(1,#equipment);
equipment_client = {client:GetID(), num};
client:Message(14, equipment[num][1]);
client:Message(MT.Lime, equipment[num][1]);
eq.set_timer("equipment_action", 3 * 1000);
end
elseif (e.timer == "equipment_action") then
@ -207,7 +207,7 @@ function Kyv_Timer(e)
if (client.valid) then
num = math.random(1,#kyvs);
kyv_targets[i] = { client:GetID(), num, {client:GetX(), client:GetY() }};
client:Message(14, kyvs[num][1]);
client:Message(MT.Lime, kyvs[num][1]);
eq.debug("name: " .. e.self:GetCleanName() .. i .. " timer: " .. e.timer .. " client picked: " .. client:GetName() );
eq.set_timer('kyv_action', 3000);
@ -219,13 +219,13 @@ function Kyv_Timer(e)
if (client.valid) then
loc = kyv_targets[i][3];
if ( kyvs[kyv_targets[i][2]][2](e, client, loc) == false ) then
client:Message(14, kyvs[kyv_targets[i][2]][4]);
client:Message(MT.Lime, kyvs[kyv_targets[i][2]][4]);
e.self:CastSpell(kyvs[kyv_targets[i][2]][3], client:GetID(), 0, 4500);
eq.debug("name: " .. e.self:GetCleanName() .. i .. " timer: " .. e.timer .. " client picked: " .. client:GetName() );
else
msg = 'An arrow narrowly misses you.';
end
client:Message(14, msg);
client:Message(MT.Lime, msg);
end
eq.set_timer('kyv', kyv_timer * 1000 + 4500);
end
@ -291,16 +291,16 @@ end
function check_rings(mob, client)
if (client.valid) then
if ( client:GetItemIDAt(Slot.Finger1) ~= -1 ) then
client:Message(14, "Your rings clamp down, breaking fingers and disabling your manual dexterity.");
client:Message(MT.Lime, "Your rings clamp down, breaking fingers and disabling your manual dexterity.");
mob:CastSpell(5695, client:GetID()); -- Spell: Crippling Clamp
else
client:Message(14, "Your regain the use of your fingers.");
client:Message(MT.Lime, "Your regain the use of your fingers.");
end
if ( client:GetItemIDAt(Slot.Finger2) ~= -1 ) then
client:Message(14, "Your rings clamp down, breaking fingers and disabling your manual dexterity.");
client:Message(MT.Lime, "Your rings clamp down, breaking fingers and disabling your manual dexterity.");
mob:CastSpell(5695, client:GetID()); -- Spell: Crippling Clamp
else
client:Message(14, "Your regain the use of your fingers.");
client:Message(MT.Lime, "Your regain the use of your fingers.");
end
end
end
@ -308,10 +308,10 @@ end
function check_weapon(mob, client)
if (client.valid) then
if ( client:GetItemIDAt(Slot.Secondary) ~= -1 ) then
client:Message(14, "Your weaponry becomes incredibly hot, searing your hands!");
client:Message(MT.Lime, "Your weaponry becomes incredibly hot, searing your hands!");
mob:CastSpell(2315, client:GetID()); -- Spell: Searing Heat
else
client:Message(14, "Your weaponry cools down.");
client:Message(MT.Lime, "Your weaponry cools down.");
end
end
end
@ -326,12 +326,12 @@ function ae_check(e, xmin, xmax, ymin, ymax)
eq.debug( "client: " .. v:GetName() .. "X: " .. v:GetX() .. " Y: " .. v:GetY() );
eq.debug( "xmin: " .. xmin .. " xmax: " .. xmax .. " ymin: " .. ymin .. " ymax: " .. ymax);
if (x < xmin or x > xmax or y < ymin or y > ymax) then
v:Message(14,'The room explodes with chaotic energy.');
v:Message(MT.Lime,'The room explodes with chaotic energy.');
--e.self:CastSpell(5693, v:GetID());
v:Damage(e.self, 5000, 5693, 1);
else
v:Message(14,'The room explodes with chaotic energy.');
v:Message(14,'You escape the blast unscathed.');
v:Message(MT.Lime,'The room explodes with chaotic energy.');
v:Message(MT.Lime,'You escape the blast unscathed.');
end
end
end
@ -343,7 +343,7 @@ function north_safe()
end
function center_safe()
eq.zone_emote(15, "Center Safe");
eq.zone_emote(MT.Yellow, "Center Safe");
end
function south_safe()

View file

@ -55,7 +55,7 @@ function Subversion_Say(e)
-- Until EVENT_LOOT gets exported to lua for stuffs; just set a 5min timer; it might
-- take about 5minutes to collect 300 points; in my mind.
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
@ -69,7 +69,7 @@ function Subversion_Timer(e)
eq.stop_all_timers();
eq.spawn_condition(this_zone, instance_id, 1, 0);
eq.zone_emote(13, "You have been found unworthy.");
eq.zone_emote(MT.Red, "You have been found unworthy.");
eq.depop_all(306000);
eq.depop();
@ -79,7 +79,7 @@ function Subversion_Timer(e)
dz:SetSecondsRemaining(eq.seconds("5m"))
end
else
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
end

View file

@ -11,9 +11,9 @@ function event_tick(e)
local client = eq.get_entity_list():GetClientByCharID(v);
if (client.valid) then
if (client:GetX() > -64 or client:GetY() < 122 ) then
client:Message(13, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
client:Message(MT.Red, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
if ( warnings >= 10 ) then
client:Message(13, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
client:Message(MT.Red, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
if (client:Admin() < 80) then
client:Kill();
end

View file

@ -68,12 +68,12 @@ function Efficiency_Say(e)
eq.set_timer("waves", 1000);
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
elseif ( e.message:findi('end') and e.other:Admin() > 80) then
eq.spawn_condition(this_zone, instance_id, 1, 0);
eq.spawn_condition(this_zone, instance_id, 2, 0);
eq.zone_emote(14, 'Resetting spawn conditions');
eq.zone_emote(MT.Lime, 'Resetting spawn conditions');
elseif ( e.message:findi("test") and e.other:Admin() > 80) then
eq.signal( 307000, 1); -- NPC: Master_of_Efficiency
@ -115,7 +115,7 @@ function Efficiency_Timer(e)
eq.stop_all_timers();
eq.spawn_condition(this_zone, instance_id, 1, 0);
eq.zone_emote(13, "You have been found unworthy.");
eq.zone_emote(MT.Red, "You have been found unworthy.");
eq.depop();
-- no lockout added on failure, the dz shuts down in 5 minutes
@ -124,7 +124,7 @@ function Efficiency_Timer(e)
dz:SetSecondsRemaining(eq.seconds("5m"))
end
else
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
end

View file

@ -11,9 +11,9 @@ function event_tick(e)
local client = eq.get_entity_list():GetClientByCharID(v);
if (client.valid) then
if (client:GetX() > -64 or client:GetY() < 122 ) then
client:Message(13, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
client:Message(MT.Red, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
if ( warnings >= 10 ) then
client:Message(13, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
client:Message(MT.Red, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
if (client:Admin() < 80) then
client:Kill();
end

View file

@ -48,7 +48,7 @@ function Ingenuity_Say(e)
eq.set_timer("minutes", 1 * 60 * 1000);
eq.set_timer("reflective", 45 * 1000);
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
end
@ -63,7 +63,7 @@ function Ingenuity_Timer(e)
eq.stop_all_timers();
eq.spawn_condition('chamberse', instance_id, 1, 0);
eq.zone_emote(13, "You have been found unworthy.");
eq.zone_emote(MT.Red, "You have been found unworthy.");
eq.depop();
-- no lockout added on failure, the dz shuts down in 5 minutes
@ -72,7 +72,7 @@ function Ingenuity_Timer(e)
dz:SetSecondsRemaining(eq.seconds("5m"))
end
else
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
elseif (e.timer == "reflective") then
-- Spell: Reflective Sheen - 5822

View file

@ -11,9 +11,9 @@ function event_tick(e)
local client = eq.get_entity_list():GetClientByCharID(v);
if (client.valid) then
if (client:GetX() > -64 or client:GetY() < 122 ) then
client:Message(13, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
client:Message(MT.Red, "A deep voice booms in your head, 'This breach of the rules will not be tolerated. You must face the trials. Return to the arena or be subjected to pain.'");
if ( warnings >= 10 ) then
client:Message(13, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
client:Message(MT.Red, "A deep voice booms in your head, 'You have been warned. You did not heed the warnings. Now you Die!'");
if (client:Admin() < 80) then
client:Kill();
end

View file

@ -55,7 +55,7 @@ function Destruction_Say(e)
e.self:Say("Very well! Let the battle commence!");
eq.set_timer("minutes", 1 * 60 * 1000);
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
elseif (e.message:findi("test") and e.other:Admin() > 80) then
eq.signal(309061, 1); -- NPC: Master_of_Destruction
end
@ -71,7 +71,7 @@ function Destruction_Timer(e)
eq.stop_all_timers();
eq.spawn_condition(this_zone, instance_id, 1, 0);
eq.zone_emote(13, "You have been found unworthy.");
eq.zone_emote(MT.Red, "You have been found unworthy.");
eq.depop();
-- no lockout added on failure, the dz shuts down in 5 minutes
@ -80,7 +80,7 @@ function Destruction_Timer(e)
dz:SetSecondsRemaining(eq.seconds("5m"))
end
else
eq.zone_emote(15, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
eq.zone_emote(MT.Yellow, "You have " .. minutes_remaining .. " minutes remaining to complete your task.");
end
elseif ( e.timer == 'destruction' ) then
-- Every 6 seconds the Master of Destruction is alive; make him harder

View file

@ -7,12 +7,12 @@ function event_enter(e)
local qglobals = eq.get_qglobals(e.self,e.other);
if(qglobals["mage_epic"] == "10" and qglobals["mage_epic_cod"] == nil and eq.get_entity_list():IsMobSpawnedByNpcTypeID(200060) == false ) then
if(e.self:GetY()==310) then
e.other:Message(15,"The purple gem on your staff emanates a soft breeze.");
e.other:Message(MT.Yellow,"The purple gem on your staff emanates a soft breeze.");
eq.set_global("mage_epic_cod","1",3,"H2");
eq.set_timer("mage_epic_depop",30*60*1000);
eq.spawn2(200060, 0, 0, 483,256,-80,427); -- NPC: #Spirit_Elemental
else
e.other:Message(15,"The purple gem on your staff glows.")
e.other:Message(MT.Yellow,"The purple gem on your staff glows.")
end
end
end

View file

@ -6,7 +6,7 @@ end
function event_timer(e)
if e.timer == "Start" then
eq.stop_timer('Start');
eq.zone_emote(10,"A foul wind is felt carrying on it the stench of death and decay. Suddenly a thunderous bang is heard throughout the crypt and then these words, 'Great soldiers of decay you are summoned forth to do battle with these infidels!' All around the crypt echoes of footsteps and shuffling feet are heard.");
eq.zone_emote(MT.NPCQuestSay,"A foul wind is felt carrying on it the stench of death and decay. Suddenly a thunderous bang is heard throughout the crypt and then these words, 'Great soldiers of decay you are summoned forth to do battle with these infidels!' All around the crypt echoes of footsteps and shuffling feet are heard.");
eq.spawn_condition("codecay",0,1,1);
elseif e.timer == "Fail" then

View file

@ -21,7 +21,7 @@ function Spectre_Death(e)
local el = eq.get_entity_list();
if ( el:IsMobSpawnedByNpcTypeID(200016) == false) then
trash_dead=0;
eq.zone_emote(10,"Crazed laughter is heard as you notice a foul creature standing before you. The creature then speaks saying, 'Violaters of the depths of Lxanvom shall pay with your lives!' The foul minion of decay then begins chanting a dark ritual. Deeper within the depths of the crypt more chanting can be heard.");
eq.zone_emote(MT.NPCQuestSay,"Crazed laughter is heard as you notice a foul creature standing before you. The creature then speaks saying, 'Violaters of the depths of Lxanvom shall pay with your lives!' The foul minion of decay then begins chanting a dark ritual. Deeper within the depths of the crypt more chanting can be heard.");
eq.signal(200056, 1); -- NPC: Summoner_of_Bertoxxulous
end
end
@ -32,42 +32,42 @@ function Trash_Death(e)
trash_dead=trash_dead+1;
eq.debug("Trash Dead: " .. trash_dead);
if trash_dead == 42 and darwol_spawned == false then --42 Trash
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Darwol Adan, your master has need of you!' A bestial squeak thunders through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Darwol Adan, your master has need of you!' A bestial squeak thunders through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.spawn2(200046,0,0,-3.09,280.74,-245.20,255.5); -- NPC: #Darwol_Adan
darwol_spawned=true;
elseif trash_dead == 46 and feig_spawned == false then --46 Trash
eq.spawn2(200045,0,0,-203.46,0.68,-275.82,128.8); -- Spawn Feig Adan
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Feig Adan, your master has need of you!' A bestial squeak thunders through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Feig Adan, your master has need of you!' A bestial squeak thunders through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
feig_spawned=true;
elseif trash_dead == 50 and xhut_spawned == false then --50 Trash
eq.spawn2(200044,0,0,-1.24,-280.37,-245.82,511.2); -- Spawn Xhut Adan
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Xhut Adan, your master has need of you!' A dark vision flashes through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Xhut Adan, your master has need of you!' A dark vision flashes through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
xhut_spawned=true;
elseif trash_dead == 54 and kavillis_spawned == false then --54 Trash
eq.spawn2(200047,0,0,203.03,1.63,-275.82,381.8); -- Spawn Kavilis Adan
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Kavilis Adan, your master has need of you!' A faint buzzing is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Kavilis Adan, your master has need of you!' A faint buzzing is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
kavillis_spawned=true;
end
if ( el:IsMobSpawnedByNpcTypeID(200046) == false and el:IsMobSpawnedByNpcTypeID(200045) == false and el:IsMobSpawnedByNpcTypeID(200044) == false and el:IsMobSpawnedByNpcTypeID(200047) == false) and trash_dead >=108 and raddi_spawned == false then -- 108 trash
eq.spawn2(200049,0,0,-2.79,278.72,-245.82,259.5); -- Spawn Raddi Adan but only if none of the first 4 kings are spawned.
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Raddi Adan, your master has need of you!' A wailing cry echoes through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Raddi Adan, your master has need of you!' A wailing cry echoes through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
raddi_spawned=true;
end
if ( el:IsMobSpawnedByNpcTypeID(200046) == false and el:IsMobSpawnedByNpcTypeID(200045) == false and el:IsMobSpawnedByNpcTypeID(200044) == false and el:IsMobSpawnedByNpcTypeID(200047) == false) and trash_dead >=112 and wavadozzik_spawned == false then --112 trash
eq.spawn2(200048,0,0,-203.46,0.68,-275.82,128.8); -- Spawn Wavadozzik Adain, same conditions as Raddi
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Wavadozzik Adan, your master has need of you!' Chittering is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Wavadozzik Adan, your master has need of you!' Chittering is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
wavadozzik_spawned=true;
end
if ( el:IsMobSpawnedByNpcTypeID(200046) == false and el:IsMobSpawnedByNpcTypeID(200045) == false and el:IsMobSpawnedByNpcTypeID(200044) == false and el:IsMobSpawnedByNpcTypeID(200047) == false) and trash_dead >=116 and zandal_spawned == false then --116 trash
eq.spawn2(200050,0,0,-1.24,-280.37,-245.82,511.2); -- Spawn Zandal Adan, same conditions as Raddi & Wavadozzik
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Zandal Adan, your master has need of you!' Chittering is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Zandal Adan, your master has need of you!' Chittering is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
zandal_spawned=true;
end
if ( el:IsMobSpawnedByNpcTypeID(200046) == false and el:IsMobSpawnedByNpcTypeID(200045) == false and el:IsMobSpawnedByNpcTypeID(200044) == false and el:IsMobSpawnedByNpcTypeID(200047) == false) and trash_dead >=120 and akkapan_spanwed == false then
eq.spawn2(200051,0,0,203.03,1.63,-275.82,381.8); -- Spawn Akkapan Adan, same conditions as Raddi, Wavadozzik& Zandal
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Akkapan Adan, your master has need of you!' A maddened whispering is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you corrupted King of Lxanvom, Akkapan Adan, your master has need of you!' A maddened whispering is heard through the crypt as a foul fiend of Bertoxxulous is summoned forth.");
akkapan_spanwed=true;
end
if ( el:IsMobSpawnedByNpcTypeID(200049) == false and el:IsMobSpawnedByNpcTypeID(200048) == false and el:IsMobSpawnedByNpcTypeID(200050) == false and el:IsMobSpawnedByNpcTypeID(200051) == false and el:IsMobSpawnedByNpcTypeID(200044) == false and el:IsMobSpawnedByNpcTypeID(200045) == false and el:IsMobSpawnedByNpcTypeID(200046) == false and el:IsMobSpawnedByNpcTypeID(200047) == false) and trash_dead >=125 and bhaly_spawned == false and pzo_spawned == false and qezzin_spawned == false and meedo_spawned == false then
@ -75,7 +75,7 @@ function Trash_Death(e)
eq.spawn2(200053,0,0,-2.79,278.72,-245.82,259.5); -- Meedo North Spawn the final 4 Kings all at once if at 125 kills or more & all previous kings are dead.
eq.spawn2(200052,0,0,-203.46,0.68,-275.82,128.8); -- Qezzin East
eq.spawn2(200022,0,0,-1.24,-280.37,-245.82,511.2); -- Pzo South
eq.zone_emote(10,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you the last corrupted Kings of Lxanvom. Meedo Adan! Qezzin Adan! Pzo Adan! Bhaly Adan! Your master has need of you!' Four separate howls of rage and despair echo throughout the lower depths of the crypt as four foul fiends of Bertoxxulous are summoned forth.");
eq.zone_emote(MT.NPCQuestSay,"An unsettling feeling of fear passes through you as you hear the summoners finish a dark incantation then cry out saying, 'We call to you the last corrupted Kings of Lxanvom. Meedo Adan! Qezzin Adan! Pzo Adan! Bhaly Adan! Your master has need of you!' Four separate howls of rage and despair echo throughout the lower depths of the crypt as four foul fiends of Bertoxxulous are summoned forth.");
qezzin_spawned=true;
meedo_spawned=true;
pzo_spawned=true;
@ -83,7 +83,7 @@ function Trash_Death(e)
end
if (el:IsMobSpawnedByNpcTypeID(200054) == false and el:IsMobSpawnedByNpcTypeID(200053) == false and el:IsMobSpawnedByNpcTypeID(200052) == false and el:IsMobSpawnedByNpcTypeID(200022) == false) and trash_dead >=125 and bhaly_spawned == true and pzo_spawned == true and qezzin_spawned == true and meedo_spawned == true and bert_spawned == false then
eq.spawn2(200055,0,0,-61.75,-.22,-288.5,384.8); -- Summon Bertoxxulous. Make sure no kings are up before you do.
eq.zone_emote(10,"A sinister vision enters your mind of a faceless one handsome yet dead and decaying. The vision then shifts to that of a torn bestial creature and a loud shout is heard, 'Defilers death comes for you today!'")
eq.zone_emote(MT.NPCQuestSay,"A sinister vision enters your mind of a faceless one handsome yet dead and decaying. The vision then shifts to that of a torn bestial creature and a loud shout is heard, 'Defilers death comes for you today!'")
bert_spawned=true;
end
end
@ -92,7 +92,7 @@ end
function Bert_Death(e)
local el = eq.get_entity_list();
if ( el:IsMobSpawnedByNpcTypeID(200055) == false) then
eq.zone_emote(10,"A nimbus of light floods throughs the crypt in one magnificent wave as an earth shattering howl is heard. The bringer of plagues, lord of all disease and decay, Bertoxxulous has been defeated. Suddenly an urgent whisper fills your head simply saying, 'The Torch of Lxanvom shall burn bright again. Freedom is now ours, for that we thank you.");
eq.zone_emote(MT.NPCQuestSay,"A nimbus of light floods throughs the crypt in one magnificent wave as an earth shattering howl is heard. The bringer of plagues, lord of all disease and decay, Bertoxxulous has been defeated. Suddenly an urgent whisper fills your head simply saying, 'The Torch of Lxanvom shall burn bright again. Freedom is now ours, for that we thank you.");
eq.depop_all(200043);
eq.depop_all(200042);
eq.depop_all(200062); -- Despawn all Quest NPC's that have spawned.

View file

@ -3,7 +3,7 @@ function event_enter_zone(e)
local qglobals = eq.get_qglobals(e.self);
if(qglobals["mage_epic"] == "10" and qglobals["mage_epic_cod"] == nil) then
e.self:Message(15,"Your staff begins to glow");
e.self:Message(MT.Yellow,"Your staff begins to glow");
end
end
@ -15,7 +15,7 @@ function event_click_door(e)
e.self:MovePC(200, 0, -16, -289, 256)
else
--made up
e.self:Message(1, "There is still more work to be done.")
e.self:Message(MT.Default, "There is still more work to be done.")
end
end
end

View file

@ -16,7 +16,7 @@ function event_say(e)
elseif(e.message:findi("interesting ore")) then
e.self:Say("We've found some strange items off the dead in the dungeons. At first we just thought they were simple things -- rocks, pebbles, gems, and the like -- and then we noticed they had very unusual auras about them. Well, one day, Morden Rasp was toying with one -- a shiny green shard -- and he went to scrape it with his dagger. Suddenly, the shard began to reform and fused with his dagger. While the dagger remained as fine as ever, Morden himself felt a surge of strength! So, you will want to watch out for these strange magic pieces in the world. Now, I suggest you go talk to Selephra Giztral, Barstre Songweaver, Vual Stoutest, Teria Grinntli, or Ruanya Windleaf. They handle all of those who are interested in working for the Wayfarers Brotherhood and getting rewards. Remember well what I've told you!");
if(qglobals.Wayfarer == nil) then
e.other:Message(15,"You have completed a step toward becoming a great adventurer. Well done!");
e.other:Message(MT.Yellow,"You have completed a step toward becoming a great adventurer. Well done!");
eq.set_global("Wayfarer","1",5,"F");
end
end

View file

@ -5,7 +5,7 @@ end
function event_timer(e)
if (e.timer == "Hatch") then
eq.zone_emote(10,"Egg Sac bursts open releasing spiders.");
eq.zone_emote(MT.NPCQuestSay,"Egg Sac bursts open releasing spiders.");
eq.spawn2(341065,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading()); -- NPC: Magma_Spiderling
eq.spawn2(341065,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading()); -- NPC: Magma_Spiderling
eq.depop(341064);

View file

@ -27,23 +27,23 @@ end
function event_hp(e)
if (e.hp_event == 80) then
eq.zone_emote(10,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.zone_emote(MT.NPCQuestSay,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.set_timer("egg_client",1);
eq.set_next_hp_event(60);
elseif (e.hp_event == 60) then
eq.zone_emote(10,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.zone_emote(MT.NPCQuestSay,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.set_timer("egg_client",1);
eq.set_next_hp_event(40);
elseif (e.hp_event == 40) then
eq.zone_emote(10,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.zone_emote(MT.NPCQuestSay,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.set_timer("egg_client",1);
eq.set_next_hp_event(20);
elseif (e.hp_event == 20) then
eq.zone_emote(10,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.zone_emote(MT.NPCQuestSay,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.set_timer("egg_client",1);
eq.set_next_hp_event(10);
elseif (e.hp_event == 10) then
eq.zone_emote(10,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.zone_emote(MT.NPCQuestSay,"Volkara stamps its legs causing eggs to fall from the ceiling.");
eq.set_timer("egg_client",1);
end
end

View file

@ -69,7 +69,7 @@ function event_death(e)
banish=false; -- tell banish to not happen when I respawn
eq.set_next_inc_hp_event(80); -- set something to happen when I regen to 80
has_died = true; -- let myself know I can die now for real.
eq.zone_emote(15,"As Tirranun is struck down, every last ember of flame is expelled from his volcanic body. His broken husk smolders quietly on the rock. Alarmingly, it appears to be getting warmer. He is recovering.");
eq.zone_emote(MT.Yellow,"As Tirranun is struck down, every last ember of flame is expelled from his volcanic body. His broken husk smolders quietly on the rock. Alarmingly, it appears to be getting warmer. He is recovering.");
return 1 -- force myself to stay alive.
end
if can_die == true then

View file

@ -29,7 +29,7 @@ function Emoush_signal(e)
e.self:WipeHateList();
e.self:ModifyNPCStat("hp_regen", "3200");
eq.set_timer("powerup", 120 * 1000);
eq.zone_emote(15, "The fallen mystics awaken.");
eq.zone_emote(MT.Yellow, "The fallen mystics awaken.");
addtimer = 0;
end
end
@ -52,7 +52,7 @@ function Emoush_timer(e)
eq.debug("My new min hit is: " .. combat_min_hit);
eq.debug("My new max hit is : " .. combat_max_hit);
eq.set_timer("powerup", 120 * 1000);
eq.zone_emote(15, "Emoush trembles as his power increases.");
eq.zone_emote(MT.Yellow, "Emoush trembles as his power increases.");
end
end
@ -64,7 +64,7 @@ end
function Braggle_death(e)
addtimer = addtimer + 1;
eq.spawn2(342060,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading()); -- NPC: unconscious_mystic
eq.zone_emote(15, "The goblin mystic falls to the ground unconscious.");
eq.zone_emote(MT.Yellow, "The goblin mystic falls to the ground unconscious.");
if(eq.get_entity_list():IsMobSpawnedByNpcTypeID(342053) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(342054) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(342055) == false) then
eq.signal(342052,1); --signal emoush to wake up
end

View file

@ -28,7 +28,7 @@ function event_trade(e)
e.self:Say("Take it! The blade is yours! A gift from Innoruuk, for the most powerful of shadowknights!");
e.other:QuestReward(e.self,{itemid=48136, exp=50000}); --Innoruuk's Dark Blessing (Epic 2.0)
e.other:AddAAPoints(10);
e.other:Message(15,'You have gained 10 ability points!');
e.other:Message(MT.Yellow,'You have gained 10 ability points!');
eq.set_global("shadowknight_epic","12",5,"F");
end
item_lib.return_items(e.self, e.other, e.trade);

View file

@ -8,7 +8,7 @@ function event_hp(e)
e.self:SetPseudoRoot(false);
eq.stop_timer("terror");
eq.set_next_inc_hp_event(87);
eq.zone_emote(0, "Zun`Muram Volklana shouts,'Cowardly worms! Come and fight me.'");
eq.zone_emote(MT.White, "Zun`Muram Volklana shouts,'Cowardly worms! Come and fight me.'");
elseif (e.inc_hp_event == 87) then
e.self:GotoBind();
e.self:SetPseudoRoot(true);

View file

@ -23,7 +23,7 @@ function event_trade(e)
e.self:Say("Ah, very good outlander, you managed to find some Discordant Matter. Very well, I will see what I can accomplish. Though the ore in this axe is originally from my world, the smithing technique and some of the magic are from yours. Therefore I can make no promises.' After some time and much effort the Dragorn hands the axe back. You immediately notice that edge has a brilliance to it that is nearly blinding. There outlander. I think you will be pleased with the results. The smithing technique used to forge that axe is quite unique. . .I doubt another of its kind exists. Be wary though for as I was applying the Discordant matter to the edge, I felt a disturbing presence emanating from the axe. There is someone or something that endures within it. . .something that seeks to control those who wield it. You must be ever cautious lest the axe is able to compel its influence onto you. I fear that though the axe will bring you many victories, those victories may come at a cost. Travel safe and fair, my friend!");
e.other:QuestReward(e.self,{itemid=18609, exp=50000}); --(Epic 2.0)
e.other:AddAAPoints(10);
e.other:Message(15,'You have gained 10 ability points!');
e.other:Message(MT.Yellow,'You have gained 10 ability points!');
eq.set_global("berserk_epic","10",5,"F");
end
item_lib.return_items(e.self, e.other, e.trade);

View file

@ -27,7 +27,7 @@ function event_trade(e)
e.other:SummonItem(20076); -- Aegis of Superior Divinity // Grant Title High Priest/High Priestess//10AAs
e.other:AddAAPoints(10);
e.other:Ding();
e.other:Message(15,'You have gained 10 ability points!');
e.other:Message(MT.Yellow,'You have gained 10 ability points!');
e.other:AddEXP(10000); -- not sure how much exp to reward
end
item_lib.return_items(e.self, e.other, e.trade);

View file

@ -5,11 +5,11 @@ function event_spawn(e)
end
function event_enter(e)
--e.other:Message(15,"The gr");
--e.other:Message(MT.Yellow,"The gr");
if(e.other:Class() == "Druid") then
local qglobals = eq.get_qglobals(e.other);
if (qglobals["druid_epic"] == "7" and qglobals["druid_epic_dranik"] == nil and eq.get_entity_list():IsMobSpawnedByNpcTypeID(336214) == false ) then
e.other:Message(15,"The ground shakes violently and a deep thudding sound rolls across the land");
e.other:Message(MT.Yellow,"The ground shakes violently and a deep thudding sound rolls across the land");
eq.set_global("druid_epic_dranik","1",2,"H2");
eq.set_timer("druid_epic_depop",30*60*1000);
eq.spawn2(336214, 0, 0, -1591,536,-40,202); -- NPC: #a_cracked_earthshaker

View file

@ -134,11 +134,11 @@ function All_Death(e)
for npc in npc_list.entries do
if (npc.valid and (npc:GetNPCTypeID() == 336120 or npc:GetNPCTypeID() == 336237 or npc:GetNPCTypeID() == 336238 or npc:GetNPCTypeID() == 336239 or npc:GetNPCTypeID()==336117 or npc:GetNPCTypeID()==336118 or npc:GetNPCTypeID()==336119)) then
add_alive=add_alive+1;
--eq.zone_emote(15, "adds alive" .. add_alive);
--eq.zone_emote(MT.Yellow, "adds alive" .. add_alive);
end
end
if (add_alive==0) then
--eq.zone_emote(15, "no adds alive" .. add_alive);
--eq.zone_emote(MT.Yellow, "no adds alive" .. add_alive);
eq.spawn2(336134, 0, 0, 1678,2778,-24.97,261); -- spawn ironbound chest
eq.depop_with_timer(336127); --send controller into respawn
end
@ -147,7 +147,7 @@ end
function event_encounter_load(e)
--eq.zone_emote(15, "encounter load");
--eq.zone_emote(MT.Yellow, "encounter load");
eq.register_npc_event('battlemaster', Event.spawn, 336127, Controller_Spawn);
eq.register_npc_event('battlemaster', Event.signal, 336127, Controller_Signal);
eq.register_npc_event('battlemaster', Event.timer, 336127, Controller_Timer);
@ -176,5 +176,5 @@ function event_encounter_load(e)
end
function event_encounter_unload(e)
--eq.zone_emote(15, "encounter unload");
--eq.zone_emote(MT.Yellow, "encounter unload");
end

View file

@ -14,23 +14,23 @@ end
function Tiorpat_Timer(e)
if (e.timer == 'flavor') then
eq.zone_emote(0,"Tiorpat Tornwing shouts, 'The invaders have ruined our lands, our home, our way of life. We must not take this lying down.");
eq.zone_emote(0,"A Dragorn realist shouts, 'Are you mad? We haven't a chance against them. We've already lost and you must be blind not to see this.");
eq.zone_emote(MT.White,"Tiorpat Tornwing shouts, 'The invaders have ruined our lands, our home, our way of life. We must not take this lying down.");
eq.zone_emote(MT.White,"A Dragorn realist shouts, 'Are you mad? We haven't a chance against them. We've already lost and you must be blind not to see this.");
eq.set_timer('flavor2', 300 * 1000);
eq.stop_timer('flavor');
elseif (e.timer == 'flavor2') then
eq.zone_emote(0,"Tiorpat Tornwing shouts, 'Can you remember a time when we were a proud people? Before our subjugation to these heartless monsters?");
eq.zone_emote(0,"A sympathetic Dragorn shouts, 'Yes. I long to relive those times again.'");
eq.zone_emote(MT.White,"Tiorpat Tornwing shouts, 'Can you remember a time when we were a proud people? Before our subjugation to these heartless monsters?");
eq.zone_emote(MT.White,"A sympathetic Dragorn shouts, 'Yes. I long to relive those times again.'");
eq.set_timer('flavor3', 300 * 1000);
eq.stop_timer('flavor2');
elseif (e.timer == 'flavor3') then
eq.zone_emote(0,"Tiorpat Tornwing shouts, 'To live under the thumb of the invaders is not to live at all. I would rather be dead than a slave.");
eq.zone_emote(0,"A Dragorn realist shouts, 'You will be dead, and any fool that follows suit sacrifices their life needlessly as well.");
eq.zone_emote(MT.White,"Tiorpat Tornwing shouts, 'To live under the thumb of the invaders is not to live at all. I would rather be dead than a slave.");
eq.zone_emote(MT.White,"A Dragorn realist shouts, 'You will be dead, and any fool that follows suit sacrifices their life needlessly as well.");
eq.set_timer('flavor4', 300 * 1000);
eq.stop_timer('flavor3');
elseif (e.timer == 'flavor4') then
eq.zone_emote(0,"Tiorpat Tornwing shouts, 'It's never too late to make a last stand. Drive them out!");
eq.zone_emote(0,"A sympathetic Dragorn shouts, 'Death to the invaders!");
eq.zone_emote(MT.White,"Tiorpat Tornwing shouts, 'It's never too late to make a last stand. Drive them out!");
eq.zone_emote(MT.White,"A sympathetic Dragorn shouts, 'Death to the invaders!");
eq.set_timer('flavor', 600 * 1000);
eq.stop_timer('flavor4');
elseif (e.timer == 'depop') then
@ -50,7 +50,7 @@ elseif (e.timer == 'link') then
end
end
elseif (e.timer == 'adds') then
eq.zone_emote(0,"Tiorpat Tornwing shouts, 'Help me, brother!");
eq.zone_emote(MT.White,"Tiorpat Tornwing shouts, 'Help me, brother!");
eq.signal(336058,1);
eq.signal(336057,1);
-- a_Dragorn_realist (336058)
@ -80,7 +80,7 @@ function Tiorpat_Signal(e)
if (e.signal==1) then
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0,"Tiorpat Tornwing shouts, 'I'm not afraid of you, and I will not back down. This time you've threatened the wrong Dragorn.");
eq.zone_emote(MT.White,"Tiorpat Tornwing shouts, 'I'm not afraid of you, and I will not back down. This time you've threatened the wrong Dragorn.");
eq.stop_timer('flavor');
eq.stop_timer('flavor2');
eq.stop_timer('flavor3');
@ -110,7 +110,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
@ -120,7 +120,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
@ -129,7 +129,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
elseif add_sequence == 3 then
@ -137,7 +137,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
elseif add_sequence == 4 then
@ -145,7 +145,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
elseif add_sequence == 5 then
@ -153,7 +153,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
elseif add_sequence == 6 then
@ -161,7 +161,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
elseif add_sequence == 7 then
@ -169,7 +169,7 @@ function Add_Signal(e)
add_sequence = add_sequence + 1;
e.self:SetSpecialAbility(24, 0);
e.self:SetSpecialAbility(35, 0);
eq.zone_emote(0, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.zone_emote(MT.White, e.self:GetCleanName() .. " shouts, 'It is an honor to fight at your side again, Tornwing.");
eq.debug("add sequence: " .. add_sequence);
end
end

View file

@ -11,7 +11,7 @@ function event_say(e)
e.self:Say("Dat sword, there's something wrong with it. Was it my brother? This is terrible news. I had no idea he had been so corrupted by this place. I had no idea he'd turn into a monster and try to steal away dat which we have been charged to protect! Luckily you were able to stop him and recover da sword. You should keep it in your possession. I have a feeling you're da [" .. eq.say_link("one") .. "] I've been waiting for.");
e.other:AddAAPoints(5);
e.other:Ding();
e.other:Message(15,'You have gained 5 ability points!');
e.other:Message(MT.Yellow,'You have gained 5 ability points!');
--e.other:SetAATitle('Conqueror');
eq.set_global("warrior_epic","16",5,"F");
else

View file

@ -14,7 +14,7 @@ end
function event_timer(e)
if(e.timer == "borer") then
if(e.self:GetItemIDAt(Slot.Cursor)==60300 and recepactive==false) then --energy receptor on cursor
e.self:Message(4,"The energy receptor appears to be active");
e.self:Message(MT.LightBlue,"The energy receptor appears to be active");
eq.depop_all(302050);
eq.spawn2(302050, 0, 0, 155,-1053,29.5, 152); -- NPC: Blackfall_Borer
eq.create_ground_object(60301,155,-1053,29.5,0);

View file

@ -7,12 +7,12 @@ function event_enter(e)
local qglobals = eq.get_qglobals(e.self,e.other);
if(qglobals["mage_epic"] == "10" and qglobals["mage_epic_dl"] == nil and eq.get_entity_list():IsMobSpawnedByNpcTypeID(86174) == false ) then
if(e.self:GetY()==635) then
e.other:Message(15,"You see the burning manifestation of Chaos appear before you.");
e.other:Message(MT.Yellow,"You see the burning manifestation of Chaos appear before you.");
eq.set_global("mage_epic_dl","1",3,"H2");
eq.set_timer("mage_epic_depop",30*60*1000);
eq.spawn2(86174, 0, 0, 8877,363.5,1158,0); -- NPC: #Chaos_Elemental
else
e.other:Message(15,"The red gem on your staff glows.")
e.other:Message(MT.Yellow,"The red gem on your staff glows.")
end
end
end

View file

@ -12,7 +12,7 @@ function event_enter_zone(e)
end
if(qglobals["mage_epic"] == "10") then
e.self:Message(15,"Your staff begins to glow");
e.self:Message(MT.Yellow,"Your staff begins to glow");
end
end
@ -27,7 +27,7 @@ function event_timer(e)
e.self:MovePC(152, 0.00, 0.00, -30.25, 360); -- Teleport to Nexus
elseif ((e.timer == "spires") and (qglobals.nexus_dre == "1") and (qglobals.spire_dre == "1") and (not e.self:HasItem(19720))) then
e.self:Message(13, "You don't have the correct component to travel to Luclin.");
e.self:Message(MT.Red, "You don't have the correct component to travel to Luclin.");
end
end

View file

@ -9,16 +9,16 @@ function event_say(e)
elseif(e.message:findi("Redfang")) then
e.self:Emote("sighs, 'Such a beautiful creature. When will Redfang return, I wonder?");
elseif(e.message:findi("mere accident")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("pauses to consider your words and shakes his head. 'No, " .. e.other:GetName() .. ". One does not find their way into the Demi-Plane of Blood by accident. If you end up in that place, it's for a reason. I respect your right to your own beliefs, but that's a fallacy, pure and simple.");
elseif(e.message:findi("beauty")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("pauses to consider your words and nods, thoughtfully. 'Yes, " .. e.other:GetName() .. ". That is possible. The Master takes pleasure in beauty. This is evident in his choice of decor and the guests that he invites to spend time in his house. The Keep is gaudy and meticulously cared for by the servants. And while certain guests were obviously welcomed in large part due to their dashing looks, I suspect that the beauty the Master is most attracted to is his own. This is tragically ironic since he cannot see his own reflection.");
elseif(e.message:findi("strength")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("pauses to consider your words and nods, thoughtfully. 'Yes, " .. e.other:GetName() .. ". That is possible. I'm certain the Master enjoys the company of uniquely powerful beings. Their presence could serve as a comparison and reminder of his own omnipotence.");
elseif(e.message:findi("control or destroy")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("pauses to consider your words and nods, thoughtfully. 'Yes, " .. e.other:GetName() .. ". That is possible. Rumor has it that his most cherished guests are those that would attempt to slay him. He relishes this attention. It feeds his ego. Hah, perhaps the reason they even located his home is because he wanted that attention. It is, depending on your point of view, a sort of homage. As far as the ruler of the Demi-Plane is concerned, intruders are delightfully amusing. None of those that dared cross the threshold of his hidden Keep have even a remote chance of harming him.");
end
end

View file

@ -3,16 +3,16 @@ function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Ah, " .. e.other:GetName() .. ". You have returned. I have watched as you walked your path. The reflecting pool has shown me of your feats. You were introduced to the cruel and unpredictable malice of Graniteclaw and lived to tell about it. Now I sense that you wish to understand more. Allow me to hold the Rune-Etched Stone and I will grant you the understanding you seek.");
elseif(e.message:findi("Disgusted")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("nods. 'An understandable response. The Master places no value on life. Even his closest servants and guardians are nothing more than disposable tools, and this must appear disgusting and deplorable to an outsider.");
elseif(e.message:findi("sorrowful")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("nods. 'An understandable response. When you can see how pitiful it is to be forced to shatter another's existence in order to see your own, it's hard not to feel sorry for the Master's predicament. To have no concept of self is a horrible curse.");
elseif(e.message:findi("furious")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("nods. 'An understandable response. There are many that look upon the Master as an aberration. There are many that have attempted to destroy him for his crimes. There are none that have succeeded.");
elseif(e.message:findi("apathetic")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("nods. 'I must warn you of the perils of apathy, " .. e.other:GetName() .. ". A lack of convictions is the worst of all evils. You would be far better served by taking a stand, and making a real decision.");
end
end

View file

@ -5,16 +5,16 @@ function event_say(e)
elseif(e.message:findi("hail")) then
e.self:Say("Me no want to hurt strangers. Go away, else you end up like Hatchet's other playthings.");
elseif(e.message:findi("forget")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("squinches his face tightly, lost in thought, 'Maybe that be true. After dozens, hundreds, thousands years, maybe the life of a mortal some distant and forgot memory.");
elseif(e.message:findi("superiority")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("squinches his face tightly, lost in thought, 'Life for them is more complex than me can understand. They struggle always, against each other. Fighting for control and better standing in the Keep. Blood drinkers treat those above them with charm and those below get contempt. Underlings like me treated worst of all. Mortals is spit on to show how they better.");
elseif(e.message:findi("mortals is food")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("squinches his face tightly, lost in thought, 'Maybe that be true. You no treat your food with respect and care. So it be that blood drinkers treat their meals with indifference.");
elseif(e.message:findi("angry")) then
e.other:Message(0,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.other:Message(MT.White,"You feel as though you have been judged, and that this decision may affect you sometime in the future.");
e.self:Emote("squinches his face tightly, lost in thought, 'That make no sense, " .. e.other:GetName() .. ". Me know angry and blood drinkers no mad. They malicious. They selfish. But they no angry.");
end
end

View file

@ -5,11 +5,11 @@ function event_say(e)
if(e.message:findi("hail")) then
if(eq.is_task_activity_active(811,2)) then -- Task: Bringing Goods to the Plains
e.self:Say(string.format("Hello, %s.",e.other:GetName()));
e.self:Message(15, "Now wasn't that a rewarding experience? Wasn't it satisfying to expand your horizons and explore the world? Truely, your time spent here is reward in and of itself. Then again, if it's not, you did go see the world on the word of a stranger, so there's no harm in a reward that's a bit more tangible.");
e.self:Message(MT.Yellow, "Now wasn't that a rewarding experience? Wasn't it satisfying to expand your horizons and explore the world? Truely, your time spent here is reward in and of itself. Then again, if it's not, you did go see the world on the word of a stranger, so there's no harm in a reward that's a bit more tangible.");
eq.update_task_activity(811,2,1);
elseif(eq.is_task_activity_active(500143,2)) then -- Task: Bringing Books to the Karanas
e.self:Say(string.format("Hello, %s.",e.other:GetName()));
e.self:Message(15, "Now wasn't that a rewarding experience? Wasn't it satisfying to expand your horizons and explore the world? Truely, your time spent here is reward in and of itself. Then again, if it's not, you did go see the world on the word of a stranger, so there's no harm in a reward that's a bit more tangible.");
e.self:Message(MT.Yellow, "Now wasn't that a rewarding experience? Wasn't it satisfying to expand your horizons and explore the world? Truely, your time spent here is reward in and of itself. Then again, if it's not, you did go see the world on the word of a stranger, so there's no harm in a reward that's a bit more tangible.");
eq.update_task_activity(500143,2,1);
end
else

View file

@ -5,7 +5,7 @@ function event_say(e)
if(e.message:findi("hail")) then
if(eq.is_task_activity_active(825,2)) then
e.self:Say("Thanks for contacting me. Your information on this matter has been most useful.");
e.self:Message(15, "The search for the Morticalidon won't end, not as long as entrepid explorers like you are on the trail. With this type of creature, you never know when or where you'll find it, but one thing is for sure -- finding this creature will be the most rewarding experience you'll ever have. In the meantime, here's payment for the time you spent searching.");
e.self:Message(MT.Yellow, "The search for the Morticalidon won't end, not as long as entrepid explorers like you are on the trail. With this type of creature, you never know when or where you'll find it, but one thing is for sure -- finding this creature will be the most rewarding experience you'll ever have. In the meantime, here's payment for the time you spent searching.");
end
else
e.self:Say(string.format("Hello, %s.",e.other:GetName()));

View file

@ -3,7 +3,7 @@
function event_loot(e)
if(e.item:GetID() == 11430 and e.self:HasItem(26896) == true and e.self:HasItem(14344) == true and e.self:HasItem(22892) == true) then -- All 4 Paladin Heads
e.self:Message(15, "With his last breath, the paladin says, 'You are too late. The last paladin has fled to Natimbi with the staff and is on his way to destroy it!'");
e.self:Message(MT.Yellow, "With his last breath, the paladin says, 'You are too late. The last paladin has fled to Natimbi with the staff and is on his way to destroy it!'");
end
end

View file

@ -7,7 +7,7 @@ end
function event_enter(e)
if(e.other:HasItem(18726) == true) then
e.other:Message(15,"An important looking Erudite turns to greet you as you enter the room. 'Greetings. A young recruit perhaps? I am Depnar Bulrious, your new Guild Master. Read the note in your inventory and then hand it to me when you are ready to begin your training. Truth awaits!'");
e.other:Message(MT.Yellow,"An important looking Erudite turns to greet you as you enter the room. 'Greetings. A young recruit perhaps? I am Depnar Bulrious, your new Guild Master. Read the note in your inventory and then hand it to me when you are ready to begin your training. Truth awaits!'");
end
end

Some files were not shown because too many files have changed in this diff Show more