update from takp quests. see patchnote for 10-11-2023

This commit is contained in:
regneq 2023-10-11 15:54:36 -07:00
parent d8aa7121f7
commit c7de1ea258
37 changed files with 197 additions and 111 deletions

View file

@ -3,5 +3,7 @@ function event_say(e)
e.self:Say("Pleasure to meet you. Keep your eye out for the ship. You don't want to miss it.");
elseif(e.message:findi("mudtoes")) then
e.self:Say("Mudtoes!! I have heard tales of that foul clan of ogres. A few passengers aboard the ships have claimed to have seen one of them, off and on, amongst the pirates in the Ocean of Tears!!");
elseif(e.message:findi("love you")) then
e.self:Say("Glorin and " .. e.other:GetCleanName() .. ". We would make a fine couple.");
end
end
end

View file

@ -22,7 +22,7 @@ function event_trade(e)
e.other:QuestReward(e.self,0,0,0,0,20879,1000); -- Item: A note of credit
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 20881,item2 = 20880,item3 = 10151,item4 = 5408})) then
e.self:Say("You have done well. I sense the one I have been hunting in the distance. As your final test, you must track him down and destroy him.");
eq.spawn2(15183,0,0,-800,-2712,15.6,138); -- NPC: Vance_Bearstalker
eq.unique_spawn(15183,0,0,-800,-2712,15.6,138); -- NPC: Vance_Bearstalker
e.other:Faction(e.self,246,100,0); -- faydarks champion
e.other:Faction(e.self,279,25,0); -- king tearis thex
e.other:Faction(e.self,226,25,0); -- cleric of tunare

View file

@ -46,13 +46,21 @@ function event_trade(e)
e.other:Faction(e.self,226,5,0); -- Clerics of Tunare
e.other:Faction(e.self,279,5,0); -- King Tearis Thex
e.other:Faction(e.self,5002,3,0); -- Anti Mage
e.other:QuestReward(e.self,math.random(9),math.random(9),0,0,eq.ChooseRandom(15025, 15033, 15032, 15623, 13003, 13004, 14013, 7001, 13005, 13009),500); -- Spells: Pillage Enchantment, Brilliance, Plague, Minor Conjuration:Air , Large Lantern, Small Lantern, Potion of Sustenance, Dagger, Iron Ration, Bandage
if(math.random(100) > 10) then
e.other:QuestReward(e.self,math.random(9),math.random(9),0,0,eq.ChooseRandom(13003, 13004, 14013, 7001, 13005, 13009),500); -- Large Lantern, Small Lantern, Potion of Sustenance, Dagger, Iron Ration, Bandage
else
e.other:QuestReward(e.self,math.random(9),math.random(9),0,0,eq.ChooseRandom(15025, 15033, 15032, 15623),500); -- Spells: Pillage Enchantment, Brilliance, Plague, Minor Conjuration:Air
end
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13226})) then
e.self:Say("So, you succeeded in stopping a Crushbone runner! That is good. Now take this as reward. Keep up your fine work. The people of Felwithe are grateful.");
e.other:Faction(e.self,226,5,0); -- Clerics of Tunare
e.other:Faction(e.self,279,5,0); -- King Tearis Thex
e.other:Faction(e.self,5002,3,0); -- Anti Mage
e.other:QuestReward(e.self,math.random(9),math.random(9),0,0,eq.ChooseRandom(15025, 15033, 15032, 15623, 13003, 13004, 14013, 7001, 13005, 13009),500); -- Set same rewards as his other quest, comments showed some crossover in rewards but need to find more
if(math.random(100) > 10) then -- Set same rewards as his other quest, comments showed some crossover in rewards but need to find more
e.other:QuestReward(e.self,math.random(9),math.random(9),0,0,eq.ChooseRandom(13003, 13004, 14013, 7001, 13005, 13009),500); -- Large Lantern, Small Lantern, Potion of Sustenance, Dagger, Iron Ration, Bandage
else
e.other:QuestReward(e.self,math.random(9),math.random(9),0,0,eq.ChooseRandom(15025, 15033, 15032, 15623),500); -- Spells: Pillage Enchantment, Brilliance, Plague, Minor Conjuration:Air
end
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 18840})) then
e.self:Say("So, the Teir'Dal are behind the recent advances of the orcs?!! Your news has shed light on their union. It is time to step forth and prove yourself a [faithful paladin of this court].");
e.other:Faction(e.self,226,10,0); -- Clerics of Tunare
@ -60,7 +68,7 @@ function event_trade(e)
e.other:Faction(e.self,5002,7,0); -- Anti Mage
e.other:QuestReward(e.self,0,0,0,0,0,1000);
elseif(e.other:GetFactionValue(e.self) >= 200 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12330,item2 = 12329,item3 = 13227})) then -- A Large Locked Crate, Blue Orc Head, Black Heart
e.self:Say("'A noble deed has been done and the alliance of evil has been stalled. I present you with the falchion of the Koada`Vie. You are now an honorable member of our order. Hail Felwithe, and may you defender her with honor.");
e.self:Say("A noble deed has been done and the alliance of evil has been stalled. I present you with the falchion of the Koada`Vie. You are now an honorable member of our order. Hail Felwithe, and may you defender her with honor.");
e.other:Faction(e.self,226,50,0); -- Clerics of Tunare
e.other:Faction(e.self,279,50,0); -- King Tearis Thex
e.other:Faction(e.self,5002,3,0); -- Anti Mage

View file

