//=============================================================================
//
//=============================================================================
class FRClass expands DeusExPickup;

var class<FDeco> SpawnClass;

state Activated
{

	function Activate()
	{
	}
		function BeginState()
		{

		local FDeco SpawnObject;

		Super.BeginState();
		if(Role == ROLE_Authority)
		{
		SpawnObject = Spawn(SpawnClass,,, Pawn(Owner).Location, Pawn(Owner).Rotation);
		SpawnObject.Player = _MMRPGPlayer(Owner);
		SpawnObject.PackedClass = Class;
		_MMRPGPlayer(Owner).AddFurn(SpawnObject);
		}	

		UseOnce();
		}
Begin:	
}

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

defaultproperties
{
     MaxCopies=1
     bCanHaveMultipleCopies=False
     bActivatable=True
     ItemName="ERROR"
     PlayerViewOffset=(X=30.000000,Z=-12.000000)
     PlayerViewMesh=LodMesh'DeusExDeco.BoxSmall'
     PickupViewMesh=LodMesh'DeusExDeco.BoxSmall'
     ThirdPersonMesh=LodMesh'DeusExDeco.BoxSmall'
     LandSound=Sound'DeusExSounds.Generic.DropMediumWeapon'
     Icon=Texture'DeusExDeco.Skins.WHEndTableLibraryTex1'
     largeIcon=Texture'DeusExDeco.Skins.WHEndTableLibraryTex1'
     largeIconWidth=99
     largeIconHeight=55
     Description="."
     beltDescription="ERROR"
     Skin=Texture'ContenderStuff.Skins.FurniSkin'
     Mesh=LodMesh'DeusExDeco.BoxSmall'
     CollisionRadius=13.000000
     CollisionHeight=5.180000
     Mass=10.000000
}
