//=============================================================================
// HumanCarcass.
//=============================================================================
class HumanCarcass expands CreatureCarcass;

function ChunkUp(int Damage)
{
	local carcass carc;
	
	if ( Damage == 1000 )
		carc = Spawn(class 'Leg2');
	else
		carc = Spawn(class 'Leg1');
	if (carc != None)
		carc.Initfor(self);

	CallParent.ChunkUp(Damage);
}

function ClientExtraChunks()
{
	local carcass carc;

	// arm, leg and thigh
	carc = Spawn(class 'Liver');
	if (carc != None)
		carc.Initfor(self);
	carc = Spawn(class 'Thigh');
	if (carc != None)
		carc.Initfor(self);
	carc = Spawn(class 'Stomach');
	if (carc != None)
		carc.Initfor(self);
	carc = Spawn(class 'PHeart');
	if (carc != None)
		carc.Initfor(self);
	carc = Spawn(class 'CreatureChunks');
	if (carc != None)
	{
		carc.Mesh = mesh 'CowBody1';
		carc.Initfor(self);
	}
	carc = Spawn(class 'Leg1');
	if (carc != None)
		carc.Initfor(self);
	carc = Spawn(class 'Arm1');
	if (carc != None)
		carc.Initfor(self);
	carc = Spawn(class 'Thigh');
	if (carc != None)
		carc.Initfor(self);
	Spawn(class 'Bloodspurt');
}

function Initfor(actor Other)
{
	bReducedHeight = false;
	CallParent.InitFor(Other);
}

function ReduceCylinder()
{
	CallParent.ReduceCylinder();
	PrePivot = PrePivot - vect(0,0,2);
}

