focus_tree = {
	id = X24_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = X24
		}
	}
	
	default = no
	
	shared_focus = army_effort
	shared_focus = aviation_effort
	shared_focus = naval_effort
	shared_focus = industrial_effort
	shared_focus = political_effort

	focus = {
		id = EmpireGloryX24
		icon = GFX_goal_anschluss
		text = EmpireGlory
		x = 33
		y = 0
		cost = 10
		completion_reward = {
		add_stability = 0.05
	}
		ai_will_do = {
		factor = 10
		modifier = {
			factor = 0
			date < 1937.6.6
		}
	}
	}

	focus = {
		id = StrengthenColoniesX24
		icon = GFX_goal_generic_position_armies
		text = StrengthenColonies
		prerequisite = { focus = EmpireGloryX24 }
		mutually_exclusive = { focus = StrengthenHomeX24 }
		x = -1
		y = 1
		relative_position_id = EmpireGloryX24
		cost = 10
		completion_reward = {
		navy_experience = 25
	}
		ai_will_do = {
		factor = 0
		modifier = {
		}
	}
	}

	focus = {
		id = StrengthenHomeX24
		icon = GFX_goal_generic_national_unity
		text = StrengthenHome
		prerequisite = { focus = EmpireGloryX24 }
		mutually_exclusive = { focus = StrengthenColoniesX24 }
		x = 1
		y = 1
		relative_position_id = EmpireGloryX24
		cost = 10
		completion_reward = {
		army_experience = 25
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = ColonialIndX24
		icon = GFX_goal_generic_construct_civ_factory
		text = ColonialInd
		prerequisite = { focus = StrengthenColoniesX24 }
		x = -2
		y = 1
		relative_position_id = StrengthenColoniesX24
		cost = 10
		completion_reward = {
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = industrial_complex
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = industrial_complex
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = industrial_complex
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = ColonialHwyX24
		icon = GFX_goal_generic_construct_infrastructure
		text = ColonialHwy
		prerequisite = { focus = ColonialIndX24 }
		mutually_exclusive = { focus = ResourceFacX24 }
		x = -2
		y = 1
		relative_position_id = ColonialIndX24
		cost = 10
		completion_reward = {
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = ResourceFacX24
		icon = GFX_goal_generic_oil_refinery
		text = ResourceFac
		prerequisite = { focus = ColonialIndX24 }
		mutually_exclusive = { focus = ColonialHwyX24 }
		x = 0
		y = 1
		relative_position_id = ColonialIndX24
		cost = 10
		completion_reward = {
		add_ideas = improved_resource_industry
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = ColonialArmyX24
		icon = GFX_goal_generic_allies_build_infantry
		text = ColonialArmy
		prerequisite = { focus = StrengthenColoniesX24 }
		x = 0
		y = 1
		relative_position_id = StrengthenColoniesX24
		cost = 10
		completion_reward = {
		add_ideas = militarism_focus_absolutist
}

		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = ProtectorateX24X61
		icon = GFX_goal_generic_major_war
		text = ProtectorateX61
		prerequisite = { focus = ColonialArmyX24 }
		bypass = {
			OR = {
				X24 = {
					is_in_faction_with = X61
					has_war_with = X61
				}
				NOT = { country_exists = X61 }
			}
		}
		x = 0
		y = 1
		relative_position_id = ColonialArmyX24
		cost = 10
		available = {
			X61 = { is_in_faction = no }
		}
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = X61
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				strength_ratio = { tag = X61 ratio < 1 }
			}
		}
	}

	focus = {
		id = TradeEmpireX24
		icon = GFX_goal_anschluss
		text = TradeEmpire
		prerequisite = { focus = ColonialHwyX24 focus = ResourceFacX24 }
		x = -1
		y = 2
		relative_position_id = ColonialIndX24
		cost = 10
		completion_reward = {
		add_ideas = established_traders
		set_country_flag = established_traders
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
					is_coastal = yes
				OR = {
					is_in_home_area = no
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = no
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = dockyard
				level = 2
				instant_build = yes
			}
		}
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = IndHomeX24
		icon = GFX_goal_generic_production
		text = IndHome
		prerequisite = { focus = StrengthenHomeX24 }
		x = 1
		y = 1
		relative_position_id = StrengthenHomeX24
		cost = 10
		completion_reward = {
		add_tech_bonus = {
			name = industrial_bonus
			bonus = 0.5
			uses = 1
			category = industry
		}
	}
		ai_will_do = {
		factor = 10
	}
	}

	focus = {
		id = NationalHwyX24
		icon = GFX_goal_generic_construct_infrastructure
		text = NationalHwy
		prerequisite = { focus = IndHomeX24 }
		x = -1
		y = 1
		relative_position_id = IndHomeX24
		cost = 10
		completion_reward = {
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = infrastructure
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = NatCollegeX24
		icon = GFX_goal_anschluss
		text = NatCollege
		prerequisite = { focus = IndHomeX24 }
		x = 1
		y = 1
		relative_position_id = IndHomeX24
		cost = 10
		completion_reward = {
		add_ideas = national_college
	}
		ai_will_do = {
		factor = 10
	}
	}

	focus = {
		id = MilitaryBuildupX24
		icon = GFX_goal_generic_construct_mil_factory
		text = MilitaryBuildup
		prerequisite = { focus = NatCollegeX24 }
		prerequisite = { focus = NationalHwyX24 }
		x = 2
		y = 2
		relative_position_id = IndHomeX24
		cost = 10
		completion_reward = {
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = arms_factory
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = arms_factory
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = arms_factory
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = PrepTheBorderX24
		icon = GFX_goal_generic_defence
		text = PrepTheBorder
		prerequisite = { focus = StrengthenHomeX24 }
		x = 4
		y = 1
		relative_position_id = StrengthenHomeX24
		cost = 10
		completion_reward = {
		add_ideas = border_buildup
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = NatSpiritX24
		icon = GFX_goal_generic_political_pressure
		text = NatSpirit
		prerequisite = { focus = PrepTheBorderX24 }
		x = 0
		y = 1
		relative_position_id = PrepTheBorderX24
		cost = 10
		completion_reward = {
		add_ideas = paramilitarism_focus
	}
		ai_will_do = {
		factor = 10
		modifier = {
		}
	}
	}

	focus = {
		id = War_withX62X24
		icon = GFX_goal_generic_major_war
		text = War_withX62
		bypass = {
 		has_war_with = X62
 	}
		x = 31
		y = 5
		cost = 10
		available = {
			has_war = no
			date > 1939.1.1
		}
		completion_reward = {
			add_named_threat = { threat = 5 name = "War with Iroquois" }
			declare_war_on = {
				type = annex_everything
				target = X62
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				strength_ratio = { tag = X62 ratio < 0.8 }
			}
		}
	}

}