mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
62 lines
4.6 KiB
Lua
62 lines
4.6 KiB
Lua
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Emote("looks at " .. e.other:GetCleanName() .. " and smirks. 'I be Bolli and it's sure an honor to meet such a fine person such as yourself! I have plenty of deals for any stealthy types'");
|
|
elseif(e.message:findi("deal")) then
|
|
e.self:Say("Ah, " .. e.other:GetCleanName() .. ", you fancy yerself to be a rogue. Well I can cut ya a deal on some armor if you be wantin' some.");
|
|
elseif(e.message:findi("armor")) then
|
|
e.self:Emote("smiles widely. 'Ah excellent, I have a coif, tunic, vambraces, greaves, mantle, bracer, and boots just ask about each one and Ill tell ya just what I want in return. Youll have to talk to my partner Liteema if you want the rest of the armor.'");
|
|
elseif(e.message:findi("boots")) then
|
|
e.self:Say("If you want the Boots of Concealment go gather for me a meteor jewel, a mark of silence, and an engraved fire emerald statuette.");
|
|
elseif(e.message:findi("bracer")) then
|
|
e.self:Say("If you want the Bracer of Concealment go gather for me a sky jewel, a mark of cunning, and an engraved black diamond statuette.");
|
|
elseif(e.message:findi("tunic")) then
|
|
e.self:Say("If you want the Tunic of Concealment go gather for me a sun jewel, a mark of stealth, an engraved diamond statuette, and a tethered leash.");
|
|
elseif(e.message:findi("greaves")) then
|
|
e.self:Say("If you want the Greaves of Concealment go gather for me a star jewel, a mark of burglary, an engraved ruby statuette, and a small brass figurine.");
|
|
elseif(e.message:findi("coif")) then
|
|
e.self:Say("If you want the Coif of Concealment go gather for me an astral jewel, a mark of thievery, an engraved sapphire statuette, and a brass linked chain.");
|
|
elseif(e.message:findi("mantle")) then
|
|
e.self:Say("If you want the Mantle of Concealment go gather for me a cloud jewel, a mark of forgery, and an engraved star sapphire statuette.");
|
|
elseif(e.message:findi("vambraces")) then
|
|
e.self:Say("If you want the Vambraces of Concealment go gather for me a moon jewel, a mark of robbery, an engraved emerald statuette, and a half melted blade.");
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
local text = "You have done well to bring me this, but there is more needed before you get your reward.";
|
|
|
|
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 4493,item2 = 5285,item3 = 5286},1,text)) then -- meteor jewel. a mark of silence. and an engraved fire emerald statuette
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3794,25000); -- boots
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4492,item2 = 5283,item3 = 5284},1,text)) then -- sky jewel. a mark of cunning. and an engraved black diamond statuette
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3793,25000); -- bracer
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4488,item2 = 5296,item3 = 5273,item4 = 5274},1,text)) then -- sun jewel. a mark of stealth. an engraved diamond statuette. and a tethered leash.
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3789,25000); -- tunic
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4490,item2 = 5278,item3 = 5279,item4 = 5280},1,text)) then -- star jewel. a mark of burglary. an engraved ruby statuette. and a small brass figurine
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3791,25000); -- Greaves
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4494,item2 = 5269,item3 = 5270,item4 = 5271},1,text)) then -- astral jewel. a mark of thievery. an engraved sapphire statuette. and a brass linked chain
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3788,25000); -- Coif
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4491,item2 = 5281,item3 = 5282},1,text)) then -- cloud jewel. a mark of forgery. and an engraved star sapphire statuette
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3792,25000); -- mantle
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4489,item2 = 5275,item3 = 5276,item4 = 5277},1,text)) then -- moon jewel, a mark of robbery, an engraved emerald statuette, and a half melted blade
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3790,25000); -- Vambraces
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|
|
|
|
function FactionReward(e)
|
|
e.self:Say("" .. e.other:GetCleanName() .. " take this and use it with pride.")
|
|
e.other:Faction(e.self,1502,5); -- Katta Castellum Citizens
|
|
e.other:Faction(e.self,1503,1); -- Validus Custodus
|
|
e.other:Faction(e.self,1504,1); -- Magus Conlegium
|
|
e.other:Faction(e.self,1499,-2); -- Citizens of Seru
|
|
e.other:Faction(e.self,1483,-1); -- Seru
|
|
e.other:Faction(e.self,1487,-1); -- Shoulders of Seru
|
|
end
|