mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
35 lines
2.3 KiB
Lua
35 lines
2.3 KiB
Lua
-- Quest for Vrynn in Lakerathe - Shaman Totemic Armor (low 30's armor)
|
|
|
|
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Say("Greetings, spiritwalker. I am called Vrynn. If you have banded armor, my wife Kyralynn and I can form it into a new shaman armor using this totem and some reagents for the ritual. I make armor from banded [boots], [gauntlets], [sleeves], and [leggings].");
|
|
elseif(e.message:findi("boots")) then
|
|
e.self:Say("The boots require banded boots, 1 dufrenite, an orc chief's tongue from Lesser Faydark, and terror spines from a tentacle terror in Najena.");
|
|
elseif(e.message:findi("gauntlets")) then
|
|
e.self:Say("The gauntlets require banded gauntlets, 1 crushed dufrenite, a mammoth rib bone, and a griffenne downfeather.");
|
|
elseif(e.message:findi("sleeves")) then
|
|
e.self:Say("The sleeves require banded sleeves, 1 ground dufrenite, ghoul carrion from Estate of Unrest, and charger hoof chips.");
|
|
elseif(e.message:findi("leggings")) then
|
|
e.self:Say("The leggings require banded leggings, 1 powdered dufrenite, a Permafrost snowball from a goblin wizard, and bone barbs from Estate of Unrest.");
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
local text = "Impressive, do you have the rest?";
|
|
|
|
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 3064, item2 = 10073, item3 = 19039, item4 = 19041},1,text)) then
|
|
e.self:Say("Wear this well, " .. e.other:GetCleanName() .. "!");
|
|
e.other:QuestReward(e.self,0,0,0,0,4941,200); -- Item: Totemic Boots
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 3062, item2 = 19050, item3 = 19043, item4 = 19046},1,text)) then
|
|
e.self:Say("Wear this well, " .. e.other:GetCleanName() .. "!");
|
|
e.other:QuestReward(e.self,0,0,0,0,4942,200); -- Item: Totemic Gauntlets
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 3060, item2 = 19051, item3 = 19038, item4 = 19045},1,text)) then
|
|
e.self:Say("Wear this well, " .. e.other:GetCleanName() .. "!");
|
|
e.other:QuestReward(e.self,0,0,0,0,4943,200); -- Item: Totemic Vambraces
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 3063, item2 = 19052, item3 = 19034, item4 = 19037},1,text)) then
|
|
e.self:Say("Wear this well, " .. e.other:GetCleanName() .. "!");
|
|
e.other:QuestReward(e.self,0,0,0,0,4944,200); -- Item: Totemic Greaves
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|