mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
20 lines
779 B
Lua
20 lines
779 B
Lua
-- items: 18015, 18016
|
|
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Say("Ah, hello there, friend! Me an' Rebby here, we're a just couple o' regular merchants. Though we've got nothin' to sell right now, we'd gladly take any donations. Them's the breaks, I suppose.");
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
|
|
if(item_lib.check_turn_in(e.trade, {item1 = 18015})) then -- Note to Janam
|
|
e.self:Emote("scribbles out a note and says, 'Please make sure that Harkin gets this right away. If you lose it, it could mean both of our heads.'");
|
|
e.other:SummonItem(18016); -- Note to Harkin
|
|
e.other:Ding();
|
|
e.other:AddEXP(375);
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|
|
|
|
-- END of FILE Zone:freportw -- Janam_Rekish
|