peq-quests/feerrott/Oknoggin_Stonesmacker.lua
2021-02-07 20:50:01 -08:00

20 lines
No EOL
580 B
Lua

-- items: 20673, 20674
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Yoo leave me 'lone!");
end
end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.trade, {item1 = 20673})) then
e.self:Emote("snatches the note from your hand and rips it open with his large hands. 'You take dis to Kargek. He want!'");
e.other:SummonItem(20674); -- Tiny Lute
e.other:Ding();
e.other:AddEXP(1000);
end
item_lib.return_items(e.self, e.other, e.trade);
end
-- END of FILE Zone:feerrott ID:47126 -- Oknoggin_Stonesmacker