-- items: 2344
function event_spawn(e)
	eq.set_timer("depop",1800000);
end

function event_say(e)
	if(e.message:findi("bloodsaber")) then
		e.self:Say("Of course I'm a Bloodsaber, you fool! I've just returned from the Plains of Karana where I was reveling in the glory of the Plaguebringer. Now then, since I see that this foolish investigator is with you, I suppose you want me to sign a confession document or something like that? Well, let's have it then!");
		eq.set_timer("depop",90000);
	end
end

function event_trade(e)
  local item_lib = require("items");
  
  if(item_lib.check_turn_in(e.trade, {item1 = 2344})) then
    e.self:Emote("crumples the document into a ball, throws it to the ground and spits in your face, yelling, 'You are a fool if you really believe I would sign such a thing. Prepare to die!'");
    eq.attack(e.other:GetName());
	eq.set_timer("depop",300000);
  end
  item_lib.return_items(e.self, e.other, e.trade)
end

function event_timer(e)
	if(e.timer == "depop") then
		e.self:Say("You aren't bringing me in alive and since I don't feel like dying today, I'm outta here!");
		eq.depop();
	end
end
