

focus_tree = {
	id = centralafrican_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = CAE 
		}
	}
	
	default = no
	
	continuous_focus_position = { x = 100 y = 1500 }

	focus = {
		id = meeting
		icon = GFX_focus_BRA_cafe_com_leite_politics
		x = 16
		y = 0
		cost = 4
		search_filters = {  FOCUS_FILTER_RESEARCH }
		
		available_if_capitulated = yes

		completion_reward = {
			
			if = {
				limit = {
					ZUS = { 
						owns_state = 549
						controls_state = 549
					}
				}
				ZUS = {
					country_event = { id = zusulsCAE.1 }
				}
			}
			
			
		}
	}
	
	focus = {
		id = help_efiopia
		prerequisite = { focus = meeting }
		icon = GFX_focus_ETH_peacekeeping_forces
		x = 0
		y = 1
		relative_position_id = meeting
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			set_rule = {
				can_send_volunteers = yes
			}
			add_ideas = CAEvolonteers_idea
		ETH = {			
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
				producer = CAE
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 120
				producer = CAE
			}
			add_equipment_to_stockpile = {
				type = support_equipment
				amount = 150
				producer = CAE
			}
			}
	}
	}
	
	focus = {
		id = CAE_reichsmacht
		prerequisite = { focus = help_efiopia }
		icon = GFX_focus_GER_glory_to_the_imperial_army
		x = 0
		y = 1
		relative_position_id = help_efiopia
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_political_power = 50
			army_experience = 50
		}
	}
	
	focus = {
		id = army
		prerequisite = { focus = CAE_reichsmacht }
		icon = GFX_focus_CAE_schmulke
		x = -3
		y = 1
		relative_position_id = CAE_reichsmacht
		cost = 4

		search_filters = { FOCUS_FILTER_INDUSTRY  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 101
		}

		bypass = {
			
		}

		
		completion_reward = {
			army_experience = 50
			add_doctrine_cost_reduction = {
				name = cae_land_doc_bonus
				cost_reduction = 0.5
				uses = 3
				category = land_doctrine
                    }
		}
	}
	
	focus = {
		id = naval
		prerequisite = { focus = army }
		icon = GFX_focus_SWE_Vasa_II
		x = -2
		y = 1
		relative_position_id = army
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = cae_naval_doc_bonus
				cost_reduction = 0.5
				uses = 3
				category = naval_doctrine
                    }
		}
	}
	
	focus = {
		id = CAEnaval_effort
		icon = GFX_focus_generic_refit_civilian_ships
		x = 0
		y = 1
		cost = 6
        relative_position_id = naval
		prerequisite = { focus = naval }
		search_filters = {  FOCUS_FILTER_INDUSTRY }
		
		available_if_capitulated = yes


		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}

		complete_tooltip = {
			navy_experience = 50
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = dockyard
				level = 3
				instant_build = yes
			}
		}
		
		completion_reward = {
			navy_experience = 50
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							dockyard > 0
							free_building_slots = {
								building = dockyard
								size > 2
								include_locked = yes
							}
						}
					}
					any_owned_state = {
						is_coastal = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 6
					add_building_construction = {
						type = dockyard
						level = 6
						instant_build = yes
					}
				}
				set_country_flag = naval_effort_built
			}
			if = {
				limit = {
					NOT = { has_country_flag = naval_effort_built }
					any_owned_state = {
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
				set_country_flag = naval_effort_built
			}
			if = {
				limit = {
					NOT = { has_country_flag = naval_effort_built }
					NOT = {
						any_owned_state = {
							free_building_slots = {
								building = dockyard
								size > 2
								include_locked = yes
							}
						}
					}
				}
				random_state = {
					limit = {
						controller = { tag = ROOT }
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
			}			
		}
	}
	
	focus = {
		id = CAE_linkor
		icon = GFX_goal_generic_navy_cruiser
		x = 0
		y = 1
		relative_position_id = CAEnaval_effort
		cost = 4
		available_if_capitulated = yes
		prerequisite = { focus = CAEnaval_effort }
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
	navy_experience = 100
		}
	}
	
	focus = {
		id = strategy
		prerequisite = { focus = army }
		icon = GFX_focus_SWE_varnplikt
		x = 2
		y = 1
		relative_position_id = army
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = cae_land_doc_bonus
				cost_reduction = 0.5
				uses = 3
				category = land_doctrine
                    }
		}
	}
	
	focus = {
		id = new_guns
		prerequisite = { focus = strategy }
		icon = GFX_focus_NORDIC_com_army
		x = 0
		y = 1
		relative_position_id = strategy
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_tech_bonus = {
				name = CAE_inf_and_artillery_advancement
				bonus = 1.0
				ahead_reduction = 2
				uses = 2
				category = infantry_weapons
			}
		}
	}
	
	focus = {
		id = new_support
		prerequisite = { focus = new_guns }
		icon = GFX_focus_FIN_jaeger_movement
		x = 0
		y = 1
		relative_position_id = new_guns
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_tech_bonus = {
				name = CAE_support_bonus 
				bonus = 1.0
				uses = 2
				category = support_tech	
			}
			add_tech_bonus = {
				name = CAE_support_bonus 
				bonus = 1.0
				uses = 2
				technology = support_weapons2
				technology = support_weapons3
			}
		}
	}
	
	focus = {
		id = air
		prerequisite = { focus = army }
		icon = GFX_focus_generic_copy_plane_designs
		x = 0
		y = 1
		relative_position_id = army
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = cae_air_doc_bonus
				cost_reduction = 0.5
				uses = 3
				category = air_doctrine
                    }
		}
	}
	
	focus = {
		id = airtech
		prerequisite = { focus = air }
		icon = GFX_focus_generic_cas_aircraft
		x = 0
		y = 1
		relative_position_id = air
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_tech_bonus = {
				name = CAE_air_bonus 
				bonus = 1.0
				uses = 2
				category = light_fighter
			}
	}
	}
	
	focus = {
		id = broiler
		prerequisite = { focus = airtech }
		icon = GFX_focus_generic_long_range_aircraft
		x = 0
		y = 1
		relative_position_id = airtech
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_ideas = broiler
		}
	}
	focus = {
		id = CAE_marines
		prerequisite = { focus = broiler focus = CAE_linkor }
		relative_position_id = broiler
		icon = GFX_SOV_naval_infantry_ccp_2d_sov_compatibility
		x = -1
		y = 1
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
		custom_effect_tooltip = CAE_libery_marines_tt
		
		hidden_effect={
		load_oob = "CAE_libery_marines"	
		}
		}
	}
		focus = {
		id = CAE_motorization
		prerequisite = { focus = broiler focus = new_support }
		relative_position_id = broiler
		icon = GFX_focus_generic_truck
		x = 1
		y = 1
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
		custom_effect_tooltip = CAE_motor_unit_tt
	
		hidden_effect={
			load_oob = "CAE_1936_moto"
		}
		
		}
	}
	
	focus = {
		id = CAE_war_strategy
		icon = GFX_goal_generic_territory_or_war
		x = 0
		y = 2
		relative_position_id = broiler
		
		
		available = {
			
			
		}
		
		bypass = {
           #
		}
		
		cost = 6
		prerequisite = { focus = CAE_marines focus = CAE_motorization }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			CAE = {
			add_state_core = 550
			add_state_core = 559
			add_state_core = 844
			add_state_core = 450
			add_state_core = 451
			add_state_core = 663
			}
			
		}
		
	}
	
	focus = {
		id = CAE_uchenye
		prerequisite = { focus = CAE_reichsmacht }
		icon = GFX_focus_generic_industrialists
		x = 3
		y = 1
		relative_position_id = CAE_reichsmacht
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			recruit_character = CAE_Karl_von_Herrlange
			recruit_character = CAE_Albert_Poshle
		}
	}
