# 35

// Any changes made to the order, additions or subractions to this
// file should be reflected in the strategies.txt file!!
//   ExecuteIncrementally

GOAL_DEFEND {
  NoTransport
  ExecuteIncrementally

  SquadClass:CanAttack
  SquadClass:CanDefend

  TargetType:City
  TargetOwner:Self

  Execute	ORDER_MOVE

  ThreatBonus			  100
  EnemyValueBonus		    0
  AlliedValueBonus		  100
  PowerBonus			 -100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  250
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		 -50
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

GOAL_SEIGE {
  RallyFirst

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc
  SquadClass:CanCaptureCity

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:Neutral
  TargetOwner:ColdEnemy

  Execute	ORDER_ATTACK

  ThreatBonus			 5000
  EnemyValueBonus		  250
  AlliedValueBonus		 1000
  PowerBonus			15000
  DistanceToHomeBonus	    -10
  DistanceToEnemyBonus	    0
  ChokePointBonus		  500
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		  100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 6000

  ForceMatch:Offensive

}

GOAL_ATTACK {
  RallyFirst

  SquadClass:CanAttack
  SquadClass:CanCaptureCity

  TargetType:AttackUnit
  TargetType:SpecialUnit
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_ATTACK
 
  ThreatBonus			  500
  EnemyValueBonus		  250
  AlliedValueBonus		 1500
  PowerBonus			  5000
  DistanceToHomeBonus	   -10
  DistanceToEnemyBonus	    0
  ChokePointBonus		   50
  UnexploredBonus	  -999999 
  ObsoleteArmyBonus		  100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Offensive

}

GOAL_HARASS {
  RallyFirst

  SquadClass:CanAttack

  TargetType:AttackUnit
  TargetType:SpecialUnit
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_ATTACK
 
  ThreatBonus			  100
  EnemyValueBonus		 -500
  AlliedValueBonus		 1500
  PowerBonus			  500    
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		   50
  UnexploredBonus	  -999999 
  ObsoleteArmyBonus		  100
  TreaspassingArmyBonus     0 

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Harass

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_SETTLE_LAND {
  NeedsEscort

  SquadClass:Special

  TargetType:SettleLand
  TargetOwner:Self
  TargetOwner:NoContact

  Execute	ORDER_SETTLE

  ThreatBonus			 -100
  EnemyValueBonus		 -100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus     15
  ChokePointBonus		  100
  UnexploredBonus		 -100
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_SETTLE_SEA {
  NeedsEscort

  SquadClass:Special

  TargetType:SettleSea
  TargetOwner:Self
  TargetOwner:NoContact

  Execute	ORDER_SETTLE

  ThreatBonus			 -100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus     15
  ChokePointBonus		  100
  UnexploredBonus		 -100
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_EXPLORE {
  SquadClass:CanExplore

  TargetType:Unexplored
  TargetOwner:Self
  TargetOwner:Ally
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_MOVE
  
  // Try to explore away from home, but close
  // to enemies/foreigners.
  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus     -25
  DistanceToEnemyBonus     -5
  ChokePointBonus		  100
  UnexploredBonus		  100
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus   500

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_ENSLAVE_SETTLER {
  NeedsEscort

  SquadClass:Special

  TargetType:SpecialUnit
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_ENSLAVE_SETTLER

  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_SLAVE_RAID {
  AvoidWatchfulCity

  SquadClass:Special

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_SLAVE_RAID

  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_CHOKEPOINT {
  NoTransport  
  RallyFirst

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc

  TargetType:ChokePoint
  TargetOwner:Self

  Execute	ORDER_MOVE

  ThreatBonus			  100
  EnemyValueBonus		    0
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	  -10 
  DistanceToEnemyBonus	   -1
  ChokePointBonus		    0
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		  -50
  TreaspassingArmyBonus   500

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

GOAL_PATROL {
  NoTransport  

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc

  TargetType:Improvement
  TargetType:Border
  TargetOwner:Self

  Execute	ORDER_MOVE

  ThreatBonus			  100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			 -100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	     -1
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus   500

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

GOAL_CONVERT_CITY {
  AvoidWatchfulCity

  SquadClass:Special

  TargetType:City
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_CONVERT

  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_BIOTERROR_CITY {
  AvoidWatchfulCity

  SquadClass:Special

  TargetType:City
  TargetOwner:HotEnemy

  Execute	ORDER_BIO_INFECT

  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special
} 

GOAL_NANOATTACK_CITY {
  AvoidWatchfulCity

  SquadClass:Special

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_NANO_INFECT

  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		    0
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special
} 

GOAL_HARASS_CITY {
 RallyFirst

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc
  SquadClass:CanCaptureCity

  TargetType:City
  TargetOwner:HotEnemy

  Execute	ORDER_ATTACK
 
  ThreatBonus			  500
  EnemyValueBonus		 -500
  AlliedValueBonus		 1000
  PowerBonus			  500
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  500
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		  100
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Harass 

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_BOMBARD {
  RallyFirst
    

  SquadClass:CanDefend
  SquadClass:CanAttack
  SquadClass:CanBombard

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_BOMBARD
 
  ThreatBonus			 -100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  150
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Bombard

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}



GOAL_BOMBARD_UNIT {		
  SquadClass:CanDefend
  SquadClass:CanAttack
  SquadClass:CanBombard

  TargetType:AttackUnit	
  TargetType:SpecialUnit	
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_BOMBARD
 
  ThreatBonus		 -100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  150
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus		  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus	    0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Bombard

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_EXPEL {
  SquadClass:CanAttack

  TargetType:SpecialUnit
  TargetOwner:Neutral
  TargetOwner:ColdEnemy

  Execute	ORDER_EXPEL
 
  ThreatBonus			 -100
  EnemyValueBonus		    0
  AlliedValueBonus		   50 
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_PILLAGE {
  NoTransport

  SquadClass:CanAttack

  TargetType:Improvement
  TargetOwner:HotEnemy

  Execute	ORDER_PILLAGE
 
  ThreatBonus			  -25
  EnemyValueBonus		   25
  AlliedValueBonus		    0
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_PIRATE {
  NoTransport

  SquadClass:CanAttack

  TargetType:TradeRoute
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute	ORDER_INTERCEPT_TRADE
 
  ThreatBonus			 -100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus     0

  ThreatenType:Pirate
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_COUNTER_STEALTH {
  NoTransport

  SquadClass:CanAttack

  TargetType:SpecialUnit
  TargetOwner:HotEnemy

  Execute	ORDER_MOVE
 
  ThreatBonus			 -100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_GOODY_HUT {
  SquadClass:CanExplore

  TargetType:GoodyHut
  TargetOwner:Self
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_MOVE

  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	   -5 
  DistanceToEnemyBonus	   -1
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus   500

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_PLANT_NUKE {
  AvoidWatchfulCity

  SquadClass:Special  

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_PLANT_NUKE
 
  ThreatBonus			  100
  EnemyValueBonus		  100
  AlliedValueBonus		  -30
  PowerBonus			  -30
  DistanceToHomeBonus	   10
  DistanceToEnemyBonus	  -10
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_CREATE_PARK {
  SquadClass:Special  

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_CREATE_PARK
 
  ThreatBonus			  100
  EnemyValueBonus		  100
  AlliedValueBonus		  -30
  PowerBonus			  -30
  DistanceToHomeBonus	   10
  DistanceToEnemyBonus	  -10
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:Special

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_SOOTHSAY {
  AvoidWatchfulCity

  SquadClass:Special  

  TargetType:City
  TargetOwner:HotEnemy

  Execute	ORDER_SOOTHSAY
 
  ThreatBonus			  100
  EnemyValueBonus		  100
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_ESTABLISH_EMBASSY {
  NeedsEscort

  SquadClass:Special  

  TargetType:City
  TargetOwner:Ally
  TargetOwner:Neutral
  TargetOwner:NoContact

  Execute	ORDER_ESTABLISH_EMBASSY
 
  // just want to establish embassy at closest city.
  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	   -1 
  DistanceToEnemyBonus	    1 
  ChokePointBonus		    0
  UnexploredBonus	    -1500
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_FRANCHISING {
  SquadClass:Special  

  TargetType:City
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute	ORDER_FRANCHISE
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_STEAL_TECHNOLOGY {
  AvoidWatchfulCity

  SquadClass:Special  

  TargetType:City
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute	ORDER_STEAL_TECHNOLOGY
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_INVESTIGATE_CITY {
  AvoidWatchfulCity

  SquadClass:Special  

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_INVESTIGATE_CITY
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_INCITE_REVOLUTION {
  AvoidWatchfulCity

  SquadClass:Special  

  TargetType:City
  TargetOwner:HotEnemy

  Execute	ORDER_INCITE_REVOLUTION
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_INJOIN {
  SquadClass:Special  

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute	ORDER_INJOIN
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_ASSASSINATE {
  AvoidWatchfulCity

  SquadClass:Special  

  TargetType:City
  TargetOwner:HotEnemy

  Execute	ORDER_ASSASSINATE
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_UNDERGROUND_RAILWAY {
  SquadClass:Special  

  TargetType:City
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy

  Execute	ORDER_UNDERGROUND_RAILWAY
 
  ThreatBonus			  -50
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

GOAL_NUKE_CITY {
  SquadClass:Special  

  TargetType:City
  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy

  Execute	ORDER_ATTACK

  ThreatBonus			  100
  EnemyValueBonus		  100
  AlliedValueBonus		  -30
  PowerBonus			  -30
  DistanceToHomeBonus	   10
  DistanceToEnemyBonus	  -10
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:DestroyCity
  ThreatenBonus 5000

  ForceMatch:StealthAttack

  TargetProtectionWonder WONDER_THE_FORBIDDEN_CITY
}

GOAL_WANDER {
  SquadClass:CanExplore

  TargetType:Random
  TargetOwner:Self
  TargetOwner:Ally
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_MOVE
 
  ThreatBonus			    0  
  EnemyValueBonus		  100
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	  -10
  ChokePointBonus		    0
  UnexploredBonus		    0
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_SALLY {
  IsSally
  NoTransport

  SquadClass:CanAttack

  TargetType:AttackUnit
  TargetOwner:HotEnemy

  Execute	ORDER_ATTACK
 
  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		    0
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Offensive
}

GOAL_REFORM {
  SquadClass:CanAttack

  TargetType:City
  TargetOwner:Self

  Execute	ORDER_REFORM
 
  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus		    0
  ObsoleteArmyBonus		  100
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Special
}

GOAL_SUE_FRANCHISE {
  SquadClass:Special  

  TargetType:City
  TargetOwner:Self

  Execute	ORDER_SUE_FRANCHISE
 
  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		  100
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus     0

  ThreatenType:SpecialAttackCity
  ThreatenBonus 5000

  ForceMatch:Special
}

// Cause military units to pullback towards our city
//
GOAL_RETREAT {
  ExecuteIncrementally
  NeverSatisfied

  SquadClass:CanAttack
  SquadClass:CanDefend
  SquadClass:HasZoc
  SquadClass:CanCaptureCity

  TargetType:City
  TargetOwner:Self

  Execute	ORDER_MOVE
 
  ThreatBonus			    0
  EnemyValueBonus		    0
  AlliedValueBonus		    0
  PowerBonus			    0
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		    0
  UnexploredBonus		    0
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus 10000

  ThreatenType:None
  ThreatenBonus 0

  // no force matching to retreat
  ForceMatch:Special 
}

// Defend our endgame terrain improvements
GOAL_PROTECT_ENDGAME
{
  ExecuteIncrementally
  NoTransport

  SquadClass:CanAttack
  SquadClass:CanDefend

  TargetType:Endgame
  TargetOwner:Self

  Execute	ORDER_MOVE

  ThreatBonus			  100
  EnemyValueBonus		    0
  AlliedValueBonus		   50
  PowerBonus			 -100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		  -10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Defensive
}

// Defend our endgame terrain improvements
GOAL_DESTROY_ENDGAME
{
  NoTransport

  SquadClass:CanAttack

  TargetType:Endgame
  TargetOwner:Neutral
  TargetOwner:ColdEnemy
  TargetOwner:HotEnemy
  TargetOwner:NoContact

  Execute	ORDER_PILLAGE
 
  ThreatBonus			 -100
  EnemyValueBonus		  100
  AlliedValueBonus		  100
  PowerBonus			  100
  DistanceToHomeBonus	    0
  DistanceToEnemyBonus	    0
  ChokePointBonus		  100
  UnexploredBonus	  -999999
  ObsoleteArmyBonus		   10
  TreaspassingArmyBonus     0

  ThreatenType:None
  ThreatenBonus 0

  ForceMatch:Offensive
}
