//=============================================================================
//
//=============================================================================
class MatrixVodka extends DeusExPickup;

#exec OBJ LOAD FILE=Extras

function DropFrom(vector StartLocation)
{
	LifeSpan = 5.0;
	Super.DropFrom(StartLocation);
}


function BecomeItem()
{
	LifeSpan = 0.0;
	Super.BecomeItem();
}


state Activated
{
	function Activate()
	{
		// can't turn it off
	}

	function BeginState()
	{
		local _MMRPGPlayer player;
		
		Super.BeginState();

		player = _MMRPGPlayer(Owner);
		if (player != None)
		{
			player.bJack = False;
			player.bMatr = True;
			player.bGuinness = False;
			player.drugEffectTimer += 40.0;
		}

		UseOnce();
	}
Begin:
}



simulated function bool TestMPBeltSpot(int BeltSpot)
{
   return ( (BeltSpot >= 1) && (BeltSpot <=8) );
}

defaultproperties
{
     bBreakable=True
     maxCopies=10
     bCanHaveMultipleCopies=True
     bActivatable=True
     ItemName="Matrix Vodka"
     PlayerViewOffset=(X=30.000000,Z=-12.000000)
     PlayerViewMesh=LodMesh'DeusExItems.WineBottle'
     PickupViewMesh=LodMesh'DeusExItems.WineBottle'
     ThirdPersonMesh=LodMesh'DeusExItems.WineBottle'
     LandSound=Sound'DeusExSounds.Generic.GlassHit1'
     Icon=Texture'Extras.Eggs.Matrix_A00'
     largeIcon=Texture'Extras.Eggs.Matrix_A00'
     largeIconWidth=14
     largeIconHeight=47
     Description="Yeaaah"
     beltDescription="M.VODKA"
     AmbientGlow=255
     Skin=Texture'Extras.Eggs.Matrix_A00'
     Mesh=LodMesh'DeusExItems.WineBottle'
     CollisionRadius=4.060000
     CollisionHeight=16.180000
     Mass=10.000000
     Buoyancy=8.000000
}
