//Generated by BehavEd

rem ( "Give Player Lv.3 Keycard" );

if ( $get( FLOAT, "SET_PARM3")$, $>$, $299$ )
{

	if ( $get( FLOAT, "SET_PARM1")$, $<$, $3$ )
	{
		sound ( /*@CHANNELS*/ CHAN_AMBIENT, "sound/atlantica/clearance.mp3" );
		wait ( 4000.000 );
		sound ( /*@CHANNELS*/ CHAN_LOCAL, "sound/atlantica/victory.mp3" );
		set ( /*@SET_TYPES*/ "SET_PARM1", "3" );
		set ( /*@SET_TYPES*/ "SET_PARM3", "-300" );
		use ( "card3confirm" );
	}

}


else (  )
{

	if ( $get( FLOAT, "SET_PARM1")$, $>$, $2$ )
	{
		sound ( /*@CHANNELS*/ CHAN_LOCAL, "sound/atlantica/sufficient.mp3" );
	}


	else (  )
	{
		sound ( /*@CHANNELS*/ CHAN_LOCAL, "sound/interface/ammocon_empty.mp3" );
	}

}

