focus_tree = {
	id = czech_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = CZE
			has_dlc = "Death or Dishonor"
		}
	}
	
	default = no

	continuous_focus_position = { x = 50 y = 1100 }

	shared_focus = HABSBURG_part_of_something_bigger

#	focus = {
#		id = CZE_
#		icon = GFX_
#		prerequisite = { focus = }
#		mutually_exclusive = { focus =  }
#		x = -3
#		y = 0
#		relative_position_id =
#
#		cost = 10
#
#		ai_will_do = {
#			factor = 1
#		}
#
#		available = {
#
#		}
#		
#		bypass = {
#
#		}
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		complete_tooltip = {
#
#		}
#
#		completion_reward = {
#
#		}
#	}

	############################
	##### Fortification focuses#
	############################

	focus = {
		id = CZE_fortification_studies
		icon = GFX_focus_hol_the_foundations_of_defense
		x = 3
		y = 0

		cost = 10

		ai_will_do = {
			factor = 200
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}			
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			army_experience = 10

			add_ideas = CZE_fortification_focus

		}
	}

	focus = {
		id = CZE_fallback_line
		icon = GFX_focus_SWE_hedgehog_defense
		prerequisite = { focus = CZE_fortification_studies }
		x = -2
		y = 1
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			army_experience = 20

			custom_effect_tooltip = generic_skip_one_line_tt

			9 = {
				add_building_construction = { type = bunker province = 6440 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6418 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6592 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 9414 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 3462 level = 3 instant_build = yes }
			}

		}
	}

	focus = {
		id = CZE_sudeten_1
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_fortification_studies }
		x = 0
		y = 1
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 1.5
				is_in_faction = no
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { 
				controls_state = 69 
				controls_state = 972 
			}
		}

		bypass = {
			NOT = {			
				69 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				972 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				9 = {
					any_province_building_level = {
						province = {
							id = 445
							id = 494
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				74 = {
					any_province_building_level = {
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				70 = {
					any_province_building_level = {
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			army_experience = 20

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				add_idea = CZE_fortification_focus2
				remove_idea = CZE_fortification_focus
			}

			if = {
				limit = { controls_state = 69 }
				69 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 972 }
				972 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 9 }
				9 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							id = 445
							id = 494
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 74 }
				74 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 70 }
				70 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

		}
	}

	focus = {
		id = CZE_sudeten_2
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_1 }
		x = 0
		y = 1
		relative_position_id = CZE_sudeten_1

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 1.5
				is_in_faction = no
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { 
				controls_state = 69 
				controls_state = 972 
			}
		}

		bypass = {
			NOT = {			
				69 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
				9 = {
					any_province_building_level = {
						province = {
							id = 445
							id = 494
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
				74 = {
					any_province_building_level = {
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
				70 = {
					any_province_building_level = {
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			army_experience = 20

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				add_idea = CZE_fortification_focus3
				remove_idea = CZE_fortification_focus2
			}	

			if = {
				limit = { controls_state = 69 }
				69 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 972 }
				972 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 9 }
				9 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							id = 445
							id = 494
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 74 }
				74 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 70 }
				70 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

		}
	}

	focus = {
		id = CZE_sudeten_3
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_2 }
		x = 0
		y = 2
		relative_position_id = CZE_sudeten_1

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 1.5
				is_in_faction = no
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { 
				controls_state = 69 
				controls_state = 972
			}
		}

		bypass = {
			NOT = {			
				69 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				972 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				9 = {
					any_province_building_level = {
						province = {
							id = 445
							id = 494
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				74 = {
					any_province_building_level = {
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				70 = {
					any_province_building_level = {
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			army_experience = 30

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				add_idea = CZE_fortification_focus4
				remove_idea = CZE_fortification_focus3
			}

			if = {
				limit = { controls_state = 69 }
				69 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 972 }
				972 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 9 }
				9 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							id = 445
							id = 494
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 74 }
				74 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 70 }
				70 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
							level < 7
						}
					}
				}
			}	

		}
	}

	focus = {
		id = CZE_hungarian_line
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_2 }
		x = -2
		y = 2
		relative_position_id = CZE_sudeten_1

		cost = 5

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 0.5
				is_in_faction_with = HUN
			}
			modifier = {
				factor = 0.5
				HUN = { exists = no }
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 664 }
			CZE = { controls_state = 73 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {    

			army_experience = 30

			custom_effect_tooltip = generic_skip_one_line_tt

			664 = {
				add_building_construction = { type = bunker province = 3565 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 3716 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6561 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6573 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 9537 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 11679 level = 3 instant_build = yes }
			}
			
			73 = {
				add_building_construction = { type = bunker province = 11691 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 3548 level = 3 instant_build = yes }
			}

		}
	}

	focus = {
		id = CZE_polish_line
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_2 }
		x = 2
		y = 2
		relative_position_id = CZE_sudeten_1

		cost = 5

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.25
				is_in_faction_with = POL
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 71 }
			CZE = { controls_state = 72 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			army_experience = 30

			custom_effect_tooltip = generic_skip_one_line_tt

			72 = {
				add_building_construction = { type = bunker province = 9567 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 9551 level = 2 instant_build = yes }
			}

			71 = {      
				add_building_construction = { type = bunker province = 581 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 3550 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 3581 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 6604 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 11554 level = 2 instant_build = yes }
			}

		}
	}

	focus = {
		id = CZE_internal_redoubts
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = CZE_fortification_studies }
		x = 2
		y = 1
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 70 }
			CZE = { controls_state = 75 }
			CZE = { controls_state = 664 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			army_experience = 20

			custom_effect_tooltip = generic_skip_one_line_tt

			664 = {
				add_building_construction = { type = bunker province = 6573 level = 2 instant_build = yes }
			}
			70 = {
				add_building_construction = { type = bunker province = 9692 level = 2 instant_build = yes }
			}
			75 = {
				add_building_construction = { type = bunker province = 3569 level = 2 instant_build = yes }
			}
			9 = {
				add_building_construction = { type = bunker province = 6418 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 11542 level = 3 instant_build = yes }
			}

		}
	}

	###################################
	######## INDUSTRIAL LEGACY ########
	###################################

	focus = {
		id = CZE_industrial_legacy
		icon = GFX_goal_generic_construct_civ_factory
		x = 6
		y = 0
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = CZE_industrial_legacy_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = CZE_industrial_legacy
				bonus = 1
				uses = 1
				category = industry
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = CZE_csd
		}
	}

	focus = {
		id = CZE_favor_czechs_1
		icon = GFX_focus_generic_industry_1
		prerequisite = { focus = CZE_industrial_legacy }
		mutually_exclusive = { focus = CZE_balanced_1 }
		x = -2
		y = 1
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 75 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			75 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_favor_czechs_2
		icon = GFX_focus_generic_industry_2
		prerequisite = { focus = CZE_favor_czechs_1 }
		x = 0
		y = 1
		relative_position_id = CZE_favor_czechs_1

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 75 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			75 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_favor_czechs_3
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = CZE_favor_czechs_2 }
		x = 0
		y = 2
		relative_position_id = CZE_favor_czechs_1

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 75 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			75 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_balanced_1
		icon = GFX_goal_generic_construction
		prerequisite = { focus = CZE_industrial_legacy }
		mutually_exclusive = { focus = CZE_favor_czechs_1 }
		x = 0
		y = 1
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.5
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 0.5
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 70 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			70 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_balanced_2
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		prerequisite = { focus = CZE_balanced_1 }
		x = 0
		y = 1
		relative_position_id = CZE_balanced_1

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 71 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			71 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_balanced_3
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = CZE_balanced_2 }
		x = 0
		y = 2
		relative_position_id = CZE_balanced_1

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 73 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			73 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_united_population
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = CZE_balanced_3 }
		x = 0
		y = 3
		relative_position_id = CZE_balanced_1

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }

		completion_reward = {
			if = {
				limit = { has_idea = CZE_divided_nation }
				remove_ideas = CZE_divided_nation
			}
			else = {
				add_political_power = 150
				add_stability = 0.1
				add_war_support = 0.1
			}
		}
	}

	focus = {
		id = CZE_arms_exports_1
		icon = GFX_focus_generic_reorient_production
		prerequisite = { focus = CZE_industrial_legacy }
		x = 2
		y = 1
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = CZE_export_focus1
		}
	}

	focus = {
		id = CZE_arms_exports_2
		icon = GFX_goal_generic_production
		prerequisite = { focus = CZE_arms_exports_1 }
		x = 0
		y = 1
		relative_position_id = CZE_arms_exports_1

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			swap_ideas = { remove_idea = CZE_export_focus1 add_idea = CZE_export_focus2  }
		}
	}

	focus = {
		id = CZE_arms_exports_3
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = CZE_arms_exports_2 }
		x = 0
		y = 2
		relative_position_id = CZE_arms_exports_1

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			swap_ideas = { remove_idea = CZE_export_focus2 add_idea = CZE_export_focus3 }
		}
	}

	##################################
	######## POLITICAL DIRECTION #####
	##################################

	focus = {
		id = CZE_political_direction
		icon = GFX_goal_generic_intelligence_exchange
		x = 8
		y = 0
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = CZE_go_left
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = CZE_political_direction }
		mutually_exclusive = { focus = CZE_democratic_bastion focus = CZE_go_right }
		x = -2
		y = 1
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 30
			modifier = {
				factor = 0
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 0
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 120
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}	
			#allow communist reformer
			# relations changes
			custom_effect_tooltip = generic_skip_one_line_tt
			every_other_country = {
				limit = { 
					has_government = communism
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT 
					modifier =  FRA_leftist_rhetoric_communism
				}
			}
			every_other_country = {
				limit = { 
					has_government = democratic
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT
					modifier = FRA_leftist_rhetoric_democratic
				}
			}
			every_other_country = {
				limit = { 
					has_government = fascism
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT 
					modifier = FRA_leftist_rhetoric_fascism
				}
			}
		}
	}

	focus = {
		id = CZE_czech_socialism
		icon = GFX_focus_SWE_socialist_reforms
		prerequisite = { focus = CZE_communist_support }
		x = -2
		y = 3
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }

		completion_reward = {
			if = {
				limit = { has_idea = CZE_divided_nation }
				remove_ideas = CZE_divided_nation
			}
			add_ideas = CZE_czech_socialism
			add_political_power = 120
		}
	}

	focus = {
		id = CZE_communism_with_a_human_face
		icon = GFX_goal_support_communism
		prerequisite = { focus = CZE_czech_socialism }
		x = 0
		y = 1
		relative_position_id = CZE_czech_socialism

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = CZE_communism_with_a_human_face
		}
	}

	focus = {
		id = CZE_communist_support
		icon = GFX_focus_generic_workers
		prerequisite = { focus = CZE_go_left }
		x = 0
		y = 1
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			communism > 0.2
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_ideas = communist_influence
		}
	}

	focus = {
		id = CZE_join_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = CZE_communist_support }
		x = 0
		y = 2
		relative_position_id = CZE_go_left

		cost = 5

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			communism > 0.3
			SOV_comintern_joinable = yes 
			is_in_faction = no
			NOT = {
				any_other_country = {
					is_in_faction_with = SOV
					has_war_with = CZE
				}
			}
		}

		bypass = {
			is_in_faction_with = SOV
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			SOV = { country_event = { hours = 1 id = czech.1 } }
		}
	}

	focus = {
		id = CZE_the_romanian_question
		icon = GFX_focus_SOV_builder_of_the_red_army
		prerequisite = { focus = CZE_join_comintern }
		x = 0
		y = 3
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {
			NOT = { can_declare_war_on = ROM }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			SOV = { country_event = { hours = 1 id = czech.4 } }
		}
	}

	focus = {
		id = CZE_the_polish_division
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = CZE_the_romanian_question }
		x = 0
		y = 4
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {
			NOT = { can_declare_war_on = POL }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			SOV = { country_event = { hours = 1 id = czech.7 } }
		}
	}

	focus = {
		id = CZE_democratic_bastion
		icon = GFX_focus_generic_the_giant_wakes
		prerequisite = { focus = CZE_political_direction }
		mutually_exclusive = { focus = CZE_go_right focus = CZE_go_left }
		x = 0
		y = 1
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_political_power = 200
			add_ideas = CZE_democratic_bastion
		}
	}

	focus = {
		id = CZE_beacon_of_liberty
		icon = GFX_goal_support_democracy
		prerequisite = { focus = CZE_democratic_bastion }
		x = 0
		y = 1
		relative_position_id = CZE_democratic_bastion

		cost = 2

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			democratic > 0.7
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			swap_ideas = { remove_idea = CZE_democratic_bastion add_idea = CZE_beacon_of_liberty }
		}
	}

	focus = {
		id = CZE_defensive_preparations
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = CZE_beacon_of_liberty }
		x = 0
		y = 3
		relative_position_id = CZE_democratic_bastion

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			threat > 0.1
		}

		bypass = {
			OR = {
				has_idea = extensive_conscription
				has_idea = service_by_requirement
				has_idea = all_adults_serve
				has_idea = scraping_the_barrel
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = extensive_conscription
		}
	}

	focus = {
		id = CZE_bonus_research_slot_1
		icon = GFX_focus_research
		prerequisite = { focus = CZE_the_romanian_question focus = CZE_defensive_preparations focus = CZE_the_polish_question }
		x = 0
		y = 5
		relative_position_id = CZE_democratic_bastion

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			num_of_factories > 34
			amount_research_slots < 5
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
			custom_effect_tooltip = CZE_war_college_effect_tt
		}
	}

	focus = {
		id = CZE_go_right
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = CZE_political_direction }
		mutually_exclusive = { focus = CZE_democratic_bastion focus = CZE_go_left }
		x = 2
		y = 1
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 3
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0
				has_completed_focus = CZE_trust_in_the_west
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_political_power = 120
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}	
			#allow nazi leader
			custom_effect_tooltip = generic_skip_one_line_tt 
			every_other_country = {
				limit = { 
					has_government = fascism
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT 
					modifier =  FRA_right_wing_rhetoric_fascism
				}
			}
			every_other_country = {
				limit = { 
					has_government = democratic
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT
					modifier = FRA_right_wing_rhetoric_democratic
				}
			}
			every_other_country = {
				limit = { 
					has_government = communism
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT 
					modifier = FRA_right_wing_rhetoric_communism
				}
			}
		}
	}

	focus = {
		id = CZE_czech_fascism
		icon = GFX_goal_support_fascism
		prerequisite = { focus = CZE_go_right }
		x = 0
		y = 1
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			fascism > 0.35
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_timed_idea = { idea = CZE_czech_fascism days = 1095 }
		}
	}

	focus = {
		id = CZE_aggressive_wars
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = CZE_czech_fascism }
		x = 0
		y = 2
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			fascism > 0.5
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = FRA_army_of_aggression_focus
		}
	}

	focus = {
		id = CZE_the_polish_question
		icon = GFX_focus_generic_attack_poland
		prerequisite = { focus = CZE_aggressive_wars focus = CZE_german_puppet }
		x = -1
		y = 4
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			GER = { exists = yes }
			POL = {	exists = yes }
			NOT = {
				has_War_with = GER
			}
		}

		bypass = {
			OR = {
				POL = { exists = no }
				has_war_with = POL
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.10 } }
		}
	}

	focus = {
		id = CZE_exclude_the_slovaks
		icon = GFX_goal_generic_propaganda
		mutually_exclusive = { focus = CZE_national_fascism }
		prerequisite = { focus = CZE_czech_fascism }
		x = 2
		y = 2
		relative_position_id = CZE_go_right

		cost = 5

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			fascism > 0.6
		}

		bypass = {
			NOT = {
				owns_state = 70
				owns_state = 71
				owns_state = 73
				owns_state = 664
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {

			if = {
				limit = {
					has_idea = CZE_divided_nation
				}
				remove_ideas = CZE_divided_nation
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_timed_idea = { 
				idea = CZE_czech_fascism_idea 
				days = 1095 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = { days = 6 random_days = 5 id = czech.14 }			
		}
	}
	
	focus = {
		id = CZE_national_fascism
		icon = GFX_focus_ITA_generic_fascist_workers
		mutually_exclusive = { focus = CZE_exclude_the_slovaks }
		prerequisite = { focus = CZE_czech_fascism }
		x = 4
		y = 2
		relative_position_id = CZE_go_right

		cost = 15

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			fascism > 0.6
			NOT = {
				has_idea = CZE_divided_nation
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = CZE_national_fascism_idea
		}
	}
	
	focus = {
		id = CZE_german_minor_ally
		icon = GFX_goal_generic_dangerous_deal
		mutually_exclusive = { focus = CZE_german_ally focus = CZE_german_puppet }
		prerequisite = { focus = CZE_exclude_the_slovaks focus = CZE_national_fascism }
		x = 4
		y = 3
		relative_position_id = CZE_go_right

		cost = 5

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			is_in_faction = no
			GER = { has_government = fascism }
			GER = { exists = yes }
			GER = { is_subject = no }
			has_army_manpower = { size > 249999 } 
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			custom_effect_tooltip = CZE_german_minor_ally_tt
			hidden_effect = {
				GER = {
					set_autonomy = { target = CZE autonomy_state = autonomy_satellite }
				}
			}
		}
	}

	focus = {
		id = CZE_german_ally
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = CZE_exclude_the_slovaks focus = CZE_national_fascism }
		mutually_exclusive = { focus = CZE_german_puppet focus = CZE_german_minor_ally }
		x = 2
		y = 3
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			is_in_faction = no
			GER = { has_government = fascism }
			GER = { exists = yes }
			GER = { is_subject = no }
			has_army_manpower = { size > 299999 } 
			NOT = {
				GER = {
					any_allied_country = {
						has_war_with = CZE
					}
				}
			}
		}

		bypass = {
			is_in_faction_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.16 } }
		}
	}

	#######################################
	######### STRATEGY DECISIONS ##########
	#######################################
	
	focus = {
		id = CZE_strategy_decisions
		icon = GFX_goal_generic_position_armies
		x = 12
		y = 0
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 150
		}
	}

	focus = {
		id = CZE_german_leanings
		icon = GFX_focus_generic_fascist_propaganda
		prerequisite = { focus = CZE_strategy_decisions }
		mutually_exclusive = { focus = CZE_trust_in_the_west focus = CZE_an_entente_of_our_own }
		x = -2
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0
				has_completed_focus = CZE_go_left
			}
			modifier = {
				factor = 0
				has_completed_focus = CZE_democratic_bastion
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			NOT = { has_war_with = GER }
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			GER = { add_opinion_modifier = { target = CZE modifier = CZE_german_leanings } }
			add_political_power = 75
			add_popularity = {
				ideology = GER
				popularity = 0.1
			}	
		}
	}

	focus = {
		id = CZE_german_puppet
		icon = GFX_focus_GER_integrate_czechoslovakia
		prerequisite = { focus = CZE_deliver_sudetenland }
		mutually_exclusive = { focus = CZE_german_ally focus = CZE_german_minor_ally }
		x = -2
		y = 3
		relative_position_id = CZE_german_leanings

		cost = 2

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			GER = { exists = yes }
			GER = { is_subject = no }
			NOT = { has_war_with = GER }
		}

		bypass = {
			is_subject_of = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.19 } }
		}
	}

	focus = {
		id = CZE_hungarian_situation
		icon = GFX_focus_generic_attack_hungary
		prerequisite = { focus = CZE_german_puppet focus = CZE_aggressive_wars }
		x = -7
		y = 4
		relative_position_id = CZE_german_leanings
		
		will_lead_to_war_with = HUN

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			NOT = {
				is_in_faction_with = HUN
			}
			HUN = { exists = yes }
		}

		bypass = {
			OR = {
				has_war_with = HUN
				HUN = { exists = no }
				HUN = { is_subject_of = CZE}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = HUN
				expire = 0
			}
		}
	}

	focus = {
		id = CZE_deliver_sudetenland
		icon = GFX_focus_CZE_german_puppet 
		prerequisite = { focus = CZE_german_leanings }
		x = 0
		y = 1
		relative_position_id = CZE_german_leanings

		cost = 5

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			GER = { exists = yes }
			GER = { is_subject = no }
			NOT = { has_war_with = GER }
			AND = {
				owns_state = 69
				owns_state = 74
				owns_state = 972
			}
		}

		bypass = {
			69 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
			74 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
			972 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.22 } }
		}
	}

	focus = {
		id = CZE_german_technology
		icon = GFX_focus_ARG_fascist_researchers
		prerequisite = { focus = CZE_deliver_sudetenland }
		x = 0
		y = 2
		relative_position_id = CZE_german_leanings

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			GER = { exists = yes }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = CZE_german_millitary_cooperation_focus
		}
	}

	focus = {
		id = CZE_trust_in_the_west
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = CZE_strategy_decisions }
		mutually_exclusive = { focus = CZE_german_leanings focus = CZE_an_entente_of_our_own }
		x = 0
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_left
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {

			add_stability = 0.05
			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			ENG = {
				add_opinion_modifier = { 
					target = ROOT 
					modifier =  CZE_trust_in_the_west
				}
			}
			FRA = {
				add_opinion_modifier = { 
					target = ROOT 
					modifier =  CZE_trust_in_the_west
				}
			
			}
			diplomatic_relation = {
				country = YUG
				relation = guarantee
				active = no
			}
			ROM = {
				diplomatic_relation = {
					country = CZE
					relation = guarantee
					active = no
				}
			}

		}
	}

	focus = {
		id = CZE_doctrinal_innovation
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CZE_trust_in_the_west }
		x = 0
		y = 2
		relative_position_id = CZE_trust_in_the_west

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.75
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CZE_bonus_research_slot_2
		icon = GFX_focus_generic_university_2
		prerequisite = { focus = CZE_doctrinal_innovation }
		x = 0
		y = 1
		relative_position_id = CZE_doctrinal_innovation

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			num_of_factories > 34
		}

		bypass = {
			NOT = { amount_research_slots < 5 }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_research_slot = 1
			custom_effect_tooltip = CZE_war_college_effect_tt	
		}
	}

	focus = {
		id = CZE_secret_weapons
		icon = GFX_goal_generic_radar
		prerequisite = { focus = CZE_bonus_research_slot_2 }
		mutually_exclusive = { focus = CZE_nukes }
		x = -1
		y = 2
		relative_position_id = CZE_doctrinal_innovation

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			add_ideas = generic_secret_weapons_ns

			#add_tech_bonus = {
			#	name = secret_bonus
			#	bonus = 1.0
			#	uses = 2 # was 3
			#	category = electronics
			#	category = jet_technology
			#	category = rocketry
			#}

		}
	}

	focus = {
		id = CZE_nukes
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = CZE_bonus_research_slot_2 }
		mutually_exclusive = { focus = CZE_secret_weapons }
		x = 1
		y = 2
		relative_position_id = CZE_doctrinal_innovation

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = nuclear_bonus
					bonus = 1.0
					ahead_reduction = 1 # was 2
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.75
				}
			}
			ELSE = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 1
				}
			}

		}
	}

	focus = {
		id = CZE_an_entente_of_our_own
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = CZE_strategy_decisions }
		mutually_exclusive = { focus = CZE_trust_in_the_west focus = CZE_german_leanings }
		x = 3
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 5

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			is_in_faction = no
		}

		bypass = {
			is_in_faction_with = FRA
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction_from_template = {
				template = faction_template_the_little_entente
				name = CZE_little_entente
			}
		}
	}

	focus = {
		id = CZE_invite_yugoslavia
		icon = GFX_focus_invite_yugoslavia
		prerequisite = { focus = CZE_an_entente_of_our_own }
		x = -1
		y = 1
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			YUG = { is_in_faction = no }
			YUG = { exists = yes }
			YUG = { is_subject = no }

			CZE = { is_faction_leader = yes }
		}

		bypass = {
			OR = {
				YUG = {
					is_in_faction = yes
				}
				is_in_faction_with = FRA
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			YUG = { country_event = { hours = 1 id = czech.25 } }
		}
	}

	focus = {
		id = CZE_invite_romania
		icon = GFX_focus_invite_romania
		prerequisite = { focus = CZE_an_entente_of_our_own }
		x = 1
		y = 1
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			ROM = { is_in_faction = no }
			ROM = { exists = yes }
			ROM = { is_subject = no }			
			CZE = { is_faction_leader = yes }
		}

		bypass = {
			OR = {
				ROM = {
					is_in_faction = yes
				}
				is_in_faction_with = FRA
			}
		}	

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			ROM = { country_event = { hours = 1 id = czech.28 } }
		}
	}

	focus = {
		id = CZE_faction_tech_sharing
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = CZE_invite_yugoslavia focus = CZE_invite_romania }
		x = -1
		y = 2
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_romania
			}
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_yugoslavia
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			is_in_faction = yes
			is_faction_leader = yes
		}

		bypass = {
			is_in_faction = yes
			is_faction_leader = no
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_to_tech_sharing_group = little_entente_research_group
			every_country = {
				limit = {
					is_in_faction_with = CZE
				}
				add_to_tech_sharing_group = little_entente_research_group
			}
		}
	}

	focus = {
		id = CZE_security_council
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = CZE_invite_yugoslavia focus = CZE_invite_romania }
		x = 1
		y = 2
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_romania
			}
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_yugoslavia
			}
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			is_in_faction = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = CZE_planning_bonus
			every_other_country = {
				limit = {
					is_in_faction_with = ROOT
				}
				add_ideas = CZE_planning_bonus
			}
		}
	}

	focus = {
		id = CZE_deal_with_hungary
		icon = GFX_focus_generic_attack_hungary
		prerequisite = { focus = CZE_security_council }
		mutually_exclusive = { focus = CZE_rapprochement_with_hungary }
		x = 0
		y = 1
		relative_position_id = CZE_security_council

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			NOT = {
				is_in_faction_with = HUN
			}
			HUN = { exists = yes }
			HUN = { is_subject = no }
		}

		bypass = {
			HUN = { exists = no }
			HUN = { is_subject_of = CZE }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = HUN
				expire = 0
			}
		}
	}

	focus = {
		id = CZE_deal_with_bulgaria
		icon = GFX_focus_generic_attack_bulgaria
		prerequisite = { focus = CZE_security_council }
		x = 2
		y = 1
		relative_position_id = CZE_security_council

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			NOT = {
				is_in_faction_with = BUL
			}
			BUL = { exists = yes }
			BUL = { is_subject = no }
			OR = {
				is_in_faction_with = ROM
				has_subject = ROM
				owns_state = 46
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = BUL
				expire = 0
			}
		}
	}

	focus = {
		id = CZE_rapprochement_with_hungary
		icon = GFX_focus_generic_befriend_hungary
		prerequisite = { focus = CZE_security_council }
		mutually_exclusive = { focus = CZE_deal_with_hungary }
		x = -2
		y = 1
		relative_position_id = CZE_security_council

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			NOT = {
				is_in_faction_with = HUN
			}
			HUN = { exists = yes }
			HUN = { is_subject = no }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			HUN = { country_event = { hours = 1 id = czech.32 } }
		}
	}

	focus = {
		id = CZE_czechoslovak_legion
		icon = GFX_focus_CZE_czechoslovak_legion_export
		prerequisite = { focus = CZE_strategy_decisions }
		x = 5
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			set_rule = {
				can_send_volunteers = yes
			}
			add_ideas = foreign_expeditions_focus
		}
	}
	#######################################
	##### MILITARY RESEARCH INSTITUTE #####	
	#######################################

	focus = {
		id = CZE_military_research_institute
		icon = GFX_focus_CZE_military_research_institute
		x = 11
		y = 0
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			army_experience = 50
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}
		}
	}

	focus = {
		id = CZE_mountain_bonus
		icon = GFX_focus_SMB_special_forces_option_1
		prerequisite = { focus = CZE_military_research_institute }
		x = -3
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_mountain_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = mountaineers_tech
			}
		}
	}

	focus = {
		id = CZE_inf_and_artillery_advancement
		icon = GFX_goal_rhineland
		prerequisite = { focus = CZE_military_research_institute }
		x = -1
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_inf_and_artillery_advancement
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = CZE_support_bonus
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = CZE_mountain_bonus }
		x = -3
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_support_bonus #@#
				bonus = 1.0
				uses = 2
				category = support_tech	
			}
			add_tech_bonus = {
				name = CZE_support_bonus #@#
				bonus = 1.0
				uses = 1
				technology = support_weapons2
				technology = support_weapons3
			}
		}
	}

	focus = {
		id = CZE_inf_and_artillery_advancement_2
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = CZE_inf_and_artillery_advancement }
		x = -1
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_inf_and_artillery_advancement_2 #@#
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = CZE_doctrine_bonus
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CZE_support_bonus }
		prerequisite = { focus = CZE_inf_and_artillery_advancement_2 }
		x = -2
		y = 3
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 1
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CZE_motorization_scheme
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = CZE_military_research_institute }
		x = 1
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {
			has_tech = motorised_infantry
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = motorized_bonus
				bonus = 3.0
				technology = motorised_infantry
			}
		}
	}

	focus = {
		id = CZE_armour_bonus_1
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = CZE_military_research_institute }
		x = 3
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = armor_bonus
				bonus = 1.0
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = CZE_mechanization
		icon = GFX_focus_generic_mechanized
		prerequisite = { focus = CZE_motorization_scheme }
		x = 1
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_mechanization #@#
				bonus = 1.0
				uses = 1
				category = cat_mechanized_equipment
			}
		}
	}

	focus = {
		id = CZE_armour_bonus_ii
		icon = GFX_focus_generic_army_tanks2
		prerequisite = { focus = CZE_armour_bonus_1 }
		x = 3
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = armor_bonus
				bonus = 1.0
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = CZE_doctrine_bonus_2
		icon = GFX_focus_FIN_motti_tactics
		prerequisite = { focus = CZE_mechanization }
		prerequisite = { focus = CZE_armour_bonus_ii }
		x = 2
		y = 3
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CZE_war_college
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = CZE_doctrine_bonus }
		prerequisite = { focus = CZE_doctrine_bonus_2 }
		x = 0
		y = 4
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = CZE_war_college_idea
			if = {
				limit = {
					NOT = { amount_research_slots > 4 }
				}
				add_research_slot = 1
				custom_effect_tooltip = CZE_war_college_effect_tt
			}
		}
	}

	#######################################
	####### AERONAUTICAL INSTITUTE ########	
	#######################################

	focus = {
		id = CZE_military_aeronautical_institute
		icon = GFX_focus_CZE_military_aeronautical_institute
		x = 8
		y = 0
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			air_experience = 100
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.25
			}
		}
	}

	focus = {
		id = CZE_import_foreign_fighters
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = CZE_military_aeronautical_institute }
		x = -2
		y = 1
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_import_foreign_fighters #@#
				bonus = 1.0
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
			}
		}
	}

	focus = {
		id = CZE_light_fighter_focus
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = CZE_import_foreign_fighters }
		mutually_exclusive = { focus = CZE_heavy_fighter_focus }
		x = -1
		y = 1
		relative_position_id = CZE_import_foreign_fighters

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_light_fighter_focus #@#
				bonus = 1.0
				uses = 1
				category = light_fighter
			}
		}
	}

	focus = {
		id = CZE_heavy_fighter_focus
		icon = GFX_focus_usa_escort_fighters
		prerequisite = { focus = CZE_import_foreign_fighters }
		mutually_exclusive = { focus = CZE_light_fighter_focus }
		x = 1
		y = 1
		relative_position_id = CZE_import_foreign_fighters

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_heavy_fighter_focus #@#
				bonus = 1.0
				uses = 1
				category = cat_heavy_fighter
			}
		}
	}

	focus = {
		id = CZE_air_is_our_sea
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = CZE_military_aeronautical_institute }
		x = 0
		y = 1
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = CZE_air_focus
		}
	}

	focus = {
		id = CZE_rule_the_air
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = CZE_air_is_our_sea }
		prerequisite = { focus = CZE_light_fighter_focus focus = CZE_heavy_fighter_focus }
		prerequisite = { focus = CZE_tac_focus focus = CZE_cas_focus }
		x = 0
		y = 3
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.5
				uses = 3
				category = air_doctrine
			}
		}
	}

	focus = {
		id = CZE_import_foreign_bombers
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = CZE_military_aeronautical_institute }
		x = 2
		y = 1
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_import_foreign_bombers #@#
				bonus = 1.0
				uses = 1
				category = cas_bomber
				category = tactical_bomber
			}
		}
	}

	focus = {
		id = CZE_cas_focus
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = CZE_import_foreign_bombers }
		mutually_exclusive = { focus = CZE_tac_focus }
		x = -1
		y = 1
		relative_position_id = CZE_import_foreign_bombers

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_cas_focus #@#
				bonus = 1.0
				uses = 1
				category = cas_bomber
			}
		}
	}

	focus = {
		id = CZE_tac_focus
		icon = GFX_focus_SWE_marauder_bombers
		prerequisite = { focus = CZE_import_foreign_bombers }
		mutually_exclusive = { focus = CZE_cas_focus }
		x = 1
		y = 1
		relative_position_id = CZE_import_foreign_bombers

		cost = 10

		ai_will_do = {
			factor = 30
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = CZE_tac_focus #@#
				bonus = 1.0
				uses = 1
				category = tactical_bomber
			}
		}
	}

	#######################################
	######### ACCESS TO THE SEA ###########	
	#######################################

	focus = {
		id = CZE_access_to_the_sea
		icon = GFX_goal_generic_occupy_states_coastal
		x = 7
		y = 0
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 30
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			navy_experience = 100
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}
		}
	}

	focus = {
		id = CZE_sudden_shipyard
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = CZE_access_to_the_sea }
		x = -2
		y = 1
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			navy_experience = 10
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = dockyard
										size > 2
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_shipbuilding_legacy
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = CZE_access_to_the_sea }
		x = 0
		y = 1
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = CZE_naval_focus
		}
	}

	focus = {
		id = CZE_battleship_catchup_1
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = CZE_shipbuilding_legacy }
		x = 2
		y = 2
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				bonus = 1.0
				uses = 2
				category = bb_tech
			}
		}
	}

	focus = {
		id = CZE_destroyer_catchup_1
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = CZE_shipbuilding_legacy }
		x = -2
		y = 2
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				bonus = 1.0
				uses = 2
				category = dd_tech
			}
		}
	}

	focus = {
		id = CZE_cruiser__catchup_1
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = CZE_shipbuilding_legacy }
		x = 0
		y = 2
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				bonus = 1.0
				uses = 2
				category = ca_tech
			}
		}
	}

	focus = {
		id = CZE_raiding_focus
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = CZE_destroyer_catchup_1 }
		prerequisite = { focus = CZE_cruiser__catchup_1 }
		mutually_exclusive = { focus = CZE_capital_focus }
		x = -1
		y = 3
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_mastery_bonus = {
				name = CZE_raiding_focus
				bonus = 0.1
				days = 240
				track = screens
			}
			add_mastery_bonus = {
				name = CZE_raiding_focus
				bonus = 0.1
				days = 240
				track = submarines
			}

			add_doctrine_cost_reduction = {
				name = CZE_raiding_focus
				cost_reduction = 0.25
				uses = 2
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = CZE_capital_focus
		icon = GFX_focus_generic_navy_battleship2
		prerequisite = { focus = CZE_cruiser__catchup_1 }
		prerequisite = { focus = CZE_battleship_catchup_1 }
		mutually_exclusive = { focus = CZE_raiding_focus }
		x = 1
		y = 3
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0.1
				HABSBURG_joint_trigger = yes
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_mastery_bonus = {
				name = CZE_capital_focus
				bonus = 0.1
				days = 240
				track = carriers
			}
			add_mastery_bonus = {
				name = CZE_capital_focus
				bonus = 0.1
				days = 240
				track = capital_ships
			}
			add_doctrine_cost_reduction = {
				name = CZE_capital_focus
				cost_reduction = 0.25
				uses = 2
				category = naval_doctrine
			}
		}
	}

}
