//##################################################
//    Failure Conditions --
//##################################################
//    Condition 0
//    Hostages - if they die,  you lose the mission
HUMAN_CLASS_CONDITION HOSTAGES
	HAS_BEEN_KILLED	1
	NUMBER		ANY
	GOAL_TYPE 	NOT_GOAL
	RESULT		FAILURE
//==================================================
//    Condition 1
//    Alarm to end mission
OBJECT_CONDITION
	OBJECT	alarm
	GOAL_TYPE	NOT_GOAL
	RESULT		FAILURE

//    Condition 2
OBJECT_CONDITION
	OBJECT	door01_70
	GOAL_TYPE	NOT_GOAL
	RESULT		FAILURE

//    Condition 3
OBJECT_CONDITION
	OBJECT	door02_70
	GOAL_TYPE	NOT_GOAL
	RESULT		FAILURE

//##################################################
//    Success Conditions
//##################################################
//    Condition 4
//    Turn off security system
OBJECT_CONDITION
	OBJECT	security_console
	DESCRIPTION	VC_TH01_DISABLE_CONSOLE
	GOAL_TYPE	PRIMARY_GOAL
	RESULT		NO_RESULT
// When the security system is turned off it disables the alarm and door failure conditions.
DISABLES 4 1
DISABLES 4 2
DISABLES 4 3
//==================================================

// Condition 5:	Disarm Bomb
OBJECT_CONDITION
	DESCRIPTION VC_TH01_PREVENT_BOMB_DETONATION
	OBJECT	rigbomb1
	GOAL_TYPE	PRIMARY_GOAL
	RESULT		PARTIAL_SUCCESS

// Condition 6: Disarm Bomb
OBJECT_CONDITION
	DESCRIPTION VC_TH01_PREVENT_BOMB_DETONATION
	OBJECT	rigbomb2
	GOAL_TYPE	PRIMARY_GOAL
	RESULT		PARTIAL_SUCCESS

// Condition 7: Disarm Bomb
OBJECT_CONDITION
	DESCRIPTION VC_TH01_PREVENT_BOMB_DETONATION
	OBJECT	rigbomb3
	GOAL_TYPE	PRIMARY_GOAL
	RESULT		PARTIAL_SUCCESS

// Condition 8
SPECIFIC_HUMAN_CONDITION
	DESCRIPTION	VC_TH01_FREE_BOSS
	GOAL_TYPE 	PRIMARY_GOAL
	ACTOR		boss01
	HAS_REACHED_EXTRACTION_ZONE 1
	RESULT		PARTIAL_SUCCESS

// Condition 9: Kill all the terrorists to win
HUMAN_CLASS_CONDITION TERRORISTS
	DESCRIPTION 	VC_TH01_KILL_ALL_TERRORISTS
	HAS_BEEN_KILLED 1
	NUMBER 		ALL
  	GOAL_TYPE 	PRIMARY_GOAL
  	RESULT 		PARTIAL_SUCCESS
//RESULT NO_RESULT

// Killing all terrorists prevents bomb detonation
//COMPLETES 9 5
//COMPLETES 9 6
//COMPLETES 9 7
//COMPLETES 9 8
//==================================================