class Stake10 extends DeusExDecoration;

var(loser) int CreditCost;

function Frob(Actor Frobber, Inventory frobWith)
{
	local ArenaTeleporter AT;
	
	ForEach AllActors (class'ArenaTeleporter', AT)
	{
		if (AT.numPlayers == 0)
		{
			AT.Stake = 10;
			DeusExPlayer(Frobber).ClientMessage("|p2Stake set to 10c!");
			return;
		}
		DeusExPlayer(Frobber).ClientMessage("|p2The stake has already been set at " $AT.Stake$ " credits!");
	}
}	


defaultproperties
{
     CreditCost=10
     bInvincible=True
     ItemName="Stake 10 Credits"
     bPushable=False
     Physics=PHYS_None
     Skin=Texture'DeusExDeco.Button1Tex23'
     RemoteRole=ROLE_SimulatedProxy
     Mesh=LodMesh'DeusExDeco.Button1'
     CollisionRadius=2.000000
     CollisionHeight=2.000000
     bCollideWorld=False
     bBlockActors=False
     Mass=5.000000
     Buoyancy=2.000000
}
