//-- Success Conditions --
//------------------------
//-- Disarm virus capsules and get to extraction zone
//------------------------

// Condition 0: Security System
OBJECT_CONDITION
	OBJECT	"computer1"
	GOAL_TYPE PRIMARY_GOAL
	RESULT NO_RESULT

// Condition 1: bomb1 after before computer
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_VIRUS_CAPSULE
	OBJECT "bomb1"
	IS_TIMED 1
	TIME_LIMIT 20.0
	GOAL_TYPE PRIMARY_GOAL
	RESULT NO_RESULT

// Condition 2: bomb1 Manipulated before Computer
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_VIRUS_CAPSULE
	OBJECT "bomb1"
	GOAL_TYPE NOT_GOAL
	RESULT FAILURE

//---------------------------------------------------------

// Condition  3: Security System
OBJECT_CONDITION
	OBJECT	"computer2"
	GOAL_TYPE PRIMARY_GOAL
	RESULT NO_RESULT

// Condition 4: bomb2 after before computer
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_VIRUS_CAPSULE
	OBJECT "bomb2"
	IS_TIMED 1
	TIME_LIMIT 15.0
	GOAL_TYPE PRIMARY_GOAL
	RESULT NO_RESULT

// Condition 5: bomb2 Manipulated before Computer
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_VIRUS_CAPSULE
	OBJECT "bomb2"
	GOAL_TYPE NOT_GOAL
	RESULT FAILURE

//---------------------------------------------------------

// Condition 6: Security System
OBJECT_CONDITION
	OBJECT	"computer3"
	GOAL_TYPE PRIMARY_GOAL
	RESULT NO_RESULT

// Condition  7: bomb3 after before computer
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_VIRUS_CAPSULE
	OBJECT "bomb3"
	IS_TIMED 1
	TIME_LIMIT 25.0
	GOAL_TYPE PRIMARY_GOAL
	RESULT NO_RESULT

// Condition  8: bomb3 Manipulated before Computer
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_VIRUS_CAPSULE
	OBJECT "bomb3"
	GOAL_TYPE NOT_GOAL
	RESULT FAILURE

PREDECESSOR 0 1
PREDECESSOR 3 4
PREDECESSOR 6 7

DISABLES 0 2
DISABLES 3 5
DISABLES 6 8

//---------------------------------------------------------
// Condition 9: Security System
OBJECT_CONDITION
	DESCRIPTION VC_TH04_DISARM_CONCENTRATION_TERMINAL
	OBJECT	"computer4"
	GOAL_TYPE PRIMARY_GOAL
	RESULT PARTIAL_SUCCESS

//---------------------------------------------------------
// Condition 10: Kill all the terrorists
HUMAN_CLASS_CONDITION TERRORISTS
	DESCRIPTION VC_TH04_KILL_ALL_TERRORISTS
	HAS_BEEN_KILLED 1
	NUMBER ALL
	GOAL_TYPE PRIMARY_GOAL
	RESULT PARTIAL_SUCCESS

//---------------------------------------------------------
// Failure conditions
SPECIFIC_HUMAN_CONDITION
	ACTOR Ambassador
	HAS_BEEN_KILLED 1
	RESULT FAILURE

// Failure conditions
SPECIFIC_HUMAN_CONDITION
	ACTOR Staff
	HAS_BEEN_KILLED 1
	RESULT FAILURE