@ -23,21 +23,22 @@ end
function event_trade(e)
local item_lib = require("items");
local text1 = "I requested four Ghast hearts!";
if(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13073,item2 = 13073,item3 = 13073,item4 = 13073})) then --Bone Chips x 4
e.self:Say("Praise Tunare! I knew you would be victorious. I reward you with this spell, and pray that it will help you in your fight against the unholy forces of Innoruk. When you are ready you will make a fine [Initiate of Tunare].");
e.self:Say("Praise Tunare! I knew you would be victorious. I reward you with this spell, and pray that it will help you in your fight against the unholy forces of Innoruuk. When you are ready you will make a fine [Initiate of Tunare].");
e.other:Faction(e.self,226,2,0); --Clerics of Tunare
e.other:Faction(e.self,279,2,0); --King Tearis Thex
e.other:Faction(e.self,5002,1,0); --Anti-mage
e.other:QuestReward(e.self,0,0,0,0,15014,250); --Spell: Strike , Verified experience reward live data
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 10199,item2 = 10199,item3 = 10199,item4 = 10199})) then --Putrescent Heart x 4
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 10199,item2 = 10199,item3 = 10199,item4 = 10199},1,text1)) then --Putrescent Heart x 4
e.self:Say("Praise Tunare!! You have done well young Initiate. Here the symbol of your station within our faith. Return to me when you are ready to [slay the necromancer] that has been creating the undead.");
e.other:Faction(e.self,226,15,0); --Clerics of Tunare
e.other:Faction(e.self,279,15,0); --King Tearis Thex
e.other:Faction(e.self,5002,11,0); --Anti-mage
e.other:QuestReward(e.self,0,0,0,0,1570,3250); --Initiate Symbol of Tunare
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 1570,item2 = 12514,item3 = 19065,item4 = 12513})) then --Initiate Symbol of Tunare, Larik Z`Vole's Head, Teir`Dal Couriers Head, Teir`Dal Crate
e.self:Say("Praise Tunare! The Mother smiles on you this day Disciple Angelsyn! I present you with the symbol of your new station among the Priests of Tunare. Return to me when you are ready to become a [Warden of Tunare]?");
e.self:Say("Praise Tunare! The Mother smiles on you this day Disciple " .. e.other:GetCleanName() .. "! I present you with the symbol of your new station among the Priests of Tunare. Return to me when you are ready to become a [Warden of Tunare]?");
e.other:Faction(e.self,226,30,0); --Clerics of Tunare
e.other:Faction(e.self,279,30,0); --King Tearis Thex
e.other:Faction(e.self,5002,22,0); --Anti-mage

View file

@ -1,12 +1,12 @@
function event_say(e)
if(e.message:findi("hail")) then
if(e.other:GetFactionValue(e.self) >= -100) then
if(e.other:GetFactionValue(e.self) >= -500) then
e.self:Say("Aya, howdy there, " .. e.other:GetCleanName() .. ". The name's Gren Frikniller. 'Niller the Killer' The only person who can give me a run for my money is my [sister].");
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
end
elseif(e.message:findi("sister") or e.message:findi("falia")) then
if(e.other:GetFactionValue(e.self) >= -100) then
if(e.other:GetFactionValue(e.self) >= -500) then
e.self:Say("Ah, my sister Falia has traveled here all the way from Rivervale. I hear that she's been staying up in North Freeport, but I haven't had a chance to find her yet. If you get some spare time, could you take this letter to her for me? Thanks, " .. e.other:GetCleanName() .. ", you're really not so bad after all.");
e.other:SummonCursorItem(18925); -- Letter to Falia
else

View file

@ -1,6 +1,6 @@
function event_say(e)
if(e.message:findi("hail")) then
if(e.other:GetFactionValue(e.self) >= -100) then
if(e.other:GetFactionValue(e.self) >= -500) then
e.self:Say("Aye, hello there, friend! How are ye on this fine day? A beautiful day to be alive, I must say! Anyway, I just got into Freeport last month. Wow, is this city big! Way bigger than humble little Rivervale. That's where I'm from. I'm working on setting up my own little business here, Falia's Foot Combs and Footwear, it'll be called. But, I don't have anything to sell yet, so check back in a couple of weeks. Safe travels to ye, friend.");
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
@ -11,7 +11,7 @@ end
function event_trade(e)
local item_lib = require("items");
if(e.other:GetFactionValue(e.self) >= -100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 18925})) then
if(e.other:GetFactionValue(e.self) >= -500 and item_lib.check_turn_in(e.self, e.trade, {item1 = 18925})) then
e.self:Say("Heh, that good for nothing fool. I've been here for over a month already, and I haven't seen him yet. Bah, anyway, could you take this back to him for me? It was our grandfather's lucky necklace. He passed it down to our father, and now onto my brother. Knowing that little worm, Grenny, he'll probably trade it for a mug of ale. Oh well, thanks for delivering the letter, friend. Good day to you, and safe travels.");
e.other:QuestReward(e.self,0,0,0,0,13159,500); -- Item: Broken Heirloom Necklace
end

View file

@ -14,7 +14,7 @@ function event_trade(e)
e.other:Faction(e.self,262,1,0); -- guards of qeynos
e.other:Faction(e.self,304,-1,0); -- ring of scale
e.other:Faction(e.self,285,-1,0); -- mayong mistmoore
e.other:QuestReward(e.self,0,0,eq.ChooseRandom(6,7,8,9,10,11,12,13,14,15),0,0,1550);
e.other:QuestReward(e.self,0,0,12,0,0,2000); -- confirmed Live rewards (exp and coin)
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -1,3 +1,18 @@
function event_spawn(e)
e.self:SetRunning(true);
eq.set_timer("depop",1800000); --Despawn after 30 minutes
e.self:SetRunning(true);
end
function event_combat(e)
if(e.joined) then
if(not eq.is_paused_timer("depop")) then
eq.pause_timer("depop");
end
else
eq.resume_timer("depop");
end
end
function event_timer(e)
eq.depop();
end

View file

@ -18,5 +18,5 @@ function event_waypoint_arrive(e)
end
function event_death_complete(e)
eq.spawn2(9144,86,0,704,-554,-24,0); -- spawn hollish tnoops
eq.unique_spawn(9144,86,0,704,-554,-24,0); -- spawn hollish tnoops
end

View file

@ -26,6 +26,7 @@ function event_trade(e)
local item_lib = require("items");
local text = "I expect to receive TWO orc hatchets.";
-- exp and money rewards for all 3 confirmed by Torven
if(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12108,item2 = 12108},1,text)) then -- Orc Hatchet x 2
e.self:Say("Fantastic work!! Your actions shall earn you the respect of all Fier'Dal! Take this as a small bounty for your deed. We have heard of [Crushbone allies] who wish our demise.");
e.other:Faction(e.self,246,10); -- Faydark's Champions
@ -33,7 +34,12 @@ function event_trade(e)
e.other:Faction(e.self,226,2); -- Clerics of Tunare
e.other:Faction(e.self,310,2); -- Soldiers of Tunare
e.other:Faction(e.self,234,-2); -- Crushbone Orcs
e.other:QuestReward(e.self,math.random(10),math.random(20),0,0,eq.ChooseRandom(5047,5048,7032,5046),500); -- Tarnished Scimitar, Tarnished Bastard Sword, Cast-Iron Rapier, Tarnished Battle Axe
e.other:QuestReward(e.self,math.random(10),0,0,0,eq.ChooseRandom(5047,5048,7032,5046),2500); -- Tarnished Scimitar, Tarnished Bastard Sword, Cast-Iron Rapier, Tarnished Battle Axe
e.other:SummonItem(eq.ChooseRandom(5047,5048,7032,5046)); -- he awards more than one weapon
if ( math.random() < 0.5 ) then
e.other:SummonItem(eq.ChooseRandom(5047,5048,7032,5046));
end
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18840})) then -- Sealed Letter (Letter To King Naythox Thex)
e.self:Say("Yes. A recent report has proven this to be true. An evil alliance has been made. We shall soon need many more experienced adventurers such as yourself. For now, take this reward and strengthen your skills.");
e.other:Faction(e.self,246,30); -- Faydark's Champions
@ -41,7 +47,7 @@ function event_trade(e)
e.other:Faction(e.self,226,7); -- Clerics of Tunare
e.other:Faction(e.self,310,7); -- Soldiers of Tunare
e.other:Faction(e.self,234,-7); -- Crushbone Orcs
e.other:QuestReward(e.self,math.random(0,10),math.random(0,10),math.random(0,10),math.random(0,2),8003,1500); -- Longbow
e.other:QuestReward(e.self,0,math.random(1,9),1,1,8003,23400); -- Longbow
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13226})) then -- Runner Pouch
e.self:Say("Good work. We shall cut off correspondence between these two. It is for the best. Remember, if you find any notes to Neriak from the ambassador in Crushbone, give them to me.");
e.other:Faction(e.self,246,20); -- Faydark's Champions
@ -49,7 +55,7 @@ function event_trade(e)
e.other:Faction(e.self,226,5); -- Clerics of Tunare
e.other:Faction(e.self,310,5); -- Soldiers of Tunare
e.other:Faction(e.self,234,-5); -- Crushbone Orcs
e.other:QuestReward(e.self,math.random(0,10),math.random(0,10),math.random(0,10),math.random(0,2),eq.ChooseRandom(2148, 2142, 2146, 2147, 2138, 2141, 2137, 2144, 2145, 2143, 2140, 2139),1500); -- Raw-hide Armors
e.other:QuestReward(e.self,math.random(0,10),math.random(0,10),math.random(0,10),0,eq.ChooseRandom(2001, 2002, 2008, 2010, 2140, 2142, 2147, 2148),21800);
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -4,25 +4,31 @@ function event_say(e)
end
end
function Reward(e, gold, experience)
e.self:Say("More mail - you have done us a noteworthy service! Please take this gold for your troubles. If you are interested in more work, just ask Idia.");
e.other:Faction(e.self,284,5); -- league of antonican bards
e.other:Faction(e.self,281,1); -- knights of truth
e.other:Faction(e.self,262,1); -- guards of qeynos
e.other:Faction(e.self,304,-1); -- ring of scale
e.other:Faction(e.self,285,-1); -- mayong mistmoore
e.other:QuestReward(e.self,0,0,gold,0,0,experience);
end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 18161})) then
e.self:Say("Incoming mail - very good! Please take this gold for your troubles.");
e.other:Faction(e.self,284,5); -- league of antonican bards
e.other:Faction(e.self,281,1); -- knights of truth
e.other:Faction(e.self,262,1); -- guards of qeynos
e.other:Faction(e.self,304,-1); -- ring of scale
e.other:Faction(e.self,285,-1); -- mayong mistmoore
e.other:QuestReward(e.self,0,0,math.random(3,9),0,0,1550);
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18160}) or item_lib.check_turn_in(e.self, e.trade, {item1 = 18162}) or item_lib.check_turn_in(e.self, e.trade, {item1 = 18163})) then
e.self:Say("Incoming mail - very good! Please take this gold for your troubles.");
e.other:Faction(e.self,284,5); -- league of antonican bards
e.other:Faction(e.self,281,1); -- knights of truth
e.other:Faction(e.self,262,1); -- guards of qeynos
e.other:Faction(e.self,304,-1); -- ring of scale
e.other:Faction(e.self,285,-1); -- mayong mistmoore
e.other:QuestReward(e.self,0,0,math.random(3,9),0,0,1550);
-- gold and exp rewards confirmed by Torven
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 18161})) then -- Felwithe letter
Reward(e, 3, 750);
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18160})) then -- Butcherblock letter
Reward(e, 6, 750);
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18162})) then -- Kaladim letter
Reward(e, 6, 750);
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18163})) then -- Ak'Anon letter
Reward(e, 9, 1500);
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -21,7 +21,8 @@ function event_trade(e)
e.other:Faction(e.self,226,10); -- clerics of tunare
e.other:Faction(e.self,279,10); -- king tearis thex
e.other:Faction(e.self,5002,7); -- anti-mage
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(2314, 2007, 2005, 9003),1000); -- Item(s): Bearskin Gloves (2314), Leather Belt, Leather Shoulderpads, Targ Shield
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(2314, 2007, 2005, 9003),44000); -- Item(s): Bearskin Gloves (2314), Leather Belt, Leather Shoulderpads, Targ Shield
-- exp reward confirmed on Live
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -3,7 +3,7 @@ function event_say(e)
e.self:Say("Ranjor tell shaddernites to gets rids of spore guardian. Ha! Gud.");
elseif(e.message:findi("minstrel")) then
e.self:Say("Dere stewpid skeleton singing by Basher Ganbaku. His post be up high.");
eq.spawn2(52126,0,0,-107,194,46.6,64); -- NPC: ##a_skeleton
eq.unique_spawn(52126,0,0,-107,194,46.6,64); -- NPC: ##a_skeleton
elseif(e.message:findi("armor")) then
e.self:Say("Chain, plate, leather, Krung's Clubs and Junk inside you will find. Grobb, in the center it be.");
elseif(e.message:findi("warrior guild")) then

View file

@ -7,7 +7,7 @@ function event_say(e)
e.self:Say("Peh! What am you wanted?! I am Basher Nanrum. You? " .. e.other:GetCleanName() .. " ? Heh, you look for works? Hmm, me tinks you too weakling for [job] me need done. Hmm.. You might do, mebbe.");
elseif(e.message:findi("skeleton")) then
e.self:Say("Yeah! Me see dat bone man. He over by da Cleaver. He tink he a butcher or sumting!");
eq.spawn2(52125,0,0,-466,361,9.8,41); -- NPC: #a_skeleton
eq.unique_spawn(52125,0,0,-466,361,9.8,41); -- NPC: #a_skeleton
elseif(e.message:findi("job")) then
e.self:Say("Me in charge of making torches for basher patrols. But Nanrum is much too mighty for such stupid job and Nanrum get idea. Dem fire bugses in da desert - dem eyes glowed. And dem don't burneded like torches. If " .. e.other:GetCleanName() .. " getted Nanrum three fire beetle eyes me would giveded " .. e.other:GetCleanName() .. " a shiny thingie dat you wanteded. Go ahed, " .. e.other:GetCleanName() .. " , an' get me da eyes.");
elseif(e.message:findi("armor")) then

View file

@ -24,7 +24,7 @@ function event_trade(e)
e.other:Faction(e.self,237,5); -- Faction: Dark Ones
e.other:Faction(e.self,308,1); -- Faction: Shadowknights of Night Keep
e.other:Faction(e.self,251,-1); -- Faction: Frogloks of Guk
e.other:QuestReward(e.self,0,0,0,0,15272,500); -- Spell: Spirit Pouch
e.other:QuestReward(e.self,0,0,0,0,15272,50); -- Spell: Spirit Pouch -- verified live xp
elseif (item_lib.check_turn_in(e.self, e.trade, {item1 = 26632, item2 = 26640, item3 = 29921, item4 = 26662})) then -- Aid Garuuk
e.self:Say("Dis am gud. I see you've been talkin' to Garuuk. Methanks you fer da help. Take dis note back ta Garuuk so he knows you helped me. Tanks again!");
e.other:Faction(e.self,237,10); -- Faction: Dark Ones

View file

@ -16,7 +16,7 @@ end
function event_trade(e)
local item_lib = require("items");
if (e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13073, item2 = 13073, item3 = 13070, item4 = 13070})) then -- Majik power
e.self:Say("SNORT!! Good. Innoruuk get special gift. Not you, dis time. Here. Learning majik wid dis. You more want to [help Innoruuk]?");
e.self:Say("SNORT!! Good. Innoruuk get special gift. Not you, dis time. Here. Learning majik wid dis. You more want to help Innoruuk?");
e.other:Faction(e.self,237,5); -- +Dark Ones
e.other:Faction(e.self,308,1); -- +Shadowknights of Night Keep
e.other:Faction(e.self,251,-1); -- -Frogloks of Guk

View file

@ -22,7 +22,7 @@ function event_say(e)
elseif(e.message:findi("i.* collect kaglari skeleton")) then
if(e.other:GetFactionValue(e.self) >= 200) then -- requires mid amiably
e.self:Say("Tank you!! Dere is fours of dem. You can finds dem here in Grobb. I no tink dey will want to come homes to Kaglari's closet. You ask dem to [come back to the closet] and see whut dey say. If you gets dem back me promise to gives you a [Kaglari mana doll].");
eq.spawn2(52056,0,0,-265,156,8,258); -- NPC: a_skeleton
eq.unique_spawn(52056,0,0,-265,156,8,258); -- NPC: a_skeleton
elseif(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("Darkones no hates you, buts you not helps us enuff.");
else

View file

@ -61,7 +61,7 @@ function event_trade(e)
e.other:Faction(e.self,331,1,0); -- Faction: Merchants of Highpass
e.other:Faction(e.self,230,1,0); -- Faction: Corrupt Qeynos Guards
e.other:Faction(e.self,330,1,0); -- Faction: The Freeport Militia
e.other:QuestReward(e.self,math.random(0,8),math.random(0,6),math.random(0,6),0,0,25); -- verified xp live data
e.other:QuestReward(e.self,math.random(1,5),math.random(1,5),math.random(1,5),0,0,25); -- verified xp live data
scalp = scalp - 1;
until scalp == 0
else

View file

@ -3,7 +3,7 @@ function event_say(e)
e.self:Say("Me hear dat dere are humans, elves and other weaklings hunting in da swamp.");
elseif(e.message:findi("the captain")) then
e.self:Say("You speak of da skeleton. He belong to Kaglari. He in dis swamp on little island.");
eq.spawn2(52125,0,0,216,-1757,-19.8,131); -- NPC: #a_skeleton
eq.unique_spawn(52125,0,0,216,-1757,-19.8,131); -- NPC: #a_skeleton
end
end

View file

@ -1,13 +1,17 @@
function event_say(e)
if(e.other:GetFaction(e.self) < 5) then
if(e.message:findi("hail")) then
e.self:Say("Hello, " .. e.other:GetCleanName() .. ". What can I do for you?");
elseif(e.message:findi("dark rivers flow east")) then
e.self:Say("So, Rueppy Kutpurse must have sent you. Here, take this case. Be careful, though. You don't want to get caught with that in town. It is illegal to possess such alcohol.");
if(e.message:findi("hail")) then
e.self:Say("Mlech! You am NOT [Deeppocketsss]. Go aways and don't talk to Gunrich or I am hafta kill you.");
elseif(e.message:findi("deeppockets")) then
e.self:Say("MLACH! I AM TOLDED YOU! NOT TO TALKS!");
e.self:AddToHateList(e.other, 1);
elseif(e.message:findi("dark rivers flow east")) then
if(e.other:GetFactionValue(e.self) >= 300) then
e.self:Say("Heh! Here, here, here. Tell Rueppy hellos from Gunrich. She am so perties. Heh, heh.");
e.other:SummonCursorItem(13131); --Case of Blackburrow Stout
else
e.self:Say("You need to prove your dedication to our cause before I can discuss such matters with you.");
end
else
e.self:Say("I am sorry, " .. e.other:GetCleanName() .. ". You aren't trustworthy enough yet.");
end
end

View file

@ -37,17 +37,17 @@ function event_trade(e)
if(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {platinum = 7})) then
e.self:Say("Take this note to the Scribe of Dal, and perhaps she will break her vow.");
-- confirmed live factions
e.other:Faction(e.self,370, 10);--Dreadguard Inner
e.other:Faction(e.self,236, 10);--Dark Bargainers
e.other:Faction(e.self,370, 1);--Dreadguard Inner
e.other:Faction(e.self,334, 1);--Dreadguard Outer
e.other:Faction(e.self,236, 1);--Dark Bargainers
e.other:QuestReward(e.self,0,0,0,0,18200); --a note (renounce the D'al, Text: TomeOfAges1)
elseif(Red_Wine > 0) then
repeat
e.self:Say("Ah, yes, let me pray to our god.. Yes, Innoruuk has given me wisdom. A Scribe of Dal still exists, disguised as a barkeep in the Blind Fish. This information will not help you though, for she has sworn a [vow] of silence and will not speak of the Dal.");
-- confirmed live factions and exp data
e.other:Faction(e.self,370, 10);--Dreadguard Inner
e.other:Faction(e.self,236, 10);--Dark Bargainers
e.other:Faction(e.self,370, 1);--Dreadguard Inner
e.other:Faction(e.self,334, 1);--Dreadguard Outer
e.other:Faction(e.self,236, 1);--Dark Bargainers
e.other:QuestReward(e.self,0,0,0,0,0,100);
Red_Wine = Red_Wine - 1;
until Red_Wine == 0;

View file

@ -22,7 +22,7 @@ end
function event_trade(e)
local item_lib = require("items");
if(e.other:GetFactionValue(e.self) >= 150 and item_lib.check_turn_in(e.self, e.trade, {item1 = 14550, item2 = 14550, item3 = 14550, item4 = 14550})) then--Woven Grass Amulets
e.self:Emote("laughs. 'Here, take this then! You are now and initiate of Innoruuk. Speak with Ithvol K`Jasn for further advancement.'");--text made up
e.self:Say("You have done well, young initiate. I grant you this medallion invested with the divine hatred of Innoruuk. Wear it proudly as a representation of your importance to these sacred spires. Now, if you will excuse me, I must proceed with the burning of these pathetic halfling symbols of faith.");
e.other:Faction(e.self,340,50);--Priests of Innoruuk
e.other:Faction(e.self,278,7);--King Naythox Thex
e.other:Faction(e.self,362,-17);--Priests of Marr

