forked from EQMacEmu/quests
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathWils_Otton.lua
20 lines (17 loc) · 855 Bytes
/
Wils_Otton.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function event_say(e)
if(e.message:findi("forest ravager")) then
e.self:Say("I can't believe Jon mentioned that to you. I'll deal with him myself. If you want to help us kill the forest ravagers then you must first find Carre Harger. Bring this note to him. He'll get you started.");
e.other:SummonCursorItem(31781); -- summon note
end
end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 31782}, 0)) then
e.self:Say("We've been hunting those wolves for a long time now. They killed many of my men. I'm glad to see that they are gone. Take this Hunter's Pike and get some good use out of it.");
e.other:QuestReward(e.self,0,0,0,0,32170,1000);
end
item_lib.return_items(e.self, e.other, e.trade)
end
function event_signal(e)
e.self:Say("Quiet yourself little brother!");
end