//=============================================================================
// chill yeah?
//=============================================================================
class MMRPGBankArea extends MMRPGSafeArea;

event ActorEntered( actor Other )
{
	Super.ActorEntered(Other);

	if(Other.isA('DeusExProjectile'))
	{
		if((Other.IsA('MMRPGCreditsProjectile'))||(Other.IsA('MMRPGCreditsProjectileFive'))||(Other.IsA('MMRPGCreditsProjectileTen')))
		{
			Other.Lifespan = 0.0;		
		}

		if(!Other.IsA('MMRPGCreditsProjectile'))
		{
			if(!Other.IsA('MMRPGCreditsProjectileFive'))
			{
				if(!Other.IsA('MMRPGCreditsProjectileTen'))
				{
					if(!Other.IsA('SpyDroneMM')){
					DeusExProjectile(Other).DamageType = 'Shot';
					DeusExProjectile(Other).Damage = 0;
					Other.Destroy();
				}}
			}
		}
	}

	if(Other.isA('Inventory'))
	{
		Inventory(Other).LifeSpan = 0;
		Inventory(Other).RespawnTime = 0;
		Inventory(Other).bTossedOut = True;
	}
}

event ActorLeaving( actor Other )
{
	Super.ActorLeaving(Other);

	if(Other.isA('Inventory'))
	{
		Inventory(Other).LifeSpan = Inventory(Other).Default.LifeSpan;
		Inventory(Other).RespawnTime = Inventory(Other).Default.RespawnTime;
		Inventory(Other).bTossedOut = Inventory(Other).Default.bTossedOut;
	}

	if(Other.isA('DeusExProjectile'))
	{
		if((Other.IsA('MMRPGCreditsProjectile'))||(Other.IsA('MMRPGCreditsProjectileFive'))||(Other.IsA('MMRPGCreditsProjectileTen')))
		{
			Other.Lifespan = Other.Default.Lifespan;
			
		}
	}
}


simulated function PreBeginPlay()
{
	Super.PreBeginPlay();
     ZoneGravity=Default.ZoneGravity;
     ZoneGroundFriction=8.000000;
     ZoneFluidFriction=1.200000;
     ZoneVelocity =vect(0,0,0);
     TexUPanSpeed=1.000000;
     TexVPanSpeed=1.000000;
     MaxLightingPolyCount=9000;
     bWaterZone=False;
}

defaultproperties
{
}