View file

@ -30,14 +30,25 @@ end
function event_trade(e)
local item_lib = require("items");
local gls = item_lib.count_handed_item(e.self, e.trade, {10400});
local ls = item_lib.count_handed_item(e.self, e.trade, {10300});
if(e.other:GetFactionValue(e.self) >= 0 and (ls > 0)) then -- Lightstone turn in, reward is either Runes and Research Volume I or II
repeat
e.self:Say("A lightstone? Thank you very much. Here is a copy of 'Runes and Research'.");
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(18175,18176),10000); -- Item(s): Runes and Research Volume I (18175), Runes and Research Volume II (18176)
ls = ls - 1;
until ls == 0
end
if(e.other:GetFactionValue(e.self) >= 0 and (gls > 0)) then -- Greater Lightstone
repeat
e.self:Say("A greater lightstone? Thank you very much. Here is a 'Concordance of Research' for you.");
e.other:QuestReward(e.self,0,0,0,0,17504,10000); -- Item: Concordance of Research
gls = gls - 1;
until gls == 0
end
if(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 10300})) then -- Lightstone turn in, reward is either Runes and Research Volume I or II
e.self:Say("A lightstone? Thank you very much. Here is a copy of 'Runes and Research'.");
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(18175,18176),10000); -- Item(s): Runes and Research Volume I (18175), Runes and Research Volume II (18176)
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 10400})) then -- Greater lightstone turn in, reward is Concordance of Research
e.self:Say("A greater lightstone? Thank you very much. Here is a 'Concordance of Research' for you.");
e.other:QuestReward(e.self,0,0,0,0,17504,10000); -- Item: Concordance of Research
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -1,15 +1,25 @@
function event_trade(e)
local item_lib = require("items");
local gls = item_lib.count_handed_item(e.self, e.trade, {10400});
local ls = item_lib.count_handed_item(e.self, e.trade, {10300});
if(e.other:GetFactionValue(e.self) >= 0 and (ls > 0)) then -- Lightstone turn in, reward is either Runes and Research Volume I or II
repeat
e.self:Say("A lightstone? Thank you very much. Here is a copy of 'Runes and Research'.");
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(18175,18176),10000); -- Item(s): Runes and Research Volume I (18175), Runes and Research Volume II (18176)
ls = ls - 1;
until ls == 0
end
if(e.other:GetFactionValue(e.self) >= 0 and (gls > 0)) then -- Greater Lightstone
repeat
e.self:Say("A greater lightstone? Thank you very much. Here is a 'Concordance of Research' for you.");
e.other:QuestReward(e.self,0,0,0,0,17504,10000); -- Item: Concordance of Research
gls = gls - 1;
until gls == 0
end
if(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 10300})) then -- Lightstone turn in, reward is either Runes and Research Volume I or II
e.self:Say("A lightstone? Thank you very much. Here is a copy of 'Runes and Research'.");
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(18175,18176),10000); -- Item(s): Runes and Research Volume I (18175), Runes and Research Volume II (18176)
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 10400})) then -- Greater lightstone turn in, reward is Concordance of Research
e.self:Say("A greater lightstone? Thank you very much. Here is a 'Concordance of Research' for you.");
e.other:QuestReward(e.self,0,0,0,0,17504,10000); -- Item: Concordance of Research
end
item_lib.return_items(e.self, e.other, e.trade)
end
--this npc had no dialogue until 2015ish, but the quest was always there

