mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
20 lines
770 B
Lua
20 lines
770 B
Lua
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Say("This better be good, " .. e.other:Race() .. "! Well? Spit it OUT!");
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
|
|
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 1724}, 0)) then
|
|
e.self:Say("It's about time, whelp. Take your payment and leave, you're scaring away my... clients.");
|
|
e.other:Faction(e.self,448,3); -- Faction: Kromzek
|
|
e.other:Faction(e.self,419,1); -- Faction: Kromrif
|
|
e.other:Faction(e.self,429,1); -- Faction: King Tormax
|
|
e.other:Faction(e.self,430,-1); -- Faction: Claws of Veeshan
|
|
e.other:QuestReward(e.self,math.random(10),math.random(10),0,0,0,500);
|
|
eq.depop_with_timer();
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|