mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
12 lines
587 B
Lua
12 lines
587 B
Lua
function event_trade(e)
|
|
local item_lib = require("items");
|
|
|
|
if(not eq.is_content_flag_enabled("Classic_OldWorldDrops") and item_lib.check_turn_in(e.self, e.trade, {item1 = 12139})) then
|
|
e.other:Faction(e.self,343, 1,0); -- Faction: QRG Protected Animals
|
|
e.other:Faction(e.self,302, 1,0); -- Faction: Protectors of Pine
|
|
e.other:Faction(e.self,272, 1,0); -- Faction: Jaggedpine Treefolk
|
|
e.other:Faction(e.self,366, -1,0); -- Faction: Karana Bandits
|
|
e.other:QuestReward(e.self,0,0,0,0,18809,200); -- Item: Bayle List II
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|