View file

@ -1,7 +1,7 @@
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("I hope you have a good reason for disturbing my contemplations. Perhaps you [seek the knowledge] of those who meditate within this Temple of Fear?");
elseif(e.message:findi("I seek knowledge")) then
elseif(e.message:findi("seek.* knowledge")) then
e.self:Say("It is the secrets of Fear you seek, but first you must prove your devotion to our temple. There are pack rats within the city that have a habit of getting into things. Some of these rats have ingested a concoction developed by the necromancers of this great city. The rats have since died and, due to the concoction, their undead corpses now roam the fields. Bring me four livers from these undead rats so that we may examine them.");
elseif(e.message:findi("duties")) then
if(e.other:GetFactionValue(e.self) >= 100) then
@ -45,7 +45,7 @@ function event_trade(e)
e.other:Faction(e.self,233,-5); -- Faction: Crimson Hands
e.other:Faction(e.self,242,-5); -- Faction: Deepwater Knights
e.other:Faction(e.self,254,-5); -- Faction: Gate Callers
e.other:QuestReward(e.self,0,0,0,0,1437,500);
e.other:QuestReward(e.self,math.random(10),math.random(20),0,0,1437,500);
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13074, item2 = 16990, item3 = 14102, item4 = 14103})) then
e.self:Say("Excellent Job " .. e.other:GetCleanName() .. ". These components will help with our research immeasurably. You will soon be reaping the rewards granted by our Lord Cazic-Thule!! If you want to further assist our research effots, talk to Atdehim Sqonci.");
e.other:Faction(e.self,265,30); -- Faction: Heretics

