-- items: 85055, 85056, 85057, 85058
function event_say(e)
	if(e.message:findi("hail")) then
		e.self:Say("Greetings, child. Welcome to Gemchopper Hall. I trust that you are a [warrior], or perhaps you are lost..?");
	elseif(e.message:findi("lost")) then
		e.self:Say("One can easily get lost in Ak'Anon. You must get your vision checked. If you are truly lost, I would advise speaking with a mechanical guide. There should be one close by on the main walkway.");
	elseif(e.message:findi("warrior")) then
		e.self:Say("That is good news! We gnomes are not known for our love of battle so it is always good to bring new blood into our ranks. We shall prove our worth as warriors to all other races. For now. there is much to do in Ak'Anon. There are [rogue clockworks] and the [cargo clockwork].");
	elseif(e.message:findi("rogue clockworks")) then
		e.self:Say("The clockworks are the responsibility of Manik Compolten. Speak with him - I am sure he is here somewhere.");
	elseif(e.message:findi("cargo clockwork")) then
		e.self:Say("The cargo clockwork is located near the entrance to Ak'Anon in the Steamfont Mountains. It runs a delivery to the windmills every five days at eight in the morning. There have been attacks by a group of highwaymen. They are quite a formidable group. I have offered a reward for their heads. Be very careful if you plan on escorting the cargo clockwork. This trio of bandits is very strong.");
	end
end

function event_trade(e)
	local item_lib = require("items");

	if(item_lib.check_turn_in(e.trade, {item1 = 85055, item2 = 85056, item3 = 85057})) then -- Renaldo's Severed Head, Hector's Severed Head, Jerald's Severed Head
		e.self:Say("I heard our shipment made it back safely. These heads will send a message to any other thief that plans on robbing our cargo shipments. Thank you " .. e.other:GetName() .. ", take this mask and this coin as your reward.");
		e.other:SummonItem(85058); -- Highway Protectors Mask this quest reward is enabled in Luclin content on TLPs
		e.other:Ding();
		e.other:Faction(255,15,0); -- Gem Choppers
		e.other:Faction(288,15,0); -- Merchants of Ak'Anon
		e.other:Faction(333,15,0); -- King Ak'Anon
		e.other:Faction(238,-15,0); -- Dark Reflection
		e.other:Faction(1604,-15,0); -- Clan Grikbar
		e.other:AddEXP(6000);
		e.other:GiveCash(3,2,3,0); -- Copper x 3, Silver x 2, Gold x 3
	end
	item_lib.return_items(e.self, e.other, e.trade)
end
