mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
52 lines
3.5 KiB
Lua
52 lines
3.5 KiB
Lua
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Emote("smiles pleasantly eyes meeting yours then speaks, 'Nice to see someone new, I'm one of master Vornol's apprentices. My specialty is the element of water.");
|
|
elseif(e.message:findi("armor")) then
|
|
e.self:Emote("closes her eyes and sighs wistfully as if remembering some long forgotten bittersweet memory. 'Hafron must have told you about our dearly missed friend Hadon. Very well, are you a shaman?");
|
|
elseif(e.message:findi("shaman")) then
|
|
e.self:Say("Aye you have the look of one who communes with spirits. The pieces that I have are the mask, cloak, gauntlets, talisman, girdle and spear.");
|
|
elseif(e.message:findi("cloak")) then
|
|
e.self:Say("For the cloak you must get me a cloud jewel, mark of auspice, an avatar's tome, and a rockhopper spirit fetish.");
|
|
elseif(e.message:findi("gauntlets")) then
|
|
e.self:Say("For the gauntlets you must get me a sky jewel, a mark of guidance, and a vitality gem.");
|
|
elseif(e.message:findi("girdle")) then
|
|
e.self:Say("For the girdle you must get me an astral jewel, a mark of augury, an aged runic crutch, and a lined towel.");
|
|
elseif(e.message:findi("mask")) then
|
|
e.self:Say("For the mask you must get me a star jewel, the mark of the oracle, and an aged bone fetish.");
|
|
elseif(e.message:findi("spear")) then
|
|
e.self:Say("For the spear you must get me a sun jewel, a mark of premonition, a darkened shaft, and an oracle orb.");
|
|
elseif(e.message:findi("talisman")) then
|
|
e.self:Say("For the talisman you must get me a meteor jewel, a mark of rage, and a spirit marked ornament.");
|
|
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 = 4491,item2 = 4940,item3 = 4949,item4 = 4950},1,text)) then -- cloud jewel, mark of auspice, an avatar's tome, and a rockhopper spirit fetish.
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3757,25000); -- Augur's Cloak
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4492,item2 = 4951,item3 = 4952},1,text)) then -- sky jewel, a mark of guidance, and a vitality gem
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3758,25000); -- Augur's Gauntlets
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4494,item2 = 4955,item3 = 4956,item4 = 4957},1,text)) then -- astral jewel, a mark of augury, an aged runic crutch, and a lined towel
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3760,25000); -- Augur's Waistband
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4490,item2 = 4938,item3 = 4939},1,text)) then -- star jewel, the mark of the oracle, and an aged bone fetish
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3756,25000); -- Augur's Mask
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4488,item2 = 4959,item3 = 4960,item4 = 4958},1,text)) then -- sun jewel, a mark of premonition, a darkened shaft, and an oracle orb.
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3761,25000); -- Augur's Spear
|
|
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 4493,item2 = 4953,item3 = 4954},1,text)) then -- meteor jewel, a mark of rage, and a spirit marked ornament.
|
|
FactionReward(e)
|
|
e.other:QuestReward(e.self,0,0,0,0,3759,25000); -- Augur's Talisman
|
|
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,1547,5); -- Vornol Transon
|
|
end
|