View file

@ -0,0 +1,3 @@
function event_spawn(e)
e.self:SetRunning(true);
end

View file

@ -33,7 +33,7 @@ function event_trade(e)
e.other:Faction(e.self,223,-10,0); -- Circle of Unseen Hands
e.other:Faction(e.self,291,4,0); -- Merchants of Qeynos
e.other:QuestReward(e.self,math.random(10),math.random(9),math.random(5),0,13305,500);
eq.spawn2(1202,62,0,-412,75,-24,0); -- NPC: Executioner
eq.unique_spawn(1202,62,0,-412,75,-24,0); -- NPC: Executioner
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18912}, 0)) then
e.self:Say("So, an assassin has been sent to Qeynos! I shall have my guards keep an eye out for any suspicious looking visitors. As for you... you should speak with the Surefall Glade ambassador. Ambassador Gash is staying at the Lion's Mane Inn here in South Qeynos. Inform him that [an assassin has been sent to kill] him. Do not let the assassin near him!");
-- confirmed live factions

View file

@ -39,19 +39,11 @@ function event_say(e)
end
end
function event_trade(e)
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12100})) then
e.self:Say("Good work " .. e.other:Class() .. ". The Karana Bandits have been plaguing the Rainkeepers flock for some time. Take this as a small reward for your devotion. Continue the fight against the Karana Bandits. Ahh... I wish [Cheslin] was equally as skilled.");
-- random bronze item reward
-- Confirmed Live Factions and exp data
e.other:Faction(e.self,280,20,0); -- Knights of Thunder
e.other:Faction(e.self,221,-20,0); -- Blood Sabers
e.other:Faction(e.self,341,15,0); -- Priests of Life
e.other:Faction(e.self,262,15,0); -- Guards of Qeynos
e.other:QuestReward(e.self,math.random(10),math.random(10),math.random(10),math.random(2),eq.ChooseRandom(7012,7013,7014,7015,7016,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,6019,6021,6022,6023,6024,9002),4850);
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 18839})) then
local sash = item_lib.count_handed_item(e.self, e.trade, {12100});
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 18839})) then
e.self:Say("Hmmph!! My son is living in a fantasy world. Still, you have done well. Take this as a token of appreciation. It is not much, but it may come in handy.");
-- Backpack, Cast-Iron Warhammer, Raw-hide Gorget, Small Raw-hide Mask, Buckler
-- Confirmed Live Factions
@ -61,5 +53,20 @@ function event_trade(e)
e.other:Faction(e.self,262,7,0); -- Guards of Qeynos
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(17005,6041,2139,2150,9001),1500);
end
if(sash > 0) then
repeat
e.self:Say("Good work " .. e.other:Class() .. ". The Karana Bandits have been plaguing the Rainkeepers flock for some time. Take this as a small reward for your devotion. Continue the fight against the Karana Bandits. Ahh... I wish [Cheslin] was equally as skilled.");
-- random bronze item reward
-- Confirmed Live Factions and exp data
e.other:Faction(e.self,280,20,0); -- Knights of Thunder
e.other:Faction(e.self,221,-20,0); -- Blood Sabers
e.other:Faction(e.self,341,15,0); -- Priests of Life
e.other:Faction(e.self,262,15,0); -- Guards of Qeynos
e.other:QuestReward(e.self,math.random(10),math.random(10),math.random(10),math.random(2),eq.ChooseRandom(7012,7013,7014,7015,7016,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,6019,6021,6022,6023,6024,9002),4850);
sash = sash - 1;
until sash == 0
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -17,7 +17,7 @@ function event_say(e)
e.self:Say("His name is Trumpy. He is one of those [Irontoes] I think. I've seen him hanging out in the Fish's Ale. I don't know why he likes to torment me.");
elseif(e.message:findi("irontoe")) then
e.self:Say("Ah! The Irontoes are a rough bunch of dwarves from Kaladim. The seem to get quite drunk on a frequent basis.");
elseif(e.message:findi("fishing"))then
elseif(e.message:findi("fishing") or e.message:findi("bite"))then
e.self:Say("Huh? OH! Sorry, I was dozing off! It's been a slow day. A few fish and an old shoe are all I have reeled in. I did see a shark swim by, though!");
elseif(e.message:findi("kane"))then
e.self:Say("Commander Kane Bayle is the commander of all the Qeynos Guard. He is second only to his brother, Antonius Bayle. His post is in the guard house at the city gates. Mind you, do not bother him, he has a bit of a temper.");