focus = {
		id = CAE_naval_lab
		prerequisite = { focus = CAE_uchenye }
		icon = GFX_focus_generic_refit_civilian_ships
		x = -2
		y = 1
		relative_position_id = CAE_uchenye
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			297 = {
				add_building_construction = { type = naval_facility province = 8244 level = 1 instant_build = yes }
		}
		}
	}
focus = {
		id = CAE_mini_submarines
		prerequisite = { focus = CAE_naval_lab }
		icon = GFX_focus_generic_midget_submarines
		x = 0
		y = 1
		relative_position_id = CAE_naval_lab
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			complete_special_project = {
			project = sp:sp_naval_midget_submarine
			scientist = CAE_Albert_Poshle
			state = 297
		}
		}
	}
	focus = {
		id = CAE_big_submarines
		prerequisite = { focus = CAE_mini_submarines }
		icon = GFX_SOV_long_range_raiders_ccp_2d_sov_compatibility
		x = 0
		y = 1
		relative_position_id = CAE_mini_submarines
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			complete_special_project = {
			project = sp:sp_naval_cruiser_submarine
			scientist = CAE_Albert_Poshle
			state = 297
		}
		}
	}
focus = {
		id = gas_weapons
		prerequisite = { focus = CAE_uchenye }
		icon = GFX_focus_gas_weaponsCAE
		x = 0
		y = 1
		relative_position_id = CAE_uchenye
		cost = 4

		search_filters = { FOCUS_FILTER_INDUSTRY  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 100
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_ideas = gasidea
		}
	}
	
	focus = {
		id = bigfritz
		prerequisite = { focus = gas_weapons }
		icon = GFX_focus_bigfritzCAE
		x = 0
		y = 1
		relative_position_id = gas_weapons
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 100
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_ideas = fritzidea
		}
	}
	focus = {
		id = kaput
		prerequisite = { focus = bigfritz }
		icon = GFX_focus_more_kaputCAE
		x = 0
		y = 1
		relative_position_id = bigfritz
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 1000
		}

		bypass = {
			
		}

		
		completion_reward = {
			  if = {
			  limit = { has_dlc = "Gotterdammerung"	}
			  swap_ideas = { remove_idea = ironkaput_nsb1 add_idea = ironkaput_nsb2 }
			  else = {
				swap_ideas = { remove_idea = ironkaput_1 add_idea = ironkaput_2 }
				}
				}
			 if = {
				limit = {
					NOT = { has_tech = TOA_jungle_pioneers_support_tech }
				}
				set_technology = { TOA_jungle_pioneers_support_tech = 1 }
			}
			
		}
	}
	focus = {
		id = CAE_air_lab
		prerequisite = { focus = CAE_uchenye }
		icon = GFX_focus_generic_air_bases
		x = 2
		y = 1
		relative_position_id = CAE_uchenye
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
				774 = {
				add_building_construction = { type = air_facility province = 2081 level = 1 instant_build = yes }
		}
		}
	}
	focus = {
		id = CAE_roketry
		prerequisite = { focus = CAE_air_lab }
		relative_position_id = CAE_air_lab
		icon = GFX_focus_generic_cryptologic_bomb
		x = 0
		y = 1
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
		if = {
		limit = {
		NOT = { has_tech = experimental_rockets } 
		}
			set_technology = {experimental_rockets = 1}
		}
		}
	}
	focus = {
		id = frautech
		prerequisite = { focus = CAE_roketry }
		icon = GFX_focus_rocketry
		x = 0
		y = 1
		relative_position_id = CAE_roketry
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
		add_ideas = frau_rocket
			complete_special_project = {
			project = sp:sp_rockets_flying_bomb
			scientist = CAE_Karl_von_Herrlange
			state = 774
		}
		}
	}
	focus = {
		id = CAE_megaship
		prerequisite = { focus = CAE_big_submarines }
		relative_position_id = kaput
		icon = GFX_goal_generic_navy_battleship
		x = -1
		y = 1
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
		complete_special_project = {
			project = sp:sp_naval_super_heavy_battleship
			scientist = CAE_Albert_Poshle
			state = 297
		}
		}
		}
	focus = {
		id = CAE_radio_to_berlin
		prerequisite = { focus = frautech }
		icon = GFX_goal_generic_radar
		x = 1
		y = 1
		relative_position_id = kaput
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			complete_special_project = {
			project = sp:sp_air_radar
			scientist = CAE_Karl_von_Herrlange
			state = 774
		}
		}
	}
		
	focus = {
		id = CAE_atomic_hart
		
		prerequisite = { focus = CAE_big_submarines	focus = frautech focus = kaput }
		relative_position_id = kaput
		icon = GFX_goal_generic_secret_weapon
		x = 0
		y = 2
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
			772 = {
				add_building_construction = { type = nuclear_facility province = 2081 level = 1 instant_build = yes }
		}
		}
	}
	
	focus = {
	    id = ekonomika
		icon = GFX_focus_generic_africa_factory
		x = -9
		y = 1
		cost = 4
        relative_position_id = help_efiopia
		prerequisite = { focus = help_efiopia }
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.0
				uses = 2
				category = radar_tech
			}
		}

		ai_will_do = {
			factor = 100
			
		}
	}
	focus = {
		id = CAE_autobahn
		prerequisite = { focus = ekonomika }
		icon = GFX_focus_generic_road_investment
		x = -2
		y = 1
		relative_position_id = ekonomika
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_ideas = CAE_res_idea_1
			every_owned_state = { 
			limit = {
						infrastructure < 3
						state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
		}
	}
	} 
	focus = {
		id = CAE_mines
		prerequisite = { focus = CAE_autobahn }
		icon = GFX_focus_generic_steel
		x = 0
		y = 1
		relative_position_id = CAE_autobahn
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			swap_ideas = { remove_idea = CAE_res_idea_1 add_idea = CAE_res_idea_2 }
		900 = {
				add_resource = {
					type = steel
					amount = 4
				}
				add_resource = {
					type = oil
					amount = 8
				}
				
			}
		}
	}
	focus = {
		id = CAE_arms
		prerequisite = { focus = CAE_mines }
		icon = GFX_focus_generic_reorient_production
		x = 0
		y = 1
		relative_position_id = CAE_mines
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			swap_ideas = { remove_idea = CAE_res_idea_2 add_idea = CAE_res_idea_3 }
		random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = CAE_reforms
		prerequisite = { focus = ekonomika }
		icon = GFX_focus_generic_treaty
		x = 0
		y = 1
		relative_position_id = ekonomika
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_political_power = 100
			add_ideas = CAE_stab_idea_1
		}
	}
	focus = {
		id = CAE_works
		prerequisite = { focus = CAE_reforms }
		icon = GFX_focus_BRA_amazon_colonization
		x = 0
		y = 1
		relative_position_id = CAE_reforms
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			every_owned_state = { 
			limit = { building_slots < 1 }
			add_extra_state_shared_building_slots = 2
			}
	swap_ideas = { remove_idea = CAE_stab_idea_1 add_idea = CAE_stab_idea_2 }
		}
	}
	focus = {
		id = CAE_univer
		prerequisite = { focus = CAE_works }
		icon = GFX_focus_ARG_strengthening_the_concordancia
		x = 0
		y = 1
		relative_position_id = CAE_works
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			swap_ideas = { remove_idea = CAE_stab_idea_2 add_idea = CAE_stab_idea_3 }
			add_tech_slot = 1
		}
	}
	
	
	focus = {
		id = CAE_refenery_tech
		prerequisite = { focus = ekonomika }
		icon = GFX_focus_generic_stockpile_fuel
		x = 2
		y = 1
		relative_position_id = ekonomika 
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			add_tech_bonus = {
				name = GER_coal_liquefaction
				bonus = 1
				uses = 2
				category = synth_resources
			}
			add_ideas = CAE_oil_idea_1
		}
	}
	focus = {
		id = CAE_benzin_sklad
		prerequisite = { focus = CAE_refenery_tech }
		icon = GFX_SOV_oil_production_ccp_2d_sov_compatibility
		x = 0
		y = 1
		relative_position_id = CAE_refenery_tech
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
		swap_ideas = { remove_idea = CAE_oil_idea_1 add_idea = CAE_oil_idea_2 }
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = fuel_silo
						size > 0
						include_locked = yes
					}
				}
				
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = fuel_silo
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = CAE_benzin_craft
		prerequisite = { focus = CAE_benzin_sklad }
		icon = GFX_focus_generic_resource_extraction
		x = 0
		y = 1
		relative_position_id = CAE_benzin_sklad
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
		swap_ideas = { remove_idea = CAE_oil_idea_2 add_idea = CAE_oil_idea_3 }
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = synthetic_refinery
						size > 0
						include_locked = yes
					}
				}
				
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = CAE_bullet_facktory
		prerequisite = { focus = CAE_univer focus = CAE_benzin_craft focus = CAE_arms }
		relative_position_id = CAE_univer
		icon = GFX_focus_CONGO_copper_cartridges
		x = -1
		y = 1
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
			887 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = CAE_docks
		prerequisite = { focus = CAE_univer focus = CAE_benzin_craft focus = CAE_arms  }
		relative_position_id = CAE_univer
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 1
		y = 1
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
			900 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = CAE_civil_facktory
		prerequisite = { focus = CAE_univer focus = CAE_benzin_craft focus = CAE_arms }
		relative_position_id = CAE_univer
		icon = GFX_focus_CHL_enlarge_the_textile_industries
		x = 0
		y = 2
		
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		completion_reward = {
			901 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

		focus = {
		id = annex_efiopia
		prerequisite = { focus = help_efiopia }
		icon = GFX_focus_ETH_empower_the_ras
		x = 2
		y = 1
		relative_position_id = help_efiopia
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes

		available = {
			ETH = { has_war = no is_subject = no }
			
		}
		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
					ETH = {
					country_event = { id = etheopiaCAE.1 }
				}
				CAE = { 
            
			add_state_core = 835
			add_state_core = 908
			add_state_core = 836
			add_state_core = 837			
			add_state_core = 838			
			add_state_core = 839			
			add_state_core = 840			
			add_state_core = 841			
			add_state_core = 842			
			add_state_core = 843			
			add_state_core = 271
			}
		}
	}
	
	focus = {
		id = CAE_liberia
		prerequisite = { focus = help_efiopia }
		icon = GFX_focus_CAE_Liberia
		x = 10
		y = 1
		relative_position_id = help_efiopia
		cost = 4

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
		CAE = {add_state_core = 298}
		
			create_wargoal = {
				target = LIB
				type = annex_everything
				expire = 0 
			}
		}
	}
	
	focus = {
		id = CAE_invade_zusuls
		icon = GFX_CAE_baron_und_kaput
		x = 0
		y = 1
		relative_position_id = CAE_liberia
		prerequisite = { focus = CAE_liberia }
		
		ai_will_do = {
			factor = 100
		}
		
		available = {
			NOT = { CAE = { has_idea =  CAEnon_agresion} }
		}
		bypass = {
           
				ZUS = {
					is_subject = yes
				}

			}
		
		
		cost = 4		

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		create_wargoal = {
				target = ZUS
				type = annex_everything
				expire = 0 
			}
		}
		ai_will_do = {
			
		}
	}
	
	focus = {
		id = CAE_congo
		prerequisite = { focus = help_efiopia   }
		icon = GFX_focus_CAE_Congo
		x = 8
		y = 1
		relative_position_id = help_efiopia 
		cost = 5

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			create_wargoal = {
				target = BEL
				type = annex_everything
				expire = 0 
			}
	CAE = {
		add_state_core = 768
		add_state_core = 769
		add_state_core = 295
		add_state_core = 538
		add_state_core = 718
		add_state_core = 890
		add_state_core = 888
		add_state_core = 889
		 
		}
		}
		}
		
		focus = {
		id = CAE_pressureallies
		icon = GFX_focus_CAE_Kick_british
		x = 0
		y = 1
		relative_position_id = CAE_congo
		prerequisite = { focus = CAE_congo }
		bypass = {
           #
		}
		
		cost = 4

		cancel_if_invalid = yes
		continue_if_invalid = yes
		available_if_capitulated = yes

		completion_reward = {
		if = {
		limit = {
		NOT = {
		447 = { is_owned_by = CAE }
		}
		}
		create_wargoal = {
				target = ENG
				type = annex_everything
				expire = 0 
			}
		}
		
	CAE = { 
			add_state_core = 771
			add_state_core = 770
			add_state_core = 269
			
			add_state_core = 552
			add_state_core = 452
			add_state_core = 447
			add_state_core = 907
			add_state_core = 456
			add_state_core = 457
			
			add_state_core = 268		
		
		add_state_core = 543
		add_state_core = 542
		add_state_core = 545
		add_state_core = 544
		
		add_state_core = 547
		add_state_core = 904
		add_state_core = 548
		add_state_core = 546
		add_state_core = 903
		add_state_core = 905
		add_state_core = 981
		
		every_state = { 
                limit = {
                 is_core_of = SAF
                }
              add_core_of = CAE
			}
			}
			
				
		}
		ai_will_do = {
			#
		}
	}
	
	focus = {
		id = CAE_ourafrica
		icon = GFX_focus_CAE_war_portugal
		x = 0
		y = 1
		relative_position_id = CAE_pressureallies
		
		
		available = {
			#
			
		}
		
		bypass = {
           #
		}
		
		cost = 4
		prerequisite = { focus = CAE_pressureallies }
	

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		
		CAE = {
	 #portugal
			add_state_core = 540
			
			add_state_core = 544
			
			add_state_core = 296
			
			add_state_core = 796
			
			add_state_core = 891
		
			add_state_core = 892
			
			add_state_core = 896
			
			add_state_core = 897
			
			add_state_core = 701
			
	 create_wargoal = {
				target = POR
				type = annex_everything
				expire = 0 
			}
			
	}
		}
		ai_will_do = {
			
		}
	}
	
	focus = {
		id = CAE_secure_power
		prerequisite = { focus = CAE_invade_zusuls }
		mutually_exclusive = { focus = CAE_federal }
		icon = GFX_focus_CAE_secure_power
		available = {
		NOT ={
			country_exists = ZUS
			}
		}
		cancel = {
			AND = {
				has_war = no
				458 = {
					owner = {
						NOT = { tag = CAE }
						
					}
				}
				700 = {
					owner = {
						NOT = { tag = CAE }
						
					}
				}
			}
		}
		cancel_if_invalid = no
		x = 0
		y = 1
		relative_position_id = CAE_invade_zusuls
		cost = 6
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			remove_ideas = zusul
			add_ideas = baronidea
			country_event = { id = redux.3 }
		}
	}
	
	focus = {
		id = CAE_shtirlitz_company
		prerequisite = { focus = help_efiopia }
		icon = GFX_focus_SWI_embrace_rote_drei
		x = -2
		y = 1
		relative_position_id = help_efiopia
		cost = 6

		search_filters = { FOCUS_FILTER  }
		
		available_if_capitulated = yes


		
		ai_will_do = {
			factor = 2
		}

		bypass = {
			
		}

		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance" 
				}
 				if = {
					limit = {
						has_intelligence_agency = no
					}
					create_intelligence_agency = {
						icon = "GFX_intelligence_agency_logo_cae" 
					}
				}
		}
		}
		}
	
	focus = {
		id = CAE_form_african_reich
		icon = GFX_focus_CAE_form_african_reich
		x = -1
		y = 1
		relative_position_id = CAE_secure_power
		
		
		available = {
			CAE = { controls_state = 458 }
			CAE = { controls_state = 700 }
			CAE = { controls_state = 557 }
			CAE = { controls_state = 699 }
		}
		
		bypass = {

		}
		
		cost = 6
		
		prerequisite = { focus = CAE_ourafrica }
		prerequisite = { focus = CAE_secure_power }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		   country_event = { id = afrika.1 }
		}
		ai_will_do = {
			
		}
	}	
	
	focus = { 
		id = CAE_afrika_uber_alles
		icon = GFX_focus_ETH_african_union
		prerequisite = { focus = CAE_form_african_reich}
		mutually_exclusive = { focus = CAE_invade_germany focus = CAE_kaiser_way }
		available = {
				GER = { 
			OR = {
			 has_government = democratic 
			 has_government = communism 
			 }
		}
		}
		x = -2
		y = 1
		relative_position_id = CAE_form_african_reich
		cost = 10
	
		search_filters = { FOCUS_FILTER_POLITICAL  }

		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = {
					NOT = { has_rule = can_create_factions }
				}
				set_rule = { can_create_factions = yes }
			}
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction = "AllessKaput"
				add_to_faction = CAE
			}
		}
	}
	
	focus = {
		id = CAE_invade_germany
		icon = GFX_focus_attack_germany
		x = 0
		y = 1
		relative_position_id = CAE_form_african_reich
		mutually_exclusive = { focus = CAE_afrika_uber_alles focus = CAE_kaiser_way }
		prerequisite = { focus = CAE_form_african_reich}
		
		available = {
			NOT = { is_in_faction_with = GER }
			GER = { 
			OR = {
			 has_government = fascism 
			 has_government = communism 
			 }
		}
		}
		bypass = {
           #
		}
		
		cost = 10
		
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		     5 = {
              add_core_of = CAE
             }
			 64 = {
              add_core_of = CAE
             }
			 54 = {
              add_core_of = CAE
             }
			 59 = {
              add_core_of = CAE
             }
			 55 = {
              add_core_of = CAE
             }
			 63 = {
              add_core_of = CAE
             }
			 763 = {
              add_core_of = CAE
             }
			 61 = {
              add_core_of = CAE
             }
			 42 = {
              add_core_of = CAE
             }
			 53 = {
              add_core_of = CAE
             }
			 66 = {
              add_core_of = CAE
             }
			 52 = {
              add_core_of = CAE
             }
			 67 = {
              add_core_of = CAE
             }
			 68 = {
              add_core_of = CAE
             }
			 51 = {
              add_core_of = CAE
             }
			 65 = {
              add_core_of = CAE
             }
			 58 = {
              add_core_of = CAE
             }
			 60 = {
              add_core_of = CAE
             }
			 62 = {
              add_core_of = CAE
             }
			 56 = {
              add_core_of = CAE
             }
			 57 = {
              add_core_of = CAE
             }
			 50 = {
              add_core_of = CAE
             }
			
			create_wargoal = {
				target = GER
				type = puppet_wargoal_focus
				expire = 0 
			}
		}
		ai_will_do = {
			
		}
	}
	
	focus = { 
		id = CAE_kaiser_way
		icon = GFX_focus_ger_return_of_the_kaiser
		prerequisite = { focus = CAE_form_african_reich }
		mutually_exclusive = { focus = CAE_invade_germany focus = CAE_afrika_uber_alles }
		available = {
				GER = { has_government = neutrality }
		}
		x = 2
		y = 1
		relative_position_id = CAE_form_african_reich
		cost = 10
	
		search_filters = { FOCUS_FILTER_POLITICAL  }

		available_if_capitulated = yes

		completion_reward = {
			CAE = {
				diplomatic_relation = {
					country = GER
					relation = guarantee
					active = yes
				}
				GER = {
				diplomatic_relation = {
					country = CAE
					relation = guarantee
					active = yes
				}
				add_ai_strategy = {
						type = alliance
						id = "CAE"
						value = 200
					}
		}
	}
	}
	}
	}

    
	}