View file

@ -59,7 +59,7 @@ function event_trade(e)
e.other:Faction(e.self,341,75,0); -- Faction: Priests of Life
e.other:Faction(e.self,262,75,0); -- Faction: Guards of Qeynos
e.other:QuestReward(e.self,0,0,0,0,13505,100); -- Old Gray Tunic*
elseif(e.other:GetFaction(e.self) < 3 and item_lib.check_turn_in(e.self, e.trade, {item1 = 18809,item2 = 6357},1,text)) then
elseif(e.other:GetFactionValue(e.self) >= 900 and item_lib.check_turn_in(e.self, e.trade, {item1 = 18809,item2 = 6357},1,text)) then
e.self:Say("Antonius Bayle will be pleased. The Temple is also pleased. Here is the enchanted staff we call Bonethunder. Should you find the enchantment gone, just ask Kasine to [enchant Bonethunder]. We need more disciples like you! Go forth to tell the world of the Rainkeeper.");
e.other:Faction(e.self,280,-50,0); -- Faction: Knights of Thunder
e.other:Faction(e.self,221,50,0); -- Faction: Bloodsabers

View file

@ -5,9 +5,9 @@ function event_say(e)
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
end
elseif(e.message:findi("mira sayer's tax")) then
elseif(e.message:findi("mira.* tax")) then
e.self:Say("Ha! Yeah, I took their tax money. What are you going to do about it, little gnoll pup? Tell you want.. I will cut you a deal. You tell me you are a [gnoll loving weakling who isn't fit to comb my feet] and I will give you that merchant's tax money.");
elseif(e.message:findi("gnoll loving weakling who isn't fit to comb my feet")) then
elseif(e.message:findi("gnoll loving weakling.* feet")) then
e.other:Faction(e.self,223,-1); -- Faction: Circle of Unseen Hands
e.self:Say("BWAH! HA HA HA! Did you all hear that?! " .. e.other:GetCleanName() .. " is a gnoll loving weakling who isn't fit to comb my feet! BWAH HA HA! MY FEET! HA HA HA! Oh.. too rich.. Heh.. HA HA HA! Oh.. Heh heh heh");
e.other:SummonCursorItem(13174); -- Item: Sayers Tax Payment

View file

@ -45,7 +45,7 @@ function event_trade(e)
e.other:Faction(e.self,304,-1,0); -- Ring of Scale
e.other:Faction(e.self,332,5,0); -- Highpass Guards
e.other:Faction(e.self,331,5,0); -- Merchants of Highpass
e.other:QuestReward(e.self,0,0,0,0,18722,1000);
e.other:QuestReward(e.self,0,0,0,0,18722,100); -- confirmed Live exp
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -68,7 +68,7 @@ function event_trade(e)
e.other:Faction(e.self,230,1,0); -- Corrupt Qeynos Guards
e.other:Faction(e.self,262,-1,0); -- Guards of Qeynos
e.other:Faction(e.self,273,1,0); -- Kane Bayle
e.other:QuestReward(e.self,0,0,0,0,0,250);
e.other:QuestReward(e.self,0,0,0,0,0,100); -- confirmed Live exp
end
local returned = item_lib.return_items(e.self, e.other, e.trade, false)
if ( returned ) then

View file

@ -29,7 +29,7 @@ end
function event_trade(e)
local item_lib =require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 18714}, 0)) then -- Tattered Note
e.self:Say("Welcome to the Temple of Life. I am Jahnda. the High Priestess of the Clerics of Nife. Wear this tunic with pride and carry out the will of Nife. Please. see Tonmerk Plorsin or Nomsoe Jusagta. They will help get you started spreading the will of The Prime Healer.");
e.self:Say("Welcome to the Temple of Life. I am Jahnda, the High Priestess of the Clerics of Nife. Wear this tunic with pride and carry out the will of Nife. Please, see Tonmerk Plorsin or Nomsoe Jusagta. They will help get you started spreading the will of The Prime Healer.");
e.other:Faction(e.self,341,100,0); -- Priest of Life
e.other:Faction(e.self,280,30,0); -- Knight of Thunder
e.other:Faction(e.self,262,50,0); -- Guards of Qeynos
@ -37,7 +37,7 @@ function event_trade(e)
e.other:Faction(e.self,219,15,0); -- Antonius Bayle
e.other:QuestReward(e.self,0,0,0,0,13506,100); -- Faded Tunic*
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 13724}, 0)) then
e.self:Say("Excellent! Rodcet smiles upon us this day! Here, please take this pouch of evidence to Jahnda in the Temple of Life. She will know what we must do. I will remain here to keep an eye out for the minions of Bertoxxlous. Also, accept this small reward as a token of my appreciation of your efforts to rid Norrath of the influence of the Plaguebringer.");
e.self:Say("Excellent work! You are surely under the protection and guidance of the Prime Healer. This evidence will help us greatly to convince Antonious and the guild leaders of Qeynos that the Bloodsabers are here and seek to destroy all we have worked so long for.");
-- Confirmed Live Factions
e.other:Faction(e.self,341,50); -- Priest of Life
e.other:Faction(e.self,280,15); -- Knight of Thunder

View file

@ -6,9 +6,9 @@ function event_say(e)
elseif(e.message:findi("blackburrow stout")) then
e.self:Say("Oh, well we can't get that here. However, you can always [smuggle] it in...");
elseif(e.message:findi("smuggle")) then
if(e.other:GetFaction(e.self) < 5) then -- requires amiably
if(e.other:GetFactionValue(e.self) >= 300) then -- requires high amiably
e.self:Say("You interested in a little job? I need you to meet someone who is bringing me some stout. He was supposed to meet me in the ruins on the other side of the Great Wall, but I have other business to attend to. His name is Gunrich. You might have to wait for a while for him to show up, as he will be skittish at the sight of a stranger. Payment has already been made. Just tell him, 'Dark rivers flow east,' and he will know to trust you. Make sure you don't say anything else to him or the deal will sour. Meet me back here with the stout.");
elseif(e.other:GetFaction(e.self) == 5) then
elseif(e.other:GetFactionValue(e.self) > -100) then
e.self:Say("You need to prove your dedication to our cause before I can discuss such matters with you.")
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself."));
@ -22,14 +22,14 @@ function event_trade(e)
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 13032})) then -- Short Beer
e.self:Say("Oh, thank you. AH! That sure is good. Not as good as a [Blackburrow stout], but what is?");
e.other:QuestReward(e.self,0,0,0,0,0,100);
elseif(e.other:GetFaction(e.self) < 5 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13131})) then -- Case of Blackburrow Stout
elseif(e.other:GetFactionValue(e.self) >= 300 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13131})) then -- Case of Blackburrow Stout
e.self:Say("Heh heh! You did it! I thought the deputies would get you for sure! I mean... You did it! Heh! Here buy yourself a drink on me.");
e.other:Faction(e.self,241,10,0); -- Deeppockets
e.other:Faction(e.self,223,1,0); -- Circle of Unseen Hands
e.other:Faction(e.self,292,-1,0); -- Merchants of Rivervale
e.other:Faction(e.self,336,1,0); -- Coalition of Tradefolk Underground
e.other:Faction(e.self,329,1,0); -- Carson McCabe
e.other:QuestReward(e.self,math.random(0,5),math.random(0,5),math.random(0,5),math.random(0,2),0,5000);
e.other:QuestReward(e.self,math.random(10,40),2,0,0,0,3000); -- rewards confirmed from Live
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -35,7 +35,7 @@ function event_trade(e)
e.self:Say("You will make a fine addition to the crusade. Continue the cleansing of the desert. Let it be known that the Defenders of Ro are here to challenge the evils of the desert. I call upon the righteousness of all paladins to assist me.");
e.other:Faction(e.self,415,5,0); -- faction better: 'Temple Of Sol Ro'
e.other:Faction(e.self,416,-1,0); -- faction worse: 'Shadowed Men'
e.other:QuestReward(e.self,8,4,0,0,eq.ChooseRandom(5013,5014,5015,5016,5019,5020,5020,5021,5022,5023,5024,5025,5013,5014,5015,5016,5019,5020,5020,5021,5022,5023,5024,5025,5013,5014,5015,5016,5019,5020,5020,5021,5022,5023,5024,5025,3040,3042,3043,3044,3046,3047,3048,3049,3050,3051,4778,5028,5032,7012,5031,5027,6017,6019,7015,7013,6023,5034,5035),7500); -- Item(s): Rusty Short Sword (5013), Rusty Axe (5014), Rusty Scythe (5015), Rusty Broad Sword (5016), Rusty Long Sword (5019), Rusty Battle Axe (5020), Rusty Battle Axe (5020), Rusty Scimitar (5021), Rusty Bastard Sword (5022), Rusty Two Handed Sword (5023), Rusty Halberd (5024), Rusty Two Handed Battle Axe (5025), Rusty Short Sword (5013), Rusty Axe (5014), Rusty Scythe (5015), Rusty Broad Sword (5016), Rusty Long Sword (5019), Rusty Battle Axe (5020), Rusty Battle Axe (5020), Rusty Scimitar (5021), Rusty Bastard Sword (5022), Rusty Two Handed Sword (5023), Rusty Halberd (5024), Rusty Two Handed Battle Axe (5025), Rusty Short Sword (5013), Rusty Axe (5014), Rusty Scythe (5015), Rusty Broad Sword (5016), Rusty Long Sword (5019), Rusty Battle Axe (5020), Rusty Battle Axe (5020), Rusty Scimitar (5021), Rusty Bastard Sword (5022), Rusty Two Handed Sword (5023), Rusty Halberd (5024), Rusty Two Handed Battle Axe (5025), Blackened Iron Coif (3040), Blackened Iron Collar (3042), Blackened Iron Mail (3043), Blackened Iron Spaulder (3044), Blackened Iron Waistband (3046), Blackened Iron Armplates (3047), Blackened Iron Bracers (3048), Blackened Iron Gloves (3049), Blackened Iron Legplates (3050), Blackened Iron Boots (3051), Bronze Weapons
e.other:QuestReward(e.self,8,4,0,0,eq.ChooseRandom(5013,5014,5015,5016,5019,5020,5020,5021,5022,5023,5024,5025,5013,5014,5015,5016,5019,5020,5020,5021,5022,5023,5024,5025,5013,5014,5015,5016,5019,5020,5020,5021,5022,5023,5024,5025,4778,5028,5032,7012,5031,5027,6017,6019,7015,7013,6023,5034,5035),7500); -- Item(s): Rusty Short Sword (5013), Rusty Axe (5014), Rusty Scythe (5015), Rusty Broad Sword (5016), Rusty Long Sword (5019), Rusty Battle Axe (5020), Rusty Battle Axe (5020), Rusty Scimitar (5021), Rusty Bastard Sword (5022), Rusty Two Handed Sword (5023), Rusty Halberd (5024), Rusty Two Handed Battle Axe (5025), Rusty Short Sword (5013), Rusty Axe (5014), Rusty Scythe (5015), Rusty Broad Sword (5016), Rusty Long Sword (5019), Rusty Battle Axe (5020), Rusty Battle Axe (5020), Rusty Scimitar (5021), Rusty Bastard Sword (5022), Rusty Two Handed Sword (5023), Rusty Halberd (5024), Rusty Two Handed Battle Axe (5025), Rusty Short Sword (5013), Rusty Axe (5014), Rusty Scythe (5015), Rusty Broad Sword (5016), Rusty Long Sword (5019), Rusty Battle Axe (5020), Rusty Battle Axe (5020), Rusty Scimitar (5021), Rusty Bastard Sword (5022), Rusty Two Handed Sword (5023), Rusty Halberd (5024), Rusty Two Handed Battle Axe (5025), Bronze Weapons
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -4,7 +4,7 @@
function event_say(e)
if(e.message:findi("hail")) then
if(e.other:GetFaction(e.self) <= 5) then
if(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("I am Tv`ysa, guardian of the [Concordance of Research].");
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
@ -18,18 +18,30 @@ end
function event_trade(e)
local item_lib = require("items");
if(e.other:GetFaction(e.self) <= 5 and (item_lib.check_turn_in(e.self, e.trade, {item1 = 10300}))) then -- Lightstone
e.self:Say("A lightstone ? Thank you very much. Here is a copy of 'Runes and Research' for you.");
e.other:Faction(e.self,236,10,0); -- Dark Bargainers
e.other:Faction(e.self,334,1,0); -- Dreadguard Outer
e.other:Faction(e.self,370,1,0); -- Dreadguard Inner
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(18175, 18176),10000); -- Runes and Research Volume I or II
elseif(e.other:GetFaction(e.self) <= 5 and (item_lib.check_turn_in(e.self, e.trade, {item1 = 10400}))) then -- Greater Lightstone
e.self:Say("A greater lightstone? Thank you very much. Here is a 'Concordance of Research' for you.");
e.other:Faction(e.self,236,10,0); -- Dark Bargainers
e.other:Faction(e.self,334,1,0); -- Dreadguard Outer
e.other:Faction(e.self,370,1,0); -- Dreadguard Inner
e.other:QuestReward(e.self,0,0,0,0,17504,10000); -- Concordance of Research
end
local gls = item_lib.count_handed_item(e.self, e.trade, {10400});
local ls = item_lib.count_handed_item(e.self, e.trade, {10300});
if(e.other:GetFactionValue(e.self) >= 0 and (ls > 0)) then -- Lightstone
repeat
e.self:Say("A lightstone ? Thank you very much. Here is a copy of 'Runes and Research' for you.");
e.other:Faction(e.self,236,10,0); -- Dark Bargainers
e.other:Faction(e.self,334,1,0); -- Dreadguard Outer
e.other:Faction(e.self,370,1,0); -- Dreadguard Inner
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(18175, 18176),10000); -- Runes and Research Volume I or II
ls = ls - 1;
until ls == 0
end
if(e.other:GetFactionValue(e.self) >= 0 and (gls > 0)) then -- Greater Lightstone
repeat
e.self:Say("A greater lightstone? Thank you very much. Here is a 'Concordance of Research' for you.");
e.other:Faction(e.self,236,10,0); -- Dark Bargainers
e.other:Faction(e.self,334,1,0); -- Dreadguard Outer
e.other:Faction(e.self,370,1,0); -- Dreadguard Inner
e.other:QuestReward(e.self,0,0,0,0,17504,10000); -- Concordance of Research
gls = gls - 1;
until gls == 0
end
item_lib.return_items(e.self, e.other, e.trade)
end