@inner_circle_time_tier_1 = 20
@inner_circle_time_tier_2 = 20
@inner_circle_time_tier_3 = 40

focus_tree = {
	id = ukraine_focus
	
	country = {
		factor = 0

		modifier = {
			add = 10
			tag = UKR
		}
	}
	
	default = no
	reset_on_civilwar = no

	continuous_focus_position = { x = 20 y = 1825 }

	inlay_window = {
		id = ukr_inner_circle_inlay_window
		position = { x = 1750 y = 1125 }
	}

	shared_focus = UKR_consolidation_of_union
	shared_focus = HABSBURG_part_of_something_bigger
	shared_focus = FACTION_form_joint_alliance

	############################
	####    ARMY SECTION    ####
	############################

	focus = {
		id = UKR_new_doctrine
		icon = GFX_focus_UKR_new_doctrine
		x = 70
		y = 0
		offset = {
			x = -32
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		offset = {
			x = -39
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}
		offset = {
			x = -29
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
				}
			}
		}
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }
		completion_reward = {
			army_experience = 30
			air_experience = 30
			navy_experience = 30
			country_event = ukraine.623
		}
	}

	focus = {
		id = UKR_motorization
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = UKR_new_doctrine }
		x = -8
		y = 1
		relative_position_id = UKR_new_doctrine
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = { has_tech = motorised_infantry }
				add_equipment_to_stockpile = { type = motorized_equipment_1 amount = 150 producer = UKR }
			}
			else = {
				add_tech_bonus = {
					name = UKR_motorization
					bonus = 3.0
					uses = 1
					technology = motorised_infantry
				}
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_zaz_organization = {
					add_mio_funds = 1000
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = zaz
			}
			custom_effect_tooltip = UKR_reduction_of_army_penalty_tt
			add_to_variable = { var_ukr_conscription_debuff = 0.1 }
			add_to_variable = { var_ukr_army_org_debuff = 0.02 }
			add_to_variable = { var_ukr_command_power_debuff = 5 }
		}
	}

	focus = {
		id = UKR_elite_army
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = UKR_motorization }
		mutually_exclusive = { focus = UKR_patriotic_education }
		x = 1
		y = 1
		relative_position_id = UKR_motorization
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				add_ideas = ukr_elite_army
			}
			else = {
				add_ideas =  ukr_elite_army_no_bba
			}
			custom_effect_tooltip = UKR_reduction_of_army_penalty_tt
			add_to_variable = { var_ukr_conscription_debuff = 0.05 }
			add_to_variable = { var_ukr_army_org_debuff = 0.03 }
			add_to_variable = { var_ukr_command_power_debuff = 10 }
			add_to_variable = { var_ukr_training_time_debuff = -0.05 }
		}
	}

	focus = {
		id = UKR_mechanization_army
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = UKR_elite_army }
		x = 0
		y = 2
		relative_position_id = UKR_elite_army
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_mechanization_army
				bonus = 1.0
				uses = 1
				category = motorized_equipment
			}
			add_tech_bonus = {
				name = UKR_mechanization_army
				bonus = 1.0
				uses = 1
				category = armor
			}
			add_mastery_bonus = {
				name = UKR_mechanization_army
				bonus = 0.2
				days = 180
				track = armor
			}
			custom_effect_tooltip = UKR_reduction_of_army_penalty_tt
			add_to_variable = { var_ukr_conscription_debuff = 0.05 }
			add_to_variable = { var_ukr_army_org_debuff = 0.03 }
			add_to_variable = { var_ukr_command_power_debuff = 10 }
			add_to_variable = { var_ukr_training_time_debuff = -0.05 }
		}
	}

	focus = {
		id = UKR_patriotic_education
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = UKR_motorization }
		mutually_exclusive = { focus = UKR_elite_army }
		x = -1
		y = 1
		relative_position_id = UKR_motorization
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = ukr_patriotic_education
			custom_effect_tooltip = UKR_reduction_of_army_penalty_tt
			add_to_variable = { var_ukr_conscription_debuff = 0.08 }
			add_to_variable = { var_ukr_army_org_debuff = 0.02 }
			add_to_variable = { var_ukr_command_power_debuff = 5 }
			add_to_variable = { var_ukr_training_time_debuff = -0.10 }
		}
	}

	focus = {
		id = UKR_infantry_support
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = UKR_patriotic_education }
		x = 0
		y = 2
		relative_position_id = UKR_patriotic_education
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_infantry_support
				bonus = 1.0
				uses = 1
				category = infantry_weapons
			}
			add_tech_bonus = {
				name = UKR_infantry_support
				bonus = 1.0
				uses = 1
				category = artillery
			}
			add_mastery_bonus = {
				name = UKR_infantry_support
				bonus = 0.2
				days = 180
				track = infantry
			}
			custom_effect_tooltip = UKR_reduction_of_army_penalty_tt
			add_to_variable = { var_ukr_conscription_debuff = 0.07 }
			add_to_variable = { var_ukr_army_org_debuff = 0.02 }
			add_to_variable = { var_ukr_command_power_debuff = 5 }
			add_to_variable = { var_ukr_training_time_debuff = -0.05 }
		}
	}

	focus = {
		id = UKR_DOB
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = UKR_elite_army focus = UKR_patriotic_education }
		x = -1
		y = 1
		relative_position_id = UKR_elite_army
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_DOB
				ahead_reduction = 2
				uses = 1
				category = infantry_weapons
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_dob_organization = {
					add_mio_funds = 1000
					unlock_mio_trait_tooltip = UKR_mio_trait_dnipro_submachine_guns
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = dob
			}
		}
	}

	focus = {
		id = UKR_end_of_reform
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = UKR_mechanization_army focus = UKR_infantry_support }
		x = -1
		y = 1
		relative_position_id = UKR_mechanization_army
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			custom_effect_tooltip = UKR_remove_of_army_penalty_tt
			add_doctrine_cost_reduction = {
				name = UKR_end_of_reform
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = UKR_expand_special_department
		icon = GFX_focus_UKR_expand_special_department
		prerequisite = { focus = UKR_new_doctrine }
		x = 3
		y = 1
		relative_position_id = UKR_new_doctrine
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 3
		}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				add_ideas = UKR_special_department
			}
			else = {
				add_ideas = UKR_lar_special_department
			}
		}
	}

	focus = {
		id = UKR_decryption_bureau
		icon = GFX_goal_generic_production2
		prerequisite = { focus = UKR_expand_special_department }
		x = 0
		y = 2
		relative_position_id = UKR_expand_special_department
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 3
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				add_tech_bonus = {
					name = UKR_decryption_bureau
					bonus = 0.8
					uses = 2
					category = encryption_tech
					category = decryption_tech
				}
			}
			else = {
				hidden_effect = {
					set_technology = { lar_decryption_bonus_tech = 1 }
				}
				custom_effect_tooltip = lar_decryption_bonus_tt
			}
		}
	}
	
	focus = {
		id = UKR_special_forces
		icon = GFX_focus_UKR_special_operations
		prerequisite = { focus = UKR_decryption_bureau }
		x = 1
		y = 1
		relative_position_id = UKR_decryption_bureau
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 3
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				add_potential_special_forces_tree = yes
				add_doctrine_cost_reduction = {
					name = UKR_special_forces
					cost_reduction = 0.25
					uses = 2
					category = special_forces_doctrine
				}
			}
			else = {
				add_doctrine_cost_reduction = {
					name = UKR_special_forces
					cost_reduction = 0.5
					uses = 1
					category = land_doctrine
				}
			}
			country_event = ukraine.762
			custom_effect_tooltip = UKR_special_forces_tt
		}
	}

	focus = {
		id = UKR_amphibious_focus
		prerequisite = { focus = UKR_decryption_bureau focus = UKR_destroyer_focus }
		icon = GFX_focus_UKR_marines
		x = -1
		y = 1
		relative_position_id = UKR_decryption_bureau
		cost = 10

		available_if_capitulated = yes	

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_amphibious_focus
				bonus = 1.0
				uses = 1
				category = marine_tech
			}
			add_tech_bonus = {
				name = UKR_amphibious_focus
				bonus = 1.0
				uses = 1
				category = tp_tech
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				add_doctrine_cost_reduction = {
					name = UKR_amphibious_focus
					cost_reduction = 0.5
					uses = 1
					category = special_forces_doctrine
				}
			}
		}
	}
	
	focus = {
		id = UKR_fortification_equipment
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = UKR_new_doctrine }
		x = 6
		y = 1
		relative_position_id = UKR_new_doctrine
		cost = 5

		bypass = { 
			has_tech = tech_recon2
			has_tech = tech_engineers2
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_fortification_equipment
				bonus = 1.0
				uses = 1
				technology = tech_recon2
				technology = tech_engineers2
			}
			add_tech_bonus = {
				name = UKR_fortification_equipment
				bonus = 1.0
				uses = 1
				category = cat_fortification
			}
		}
	}

	focus = {
		id = UKR_west_forts
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = UKR_fortification_equipment }
		x = -1
		y = 1
		relative_position_id = UKR_fortification_equipment
		cost = 10

		available = {
			NOT = {
				any_owned_state = {
					has_dynamic_modifier = {
						modifier = POL_plan_modifier
						scope = UKR
					}
				}
			}
			any_owned_state = {
				any_neighbor_state = {
					owner = { 
						OR = {
							tag = POL 
							tag = GER
						}
					}
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			#ROOT = { country_event = { id = ukraine.10 } }
			every_owned_state = {
				limit = {
					any_neighbor_state = {
						owner = { 
							OR = {
								tag = POL 
								tag = GER
							}
						}
					}
				}
				add_dynamic_modifier = {
					modifier = POL_plan_modifier
					days = 365
					scope = UKR
				}
			}
		}
	}

	focus = {
		id = UKR_east_line
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = UKR_fortification_equipment }
		x = 1
		y = 1
		relative_position_id = UKR_fortification_equipment
		cost = 10

		available = {
			NOT = {
				any_owned_state = {
					has_dynamic_modifier = {
						modifier = POL_plan_modifier
						scope = UKR
					}
				}
			}
			any_owned_state = {
				any_neighbor_state = {
					owner = { 
						OR = {
							tag = SOV 
							original_tag = SOV
						}
					}
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			#ROOT = { country_event = { id = ukraine.11 } }
			UKR_sancordon_bonus_defence_increase = yes
			every_owned_state = {
				limit = {
					any_neighbor_state = {
						owner = { 
							OR = {
								tag = SOV 
								original_tag = SOV
							}
						}
					}
				}
				add_dynamic_modifier = {
					modifier = POL_plan_modifier
					days = 365
					scope = UKR
				}
			}
		}
	}

	focus = {
		id = UKR_black_sea_forts
		icon = GFX_focus_FIN_coastal_defense
		prerequisite = { focus = UKR_west_forts focus = UKR_east_line }
		x = 0
		y = 1
		relative_position_id = UKR_east_line
		cost = 10

		available = {
			192 = { is_controlled_by = UKR }
			196 = { is_controlled_by = UKR }
			197 = { is_controlled_by = UKR }
			227 = { is_controlled_by = UKR }
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			ROOT = { country_event = { id = ukraine.12 } }
			if = { 
				limit = { has_dlc = "Man the Guns" } 
				custom_effect_tooltip = UKR_additional_decisions
			}
		}
	}

	focus = {
		id = UKR_dniester_forts
		icon = GFX_focus_rom_preserve_romania
		prerequisite = { focus = UKR_west_forts focus = UKR_east_line }
		x = 0
		y = 1
		relative_position_id = UKR_west_forts
		cost = 10

		available = {
			NOT = {
				any_owned_state = {
					has_dynamic_modifier = {
						modifier = POL_plan_modifier
						scope = UKR
					}
				}
			}
			any_owned_state = {
				any_neighbor_state = {
					owner = { 
						OR = {
							tag = ROM 
							original_tag = ROM
						}
					}
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			#ROOT = { country_event = { id = ukraine.127 } }
			every_owned_state = {
				limit = {
					any_neighbor_state = {
						owner = { 
							OR = {
								tag = ROM 
								original_tag = ROM
							}
						}
					}
				}
				add_dynamic_modifier = {
					modifier = POL_plan_modifier
					days = 365
					scope = UKR
				}
			}
		}
	}
	focus = {
		id = UKR_antiair_defense
		icon = GFX_focus_generic_air_defense
		prerequisite = { focus = UKR_dniester_forts focus = UKR_black_sea_forts }
		x = 1
		y = 1
		relative_position_id = UKR_dniester_forts
		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			any_owned_state = {
				arms_factory > 1
				is_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = UKR_antiair_defense_tt
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					arms_factory > 1
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = UKR_ground_infrastructure
		icon = GFX_focus_UKR_ground_infrastructure
		prerequisite = { focus = UKR_new_doctrine }
		x = -4
		y = 1
		relative_position_id = UKR_new_doctrine
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 2
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = UKR_air_base_expansion_1 }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_ground_infrastructure
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}	
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = UKR_air_base_expansion_1
			}
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					NOT = { has_state_flag = UKR_air_base_expansion_1 }
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = UKR_air_base_expansion_2
			}
		}
	}

	focus = {
		id = UKR_fighter_focus
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = UKR_ground_infrastructure }
		mutually_exclusive = { focus = UKR_bomber_focus }
		x = -1
		y = 1
		relative_position_id = UKR_ground_infrastructure
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_fighter_focus
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = UKR_fighter_focus
					bonus = 1.0
					uses = 2
					category = light_air
				}
			}
			else = {
				add_tech_bonus = {
					name = UKR_fighter_focus
					bonus = 1.0
					uses = 2
					category = light_fighter
					category = cas_bomber
				}
			}	
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:UKR_HAZ_organization = {
					add_mio_funds = 500
				}
			}
		}
	}

	focus = {
		id = UKR_bomber_focus
		icon = GFX_focus_generic_long_range_aircraft
		prerequisite = { focus = UKR_ground_infrastructure }
		mutually_exclusive = { focus = UKR_fighter_focus }
		x = 1
		y = 1
		relative_position_id = UKR_ground_infrastructure
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_bomber_focus
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}	
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = UKR_bomber_focus
					bonus = 1.0
					uses = 2
					category = medium_air
					category = heavy_air			
				}
			}
			else = {
				add_tech_bonus = {
					name = UKR_bomber_focus
					bonus = 1.0
					uses = 2
					category = cat_strategic_bomber
					category = tactical_bomber
					category = cat_heavy_fighter
				}
			}
			
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:UKR_Aviant_organization = {
					add_mio_funds = 500
				}
			}
		}
	}

	focus = {
		id = UKR_coastal_control
		prerequisite = { focus = UKR_bomber_focus focus = UKR_fighter_focus }
		icon = GFX_goal_generic_air_naval_bomber
		x = 1
		y = 1
		relative_position_id = UKR_fighter_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_AIR_XP }
		completion_reward = {
			air_experience = 25
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = UKR_coastal_control
					bonus = 1.0
					uses = 1
					category = light_air
				}
				add_tech_bonus = {
					name = UKR_coastal_control
					bonus = 1.5
					uses = 1
					technology = air_torpedoe_1
					technology = air_torpedoe_2
					technology = air_torpedoe_3
				}
			}
			else = {
				add_tech_bonus = {
					name = UKR_coastal_control
					bonus = 1.0
					uses = 1
					category = naval_bomber
				}
			}
		}
	}

	focus = {
		id = UKR_ukrainian_air_force_academy
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = UKR_coastal_control }
		x = 0
		y = 1
		relative_position_id = UKR_coastal_control
		cost = 10

		available = {
			has_deployed_air_force_size = {
				size > 299
			}
		}
		ai_will_do = {
			base = 1
		}

		search_filters = { FOCUS_FILTER_AIR_XP }
		completion_reward = {
			air_experience = 25
			add_ideas = UKR_ukrainian_air_force_academy_idea
		}
	}	

	focus = {
		id = UKR_modern_airforce
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = UKR_ukrainian_air_force_academy }
		x = 0
		y = 1
		relative_position_id = UKR_ukrainian_air_force_academy
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }
		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = UKR_modern_airforce
				bonus = 1.0
				uses = 2
				category = jet_technology
			}
			if = {
				limit = { has_idea = UKR_ukrainian_air_force_academy_idea }
				swap_ideas = {
					add_idea = UKR_ukrainian_air_force_academy_idea2
					remove_idea = UKR_ukrainian_air_force_academy_idea
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						add_idea = UKR_ukrainian_air_force_academy_idea2
						remove_idea = UKR_ukrainian_air_force_academy_idea
					}
				}
			}
		}
	}

	focus = {
		id = UKR_joint_air_development
		icon = GFX_focus_generic_tank_air_support
		prerequisite = { focus = UKR_ukrainian_air_force_academy focus = UKR_mechanization_army }
		x = -2
		y = 1
		relative_position_id = UKR_ukrainian_air_force_academy

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			any_other_country = {
				is_major = yes
				is_faction_leader = yes
				is_in_faction_with = UKR
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_to_tech_sharing_group = UKR_joint_air_development_group
			random_other_country = {
				limit = {
					is_in_faction_with = UKR
					is_faction_leader = yes
					is_major = yes
				}
				add_to_tech_sharing_group = UKR_joint_air_development_group
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_equipment_subsidy = {
					cic = 1000
					equipment_type = small_plane_airframe
					seller_trigger = is_allied_seller_trigger
				}
				add_equipment_subsidy = {
					cic = 1000
					equipment_type = light_tank_chassis
					seller_trigger = is_allied_seller_trigger
				}
			}	
		}
	}

	focus = {
		id = UKR_odesa_port 
		icon = GFX_focus_UKR_odesa_port
		prerequisite = { focus = UKR_new_doctrine }
		
		x = 0
		y = 1
		relative_position_id = UKR_new_doctrine
		cost = 5

		available = {
			192 = {
				is_owned_and_controlled_by = UKR
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_odesa_port
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			add_ideas = UKR_naval_headquarter
			192 = {
				add_building_construction = {
					type = naval_base
					level = 2
					province = 11670
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = UKR_submarine_technology
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = UKR_odesa_port }
		x = 1
		y = 1
		relative_position_id = UKR_odesa_port
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_submarine_technology
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
			add_doctrine_cost_reduction = {
				name = UKR_submarine_technology
				cost_reduction = 0.5
				uses = 1
				category = submarine_doctrine
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_srdsc_organization = {
					add_mio_funds = 500
				}
			}
		}
		
	}

	focus = {
		id = UKR_destroyer_focus
		icon = GFX_focus_UKR_destroyer_focus
		prerequisite = { focus = UKR_submarine_technology }
		x = 0
		y = 1
		relative_position_id = UKR_submarine_technology
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_destroyer_focus
				bonus = 1.0
				uses = 1
				category = dd_tech
			}
			add_doctrine_cost_reduction = {
				name = UKR_destroyer_focus
				cost_reduction = 0.5
				uses = 1
				category = convoy_defense_tree
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_thunderbird_organization = {
					add_mio_funds = 1000
				}
			}
		}
	}

	focus = {
		id = UKR_cruisers_focus
		icon = GFX_focus_generic_cruiser2
		prerequisite = { focus = UKR_odesa_port }
		x = -1
		y = 1
		relative_position_id = UKR_odesa_port
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_cruisers_focus
				bonus = 1.0
				uses = 2
				category = ca_tech
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_chsz_organization = {
					add_mio_funds = 500
				}
				mio:UKR_srdsc_organization = {
					add_mio_funds = 500
				}
			}
		}
	}

	focus = {
		id = UKR_battleship_focus
		prerequisite = { focus = UKR_cruisers_focus }
		icon = GFX_goal_generic_navy_battleship
		x = 0
		y = 1
		relative_position_id = UKR_cruisers_focus
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_battleship_focus
				bonus = 1.0
				uses = 1
				category = bb_tech
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_chsz_organization = {
					add_mio_funds = 500
				}
			}
		}
	}

	focus = {
		id = UKR_navy_aviation
		prerequisite = { focus = UKR_coastal_control }
		prerequisite = { focus = UKR_battleship_focus }
		icon = GFX_goal_generic_navy_carrier
		x = 2
		y = 1
		relative_position_id = UKR_coastal_control
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_navy_aviation
				bonus = 1.0
				uses = 1
				category = cv_tech
			}
			add_tech_bonus = {
				name = UKR_navy_aviation
				bonus = 1.0
				uses = 2
				category = naval_air
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:UKR_Anatra_organization = {
					add_mio_funds = 500
				}
			}
		}
	}

	focus = {
		id = UKR_naval_maneuvers
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = UKR_destroyer_focus focus = UKR_battleship_focus }
		x = -1
		y = 1
		relative_position_id = UKR_destroyer_focus
		cost = 10

		available = {
			has_navy_size = { size > 7 }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_naval_maneuvers
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			if = {
				limit = { has_idea = UKR_naval_headquarter }
				swap_ideas = {
					add_idea = UKR_naval_headquarter2
					remove_idea = UKR_naval_headquarter
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						add_idea = UKR_naval_headquarter2
						remove_idea = UKR_naval_headquarter
					}
				}
			}
		}
	}

	focus = {
		id = UKR_open_sea_fleet
		icon = GFX_focus_SMB_blue_water_fleet
		prerequisite = { focus = UKR_naval_maneuvers }
		x = 0
		y = 1
		relative_position_id = UKR_naval_maneuvers
		cost = 10

		available = {
			num_of_naval_factories > 9
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = { 
					197 = {
						is_fully_controlled_by = ROOT
						air_facility < 1
						land_facility < 1
						naval_facility < 1
						nuclear_facility < 1
					}
				}

				197 = {
					add_building_construction = {
						type = naval_facility
						level = 1
						instant_build = yes
						province = 11683 
					}
				}
			}
			add_ideas = UKR_open_sea_idea
			custom_effect_tooltip = ENG_the_sun_never_sets_tt
		}
	}

	focus = {
		id = UKR_experience_of_big_war
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = UKR_end_of_reform focus = UKR_modern_airforce focus = UKR_open_sea_fleet }
		x = 2
		y = 1
		relative_position_id = UKR_modern_airforce
		cost = 10

		available = {
			has_army_manpower = { size > 299999 }
			any_other_country = {
				is_major = yes
				has_war_with = ROOT
			}
		}

		available_if_capitulated = yes
		cancel_if_invalid = no
		continue_if_invalid = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_experience_of_big_war
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
				category = naval_doctrine
				category = air_doctrine
			}
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				add_tech_bonus = {
					name = UKR_experience_of_big_war
					bonus = 1.0
					uses = 1
					category = encryption_tech
					category = decryption_tech
				}
			}
			else = {
				hidden_effect = {
					set_technology = { lar_decryption_bonus_tech = 1 }
				}
				custom_effect_tooltip = lar_decryption_bonus_tt
			}
		}
	}

	focus = {
		id = UKR_reforms_for_staff
		icon = GFX_focus_UKR_genstaff
		prerequisite = { focus = UKR_end_of_reform focus = UKR_modern_airforce focus = UKR_open_sea_fleet }
		x = -2
		y = 1
		relative_position_id = UKR_modern_airforce
		cost = 10

		available = {
			has_army_manpower = { size > 299999 }
			has_army_experience > 100
		}

		available_if_capitulated = yes
		cancel_if_invalid = no
		continue_if_invalid = yes

		ai_will_do = {
			factor = 10
		}

		select_effect = {
			army_experience = -100
		}

		completion_reward = {
			add_ideas = UKR_modern_staff
			custom_effect_tooltip = UKR_reforms_for_staff_tt
		}
	}

	############################
	#### INDUSTRIAL SECTION ####
	############################

	focus = {
		id = ukr_industrial_effort
		icon = GFX_focus_mex_privatisation
		x = 51
		y = 0
		offset = {
			x = -32
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		offset = {
			x = -39
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}
		offset = {
			x = -29
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
				}
			}
		}

		cost = 5

		available_if_capitulated = yes

		available = {
			OR = {
				has_completed_focus = UKR_communism_propaganda
				has_completed_focus = UKR_democratic_reforms
				has_completed_focus = UKR_revanchism
			}
		}

		mutually_exclusive = { focus = UKR_protection_of_economic }

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = ukr_industrial_effort
				bonus = 1.0
				uses = 1
				category = industry
			}
			country_event = { id = ukraine.69 }
		}

	}

	focus = {
		id = UKR_protection_of_economic
		icon = GFX_focus_UKR_new_economic
		x = 59
		y = 0
		offset = {
			x = -32
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		offset = {
			x = -39
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}

		offset = {
			x = -29
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
				}
			}
		}
		cost = 5

		available_if_capitulated = yes

		mutually_exclusive = { focus = ukr_industrial_effort }

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_protection_of_economic
				bonus = 1.0
				uses = 1
				category = industry
			}
			add_timed_idea  = {
				idea = UKR_forced_protection_of_industry
				days = 365
			}
		}

	}

	focus = {
		id = ukr_donbass_industry
		icon = GFX_focus_UKR_donbass_industry
		prerequisite = { focus = ukr_industrial_effort focus = UKR_protection_of_economic }
		x = 4
		y = 1
		relative_position_id = ukr_industrial_effort
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			227 = {
				is_owned_and_controlled_by = UKR
			}
			228 = {
				is_owned_and_controlled_by = UKR
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			227 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = coal
					amount = 8
				}
			}
			228 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = coal
					amount = 4
				}
			}
		}
	}

	focus = {
		id = UKR_rural_mechanisation
		icon = GFX_focus_generic_public_works
		prerequisite = { focus = ukr_donbass_industry }
		x = 0
		y = 1
		relative_position_id = ukr_donbass_industry
		cost = 5

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_illiterate_peasants_1
				remove_idea = UKR_illiterate_peasants
			}
		}
	}

	focus = {
		id = ukr_kryvorizhstal
		icon = GFX_focus_generic_steel
		prerequisite = { focus = ukr_industrial_effort }
		x = 0
		y = 1
		relative_position_id = ukr_industrial_effort
		cost = 10

		available_if_capitulated = yes


		ai_will_do = {
			factor = 10
		}

		available = {
			226 = {
				is_owned_and_controlled_by = UKR
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			226 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			add_resource = {
				type = steel
				amount = 16
				state = 226
			}
		}

	}

	focus = {
		id = ukr_production_effort
		icon = GFX_focus_generic_tank_production
		prerequisite = { focus = ukr_kryvorizhstal }
		x = 0
		y = 1
		relative_position_id = ukr_kryvorizhstal
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}

		complete_tooltip = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 3
				instant_build = yes
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 1
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_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
				}
			}
		}
	}

	focus = {
		id = UKR_kyiv_odesa
		icon = GFX_focus_generic_road_investment
		prerequisite = { focus = ukr_industrial_effort focus = UKR_protection_of_economic }
		x = 2
		y = 1
		relative_position_id = ukr_industrial_effort
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		available = {
			202 = {
				is_owned_and_controlled_by = UKR
			}
			203 = {
				is_owned_and_controlled_by = UKR
			}
			1047 = {
				is_owned_and_controlled_by = UKR
			}
			192 = {
				is_owned_and_controlled_by = UKR
			}
		}		

		bypass = {
			202 = {
				free_building_slots = {
					building = infrastructure
					size < 1
				}
			}
			203 = {
				free_building_slots = {
					building = infrastructure
					size < 1
				}
			}
			1047 = {
				free_building_slots = {
					building = infrastructure
					size < 1
				}
			}
			192 = {
				free_building_slots = {
					building = infrastructure
					size < 1
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					202 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				202 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					203 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				203 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					1047 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				1047 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					192 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				192 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = UKR_prospect_for_oil
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = UKR_kyiv_odesa } 
		
		x = 0
		y = 1
		relative_position_id = UKR_kyiv_odesa
		cost = 10

		available_if_capitulated = yes

		available = {
			196 = { is_owned_and_controlled_by = ROOT }
		}

		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }	
		completion_reward = {
			if = {
				limit = {
					has_tech = synth_oil_experiments
				}
				196 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				196 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			add_tech_bonus = {
				name = UKR_prospect_for_oil
				bonus = 2.0
				uses = 2
				category = synth_resources
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = khnz
		}
	}

	focus = {
		id = UKR_polesian_infrastructure
		icon = GFX_focus_generic_land_reclamation
		prerequisite = { focus = ukr_industrial_effort focus = UKR_protection_of_economic }
		x = -2
		y = 1
		relative_position_id = UKR_protection_of_economic
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		available = {
			193 = {
				is_owned_and_controlled_by = UKR
			}
			194 = {
				is_owned_and_controlled_by = UKR
			}
			201 = {
				is_owned_and_controlled_by = UKR
			}
		}		

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					193 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				193 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					194 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				194 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					201 = {
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				201 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = UKR_deep_mines
		icon = GFX_focus_generic_resource_extraction
		prerequisite = { focus = UKR_polesian_infrastructure }
		x = 0
		y = 1
		relative_position_id = UKR_polesian_infrastructure
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }	
		completion_reward = {
			if = {
				limit = {
					201 = {
						is_owned_and_controlled_by = UKR
					}
				}
				201 = {
					add_resource = {
						type = tungsten
						amount = 3
					}
				}
			}
			if = {
				limit = {
					226 = {
						is_owned_and_controlled_by = UKR
					}
				}
				226 = {
					add_resource = {
						type = steel
						amount = 6
					}
				}
			}
			add_ideas = UKR_resource_extration_bonus
			add_tech_bonus = {
				name = UKR_deep_mines
				bonus = 0.75
				uses = 2
				category = excavation_tech
			}

		}	
	}

	focus = {
		id = UKR_shostka_gunpowder_factory
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = UKR_protection_of_economic }
		x = 0
		y = 1
		relative_position_id = UKR_protection_of_economic
		cost = 10

		available = { 
			225 = { is_owned_and_controlled_by = ROOT }
		}

		available_if_capitulated = yes


		ai_will_do = {
			factor = 10
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = UKR_ammunition_focus
			add_tech_bonus = {
				name = UKR_shostka_gunpowder_factory
				bonus = 1.0
				uses = 1
				category = infantry_weapons
			}
			225 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = ukr_production_effort_2
		icon = GFX_focus_SWE_let_fly_all_guns
		prerequisite = { focus = UKR_shostka_gunpowder_factory }
		x = 0
		y = 1
		relative_position_id = UKR_shostka_gunpowder_factory
		cost = 10

		available_if_capitulated = yes


		ai_will_do = {
			factor = 10
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = ukr_production_effort_2
				bonus = 1.0
				uses = 1
				category = artillery
			}
			random_owned_controlled_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 > 1
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:UKR_sgc_organization = {
					add_mio_funds = 500
					unlock_mio_trait_tooltip = UKR_mio_trait_sgc
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = sgc
				add_ideas = UKR_artillery_focus
			}
		}
	}

	focus = {
		id = UKR_national_bank
		icon = GFX_focus_UKR_national_bank
		prerequisite = { focus = ukr_production_effort_2 focus = ukr_production_effort }
		prerequisite = { focus = UKR_rural_mechanisation }
		x = 4
		y = 1
		relative_position_id = ukr_production_effort
		cost = 5

		available_if_capitulated = yes

		available = {
			NOT = {
				OR = {
					has_idea = UKR_forced_protection_of_industry
					has_idea = UKR_new_economic1
					has_idea = UKR_new_economic2
					has_idea = UKR_new_economic3
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.05
			add_political_power = 75
		}
	}

	focus = {
		id = UKR_reconstruction_of_west_ukraine
		icon = GFX_focus_generic_industry_2
		prerequisite = { focus = UKR_national_bank }
		x = -2
		y = 1
		relative_position_id = UKR_national_bank
		cost = 10

		available_if_capitulated = yes

		available = {
			OR = {
				89 = { is_owned_and_controlled_by = ROOT }
				91 = { is_owned_and_controlled_by = ROOT }
				93 = { is_owned_and_controlled_by = ROOT }
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = { 
				limit = { 91 = { is_owned_and_controlled_by = ROOT } }
				91 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				} 
			}
			if = { 
				limit = { 93 = { is_owned_and_controlled_by = ROOT } }
				93 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			if = { 
				limit = { 89 = { is_owned_and_controlled_by = ROOT } }
				89 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = { 
					89 = { is_controlled_by = ROOT } 
					91 = { is_controlled_by = ROOT }
					73 = { is_controlled_by = ROOT }
				}
				build_railway = {
					level = 2
					path = { 11479 6483 6431 11536 11691 }
				}
			}
		}
	}

	focus = {
		id = UKR_reconstruction_of_bessarabia
		icon = GFX_focus_generic_industry_1
		prerequisite = { focus = UKR_national_bank }
		x = 2
		y = 1
		relative_position_id = UKR_national_bank
		cost = 10

		available_if_capitulated = yes

		available = {
			OR = {
				78 = { is_owned_and_controlled_by = ROOT }
				80 = { is_owned_and_controlled_by = ROOT }
				766 = { is_owned_and_controlled_by = ROOT }
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = { 
				limit = { 78 = { is_owned_and_controlled_by = ROOT } }
				78 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				if = {
					limit = {
						78 = { NOT = { is_core_of = ROOT } }
					}
					78 = { add_compliance = 15 }
				} 
			}
			if = { 
				limit = { 80 = { is_owned_and_controlled_by = ROOT } }
				80 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				} 
				if = {
					limit = {
						80 = { NOT = { is_core_of = ROOT } }
					}
					80 = { add_compliance = 15 }
				} 
			}
			if = { 
				limit = { 766 = { is_owned_and_controlled_by = ROOT } }
				766 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				} 
				if = {
					limit = {
						766 = { NOT = { is_core_of = ROOT } }
					}
					766 = { add_compliance = 15 }
				} 
			}
		}
	}

	focus = {
		id = UKR_develop_ship_building
		icon = GFX_focus_UKR_develop_ship_building
		prerequisite = { focus = UKR_national_bank }
		x = -4
		y = 1
		relative_position_id = UKR_national_bank
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
			modifier = {
				has_completed_focus = UKR_old_course
				factor = 10
			}
		}

		available = {
			197 = {
				is_owned_and_controlled_by = UKR
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			navy_experience = 30
			197 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = UKR_crimean_recovery
		icon = GFX_focus_UKR_crimean_recovery
		prerequisite = { focus = UKR_develop_ship_building }
		x = 2
		y = 1
		relative_position_id = UKR_develop_ship_building
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		available = {
			OR = {
				137 = { is_owned_and_controlled_by = ROOT }
				1051 = { is_owned_and_controlled_by = ROOT }
				AND = {
					CRI = {	is_subject_of = ROOT }
					137 = { is_owned_and_controlled_by = CRI }
					1051 = { is_owned_and_controlled_by = CRI }
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = { 
				limit = { 
					OR = {
						137 = { is_owned_and_controlled_by = ROOT } 
						AND = {
							137 = { is_owned_and_controlled_by = CRI } 
							CRI = { is_subject_of = ROOT }
						}
					}
				}
				137 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				} 
			}
			if = {
				limit = {
					137 = {
						is_owned_and_controlled_by = ROOT
						NOT = { is_core_of = ROOT } 
					}
				}
				137 = { add_compliance = 15 }
			} 
			if = { 
				limit = { 
					OR = {
						1051 = { is_owned_and_controlled_by = ROOT } 
						AND = {
							1051 = { is_owned_and_controlled_by = CRI } 
							CRI = { is_subject_of = ROOT }
						}
					}
				}
				1051 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
					if = {
						limit = { 
							free_building_slots = {
								building = infrastructure
								size > 0
							} 
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				} 
			}
			if = {
				limit = {
					1051 = {
						is_owned_and_controlled_by = ROOT
						NOT = { is_core_of = ROOT } 
					}
				}
				1051 = { add_compliance = 15 }
			} 
		}
	}

	focus = {
		id = UKR_repair_dockyards
		icon = GFX_focus_generic_refit_civilian_ships
		prerequisite = { focus = UKR_develop_ship_building }
		x = 0
		y = 1
		relative_position_id = UKR_develop_ship_building
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = UKR_intense_fleet_repair
			random_owned_controlled_state = {
				limit = { 
					is_coastal = yes 
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = UKR_urbanisation
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = UKR_national_bank }
		x = 4
		y = 1
		relative_position_id = UKR_national_bank
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_illiterate_peasants_2
				remove_idea = UKR_illiterate_peasants_1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						has_state_category = town
						has_state_category = city
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						has_state_category = town
						has_state_category = city
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = UKR_country_schools
		icon = GFX_focus_ARG_universidad_de_buenos_aires
		prerequisite = { focus = UKR_urbanisation }
		x = 0
		y = 1
		relative_position_id = UKR_urbanisation
		cost = 10

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_good_peasants
				remove_idea = UKR_illiterate_peasants_2
			}
		}
	}

	focus = {
		id = UKR_aviant
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = UKR_urbanisation }
		x = -2
		y = 1
		relative_position_id = UKR_urbanisation
		cost = 10

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP }
		completion_reward = {
			air_experience = 50
			capital_scope = {
				if = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = UKR_Aviant_organization
				mio:UKR_Aviant_organization = {
					add_mio_size = 2
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = Aviant
			}
			if = {
				limit = {
					NOT = { has_country_flag = UKR_igor_sikorsky_is_available }
				}
				custom_effect_tooltip = UKR_invite_igor_sikorsky_available_tt
			}
		}
	}

	focus = {
		id = UKR_agro_protectionism
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = ukr_production_effort_2 }
		x = 0
		y = 1
		relative_position_id = ukr_production_effort_2
		cost = 8
		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = UKR_protection_of_agroculture
		}
	}

	focus = {
		id = UKR_industry_innovations
		icon = GFX_goal_generic_production2
		prerequisite = { focus = ukr_production_effort }
		x = 0
		y = 1
		relative_position_id = ukr_production_effort
		cost = 8
		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = UKR_effective_industry
		}
	}

	focus = {
		id = ukr_extra_tech_slot
		icon = GFX_focus_research
		prerequisite = { focus = UKR_national_bank }
		x = 0
		y = 1
		relative_position_id = UKR_national_bank
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = UKR_computing_center
		icon = GFX_focus_UKR_computing_center
		prerequisite = { focus = ukr_extra_tech_slot }
		x = 0
		y = 1
		relative_position_id = ukr_extra_tech_slot
		cost = 10

		available_if_capitulated = yes

		available = {
			has_tech = computing_machine
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_computing_center
				bonus = 1.0
				uses = 1
				category = electronics
			}
			add_ideas = UKR_computing_techs
		}
	}

	focus = {
		id = ukr_nuclear_effort
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = UKR_computing_center }
		x = -2
		y = 1
		relative_position_id = UKR_computing_center
		cost = 10

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.75
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_tech_bonus = {
				name = ukr_nuclear_effort
				ahead_reduction = 2
				category = nuclear
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				num_of_factories < 55
			}
		}
	}

	focus = {
		id = ukr_secret_weapons
		icon = GFX_goal_generic_radar
		prerequisite = { focus = UKR_computing_center }
		x = 2
		y = 1
		relative_position_id = UKR_computing_center
		cost = 10

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_tech_bonus = {
				name = ukr_secret_weapons
				bonus = 1.0
				uses = 2
				category = radar_tech
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				num_of_factories < 55
			}
		}
	}

	focus = {
		id = UKR_megaprojects
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = UKR_computing_center }
		x = 0
		y = 1
		relative_position_id = UKR_computing_center
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_megaprojects
				bonus = 1.0
				uses = 1
				category = construction_tech
			}
			unlock_decision_category_tooltip = UKR_megaprojects_decisions
			set_variable = { var_ukr_dam_numb = 1 }
		}
	}

	focus = {
		id = ukr_extra_tech_slot_2
		icon = GFX_focus_generic_university_3
		prerequisite = { focus = UKR_megaprojects }
		available = {
			num_of_factories > 50
		}
		cancel_if_invalid = no
		continue_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = UKR_megaprojects
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = UKR_uranium_mining
		icon = GFX_focus_UKR_uranium_excavation
		prerequisite = { focus = ukr_nuclear_effort }
		x = 0
		y = 1
		relative_position_id = ukr_nuclear_effort
		cost = 10

		available_if_capitulated = yes

		available = {
			has_tech = atomic_research
			226 = { is_owned_and_controlled_by = ROOT }
		}

		completion_reward = {
			add_ideas = UKR_uranium_mining_idea
			226 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				if = { 
					limit = { 
						free_building_slots = {
							building = infrastructure
							size > 0
						} 
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			} 
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = UKR_Yuzhmash
		icon = GFX_focus_rocketry
		prerequisite = { focus = ukr_secret_weapons }
		x = 0
		y = 1
		relative_position_id = ukr_secret_weapons
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = { 
					226 = {
						is_fully_controlled_by = ROOT
						air_facility < 1
						land_facility < 1
						naval_facility < 1
						nuclear_facility < 1
					}
				}

				226 = {
					add_building_construction = {
						type = air_facility
						level = 1
						instant_build = yes
						province = 11437 
					}
				}
			}
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = UKR_Yuzhmash
				bonus = 1.0
				uses = 2
				category = rocketry
			}
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.25
				always = yes
			}
		}
	}

	############################
	###  POLITICAL  SECTION  ###
	############################	

	focus = {
		id = UKR_political_effort
		icon = GFX_focus_ukr_hetmanat
		x = 26
		y = 0
		offset = {
			x = -22
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}
		offset = {
			x = -16
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		offset = {
			x = -17
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
				}
			}
		}
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 125
		}
	}

	focus = {
		id = UKR_allow_CPU
		icon = GFX_focus_generic_join_comintern
		x = 10
		y = 0
		offset = {
			x = -10
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_revanchism
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
					has_completed_focus = UKR_communism_propaganda
				}
			}
		}
		cost = 5

		available_if_capitulated = yes

		available = {
			if = {
				limit = {
					has_country_flag = UKR_cossack_republic
				}
				NOT = { has_country_flag = UKR_guards_of_order_is_rulers }
				NOT = { has_country_flag = UKR_right_wing_is_rulers }
			}
		}

		bypass = {
			NOT = { has_idea = UKR_communism_banned }
		}

		ai_will_do = {
			factor = 10
			modifier = {
				has_completed_focus = UKR_revanchism
				factor = 0
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			remove_ideas = UKR_communism_banned
			UKR_sancordon_bonus_attack_decrease = yes
			UKR_sancordon_bonus_defence_decrease = yes
			hidden_effect = {
				set_temp_variable = {
					var = ukr_allow_cpu_var
					value = party_popularity@fascism
				}
				multiply_temp_variable = {
					var = ukr_allow_cpu_var
					value = -0.5
				}			
			}
			custom_effect_tooltip = UKR_allow_cpu_relations_tt
			custom_effect_tooltip = UKR_allow_cpu_tt
			add_stability = ukr_allow_cpu_var	
		}
	}

	focus = {
		id = UKR_communism_propaganda
		icon = GFX_focus_UKR_left_shift
		prerequisite = { focus = UKR_allow_CPU }
		prerequisite = { focus = UKR_political_effort }
		mutually_exclusive = { focus = UKR_democratic_reforms focus = UKR_old_course focus = UKR_revanchism }
		x = 0
		y = 1
		offset = {
			x = 10
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		relative_position_id = UKR_allow_CPU
		cost = 8

		allow_branch = {
			NOT = { 
				OR = {
					has_completed_focus = UKR_revanchism 
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
				}
			}
		}

		available_if_capitulated = yes

		bypass = { has_government = communism }

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = UKR_communism_drift
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_mykola_skrypnyk
			hidden_effect = {
				SOV = {
					add_ai_strategy = {
						type = alliance
						id = "UKR"
						value = -200
					}
				}
				if = { 
					limit = { has_country_flag = UKR_arrival_of_yakov_blyumkin_flag }
					UKR_recruting_of_yakov_blyumkin = yes
				}
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	focus = {
		id = UKR_road_to_world_revolution
		icon = GFX_focus_UKR_road_to_world_revolution
		prerequisite = { focus = UKR_communism_propaganda }
		mutually_exclusive = { focus = UKR_humane_communism }
		x = -3
		y = 1
		relative_position_id = UKR_communism_propaganda
		cost = 8

		available = {
			has_government = communism
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			set_cosmetic_tag = UKR_K
			country_event = ukraine.218	
		}
	}

	focus = {
		id = UKR_natcom_coup
		icon = GFX_focus_UKR_natcom_coup
		prerequisite = { focus = UKR_road_to_world_revolution }
		x = -5
		y = 1
		relative_position_id = UKR_road_to_world_revolution
		mutually_exclusive = { focus = UKR_purge }
		cost = 10
		available = {
			has_government = communism
			has_character = UKR_volodymyr_oskilko
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_stability = -0.15
			add_war_support = -0.15
			set_power_balance = {
				id = UKR_power_balance
				left_side = UKR_party_side	
				right_side = UKR_army_side	
				set_default = yes
			}
			country_event = ukraine.531
		}
	}

	focus = {
		id = UKR_new_communist_party
		icon = GFX_focus_UKR_new_communist_party
		prerequisite = { focus = UKR_natcom_coup }
		x = 0
		y = 1
		relative_position_id = UKR_natcom_coup
		cost = 5
		available = {
			has_government = communism
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			retire_character = UKR_mykita_shapoval
			retire_character = UKR_volodymyr_chekhivsky
			custom_effect_tooltip = UKR_new_communist_party_tt
		}
	}

	focus = {
		id = UKR_war_answer_for_dksr
		icon = GFX_focus_UKR_war_answer_for_dksr
		prerequisite = { focus = UKR_new_communist_party }
		x = 1
		y = 1
		relative_position_id = UKR_new_communist_party
		mutually_exclusive = { focus = UKR_negotiations_with_opposition }
		cost = 5
		available = {
			has_government = communism
			DKR = { exists = yes }
		}
		will_lead_to_war_with = DKR

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_ARMY_XP }
		select_effect = {
			add_days_mission_timeout = {
				mission = UKR_dealing_with_DKSR
				days = 35
			}
			hidden_effect = {
				DKR = { country_event = { id = ukraine.535 days = 15 } }
			}
		}
		completion_reward = {
			if = {
				limit = { country_exists = DKR }
				declare_war_on = {
					target = DKR
					type = annex_everything
				}
			}
			activate_mission = UKR_operation_against_DKSR
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.20
				}
			}
			add_doctrine_cost_reduction = {
				name = UKR_war_answer_for_dksr
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			hidden_effect = {
				country_event = { id = ukraine.587 days = 14 }
				every_other_country = {
					limit = {
						original_tag = SOV
						has_government = communism
					}
					add_ai_strategy = {
						type = send_volunteers_desire
						id = DKR
						value = 200
					}
					add_ai_strategy = {
						type = support
						id = DKR
						value = 200
					} 
				}
			}
		}
	}

	focus = {
		id = UKR_negotiations_with_opposition
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = UKR_new_communist_party }
		x = -1
		y = 1
		relative_position_id = UKR_new_communist_party
		mutually_exclusive = { focus = UKR_war_answer_for_dksr }
		cost = 5
		available = {
			has_government = communism
			DKR = { exists = yes }
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		select_effect = {
			add_days_mission_timeout = {
				mission = UKR_dealing_with_DKSR
				days = 35
			}
		}
		completion_reward = {
			if = {
				limit = { country_exists = DKR }
				puppet = DKR
				add_political_power = 100
				custom_effect_tooltip = UKR_additional_decisions
				DKR = {
					add_ideas = DKR_peace_separatism
				}
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.20
				}
			}
		}
	}

	focus = {
		id = UKR_state_plan
		icon = GFX_focus_SOV_merge_plants
		prerequisite = { focus = UKR_negotiations_with_opposition focus = UKR_war_answer_for_dksr }
		x = 1
		y = 1
		relative_position_id = UKR_negotiations_with_opposition
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_state_plan
				bonus = 1.0
				uses = 1
				category = industry
			}
			set_variable = { UKR_natcom_successful_missions = 0 }
			set_variable = { UKR_natcom_failed_missions = 0 }
			set_variable = { var_ukr_fyp_factory_time = 120 }
			set_variable = { var_ukr_fyp_arms_time = 120 }
			set_variable = { var_ukr_fyp_dockyard_time = 100 }
			set_variable = { var_ukr_fyp_infra_time = 80 }
			activate_decision = UKR_four_year_plan
			hidden_effect = {
				country_event = { id = ukraine.586 days = 1095 }
				random_owned_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = infrastructure
							size > 0
						} 
					}
					set_state_flag = UKR_natcom_build_infrastructure
					set_variable = { factory_goal = infrastructure_level }
					save_global_event_target_as = UKR_state_for_natcom_plan
				}
			}
		}
	}

	focus = {
		id = UKR_ideological_army
		icon = GFX_focus_SOV_mobilization_plan
		prerequisite = { focus = UKR_state_plan }
		x = 2
		y = 1
		relative_position_id = UKR_state_plan
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MANPOWER }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_shattered_army_1
				remove_idea = UKR_shattered_army
			}
			retire_character = UKR_vasily_biskupsky
			retire_character = UKR_oleksander_beresowski
			retire_character = UKR_andrey_pokrovskyi
			retire_character = UKR_mykhailo_veselkin
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = UKR_mykola_podvoisky
			custom_effect_tooltip = available_chief_of_navy
			show_ideas_tooltip = UKR_pavlo_dybenko
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = UKR_mykhailo_poloz
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
			custom_effect_tooltip = UKR_additional_decisions_for_bop
			hidden_effect = {
				UKR_omelyan_volokh = {
					unit_leader_event = { id = ukraine.549 days = 10 random_days = 5 }
				}
			}
		}
	}

	focus = {
		id = UKR_red_cossacks
		icon = GFX_focus_UKR_red_cossacks
		prerequisite = { focus = UKR_ideological_army }
		x = 0
		y = 1
		relative_position_id = UKR_ideological_army
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_shattered_army_2
				remove_idea = UKR_shattered_army_1
			}
			if = {
				limit = {
					SOV = { has_character = SOV_vitaly_primakov }
				}
				hidden_effect = {
					SOV = {
						retire_character = SOV_vitaly_primakov
					}
				}
				custom_effect_tooltip = available_military_high_command
				show_ideas_tooltip = UKR_vitaly_primakov
				set_country_flag = UKR_primakov_is_available
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
			hidden_effect = {
				UKR_serhiy_bailo = {
					unit_leader_event = { id = ukraine.563 days = 10 random_days = 5 }
				}
			}
		}
	}

	focus = {
		id = UKR_army_first
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = UKR_red_cossacks }
		x = 0
		y = 1
		relative_position_id = UKR_red_cossacks
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_ideas = UKR_songun
			swap_ideas = {
				add_idea = UKR_shattered_army_3
				remove_idea = UKR_shattered_army_2
			}
			if = {
				limit = { 
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
					has_war_support > 0.5
				}
				add_ideas = war_economy
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_desperate_defense
		icon = GFX_focus_ITA_peasants_rise
		prerequisite = { focus = UKR_army_first }
		x = 0
		y = 1
		relative_position_id = UKR_army_first
		cost = 10

		available = {
			has_defensive_war = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_political_power = 150
			add_ideas = UKR_com_defense
			if = {
				limit = { 
					NOT = {	has_idea = tot_economic_mobilisation	}
				}
				add_ideas = tot_economic_mobilisation
			}
		}
	}

	focus = {
		id = UKR_derussification
		icon = GFX_focus_UKR_derussification
		prerequisite = { focus = UKR_state_plan }
		x = 0
		y = 1
		relative_position_id = UKR_state_plan
		cost = 8

		ai_will_do = {
			factor = 10
		}

		available = {
			has_idea = UKR_language_question 
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_timed_idea = {
				idea = UKR_forced_ukrainization
				days = 1825
			}
			add_stability = 0.05
			add_war_support = 0.05
			remove_ideas = UKR_language_question
		}
	}

	focus = {
		id = UKR_natcom_propaganda
		icon = GFX_focus_por_workers_of_iberia
		prerequisite = { focus = UKR_derussification }
		x = 0
		y = 1
		relative_position_id = UKR_derussification
		cost = 8

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_PROPAGANDA }
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_levko_kovaliv
			set_country_flag = UKR_dovzhenko_is_available
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_oleksander_dovzhenko
			add_stability = 0.05
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.05
				}
			}
			set_variable = { var_ukr_natcom_prop_campaigns = 0 }

		}
	}

	focus = {
		id = UKR_cult_of_personality
		icon = GFX_focus_UKR_natcom_claimes
		prerequisite = { focus = UKR_natcom_propaganda }
		x = 0
		y = 1
		relative_position_id = UKR_natcom_propaganda
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = UKR_cult_of_personality_tt
				check_variable = { var_ukr_natcom_prop_campaigns > 9 }
			}
		}

		search_filters = { FOCUS_FILTER_PROPAGANDA }
		completion_reward = {
			swap_ruler_traits = { 
				remove = father_of_natcom 
				add = father_of_ukrainians 
			}
		}
	}

	focus = {
		id = UKR_isolationism
		icon = GFX_focus_ger_bulwark_against_bolshevism
		prerequisite = { focus = UKR_state_plan }
		x = -2
		y = 1
		relative_position_id = UKR_state_plan
		cost = 5

		available = {
			has_government = communism
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			swap_ideas = {
				add_idea = UKR_isolationism_idea_1
				remove_idea = UKR_isolationism_idea
			}
			if = {
				limit = { 
					NOT = {	has_idea = closed_economy	}
				}
				add_ideas = closed_economy
			}
			if = {
				limit = {
					has_active_mission = UKR_build_infrastructure_for_plan	
				}
				add_days_mission_timeout = {
					mission = UKR_build_infrastructure_for_plan
					days = 15
				}
			}
			if = {
				limit = {
					has_decision = UKR_four_year_plan
				}
				custom_effect_tooltip = UKR_four_year_plan_increase_time_tt
			}
			add_to_variable = { var_ukr_fyp_factory_time = 15 }
			add_to_variable = { var_ukr_fyp_arms_time = 15 }
			add_to_variable = { var_ukr_fyp_dockyard_time = 15 }
			add_to_variable = { var_ukr_fyp_infra_time = 15 }
		}
	}

	focus = {
		id = UKR_agrarian_communes
		icon = GFX_focus_SOV_breadbasket_of_the_union
		prerequisite = { focus = UKR_isolationism }
		x = 0
		y = 1
		relative_position_id = UKR_isolationism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_stability = 0.05
			swap_ideas = {
				add_idea = UKR_isolationism_idea_2
				remove_idea = UKR_isolationism_idea_1
			}
			if = {
				limit = {
					has_decision = UKR_four_year_plan
				}
				custom_effect_tooltip = UKR_four_year_plan_increase_time_tt
			}
			add_to_variable = { var_ukr_fyp_factory_time = 15 }
			add_to_variable = { var_ukr_fyp_arms_time = 15 }
			add_to_variable = { var_ukr_fyp_dockyard_time = 15 }
			add_to_variable = { var_ukr_fyp_infra_time = 15 }
		}
	}

	focus = {
		id = UKR_deurbanization
		icon = GFX_focus_generic_population_growth
		prerequisite = { focus = UKR_agrarian_communes }
		x = 0
		y = 1
		relative_position_id = UKR_agrarian_communes
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_isolationism_idea_3
				remove_idea = UKR_isolationism_idea_2
			}
			every_owned_state = {
				limit = {
					has_state_category = rural
				}
				add_extra_state_shared_building_slots = 1
				add_dynamic_modifier = {
					modifier = UKR_deurbanization_mod
					scope = UKR
				}
			}
			every_owned_state = {
				limit = {
					has_state_category = town
				}
				add_dynamic_modifier = {
					modifier = UKR_deurbanization_mod
					scope = UKR
				}
			}
			if = {
				limit = {
					has_decision = UKR_four_year_plan
				}
				custom_effect_tooltip = UKR_four_year_plan_increase_time_tt
			}
			add_to_variable = { var_ukr_fyp_factory_time = 15 }
			add_to_variable = { var_ukr_fyp_arms_time = 15 }
			add_to_variable = { var_ukr_fyp_dockyard_time = 15 }
			add_to_variable = { var_ukr_fyp_infra_time = 15 }
		}
	}

	focus = {
		id = UKR_bunkers_for_all
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = UKR_deurbanization }
		x = 0
		y = 1
		relative_position_id = UKR_deurbanization
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.05
			swap_ideas = {
				add_idea = UKR_isolationism_idea_4
				remove_idea = UKR_isolationism_idea_3
			}
		}
	}

	focus = {
		id = UKR_natcom_claimes
		icon = GFX_focus_UKR_the_path_of_mazlakhism
		prerequisite = { focus = UKR_deurbanization focus = UKR_army_first }
		x = 2
		y = 1
		relative_position_id = UKR_deurbanization
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
		select_effect = {
			if = {
				limit = {
					has_global_flag = trotsky_came_back_in_ukraine
					NOT = { SOV = { SOV_lev_trotsky = { is_country_leader = yes } } }
					NOT = { MEX = { MEX_leon_trotsky = { is_country_leader = yes } } }
					has_character = UKR_lev_trotsky
				}
				country_event = { id = ukraine.584 days = 7 }
			}
		}

		completion_reward = {
			add_threat = 5
			add_war_support = 0.05
			add_state_claim = 73
			add_state_claim = 78
			add_state_claim = 80
			add_state_claim = 766
			set_variable = { var_ukr_integration_days_small = 45 }
			set_variable = { var_ukr_integration_days_big = 90 }
			custom_effect_tooltip = UKR_integration_time_reduction_tt
			country_event = ukraine.566
		}
	}

	focus = {
		id = UKR_icebreaker
		icon = GFX_focus_generic_strike_at_democracy2
		prerequisite = { focus = UKR_natcom_claimes }
		x = 1
		y = 1
		relative_position_id = UKR_natcom_claimes
		mutually_exclusive = { focus = UKR_masons }
		cost = 5

		available = {
			has_army_manpower = { size > 349999 }
			is_power_balance_in_range = {
				id = UKR_power_balance
				range > UKR_balance_range
			}
		}
		continue_if_invalid = yes
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_timed_idea = {
				idea = UKR_red_blitzkrieg
				days = 90
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.20
				}
			}
		}
	}

	focus = {
		id = UKR_masons
		icon = GFX_focus_spr_masters_of_our_own_fate
		prerequisite = { focus = UKR_natcom_claimes }
		x = -1
		y = 1
		relative_position_id = UKR_natcom_claimes
		mutually_exclusive = { focus = UKR_icebreaker }
		cost = 5

		available = {
			is_power_balance_in_range = {
				id = UKR_power_balance
				range < UKR_balance_range
			}
		}
		continue_if_invalid = yes
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.20
				}
			}
		}
	}

	focus = {
		id = UKR_natcom_bessarabia
		icon = GFX_focus_UKR_bukovina_bessarabia
		prerequisite = { focus = UKR_masons focus = UKR_icebreaker }
		x = -1
		y = 1
		relative_position_id = UKR_masons
		cost = 10

		available = {
			78 = { NOT = { is_controlled_by = ROOT } }
			78 = { 
				controller = { 
					NOT = { is_in_faction_with = ROOT } 
					NOT = { has_war_with = ROOT }
				} 
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { has_completed_focus = UKR_icebreaker }
				78 = {
					controller = {
						ROOT = {
							declare_war_on = {
								target = PREV
								type = take_state
								generator = { 78 80 766 }
							}
						}
					}
				}
			}
			else_if = {
				limit = { has_completed_focus = UKR_masons }
				activate_mission = UKR_masons_rebellion_in_romania
			}
			else = {
				custom_effect_tooltip = UKR_natcom_plans_tt
			}
			if = {
				limit = {
					has_idea = UKR_red_blitzkrieg
				}
				modify_timed_idea = {
					idea = UKR_red_blitzkrieg
					days = 90
				}
			}
		}
	}

	focus = {
		id = UKR_natcom_west_ukraine
		icon = GFX_focus_UKR_ultimatum_to_poland
		prerequisite = { focus = UKR_masons focus = UKR_icebreaker }
		x = 1
		y = 1
		relative_position_id = UKR_masons
		cost = 10

		available = {
			91 = { NOT = { is_controlled_by = ROOT } }
			91 = { 
				controller = { 
					NOT = { is_in_faction_with = ROOT } 
					NOT = { has_war_with = ROOT }
				} 
			}
		}

		bypass = {
			country_exists = WUA
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { has_completed_focus = UKR_icebreaker }
				91 = {
					controller = {
						ROOT = {
							declare_war_on = {
								target = PREV
								type = take_state
								generator = { 89 91 93 1052 }
							}
						}
					}
				}
			}
			else_if = {
				limit = { has_completed_focus = UKR_masons }
				activate_mission = UKR_masons_rebellion_in_poland
			}
			else = {
				custom_effect_tooltip = UKR_natcom_plans_tt
			}
			if = {
				limit = {
					has_idea = UKR_red_blitzkrieg
				}
				modify_timed_idea = {
					idea = UKR_red_blitzkrieg
					days = 90
				}
			}
		}
	}

	focus = {
		id = UKR_natcom_transcarpathia
		icon = GFX_focus_UKR_carpathian_ukraine
		prerequisite = { focus = UKR_masons focus = UKR_icebreaker }
		x = 1
		y = 1
		relative_position_id = UKR_icebreaker
		cost = 10

		available = {
			73 = { NOT = { is_controlled_by = ROOT } }
			73 = { 
				controller = { 
					NOT = { is_in_faction_with = ROOT } 
					NOT = { has_war_with = ROOT }
				} 
			}
			OR = {
				has_completed_focus = UKR_masons
				89 = { is_controlled_by = UKR }	
			}
		}

		bypass = {
			country_exists = CUA
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { has_completed_focus = UKR_icebreaker }
				73 = {
					controller = {
						ROOT = {
							declare_war_on = {
								target = PREV
								type = take_state
								generator = { 73 }
							}
						}
					}
				}
			}
			else_if = {
				limit = { has_completed_focus = UKR_masons }
				activate_mission = UKR_masons_rebellion_in_czechoslovakia
			}
			else = {
				custom_effect_tooltip = UKR_natcom_plans_tt
			}
			if = {
				limit = {
					has_idea = UKR_red_blitzkrieg
				}
				modify_timed_idea = {
					idea = UKR_red_blitzkrieg
					days = 90
				}
			}
		}
	}

	focus = {
		id = UKR_division_of_europe_with_ussr
		icon = GFX_focus_UKR_negotiations_with_ussr
		prerequisite = { focus = UKR_masons }
		x = 0
		y = 2
		relative_position_id = UKR_masons
		cost = 10

		available = {
			is_subject = no
			SOV = {
				has_government = communism
				is_subject = no
				NOT = { has_war_with = ROOT }
				NOT = { is_in_faction_with = ROOT }
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			SOV = {
				country_event = { id = ukraine.581 days = 1 }
			}
			custom_effect_tooltip = UKR_division_of_europe_with_ussr_tt
		}
	}

	focus = {
		id = UKR_division_of_europe_with_germany
		icon = GFX_focus_UKR_deal_with_germany
		prerequisite = { focus = UKR_icebreaker }
		x = 0
		y = 2
		relative_position_id = UKR_icebreaker
		cost = 10

		available = {
			is_subject = no
			GER = {
				NOT = { has_completed_focus = GER_alliance_with_the_ussr }
				is_subject = no
				NOT = { has_war_with = ROOT }
				NOT = { is_in_faction_with = ROOT }
			}
			SOV = {
				exists = yes
				NOT = { has_idea = SOV_molotov_ribbentrop_pact }
				NOT = { is_in_faction_with = ROOT }
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			GER = {
				country_event = { id = ukraine.567 days = 1 }
			}
		}
	}

	focus = {
		id = UKR_purge
		icon = GFX_focus_SOV_the_last_purge
		prerequisite = { focus = UKR_road_to_world_revolution }
		x = 0
		y = 1
		relative_position_id = UKR_road_to_world_revolution
		mutually_exclusive = { focus = UKR_natcom_coup }
		cost = 10
		available = {
			has_government = communism
		}

		bypass = {
			has_civil_war = yes
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			hidden_effect = {
				add_dynamic_modifier = {
					modifier = UKR_communists_purge_mod
				}
			}
			custom_effect_tooltip = UKR_purge_modifier_tt
			set_variable = { var_ukr_comm_org_debuff = -0.15 }
			set_variable = { var_ukr_comm_morale_debuff = -0.10 }
			set_variable = { var_ukr_comm_plan_debuff = -0.30 }
			set_variable = { var_ukr_comm_naval_debuff = -0.20 }
			set_variable = { var_ukr_comm_air_debuff = -0.20 }
			set_variable = { var_ukr_steps_of_purge_recovery = 0 }
			retire_character = UKR_yevhen_konovalets
			retire_character = UKR_pavlo_shandruk
			retire_character = UKR_oleksander_gadd
			retire_character = UKR_volodymyr_oskilko
			if = { 
				limit = {
					UKR_pavlo_skoropadskyi = {
						is_field_marshal = yes
					}
				}
				retire_character = UKR_pavlo_skoropadskyi
			}
			if = {
				limit = { has_idea = UKR_grey_eminence }
				remove_ideas = UKR_grey_eminence
			}
			custom_effect_tooltip = UKR_against_civil_war
			unlock_decision_category_tooltip = UKR_recovery_after_communist_purge_category
			set_country_flag = UKR_purge_of_staff
			set_country_flag = UKR_voluntarism_system_active_flag
			set_country_flag = UKR_vlnt_not_more_50
			set_variable = { UKR_voluntarism_value = 0 }
			set_variable = { UKR_voluntarism_main_meter = 1 }
			set_variable = { UKR_voluntarism_weekly_increase = 0.8 }
			hidden_effect = {
				add_ideas = UKR_voluntarism_level_1
				UKR_grigory_petrovsky = { set_character_flag = UKR_khrushchevs_politburea }
				UKR_mykola_skrypnyk = { set_character_flag = UKR_khrushchevs_politburea }
				UKR_demyan_korotchenko = { set_character_flag = UKR_khrushchevs_politburea }
				UKR_leonid_korniyets = { set_character_flag = UKR_khrushchevs_politburea }
				UKR_lazar_kaganovich = { set_character_flag = UKR_khrushchevs_politburea }
			}
			custom_effect_tooltip = UKR_start_voluntarism_tt
		}
	}

	focus = {
		id = UKR_collectivisation
		icon = GFX_focus_prc_agrarian_socialism
		prerequisite = { focus = UKR_purge }
		x = -1
		y = 1
		relative_position_id = UKR_purge
		cost = 10
		available = {
			has_government = communism
		}

		bypass = {
			has_civil_war = yes
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			hidden_effect = { country_event = { id = ukraine.493 days = 7 } }
		}
	}

	focus = {
		id = UKR_communication_with_comintern
		icon = GFX_focus_chi_mission_to_the_soviet_union
		available = {
			is_puppet = no
			has_government = communism
			any_other_country = {
				original_tag = SOV
				exists = yes
				is_puppet = no
				has_government = communism
				has_completed_focus = SOV_the_centre
				NOT = { has_war_with = ROOT }
			}
		}

		bypass = {
			is_in_faction_with = SOV
		}

		prerequisite = { focus = UKR_purge }
		x = 1
		y = 1
		relative_position_id = UKR_purge
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = SOV
					has_government = communism
					has_completed_focus = SOV_the_centre
				}
				country_event = { id = ukraine.13 }
			}
		}
	}

	focus = {
		id = UKR_soviet_advisors
		icon = GFX_focus_AFG_defender_of_central_asia
		available = {
			any_other_country = {
				original_tag = SOV
				exists = yes
				is_puppet = no
				has_government = communism
				NOT = { has_war_with = ROOT }
			}
			has_government = communism
		}

		prerequisite = { focus = UKR_communication_with_comintern focus = UKR_collectivisation }
		x = -1
		y = 1
		relative_position_id = UKR_communication_with_comintern
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			army_experience = 25
			add_doctrine_cost_reduction = {
				name = UKR_soviet_advisors
				cost_reduction = 0.5
				uses = 2
				category = cat_mass_assault
			}
			custom_effect_tooltip = UKR_soviet_advisors_tt
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_decrease_small = yes
			}
		}
	}

	focus = {
		id = UKR_penal_battalions
		icon = GFX_focus_SOV_penal_battalions
		prerequisite = { focus = UKR_soviet_advisors }
		x = 0
		y = 1
		relative_position_id = UKR_soviet_advisors
		cost = 5

		available = {
			has_government = communism
			has_war = yes
			surrender_progress > 0
		}
		
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			#Spawn Penal divisions
			custom_effect_tooltip = UKR_penal_battalions_spawn_tt
			activate_decision = UKR_penal_battalions_period
			hidden_effect = {
				set_technology = { penal_infantry = 1 popup = no }

				division_template = {
					name = "Shtrafna Chastyna"
					is_locked = yes

					regiments = {
						penal_battalion = { x = 0 y = 0 }
						penal_battalion = { x = 0 y = 1 }
						penal_battalion = { x = 0 y = 2 }
						penal_battalion = { x = 1 y = 0 }
						penal_battalion = { x = 1 y = 1 }
						penal_battalion = { x = 1 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}

				every_owned_state = {
					limit = {
						is_owned_and_controlled_by = ROOT
						is_core_of = ROOT
						state_population > 1499999
					}
					create_unit = {
						division = "division_template = \"Shtrafna Chastyna\" start_experience_factor = 0.2 start_equipment_factor = 0.8" 
						owner = ROOT
					}
				}
			}
		}
	}

	focus = {
		id = UKR_second_language
		icon = GFX_focus_UKR_second_language
		available = {
			has_government = communism
			#SOV = {
			#	exists = yes
			#	has_government = communism
			#	is_faction_leader = yes
			#}
			#is_in_faction_with = SOV
		}

		prerequisite = { focus = UKR_collectivisation focus = UKR_communication_with_comintern }
		x = -1
		y = 1
		relative_position_id = UKR_collectivisation
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = { has_idea = UKR_language_question }
				remove_ideas = UKR_language_question
			}
			set_country_flag = UKR_russian_as_state_language_flag
		}
	}

	focus = {
		id = UKR_soviet_support
		icon = GFX_goal_generic_soviet_construction
		available = {
			has_country_flag = UKR_start_of_economic_regulation
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_second_language }
		x = 0
		y = 1
		relative_position_id = UKR_second_language
		cost = 10

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = { has_idea = UKR_outflow_of_capital }
				remove_ideas = UKR_outflow_of_capital
				add_timed_idea = {
					idea = UKR_recreation_of_com_economy
					days = 180
				}
			}
			add_tech_bonus = {
				name = UKR_soviet_support
				bonus = 0.5
				uses = 2
				category = industry
			}
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_decrease_small = yes
			}
		}
	}

	focus = {
		id = UKR_soviet_technologies
		icon = GFX_focus_generic_socialist_science
		available = {
			any_other_country = {
				original_tag = SOV
				exists = yes
				is_puppet = no
				has_government = communism
				is_in_faction_with = ROOT
			}
		}

		bypass = {
			#has_war_with = SOV
			#SOV = { has_government = communism }
		}

		prerequisite = { focus = UKR_collectivisation focus = UKR_communication_with_comintern }
		x = 1
		y = 1
		relative_position_id = UKR_communication_with_comintern
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_soviet_technologies
				bonus = 1.0
				uses = 1
				category = armor
			}
			add_tech_bonus = {
				name = UKR_soviet_technologies
				bonus = 1.0
				uses = 1
				category = air_equipment
			}
			if = {
				limit = { 
					SOV = { has_government = communism }
				}
				add_relation_modifier = {
					target = SOV
					modifier = UKR_license_foreign_equipment
				}
			}
		}
	}

	focus = {
		id = UKR_free_high_school
		icon = GFX_focus_NOR_moscows_education_centers
		prerequisite = { focus = UKR_soviet_technologies }
		x = 0
		y = 1
		relative_position_id = UKR_soviet_technologies
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_ideas = UKR_free_education
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_decrease_small = yes
			}
		}
	}

	focus = {
		id = UKR_ukrainian_community
		icon = GFX_focus_YUG_pan_slavic_congress
		available = {
			has_government = communism
		}
		prerequisite = { focus = UKR_free_high_school }
		prerequisite = { focus = UKR_soviet_support }
		x = 2
		y = 1
		relative_position_id = UKR_soviet_support
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 73
			add_state_claim = 80
			add_state_claim = 766			
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_demand_western_ukraine
		icon = GFX_focus_UKR_demand_west_ukraine
		prerequisite = { focus = UKR_ukrainian_community }
		x = 0
		y = 1
		relative_position_id = UKR_ukrainian_community
		cost = 10
		available = {
			has_government = communism
			#any_other_country = {
			#	original_tag = SOV
			#	exists = yes
			#	is_puppet = no
			#	has_government = communism
			#	is_in_faction_with = ROOT
			#}
		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {
					89 = {
						controller = {
							original_tag = POL 
						}
						owner = {
							original_tag = POL 
						}
					}
					91 = {
						controller = {
							original_tag = POL 
						}
						owner = {
							original_tag = POL 
						}
					}
					93 = {
						controller = {
							original_tag = POL 
						}
						owner = {
							original_tag = POL 
						}
					}
					1052 = {
						controller = {
							original_tag = POL 
						}
						owner = {
							original_tag = POL 
						}
					}
				}
			}
		}
		will_lead_to_war_with = POL

		ai_will_do = {
			factor = 10
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			POL = { country_event = { id = ukraine.163 } }
		}
	}

	focus = {
		id = UKR_defense_against_capitalism
		icon = GFX_focus_spr_the_anti_fascist_workers_revolution

		prerequisite = { focus = UKR_demand_western_ukraine }
		x = -1
		y = 1
		relative_position_id = UKR_demand_western_ukraine
		cost = 10

		available = {
			has_government = communism 
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_timed_idea = {
				idea = ITA_defense_against_capitalism
				days = 730
			}

			custom_effect_tooltip = UKR_defense_against_capitalism_tt
			hidden_effect = {
				set_variable = { UKR_enemies_neighbors = 0 }
				every_neighbor_country = {
					limit = {
						NOT = { has_government = communism }
					}
					if = {
						limit = {
							check_variable = { UKR_enemies_neighbors < 0.1 }
						}
					}
					ROOT = { add_to_variable = { UKR_enemies_neighbors = 0.02 } }
				}
				add_war_support = UKR_enemies_neighbors
			}

		}
	}

	focus = {
		id = UKR_red_alert
		icon = GFX_focus_SOV_proclaim_soviet_hegemony

		prerequisite = { focus = UKR_demand_western_ukraine }
		x = 1
		y = 1
		relative_position_id = UKR_demand_western_ukraine
		cost = 10

		available = {
			has_government = communism 
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = UKR_red_offensive
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_increase_small = yes
			}
		}
	}

	focus = {
		id = UKR_liberation_of_the_proletariat
		icon = GFX_focus_SOV_the_glory_of_the_red_army_communism
		prerequisite = { focus = UKR_red_alert }
		prerequisite = { focus = UKR_defense_against_capitalism }
		x = -1
		y = 1
		relative_position_id = UKR_red_alert
		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_war = yes
			}
		}

		available = {
			has_government = communism
			is_subject = no
			NOT = {
				any_other_country = {
					original_tag = SOV
					has_government = communism
					has_idea = SOV_molotov_ribbentrop_pact
				}
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = BUL_liberation_of_the_proletariat_tt
			every_other_country = {
				limit = {
					OR = {
						AND = {
							is_major = yes
							capital_scope = { is_on_continent = europe }
						}
						is_neighbor_of = ROOT
					}
					OR = {
						has_government = fascism
						has_government = neutrality
					}
					NOT = { is_in_faction_with = ROOT }
				}
				hidden_effect = {
					ROOT = {
						create_wargoal = {
							type = topple_government
							target = PREV
							expire = 730
						}
					}
				}
			}
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_increase_small = yes
			}
		}
	}

	focus = {
		id = UKR_humane_communism
		icon = GFX_focus_UKR_humane_communism
		prerequisite = { focus = UKR_communism_propaganda }
		mutually_exclusive = { focus = UKR_road_to_world_revolution }
		x = 2
		y = 1
		relative_position_id = UKR_communism_propaganda
		cost = 8

		available = {
			has_government = communism
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			#set_politics = {
			#	ruling_party = communism
			#	elections_allowed = yes
			#}
			set_cosmetic_tag = UKR_V
			country_event = ukraine.219
			set_party_name = { ideology = communism name = UKR_socialist_party_short long_name = UKR_socialist_party_long }
			set_variable = { var_ukr_relations_with_new_ussr = 0 } #relation in case of oppositional rebellion in USSR
			# focuses for inner circle
			set_country_flag = UKR_soc_inner_circle_is_available
			hidden_effect = {
				mark_focus_tree_layout_dirty = yes
			}

		}
	}

	focus = {
		id = UKR_savior_for_party
		icon = GFX_focus_ger_strike_at_the_source
		prerequisite = { focus = UKR_humane_communism }
		x = 2
		y = 1
		relative_position_id = UKR_humane_communism
		cost = 5

		available = {
			has_government = communism
			has_global_flag = trotsky_came_back_in_ukraine
			NOT = { has_completed_focus = UKR_secsec_trotsky }
			SOV = {
				NOT = { has_government = communism }
				has_civil_war = yes
			}
			any_other_country = {
				original_tag = SOV
				has_government = communism
				has_completed_focus = SOV_the_centre
				has_civil_war = yes
				surrender_progress > 0.25
				NOT = { has_war_with = ROOT }
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = SOV
					has_government = communism
					has_civil_war = yes
					has_completed_focus = SOV_the_centre
				}
				country_event = ukraine.437
			}
			custom_effect_tooltip = UKR_savior_for_party_tt
		}
	}

	focus = {
		id = UKR_wealth_tax
		icon = GFX_focus_ETH_adopt_the_lira
		prerequisite = { focus = UKR_humane_communism focus = UKR_road_to_world_revolution }
		x = -2
		y = 1
		relative_position_id = UKR_humane_communism
		cost = 10

		available = {
			has_government = communism
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = UKR_accumulated_wealth_tax
			if = {
				limit = { communism < 0.7 }
				add_stability = -0.05
			}
			unlock_decision_category_tooltip = UKR_nationalisation
			if = {
				limit = { has_completed_focus = UKR_purge }
				custom_effect_tooltip = UKR_wealth_tax_tt
			}
			set_variable = { UKR_steps_of_nationalisation = 0 }
		}
	}

	focus = {
		id = UKR_anti_religious_campaign
		icon = GFX_focus_mex_triumph_over_the_cristeros
		prerequisite = { focus = UKR_wealth_tax }
		x = 0
		y = 1
		relative_position_id = UKR_wealth_tax
		cost = 10

		available = {
			has_government = communism
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			activate_decision = UKR_anti_religious_decision
			add_political_power = 100
			if = {
				limit = { communism < 0.7 }
				add_stability = -0.05
			}
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_agrarian_reform
		icon = GFX_focus_UKR_agrarian_reform
		prerequisite = { focus = UKR_humane_communism }
		x = 0
		y = 1
		relative_position_id = UKR_humane_communism
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_political_power = 120
			add_stability = 0.05	
		}
	}

	focus = {
		id = UKR_red_squad
		icon = GFX_focus_SOV_builder_of_the_red_army
		prerequisite = { focus = UKR_agrarian_reform }
		x = 0
		y = 1
		relative_position_id = UKR_agrarian_reform
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		bypass = {
			has_civil_war = yes
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = UKR_red_squads
			hidden_effect = {
				add_dynamic_modifier = {
					modifier = UKR_communists_purge_mod
				}
			}
			custom_effect_tooltip = UKR_purge_modifier_tt
			set_variable = { var_ukr_comm_org_debuff = -0.15 }
			set_variable = { var_ukr_comm_morale_debuff = -0.10 }
			set_variable = { var_ukr_comm_plan_debuff = -0.30 }
			set_variable = { var_ukr_comm_naval_debuff = -0.20 }
			set_variable = { var_ukr_comm_air_debuff = -0.20 }
			set_variable = { var_ukr_steps_of_purge_recovery = 0 }
			retire_character = UKR_yevhen_konovalets
			retire_character = UKR_oleksander_gadd
			custom_effect_tooltip = UKR_against_civil_war
			unlock_decision_category_tooltip = UKR_recovery_after_communist_purge_category
			set_country_flag = UKR_purge_of_staff
		}
	}

	focus = {
		id = UKR_internationalism
		icon = GFX_focus_GER_proletarian_solidarity
		prerequisite = { focus = UKR_red_squad }
		x = 0
		y = 1
		relative_position_id = UKR_red_squad
		cost = 10

		available = {
			has_government = communism
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = { is_in_faction = no }
				create_faction = AntiFascistUnion
				mark_focus_tree_layout_dirty = yes
			}
			if = {
				limit = { has_dlc = "La Resistance" }
				add_ideas = UKR_lar_internationalism_idea
			}
			else = { 
				add_ideas = UKR_internationalism_idea 
			}
			
			every_neighbor_country = {
				limit = {
					NOT = { has_war_with = UKR }
					NOT = { has_government = communism }
					is_major = no
				}
				add_timed_idea = {
					idea = UKR_international_influence
					days = 730
				}
			}
		}
	}

	focus = {
		id = UKR_support_soviet_opposition
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = UKR_internationalism }
		x = 2
		y = 1
		relative_position_id = UKR_internationalism
		cost = 5

		available = {
			SOV = {
				OR = {
					has_completed_focus = SOV_the_left_opposition
					has_completed_focus = SOV_the_right_opposition
				}
				has_government = communism
				has_civil_war = yes
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			unlock_decision_category_tooltip = UKR_support_left_right_opposition
		}
	}

	focus = {
		id = UKR_reload_sov_relations
		icon = GFX_focus_UKR_negotiations_with_ussr
		prerequisite = { focus = UKR_support_soviet_opposition }
		x = 0
		y = 1
		relative_position_id = UKR_support_soviet_opposition
		cost = 10

		available = {
			is_faction_leader = yes
			SOV = {
				exists = yes
				OR = {
					has_completed_focus = SOV_the_left_opposition
					has_completed_focus = SOV_the_right_opposition
				}
				has_government = communism
				has_civil_war = no
				NOT = { has_war_with = ROOT }
				is_subject = no
				NOT = { is_in_faction_with = ROOT }
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			SOV = {
				country_event = { id = ukraine.541 days = 1 }
			}
		}
	}

	focus = {
		id = UKR_antifascism
		icon = GFX_focus_ITA_liberation_or_death
		prerequisite = { focus = UKR_internationalism }
		x = 0
		y = 1
		relative_position_id = UKR_internationalism
		cost = 10

		available = {
			NOT = { has_war_with = POL }
			is_faction_leader = yes
		}

		bypass = {
			POL = {
				OR = {
					is_in_faction = yes
					exists = no
					is_puppet = yes
					has_government = fascism
				}
			}
			CZE = {
				OR = {
					exists = no
					is_puppet = yes
					has_government = fascism
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = {
					POL = {
						exists = yes
						is_puppet = no
						NOT = { has_government = fascism }
						NOT = { has_war_with = ROOT }
					}
				}
				POL = { country_event = { id = ukraine.57 days = 1 } }
				
			}
			if = {
				limit = {
					BLR = {
						exists = yes
						is_puppet = no
						NOT = { has_government = fascism }
						NOT = { has_war_with = ROOT }
					}
				}
				BLR = { country_event = { id = ukraine.57 days = 1 } }
				
			}
			if = {
				limit = {
					CZE = {
						has_war = no
						exists = yes
					}
				}
				give_guarantee = CZE
			}
			every_other_country = {
				limit = { 
					has_government = fascism
					num_of_controlled_states > 5
				}
				add_opinion_modifier = { 
					target = ROOT
					modifier = UKR_antifascism_politic
				}
			}
		}
	}

	focus = {
		id = UKR_support_from_france
		icon = GFX_focus_chi_reach_out_to_france
		prerequisite = { focus = UKR_antifascism }
		x = -2
		y = 1
		relative_position_id = UKR_antifascism
		cost = 10

		available = {
			has_government = communism
			NOT = { has_war_with = FRA }
			FRA = {
				exists = yes
				is_puppet = no
				OR = {
					communism > 0.5
					has_government = communism
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			FRA = { add_opinion_modifier = { target = UKR modifier = UKR_french_opinion } }
			if = {
				limit = { is_ally_with = FRA }
				FRA = { country_event = { id = ukraine.287 days = 1 } }
			}
			else = {
				FRA = { country_event = { id = ukraine.288 days = 1 } }
			}
		}
	}

	focus = {
		id = UKR_yugoslavian_congress
		icon = GFX_focus_invite_yugoslavia
		prerequisite = { focus = UKR_antifascism }
		x = 0
		y = 1
		relative_position_id = UKR_antifascism
		cost = 10

		available = {
			NOT = { has_war_with = YUG }
			is_faction_leader = yes
		}

		bypass = {
			YUG = {
				OR = {
					is_in_faction = yes
					exists = no
					is_puppet = yes
					has_government = fascism
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			YUG = { country_event = { id = ukraine.57 days = 1 } }
			if = {
				limit = {
					BUL = {
						OR = {
							has_government = democratic
							has_government = communism
						}
						exists = yes
						is_puppet = no
						is_in_faction = no
					}
				}
				BUL = { country_event = { id = ukraine.57 days = 1 } }
			}
			else = {
				if = {
					limit = {
						BUL = {
							exists = yes
							is_puppet = no
							is_in_faction = no
						}
					}
					country_event = { id = ukraine.147 days = 2 }
				}
			}
		}
	}

	focus = {
		id = UKR_romanian_revolution
		icon = GFX_focus_UKR_romanian_revolution
		prerequisite = { focus = UKR_ukrainian_community focus = UKR_yugoslavian_congress }
		x = -3
		y = 1
		relative_position_id = UKR_yugoslavian_congress
		cost = 10

		available = {
			ROM = { 
				communism > 0.3 
				has_civil_war = no
				has_capitulated = no
			}
		}

		bypass = {
			OR = {
				is_in_faction_with = ROM
				ROM = {
					OR = {
						exists = no
						has_government = communism
					}
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			ROM = { country_event = { id = ukraine.146 } }
		}
	}

	focus = {
		id = UKR_invite_spain
		icon = GFX_focus_generic_befriend_communist_spain_focus
		prerequisite = { focus = UKR_yugoslavian_congress }
		x = 0
		y = 1
		relative_position_id = UKR_yugoslavian_congress
		cost = 10

		available = {
			is_faction_leader = yes
			has_government = communism
			NOT = { has_war_with = SPR }
			SPR = { has_civil_war = no }
			any_other_country = {
				original_tag = SPR
				is_in_faction = no
				exists = yes
				is_puppet = no
				OR = {
					has_government = communism
					has_government = democratic
				}
			}
		}

		bypass = {
			any_other_country = {
				original_tag = SPR
				OR = {
					has_government = fascism
					has_government = neutrality
				}
				has_civil_war = no
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = SPR
					OR = {
						has_government = communism
						has_government = democratic
					}
				}
				country_event = { id = ukraine.57 days = 1 }
			}
		}
	}

	focus = {
		id = UKR_hungarian_revolution
		icon = GFX_focus_UKR_hungarian_strike
		prerequisite = { focus = UKR_yugoslavian_congress focus = UKR_volunteer_corps }
		will_lead_to_war_with = HUN
		x = 5
		y = 8
		offset = {
			x = -7
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_democratic_reforms
					has_completed_focus = UKR_old_course
				}
			}
		}
		offset = {
			x = 10
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		relative_position_id = UKR_allow_CPU
		cost = 10

		available = {
			OR = {
				AND = {
					has_government = democratic
					rada_high_support_trigger = yes
				}
				has_government = communism
			}
			HUN = { 
				OR = {
					has_government = fascism
					has_government = neutrality
				} 
			}
		}

		bypass = {
			OR = {
				is_in_faction_with = HUN
				has_war_with = HUN
				HUN = {
					OR = {
						exists = no
						has_government = communism
						has_government = democratic
					}
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
			modifier = {
				HUN = { is_in_faction = yes }
				factor = 0
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { has_government = communism }
				create_wargoal = {
					type = puppet_wargoal_focus
					target = HUN
				}
			}
			else = {
				create_wargoal = {
					type = topple_government
					target = HUN
				}
			}
		}
	}

	focus = {
		id = UKR_socialistic_science
		icon = GFX_goal_tfv_generic_tech_sharing
		available = {
			is_faction_leader = yes
			has_government = communism
			num_faction_members > 3
		}

		allow_branch = {
			NOT = { 
				OR = {
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
					has_completed_focus = UKR_revanchism
				}
			}
		}

		prerequisite = { focus = UKR_romanian_revolution focus = UKR_invite_spain focus = UKR_hungarian_revolution }
		x = 0
		y = 1
		relative_position_id = UKR_invite_spain
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = UKR_free_education
			#add_to_tech_sharing_group = UKR_socialistic_research
			#every_other_country = {
			#	limit = {
			#		is_in_faction_with = UKR
			#	}
			#	add_to_tech_sharing_group = UKR_socialistic_research
			#}
		}
	}

	focus = {
		id = UKR_technical_cooperation
		icon = GFX_focus_UKR_technical_cooperation
		prerequisite = { focus = UKR_romanian_revolution focus = UKR_invite_spain focus = UKR_hungarian_revolution }
		x = 2
		y = 1
		relative_position_id = UKR_invite_spain
		available = {
			is_faction_leader = yes
			has_government = communism
		}

		allow_branch = {
			NOT = { 
				OR = {
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
					has_completed_focus = UKR_revanchism
				}
			}
		}

		cost = 10

		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = UKR_technical_cooperation
				bonus = 1.0
				uses = 1
				category = armor
			}
			add_tech_bonus = {
				name = UKR_technical_cooperation
				bonus = 1.0
				uses = 1
				category = air_equipment
			}
			every_other_country = {
				limit = { is_in_faction_with = UKR }
				add_tech_bonus = {
					name = UKR_technical_cooperation
					bonus = 1.0
					uses = 1
					category = armor
				}
				add_tech_bonus = {
					name = UKR_technical_cooperation
					bonus = 1.0
					uses = 1
					category = air_equipment
				}
			}
			#add_ideas = UKR_soc_cooperation
			#custom_effect_tooltip = GER_pool_technical_know_how_tt
			#hidden_effect = {
			#	every_other_country = {
			#		limit = { is_in_faction_with = UKR }
			#		add_ideas = UKR_soc_cooperation
			#	}
			#}
		}
	}

	focus = {
		id = UKR_world_of_cyril_and_methodius
		icon = GFX_focus_UKR_cyril_and_methodius
		prerequisite = { focus = UKR_socialistic_science focus = UKR_technical_cooperation }
		x = 1
		y = 1
		relative_position_id = UKR_socialistic_science
		available = {
			is_faction_leader = yes
			has_government = communism

			custom_trigger_tooltip = {
				tooltip = UKR_cyril_and_methodius_tt
				NOT = { 
					any_country = {
						NOT = { tag = ENG }
						has_government = fascism
						is_puppet = no
						capital_scope = {
							is_on_continent = europe
						}
					}
				}
			}
		}
		cost = 10

		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			add_ideas = UKR_tfv_pan_slavic_idea
			set_faction_name = EuropeanInternational
			custom_effect_tooltip = UKR_additional_decisions
			set_variable = { count_of_slav_integrations = 0 }
		}
	}

	focus = {
		id = UKR_chongar_incident
		icon = GFX_focus_generic_provoke_border_clashes
		prerequisite = { focus = UKR_demand_western_ukraine focus = UKR_romanian_revolution focus = UKR_red_cossacks focus = UKR_invite_spain }
		x = 3
		y = 1
		relative_position_id = UKR_demand_western_ukraine
		cost = 10

		available = {
			NOT = {
				has_war_with = CRM
				is_in_faction_with = CRM
			}
			CRM = { exists = yes }
			CRM = { is_puppet = no }
			196 = { is_owned_and_controlled_by = UKR }
		}

		bypass = { 1051 = { is_owned_and_controlled_by = UKR } }

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			#activate_decision = UKR_chongar_incident_decision
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_new_red_fleet
		icon = GFX_focus_hol_legacy_of_the_de_zeven_provincien_mutiny
		prerequisite = { focus = UKR_chongar_incident }
		x = 0
		y = 1
		relative_position_id = UKR_chongar_incident
		cost = 10

		available = {
			197 = { is_owned_and_controlled_by = UKR }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					OR = {
						137 = { is_controlled_by = UKR }
						any_other_country = { 
							controls_state = 137
							OR = {
								is_in_faction_with = UKR
								is_puppet_of = UKR
							}
						}
					} 
				}
				add_doctrine_cost_reduction = {
					name = UKR_new_red_fleet
					cost_reduction = 0.5
					uses = 2
					category = naval_doctrine
				}
				197 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
				137 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				add_doctrine_cost_reduction = {
					name = UKR_new_red_fleet
					cost_reduction = 0.5
					uses = 1
					category = naval_doctrine
				}
				197 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
				custom_effect_tooltip = UKR_new_red_fleet_tt
			}
		}
	}

	focus = {
		id = UKR_democratic_reforms
		icon = GFX_focus_UKR_democratic_reforms
		prerequisite = { focus = UKR_political_effort }
		mutually_exclusive = { focus = UKR_communism_propaganda focus = UKR_old_course focus = UKR_revanchism }
		x = -5
		y = 1
		relative_position_id = UKR_political_effort
		cost = 8

		allow_branch = {
			NOT = {
				OR = {
					has_completed_focus = UKR_revanchism
					has_completed_focus = UKR_communism_propaganda
				}
			}
		}

		available_if_capitulated = yes

		bypass = {
			has_government = democratic
		}

		ai_will_do = {
			factor = 10
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = UKR_democratic_dream
			add_ideas = UKR_opposition_of_reforms
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_kost_levytsky
			hidden_effect = {
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	focus = {
		id = UKR_lustration
		icon = GFX_focus_UKR_lustration
		prerequisite = { focus = UKR_democratic_reforms }
		mutually_exclusive = { focus = UKR_trash_lustration }
		x = -1
		y = 1
		relative_position_id = UKR_democratic_reforms
		cost = 10

		allow_branch = {
			NOT = {
				has_country_flag = UKR_altdem_branch_is_available
				OR = {
					has_completed_focus = UKR_revanchism
					has_completed_focus = UKR_communism_propaganda
				}
			}
		}

		available = {
			has_government = democratic
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			remove_ideas = UKR_opposition_of_reforms
			add_political_power = 100
			hidden_effect = {
				if = { 
					limit = { has_country_flag = UKR_arrival_of_yakov_blyumkin_flag }
					UKR_recruting_of_yakov_blyumkin = yes
				}
			}
		}
	}

	focus = {
		id = UKR_new_workers_law
		icon = GFX_focus_generic_treaty
		prerequisite = { focus = UKR_humane_communism focus = UKR_lustration focus = UKR_emergency_situation }
		x = 6
		y = 3
		offset = {
			x = -7
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_democratic_reforms
					has_completed_focus = UKR_old_course
				}
			}
		}
		offset = {
			x = 10
			y = 0
			trigger = {
				has_completed_focus = UKR_communism_propaganda
			}
		}
		relative_position_id = UKR_allow_CPU

		cost = 10
		available = {
			OR = {
				AND = {
					has_government = democratic
					rada_low_support_trigger = yes
				}
				has_government = communism
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_ideas = UKR_workers_law
			if = { limit = { has_government = democratic } 
				UKR_rada_small_opposition = yes
			}
			if = {
				limit = {
					has_any_power_balance = yes
					has_government = democratic 
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
		}
	}

	focus = {
		id = UKR_womens_suffrage
		icon = GFX_focus_hol_the_foundations_of_defense
		prerequisite = { focus = UKR_new_workers_law }
		x = -1
		y = 1
		relative_position_id = UKR_new_workers_law
		cost = 5

		available = {
			OR = {
				AND = {
					has_government = democratic
					rada_low_support_trigger = yes
				}
				has_government = communism
			}
		}

		available_if_capitulated = yes
		continue_if_invalid = yes
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}	
			set_rule = {
				can_generate_female_aces = yes
			}
			if = { 
				limit = { has_government = democratic } 
				UKR_rada_small_support = yes
			}
			hidden_effect = {
				UKR_kristina_sushko = {
					unit_leader_event = { id = ukraine.341 days = 30 }
				}
			}
		}
	}

	focus = {
		id = UKR_administrative_reform
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = UKR_new_workers_law }
		x = 1
		y = 1
		relative_position_id = UKR_new_workers_law
		cost = 10

		available = {
			OR = {
				AND = {
					has_government = democratic
					rada_medium_support_trigger = yes
				}
				has_government = communism
			}
			has_idea = UKR_language_question
		}

		available_if_capitulated = yes
		continue_if_invalid = yes
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			if = {
				limit = {
					has_idea = UKR_language_question
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
			}
			country_event = ukraine.344
		}
	}

	focus = {
		id = UKR_project_prosvita
		icon = GFX_focus_UKR_prosvita
		prerequisite = { focus = UKR_administrative_reform }
		prerequisite = { focus = UKR_womens_suffrage }
		x = -1
		y = 1
		relative_position_id = UKR_administrative_reform
		cost = 10

		available = {
			OR = {
				has_government = democratic
				has_government = communism
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_PROPAGANDA }
		completion_reward = {
			add_stability = 0.05
			add_ideas = UKR_prosvita
			if = {
				limit = { has_idea = UKR_forced_ukrainization }
				modify_timed_idea = {
				    idea = UKR_forced_ukrainization
				    days = -365
				}
			}
			set_variable = { var_ukr_integration_cost_small = 25 }
			set_variable = { var_ukr_integration_cost_big = 50 }
			custom_effect_tooltip = UKR_integration_cost_reduction_tt
		}
	}


	focus = {
		id = UKR_peace_politic
		icon = GFX_focus_UKR_peace_politic
		prerequisite = { focus = UKR_lustration }
		mutually_exclusive = { focus = UKR_alliance_with_Poland focus = UKR_Ukraine_first }
		x = 1
		y = 1
		relative_position_id = UKR_lustration
		cost = 5

		available = {
			NOT = { has_war_with = DKR }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			if = {
				limit = { is_in_faction = no }
				add_ideas = UKR_ready_for_alliance
			}
			add_opinion_modifier = { target = POL modifier = UKR_peace_politic }
			POL = { add_opinion_modifier = { target = ROOT modifier = UKR_peace_politic } }
			every_other_country = {
				limit = { 
					has_government = democratic
					num_of_factories > 30
					NOT = { tag = POL }
				}
				add_opinion_modifier = { 
					target = ROOT
					modifier = UKR_peace_politic
				}
			}
			set_variable = { UKR_dem_bop_decrease_cost = 25 }
			set_variable = { UKR_dem_bop_increase_cost = 25 }
			set_power_balance = {
				id = UKR_power_balance
				left_side = UKR_isolationism_side	
				right_side = UKR_interventionism_side	
				set_default = no
				set_value = -0.15
			}
		}
	}

	focus = {
		id = UKR_attract_investment
		icon = GFX_focus_generic_the_giant_wakes
		available = {
			is_puppet = no
			has_government = democratic
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_lustration }
		x = -1
		y = 1
		relative_position_id = UKR_lustration
		cost = 5

		available_if_capitulated = yes
		continue_if_invalid = yes
		cancel_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			unlock_decision_category_tooltip = UKR_investitions
		}
	}

	focus = {
		id = UKR_go_to_allies
		icon = GFX_focus_generic_diplomatic_treaty
		available = {
			is_puppet = no
			has_government = democratic
			has_offensive_war = no
			threat > 0.15
			OR = {
				ENG = { 
					NOT = { has_completed_focus = ENG_a_change_in_course }
					is_faction_leader = yes
				}
				FRA = { 
					has_completed_focus = FRA_review_foreign_policy
					is_faction_leader = yes
				}
				GER = { 
					has_government = democratic 
					is_faction_leader = yes
				}
			}
			rada_low_support_trigger = yes
		}

		bypass = {
			is_in_faction = yes
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_peace_politic }
		mutually_exclusive = { focus = UKR_get_guarantees }
		x = -1
		y = 1
		relative_position_id = UKR_peace_politic
		cost = 10

		available_if_capitulated = yes
		continue_if_invalid = yes
		cancel_if_invalid = no

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_political_power = 50
			country_event = { id = ukraine.173 }
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
		}
	}

	focus = {
		id = UKR_get_guarantees
		icon = GFX_goal_generic_defence
	
		prerequisite = { focus = UKR_peace_politic }
		mutually_exclusive = { focus = UKR_go_to_allies }
		x = 1
		y = 1
		relative_position_id = UKR_peace_politic
		cost = 10

		available = {
			rada_medium_support_trigger = yes
			is_subject = no
		}

		bypass = {
			is_in_faction = yes
		}

		available_if_capitulated = yes
		continue_if_invalid = yes
		cancel_if_invalid = no

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			set_rule = {
				can_create_factions = yes
			}
			every_other_country = {
				limit = {
					OR = {
						tag = POL
						tag = EST
						tag = LAT
						tag = LIT
						tag = HUN
						tag = CZE
						tag = ROM
						tag = BUL
						tag = TUR
						tag = GRE
						tag = YUG
						tag = ALB
					}
					OR = {
						has_government = democratic
						has_government = neutrality
					}
					exists = yes
					has_war = no
					is_puppet = no
					is_in_faction = no
				}
				country_event = { id = ukraine.505 days = 1 }
			}
			custom_effect_tooltip = UKR_get_guarantees_tt
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_join_to_league_of_nations
		prerequisite = { focus = UKR_get_guarantees }
		icon = GFX_focus_generic_league_of_nations
		x = 1
		y = 1
		relative_position_id = UKR_get_guarantees
		cost = 5

		available = {
			has_war = no
			threat < 1
			rada_medium_support_trigger = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}	

		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			UKR_rada_small_opposition = yes
			if = {
				limit = { has_idea = UKR_ready_for_alliance }
				swap_ideas = {
					add_idea = UKR_member_of_league_of_nations
					remove_idea = UKR_ready_for_alliance
				}
			}
			else = {
				add_ideas = UKR_member_of_league_of_nations
			}
		}
	}

	focus = {
		id = UKR_british_experience
		prerequisite = { focus = UKR_go_to_allies }
		icon = GFX_focus_chi_british_cooperation
		x = -1
		y = 1
		relative_position_id = UKR_go_to_allies
		cost = 10

		available = {
			is_in_faction_with = ENG
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}	

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_british_experience
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			add_tech_bonus = {
				name = UKR_british_experience
				bonus = 1.0
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = UKR_british_experience
				bonus = 1.0
				uses = 1
				category = radar_tech
			}
		}
	}

	focus = {
		id = UKR_defense_committee
		icon = GFX_focus_UKR_defense_committee
		available = {
			rada_medium_support_trigger = yes
		}

		bypass = {
			has_war = yes
		}

		cancel_if_invalid = no

		prerequisite = { focus = UKR_go_to_allies focus = UKR_get_guarantees }
		x = 1
		y = 1
		relative_position_id = UKR_go_to_allies
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_war_support = 0.10
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_wartime_measures
		icon = GFX_focus_generic_army_tanks2
		available = {
			OR = {
				has_war = yes
				AND = {
					rada_medium_support_trigger = yes
					threat > 0.5
				}
			}
		}

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

		cancel_if_invalid = no

		prerequisite = { focus = UKR_defense_committee }
		x = -2
		y = 1
		relative_position_id = UKR_defense_committee
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = { 
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
				}
				add_ideas = war_economy
			}
			if = {
				limit = {
					OR = {
						has_idea = volunteer_only
						has_idea = limited_conscription
						has_idea = disarmed_nation
					}
				}
				add_ideas = extensive_conscription
			}
			if = {
				limit = { has_war = no }
				add_popularity = {
					ideology = democratic
					popularity = -0.03
				}
			}
			add_power_balance_value = {
				id = UKR_power_balance
				value = 0.15
			}
		}
	}

	focus = {
		id = UKR_tehnological_sharing
		icon = GFX_goal_generic_scientific_exchange
		available = {
			any_other_country = {
				is_faction_leader = yes
				is_in_faction_with = UKR
			}
			is_in_faction = yes
		}

		prerequisite = { focus = UKR_defense_committee }
		x = 0
		y = 1
		relative_position_id = UKR_defense_committee
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = { 
					is_in_faction_with = ENG
				}
				add_to_tech_sharing_group = commonwealth_research
			}
			else = {
				add_to_tech_sharing_group = UKR_ally_research
				every_other_country = {
					limit = { 
						is_in_faction_with = UKR
					}
					add_to_tech_sharing_group = UKR_ally_research
				}
			}
		}
	}

	focus = {
		id = UKR_support_from_west
		icon = GFX_goal_generic_major_alliance
		available = {
			has_war = yes
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_defense_committee }
		x = 2
		y = 1
		relative_position_id = UKR_defense_committee
		cost = 10
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = UKR_death_or_freedom_idea
			unlock_decision_category_tooltip = UKR_request_allied_favors
			unlock_decision_category_tooltip = UKR_death_or_freedom
		}
	}

	focus = {
		id = UKR_london_arbitrage
		icon = GFX_focus_generic_polish_deal
		available = {
			any_other_country = {
				is_faction_leader = yes
				is_major = yes
				has_government = democratic
				is_in_faction_with = UKR
				NOT = { tag = POL }
			}
			#is_in_faction_with = POL
			GER = {
				OR = {
					NOT = { has_government = fascism }
					exists = no
					is_puppet = yes
					has_capitulated = yes
				}
			}
			89 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			91 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			93 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			1022 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
		}

		bypass = {
			89 = { is_owned_and_controlled_by = ROOT }
			91 = { is_owned_and_controlled_by = ROOT }
			93 = { is_owned_and_controlled_by = ROOT }
			1022 = { is_owned_and_controlled_by = ROOT }
		}

		prerequisite = { focus = UKR_tehnological_sharing focus = UKR_wartime_measures focus = UKR_support_from_west }
		#mutually_exclusive = { focus = UKR_plebiscite_for_west_ukraine }
		x = 1
		y = 1
		relative_position_id = UKR_tehnological_sharing
		cost = 10

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		
		completion_reward = {
			random_other_country = {
				limit = {
					is_faction_leader = yes
					is_major = yes
					has_government = democratic
					is_in_faction_with = UKR	
				}
				country_event = { id = ukraine.32 }
			}
		}
	}
	
	focus = {
		id = UKR_reconciliation_with_belarus
		icon = GFX_focus_BLR_mozyr_question
		available = {
			is_puppet = no
			194 = {
				owner = {
					original_tag = UKR
				}
				controller = {
					original_tag = UKR
				}
			}
			1025 = {
				owner = {
					original_tag = BLR
				}
				controller = {
					original_tag = BLR
				}
			}			
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			BLR = {
				OR = {
					exists = no
					is_puppet = yes
					has_war_with = UKR
				}
			}
		}

		prerequisite = { focus = UKR_tehnological_sharing focus = UKR_wartime_measures focus = UKR_support_from_west }
		x = -1
		y = 1
		relative_position_id = UKR_tehnological_sharing
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			BLR = { country_event = belarus.247 }
			custom_effect_tooltip = UKR_reconciliation_with_belarus_tt
		}
	}

	focus = {
		id = UKR_plebiscite_for_west_ukraine
		icon = GFX_goal_generic_position_armies
		available = {
			is_puppet = no
			OR = {
				custom_trigger_tooltip = {
					tooltip = UKR_plebiscite_for_west_ukraine_1_tt
					has_capitulated = no
					OR = {
						89 = { controller = { original_tag = POL } }
						91 = { controller = { original_tag = POL } }
						93 = { controller = { original_tag = POL } }
						1022 = { controller = { original_tag = POL } }
					}
					89 = { owner = { original_tag = POL } }
					91 = { 
						owner = { 
							original_tag = POL 
							is_in_faction_with = ROOT
							has_capitulated = yes
						} 
					}
					93 = { owner = { original_tag = POL } }
					1022 = { owner = { original_tag = POL } }
				}
				custom_trigger_tooltip = {
					tooltip = UKR_plebiscite_for_west_ukraine_2_tt
					89 = { 
						is_controlled_by = ROOT 
						NOT = { is_owned_by = ROOT }
					}
					91 = { 
						is_controlled_by = ROOT 
						NOT = { is_owned_by = ROOT }
					}
					93 = { 
						is_controlled_by = ROOT 
						NOT = { is_owned_by = ROOT }
					}
					1022 = { 
						is_controlled_by = ROOT 
						NOT = { is_owned_by = ROOT }
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			89 = { is_owned_and_controlled_by = ROOT }
			91 = { is_owned_and_controlled_by = ROOT }
			93 = { is_owned_and_controlled_by = ROOT }
			1022 = { is_owned_and_controlled_by = ROOT }
		}

		prerequisite = { focus = UKR_wartime_measures }
		prerequisite = { focus = UKR_reconciliation_with_belarus }
		#mutually_exclusive = { focus = UKR_london_arbitrage }
		x = -2
		y = 2
		relative_position_id = UKR_tehnological_sharing
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = {
					91 = { is_controlled_by = ROOT }
				}
				91 = {
					owner = {
						country_event = { id = ukraine.184 days = 1 }
					}
				}
				89 = { set_state_owner_to = ROOT }
				91 = { set_state_owner_to = ROOT }
				93 = { set_state_owner_to = ROOT }
				1022 = { set_state_owner_to = ROOT }
			}
			else = {
				activate_mission = UKR_autonomy_west_ukraine_mission
			}
		}
	}

	focus = {
		id = UKR_plebiscite_in_romania
		icon = GFX_focus_UKR_plebiscite_in_romania
		available = {
			is_puppet = no
			78 = {
				owner = {
					original_tag = ROM
				}
				controller = {
					original_tag = ROM
				}
			}
			80 = {
				owner = {
					original_tag = ROM
				}
				controller = {
					original_tag = ROM
				}
			}
			766 = {
				owner = {
					original_tag = ROM
				}
				controller = {
					original_tag = ROM
				}
			}			
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			ROM = {
				OR = {
					exists = no
					is_puppet = yes
					has_war_with = UKR
				}
			}
		}

		prerequisite = { focus = UKR_london_arbitrage focus = UKR_reconciliation_with_belarus }
		x = -1
		y = 1
		relative_position_id = UKR_london_arbitrage
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			ROM = { country_event = ukraine.60 }
			effect_tooltip = {
				give_guarantee = ROM
			}
		}
	}

	focus = {
		id = UKR_pinch_of_democracy
		icon = GFX_focus_generic_strike_at_democracy2
		available = {
			has_country_flag = UKR_romania_reject_plebiscite
			rada_high_support_trigger = yes
			is_puppet = no
			ROM = {
				exists = yes
				is_puppet = no
			}
		}

		will_lead_to_war_with = ROM
		prerequisite = { focus = UKR_plebiscite_in_romania }
		x = 0
		y = 1
		relative_position_id = UKR_plebiscite_in_romania
		cost = 10

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { is_in_faction_with = ROM }
				ROM = { leave_faction = yes }
			}
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROM
			}
		}
	}

	focus = {
		id = UKR_volunteer_corps
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = UKR_defense_committee }

		x = -3
		y = 2
		relative_position_id = UKR_defense_committee
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			if = {
				limit = { NOT = { has_rule = can_send_volunteers } }
				set_rule = { can_send_volunteers = yes	}
			}
			if = {
				limit = { has_dlc = "La Resistance" }
				add_ideas = UKR_lar_expedition_corps
			}
			else = { 
				add_ideas = UKR_expedition_corps 
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_influence_on_crimea
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = UKR_volunteer_corps }

		x = 0
		y = 1
		relative_position_id = UKR_volunteer_corps
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			OR = {
				threat > 0.50
				is_major = yes
				any_other_country = {
					is_major = yes
					is_in_faction_with = ROOT
				}
			}
			ic_ratio = { # if Crimea do not win Red Russia and return all territories
   			tag = CRM
   			ratio > 2
			}
		}

		bypass = {
			OR = {
				has_country_flag = UKR_peace_with_CRM
				NOT = { country_exists = CRM }
				has_war_with = CRM
				CRM = { has_war_with = SOV }
			}
			
		}

		available_if_capitulated = yes

		completion_reward = {
			unlock_decision_category_tooltip = UKR_influence_in_crimea_category
			set_variable = { UKR_crimean_supports = 0 }
		}	
	}

	focus = {
		id = UKR_prometheism
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		prerequisite = { focus = UKR_influence_on_crimea }

		x = 0
		y = 1
		relative_position_id = UKR_influence_on_crimea
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			country_exists = SOV
			NOT = { is_in_faction_with = SOV }
		}

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			unlock_decision_category_tooltip = UKR_ukrainian_prometheism_category
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = UKR_roman_smal_stocki
				set_variable = { UKR_prometheism_decisions_cost = 0 }
			}
			else = {
				set_variable = { UKR_prometheism_decisions_cost = 50 }
			}
			if = {
				limit = { 202 = { is_owned_and_controlled_by = ROOT } }
				country_event = ukraine.504
			}
			UKR_sancordon_bonus_attack_increase = yes
			SOV = {
				add_opinion_modifier = { target = ROOT modifier = UKR_prometheus_opinion }
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}	
	}


	focus = {
		id = UKR_trash_lustration
		icon = GFX_focus_UKR_trash_lustration
		prerequisite = { focus = UKR_democratic_reforms }
		mutually_exclusive = { focus = UKR_lustration }
		x = 1
		y = 1
		relative_position_id = UKR_democratic_reforms
		cost = 20

		allow_branch = {
			NOT = {
				has_country_flag = UKR_altdem_branch_is_available
				OR = {
					has_completed_focus = UKR_revanchism
					has_completed_focus = UKR_communism_propaganda
				}
			}
		}

		available = {
			has_government = democratic
			NOT = { has_country_flag = UKR_start_of_anarchy_rebellion }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		select_effect = {
			hidden_effect = {
				country_event = { id = makhno.60 days = 7 random_days = 3 }
			}
		}

		completion_reward = {
			custom_effect_tooltip = UKR_trash_lustration_tt
		}
	}

	focus = {
		id = UKR_emergency_situation
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = UKR_democratic_reforms }
		x = 0
		y = 1
		relative_position_id = UKR_democratic_reforms
		cost = 5

		allow_branch = {
			has_country_flag = UKR_altdem_branch_is_available
			NOT = { is_subject_of = SOV }
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			remove_ideas = mutiny_1
			add_country_leader_trait = UKR_special_powers
			set_country_flag = UKR_altdem_bop_is_available
			set_variable = { ukr_var_ad_rada_support_cost = 50 }
			set_variable = { ukr_var_ad_army_support_cost = 50 }
			set_power_balance = {
				id = UKR_power_balance
				left_side = UKR_rada_side	
				right_side = UKR_junta_side	
				set_default = no
				set_value = 0
			}
			country_event = ukraine.687
			hidden_effect = {
				#start of pogroms in Ukraine
				country_event = { id = makhno.11 days = 10 random_days = 3 }
				#Tyutyunnyk as army chief
				country_event = { id = ukraine.694 days = 20 random_days = 15 }
			}
		}
	}

	focus = {
		id = UKR_appeal_to_conservatives
		icon = GFX_focus_SWI_neutrality_on_the_move
		prerequisite = { focus = UKR_emergency_situation }
		x = -2
		y = 1
		relative_position_id = UKR_emergency_situation
		cost = 5

		available = {
			has_war_with = DKR
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_offsite_building = { type = arms_factory level = 2 }
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
		}
	}

	focus = {
		id = UKR_volunteers_from_poland
		icon = GFX_focus_UKR_volunteers_from_poland
		prerequisite = { focus = UKR_appeal_to_conservatives }
		x = 0
		y = 1
		relative_position_id = UKR_appeal_to_conservatives
		cost = 5

		available = {
			has_war_with = DKR
			country_exists = POL
			POL = {
				has_war = no
				NOT = { is_in_faction_with = ROOT }
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }

		completion_reward = {
			POL = { country_event = ukraine.686 }
			custom_effect_tooltip = UKR_volunteers_from_poland_tt
		}
	}

	focus = {
		id = UKR_appeal_to_nationalists
		icon = GFX_focus_UKR_revive_uss
		prerequisite = { focus = UKR_emergency_situation }
		x = 2
		y = 1
		relative_position_id = UKR_emergency_situation
		cost = 5

		available = {
			has_war_with = DKR
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			hidden_effect = {
				division_template = {
					name = "Nacionalna hvardia"
					template_counter = 0
					priority = 1
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 0 y = 3 }
					}
				}
			}
			capital_scope = {
				create_unit = {
					division = "division_template = \"Nacionalna hvardia\" start_experience_factor = 0.2 start_equipment_factor = 0.75" 
					owner = ROOT
				}
				create_unit = {
					division = "division_template = \"Nacionalna hvardia\" start_experience_factor = 0.2 start_equipment_factor = 0.75" 
					owner = ROOT
				}
			}
			add_war_support = 0.05
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
		}
	}

	focus = {
		id = UKR_volunteers_from_germany
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = UKR_appeal_to_nationalists }
		x = 0
		y = 1
		relative_position_id = UKR_appeal_to_nationalists
		cost = 5

		available = {
			has_war_with = DKR
			country_exists = GER
			GER = {
				has_war = no
				NOT = { is_in_faction_with = ROOT }
			}
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }

		completion_reward = {
			GER = { country_event = ukraine.685 }
			custom_effect_tooltip = UKR_volunteers_from_germany_tt
		}
	}

	focus = {
		id = UKR_fighting_sabotage
		icon = GFX_focus_BRA_end_the_state_of_emergency
		prerequisite = { focus = UKR_emergency_situation }
		x = 0
		y = 1
		relative_position_id = UKR_emergency_situation
		cost = 5

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			remove_ideas = UKR_opposition_of_reforms
		}
	}

	focus = {
		id = UKR_begin_stabilisation
		icon = GFX_focus_ARG_defense_and_democracy
		prerequisite = { focus = UKR_fighting_sabotage focus = UKR_appeal_to_nationalists focus = UKR_appeal_to_conservatives }
		x = 0
		y = 1
		relative_position_id = UKR_fighting_sabotage
		cost = 5

		available = {
			NOT = { has_war_with = DKR }
			NOT = { has_idea = UKR_opposition_of_reforms }
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_stability = 0.05
			add_political_power = 50
			remove_country_leader_trait = UKR_special_powers
			add_timed_idea = {
				idea = UKR_alt_revive_after_cw
				days = 365
			}
		}
	}

	focus = {
		id = UKR_alt_investments
		icon = GFX_focus_generic_industrialists
		prerequisite = { focus = UKR_begin_stabilisation }
		x = -3
		y = 1
		relative_position_id = UKR_begin_stabilisation
		cost = 10

		available = {
			UKR_altdem_left_side_is_available = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			every_other_country = {
				limit = {
					is_major = yes
					OR = {
						has_government = democratic
						has_government = neutrality
					} 
					NOT = { has_war_with = ROOT }
				}
				country_event = { id = ukraine.678 hours = 3 }
				custom_effect_tooltip = if_they_accept_tt
				event_option_tooltip = ukraine.678.a
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
		}
	}

	focus = {
		id = UKR_restrain_unions
		icon = GFX_focus_spr_crush_the_revolution
		prerequisite = { focus = UKR_alt_investments }
		x = 0
		y = 1
		relative_position_id = UKR_alt_investments
		cost = 10

		available = {
			UKR_altdem_left_side_is_available = yes
			has_completed_focus = UKR_new_workers_law
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			add_timed_idea = {
				idea = UKR_control_for_unions
				days = 1095
			}
			UKR_rada_big_opposition = yes
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
		}
	}

	focus = {
		id = UKR_stop_brain_drain
		icon = GFX_focus_SWE_organize_a_putsch
		prerequisite = { focus = UKR_restrain_unions }
		x = 0
		y = 1
		relative_position_id = UKR_restrain_unions
		cost = 10

		available = {
			UKR_altdem_left_side_is_available = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			add_ideas = UKR_refuge_for_scientists
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
		}
	}

	focus = {
		id = UKR_european_defence_front
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = UKR_stop_brain_drain }
		x = 0
		y = 1
		relative_position_id = UKR_stop_brain_drain
		cost = 5

		available = {
			UKR_altdem_left_side_is_available = yes
			is_subject = no
			is_in_faction = no
		}

		bypass = {
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			if = {
				limit = { is_faction_leader = no  }
				set_rule = { 
					can_create_factions = yes
					can_send_volunteers = yes
				}
				create_faction = EuropeanDefenceFront
				mark_focus_tree_layout_dirty = yes
			}
			add_to_tech_sharing_group = UKR_ally_research
			every_other_country = {
				limit = { 
					is_in_faction_with = UKR
				}
				add_to_tech_sharing_group = UKR_ally_research
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
		}
	}

	focus = {
		id = UKR_west_shield
		icon = GFX_focus_UKR_ally_with_poland
		prerequisite = { focus = UKR_european_defence_front }
		x = -1
		y = 1
		relative_position_id = UKR_european_defence_front
		cost = 8

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = { country_exists = POL }
				add_to_array = { UKR_altdem_diplomacy_list = POL }
			}
			if = {
				limit = { country_exists = CZE }
				add_to_array = { UKR_altdem_diplomacy_list = CZE }
			}
		}
	}

	focus = {
		id = UKR_baltic_allyes
		icon = GFX_focus_SOV_baltic_security
		prerequisite = { focus = UKR_west_shield }
		x = 0
		y = 1
		relative_position_id = UKR_west_shield
		cost = 8

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = { country_exists = LIT }
				add_to_array = { UKR_altdem_diplomacy_list = LIT }
			}
			if = {
				limit = { country_exists = LAT }
				add_to_array = { UKR_altdem_diplomacy_list = LAT }
			}
			if = {
				limit = { country_exists = EST }
				add_to_array = { UKR_altdem_diplomacy_list = EST }
			}
		}
	}

	focus = {
		id = UKR_scandinavian_direction
		icon = GFX_focus_generic_scandinavian_alliance
		prerequisite = { focus = UKR_baltic_allyes }
		x = 0
		y = 1
		relative_position_id = UKR_baltic_allyes
		cost = 8

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = { country_exists = SWE }
				add_to_array = { UKR_altdem_diplomacy_list = SWE }
			}
			if = {
				limit = { country_exists = DEN }
				add_to_array = { UKR_altdem_diplomacy_list = DEN }
			}
			if = {
				limit = { country_exists = NOR }
				add_to_array = { UKR_altdem_diplomacy_list = NOR }
			}
			if = {
				limit = { country_exists = FIN }
				add_to_array = { UKR_altdem_diplomacy_list = FIN }
			}
		}
	}

	focus = {
		id = UKR_balkan_stand
		icon = GFX_focus_BUL_free_balkan_states
		prerequisite = { focus = UKR_european_defence_front }
		x = 1
		y = 1
		relative_position_id = UKR_european_defence_front
		cost = 8

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = { country_exists = ROM }
				add_to_array = { UKR_altdem_diplomacy_list = ROM }
			}
			if = {
				limit = { country_exists = BUL }
				add_to_array = { UKR_altdem_diplomacy_list = BUL }
			}
			if = {
				limit = { country_exists = YUG }
				add_to_array = { UKR_altdem_diplomacy_list = YUG }
			}
		}
	}

	focus = {
		id = UKR_underbelly_of_europe
		icon = GFX_focus_TUR_the_montreux_convention
		prerequisite = { focus = UKR_balkan_stand }
		x = 0
		y = 1
		relative_position_id = UKR_balkan_stand
		cost = 8

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = { country_exists = GRE }
				add_to_array = { UKR_altdem_diplomacy_list = GRE }
			}
			if = {
				limit = { country_exists = TUR }
				add_to_array = { UKR_altdem_diplomacy_list = TUR }
			}
			if = {
				limit = { country_exists = ALB }
				add_to_array = { UKR_altdem_diplomacy_list = ALB }
			}
		}
	}

	focus = {
		id = UKR_heart_of_europe
		icon = GFX_focus_SWI_establish_pro_helvetia
		prerequisite = { focus = UKR_underbelly_of_europe }
		x = 0
		y = 1
		relative_position_id = UKR_underbelly_of_europe
		cost = 8

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = { country_exists = HUN }
				add_to_array = { UKR_altdem_diplomacy_list = HUN }
			}
			if = {
				limit = { country_exists = AUS }
				add_to_array = { UKR_altdem_diplomacy_list = AUS }
			}
			if = {
				limit = { country_exists = SWI }
				add_to_array = { UKR_altdem_diplomacy_list = SWI }
			}
		}
	}

	focus = {
		id = UKR_pillar_of_europe
		icon = GFX_focus_UKR_pillar_of_europe
		prerequisite = { focus = UKR_heart_of_europe focus = UKR_scandinavian_direction }
		x = 1
		y = 1
		relative_position_id = UKR_scandinavian_direction
		cost = 10

		available = {
			UKR_altdem_left_side_is_available = yes
			is_faction_leader = yes
			num_faction_members > 3
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_stability = 0.10
			add_ideas = UKR_pillars_of_europe
			every_other_country = {
				limit = {
					is_in_faction_with = ROOT
					is_major = no
				}
				add_ideas = UKR_pillars_of_europe
			}
		}
	}

	focus = {
		id = UKR_otamans_legalisation
		icon = GFX_focus_FIN_strengthen_military_administration
		prerequisite = { focus = UKR_begin_stabilisation }
		mutually_exclusive = { focus = UKR_otamans_liquidation }
		x = -1
		y = 1
		relative_position_id = UKR_begin_stabilisation
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER  }

		completion_reward = {
			swap_ideas = {
				add_idea = UKR_otamanshchina_improved
				remove_idea = UKR_otamanshchina
			}
			if = {
				limit = { NOT = { has_template = "Nacionalna samooborona" } }
				set_division_template_lock = {
					division_template = "Nacionalna samooborona"
					is_locked = no
				}
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = UKR_otamans_legalisation_tt
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.05
				}
			}
		}
	}

	focus = {
		id = UKR_self_defence_forces
		icon = GFX_focus_UKR_self_defence_forces
		prerequisite = { focus = UKR_otamans_legalisation }
		x = 0
		y = 1
		relative_position_id = UKR_otamans_legalisation
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = SWE_hemvarnet_tt
			unlock_decision_category_tooltip = UKR_self_defence_decisions
			division_template = {
				name = "Mistseva Samooborona"
				is_locked = yes
				priority = 1
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 0 y = 3 }
				}
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.05
				}
			}
		}
	}

	focus = {
		id = UKR_otamans_liquidation
		icon = GFX_focus_generic_full_social_mobilization
		prerequisite = { focus = UKR_begin_stabilisation }
		mutually_exclusive = { focus = UKR_otamans_legalisation }
		x = 1
		y = 1
		relative_position_id = UKR_begin_stabilisation
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			remove_ideas = UKR_otamanshchina
			if = {
				limit = { has_template = "Nacionalna samooborona" }
				delete_unit_template_and_units = {
					division_template = "Nacionalna samooborona"
					disband = yes
				}
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
		}
	}

	focus = {
		id = UKR_strengthen_regular_army
		icon = GFX_focus_chi_army_reform
		prerequisite = { focus = UKR_otamans_liquidation }
		x = 0
		y = 1
		relative_position_id = UKR_otamans_liquidation
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			army_experience = 15
			navy_experience = 15
			air_experience = 15
			hidden_effect = {
				every_unit_leader = {
					limit = {
						is_army_leader = yes
					}
					random_list = {
						25 = {
							add_attack = 1
						}
						25 = {
							add_defense = 1
						}
						25 = {
							add_planning = 1
						}
						25 = {
							add_logistics = 1
						}
					}
				}
				every_unit_leader = {
					limit = {
						is_navy_leader = yes
					}
					random_list = {
						25 = {
							add_attack = 1
						}
						25 = {
							add_defense = 1
						}
						25 = {
							add_coordination = 1
						}
						25 = {
							add_maneuver = 1
						}
					}
				}
			}
			custom_effect_tooltip = UKR_strengthen_regular_army_tt
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
		}
	}

	focus = {
		id = UKR_women_army_support
		icon = GFX_focus_SWE_lottakoren
		prerequisite = { focus = UKR_self_defence_forces focus = UKR_strengthen_regular_army }
		x = 1
		y = 1
		relative_position_id = UKR_self_defence_forces
		cost = 8

		available_if_capitulated = yes

		available = {
			has_completed_focus = UKR_womens_suffrage
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = UKR_women_army_support_idea
		}
	}

	focus = {
		id = UKR_militarized_economy
		icon = GFX_focus_DEN_heavy_regulations
		prerequisite = { focus = UKR_begin_stabilisation }
		x = 3
		y = 1
		relative_position_id = UKR_begin_stabilisation
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			add_ideas = UKR_militarized_economic_idea
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_subsidies_to_military_industry
		icon = GFX_focus_generic_full_employment
		prerequisite = { focus = UKR_militarized_economy }
		x = 0
		y = 1
		relative_position_id = UKR_militarized_economy
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = ITA_military_agreements
				bonus = 0.75
				uses = 2
				category = armor 
				category = artillery
				category = naval_equipment
				category = air_equipment
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_prepare_east_front
		icon = GFX_focus_SWE_hedgehog_defense 
		prerequisite = { focus = UKR_subsidies_to_military_industry }
		x = 0
		y = 1
		relative_position_id = UKR_subsidies_to_military_industry
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
		}

		bypass = {
			OR = {
				NOT = { country_exists = SOV }
				is_in_faction_with = SOV
			}
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			add_war_support = 0.05
			if = {
				limit = {
					OR = {
						has_idea = volunteer_only
						has_idea = limited_conscription
					}
					has_war_support > 0.2
				}
				add_ideas = extensive_conscription
			}
			if = {
				limit = {
					221 = { is_fully_controlled_by = ROOT }
				}
				221 = {
					add_building_construction = {
						type = bunker
						province = 11397
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						province = 418
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						province = 9556
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					227 = { is_fully_controlled_by = ROOT }
				}
				227 = {
					add_building_construction = {
						type = bunker
						province = 3421
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						province = 6493
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					228 = { is_fully_controlled_by = ROOT }
				}
				228 = {
					add_building_construction = {
						type = bunker
						province = 9446
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						province = 9461
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
			add_ideas = UKR_prepare_east_front1
			UKR_sancordon_bonus_defence_increase = yes
		}
	}

	focus = {
		id = UKR_agressive_politic
		icon = GFX_focus_usa_focus_on_europe
		prerequisite = { focus = UKR_prepare_east_front }
		x = 0
		y = 1
		relative_position_id = UKR_prepare_east_front
		cost = 5

		available = {
			UKR_altdem_right_side_is_available = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			if = {
				limit = { has_dlc = "La Resistance" }
				add_ideas = UKR_our_national_interests
				custom_effect_tooltip = UKR_additional_operation
			}
			else = {
				add_political_power = 100
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.10
				}
			}
		}
	}

	focus = {
		id = UKR_victory_is_our
		icon = GFX_focus_FIN_chaplains
		prerequisite = { focus = UKR_agressive_politic }
		x = 0
		y = 1
		relative_position_id = UKR_agressive_politic
		cost = 5

		available = {
			UKR_altdem_right_side_is_available = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			add_ideas = UKR_victory_is_our_idea
		}
	}

	focus = {
		id = UKR_crimean_question
		icon = GFX_focus_UKR_defense_crimea_for_ua
		available = {
			is_puppet = no
			country_exists = CRM
			NOT = { has_war_with = CRM }
			CRM = { is_subject = no }
			if = {
				limit = {
					has_country_flag = UKR_altdem_rada_victory
				}
				rada_low_support_trigger = yes
			}
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_agressive_politic focus = UKR_european_defence_front }
		x = -2
		y = 1
		relative_position_id = UKR_agressive_politic
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { 
					OR = {
						has_country_flag = UKR_peace_with_CRM
						ic_ratio = { 
							tag = CRM
							ratio < 1
						}
					}
					is_in_faction = yes
					CRM = {
						OR = {
							has_government = democratic
							has_government = neutrality
						}
					}
				}
				CRM = { country_event = ukraine.688 } # alliance with Crimea
			}
			else = {
				CRM  = { country_event = ukraine.74 } # puppeting Crimea
			}
		}
	}

	focus = {
		id = UKR_propose_for_romania
		icon = GFX_focus_invite_romania
		prerequisite = { focus = UKR_agressive_politic }
		x = 2
		y = 1
		relative_position_id = UKR_agressive_politic
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
			has_army_manpower = { size > 249999 }
			80 = {
				is_owned_and_controlled_by = ROM
			}
			766 = {
				is_owned_and_controlled_by = ROM
			}
			NOT = { has_war_with = ROM }
			NOT = { is_in_faction_with = ROM }
			ROM = { is_puppet = no }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			ROM = { country_event = { id = ukraine.695 days = 1 } }
		}
	}

	focus = {
		id = UKR_stop_germany_monster
		icon = GFX_focus_attack_germany
		prerequisite = { focus = UKR_victory_is_our }
		mutually_exclusive = { focus = UKR_peace_with_germany }
		x = 1
		y = 1
		relative_position_id = UKR_victory_is_our
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
			NOT = { has_completed_focus = UKR_volunteers_from_germany }
			NOT = { has_war_with = POL }
		}

		bypass = {
			OR = {
				NOT = { country_exists = GER }
				is_in_faction_with = GER
				GER = { is_puppet = yes }
				GER = { has_government = democratic }
				POL = { is_in_faction_with = GER }
				AND = {
					has_completed_focus = UKR_volunteers_from_poland
					has_completed_focus = UKR_volunteers_from_germany
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_stop_germany_monster
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			if = {
				limit = {
					OR = {
						NOT = { country_exists = POL }
						POL = { is_subject = yes }
					}
				}
				if = { 
					limit = { has_war_with = GER } 
					add_war_support = 0.10
				}
				else = {
					create_wargoal = {
						type = topple_government
						target = GER
						expire = 0
					}
				}
			}
			else_if = {
				limit = { POL = { has_war_with = GER } }
				create_wargoal = {
					type = puppet_wargoal_focus
					target = GER
					expire = 90
				}
			}
			else_if = {
				limit = { has_war_with = GER }
				POL = { country_event = { id = ukraine.705 days = 1 } } # join to war with GER
			}
			else_if = {
				limit = { 91 = { is_owned_and_controlled_by = POL } }
				POL = { country_event = { id = ukraine.708 days = 1 } } # prevent war against GER
			}	
			else_if = {
				limit = { 
					country_exists = POL
					NOT = { is_in_faction_with = POL }
				}
				give_guarantee = POL
			}	
		}
	}

	focus = {
		id = UKR_peace_with_germany
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = UKR_victory_is_our }
		mutually_exclusive = { focus = UKR_stop_germany_monster }
		x = -1
		y = 1
		relative_position_id = UKR_victory_is_our
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
			NOT = { has_war_with = GER }
			NOT = { has_completed_focus = UKR_volunteers_from_poland }
		}

		bypass = {
			OR = {
				is_in_faction_with = GER
				NOT = { country_exists = GER }
				GER = { is_puppet = yes }
				AND = {
					has_completed_focus = UKR_volunteers_from_poland
					has_completed_focus = UKR_volunteers_from_germany
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			GER = { country_event = { id = ukraine.698 days = 1 } }
		}
	}

	focus = {
		id = UKR_carpathian_peace
		icon = GFX_focus_UKR_carpathian_ukraine
		prerequisite = { focus = UKR_stop_germany_monster focus = UKR_peace_with_germany }
		x = -1
		y = 1
		relative_position_id = UKR_stop_germany_monster
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
		}

		bypass = {
			OR = {
				has_subject = CUA
				73 = { is_controlled_by = ROOT }
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = {
					any_other_country = {
						has_subject = CUA
						NOT = { has_war_with = UKR }
					}
					CUA = { has_capitulated = no }
				}
				random_other_country = {
					limit = { has_subject = CUA }
					country_event = { id = ukraine.715 days = 1 }
				}
			}
			else_if = {
				limit = {
					any_other_country = {
						controls_state = 73
						NOT = { tag = CUA }
						NOT = { has_war_with = UKR }
					}
				}
				random_other_country = {
					limit = { controls_state = 73 }
					country_event = { id = ukraine.718 days = 1 }
				}
			}
			else = {
				add_state_claim = 73
				add_war_support = 0.03
			}
		}
	}

	focus = {
		id = UKR_stop_east_expansion

		dynamic = yes

		icon = {
			trigger = {
				SOV = { has_government = communism } 
			}
			value = GFX_focus_SWE_the_beast_stirs
		}
		icon = {
			trigger = {
				SOV = { NOT = { has_government = communism } }
			}
			value = GFX_goal_generic_dangerous_deal
		}
			
		prerequisite = { focus = UKR_carpathian_peace focus = UKR_heart_of_europe focus = UKR_scandinavian_direction }
		mutually_exclusive = { focus = UKR_expansion_on_east }
		x = -1
		y = 1
		relative_position_id = UKR_carpathian_peace
		cost = 10

		available = {
			country_exists = SOV
			NOT = { is_in_faction_with = SOV }
			NOT = { has_war_with = SOV }
			SOV = { 
				is_subject = no 
				has_civil_war = no
			}
			if = {
				limit = { SOV = { has_government = communism } }
				has_completed_focus = UKR_allow_CPU
			}
			if = {
				limit = {
					has_country_flag = UKR_altdem_rada_victory
				}
				rada_medium_support_trigger = yes
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {
			effect_tooltip = {
				if = {
					limit = { has_idea = UKR_prepare_east_front1 }
					remove_ideas = UKR_prepare_east_front1
				}
				UKR_sancordon_bonus_attack_decrease = yes
			}
			SOV = { country_event = { id = ukraine.719 days = 1 } }
		}
	}

	focus = {
		id = UKR_expansion_on_east
		icon = GFX_focus_eng_expose_the_belly_of_the_bear
		prerequisite = { focus = UKR_carpathian_peace }
		mutually_exclusive = { focus = UKR_stop_east_expansion }
		x = 1
		y = 1
		relative_position_id = UKR_carpathian_peace
		cost = 10

		available = {
			UKR_altdem_right_side_is_available = yes
			country_exists = SOV
			NOT = { is_in_faction_with = SOV }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = { has_idea = UKR_prepare_east_front1 }
				swap_ideas = {
					add_idea = UKR_prepare_east_front2
					remove_idea = UKR_prepare_east_front1
				}
			}
			UKR_sancordon_bonus_attack_increase = yes
			unlock_decision_category_tooltip = UKR_ukrainian_prometheism_category
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = UKR_roman_smal_stocki
				set_variable = { UKR_prometheism_decisions_cost = 0 }
			}
			else = {
				set_variable = { UKR_prometheism_decisions_cost = 50 }
			}
			SOV = {
				add_opinion_modifier = { target = ROOT modifier = UKR_prometheus_opinion }
			}
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_old_course
		icon = GFX_focus_UKR_old_course
		prerequisite = { focus = UKR_political_effort }
		mutually_exclusive = { focus = UKR_communism_propaganda focus = UKR_democratic_reforms focus = UKR_revanchism }
		x = 6
		y = 1
		offset = {
			x = -10
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}
		relative_position_id = UKR_political_effort
		cost = 8

		allow_branch = {
			NOT = {
				OR = {
					has_completed_focus = UKR_revanchism
					has_completed_focus = UKR_communism_propaganda
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			swap_ideas = {
				add_idea = UKR_old_course_idea
				remove_idea = UKR_indefinite_course
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			add_popularity = {
				ideology = democratic
				popularity = -0.1
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_ivan_poltavets_ostryanitsya
			hidden_effect = { 
				if = { 
					limit = { has_country_flag = UKR_arrival_of_yakov_blyumkin_flag }
					UKR_recruting_of_yakov_blyumkin = yes
				}
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	focus = {
		id = UKR_monarchy
		icon = GFX_focus_UKR_monarchy
		prerequisite = { focus = UKR_old_course }
		mutually_exclusive = { focus = UKR_constitution_reform focus = UKR_pressure_on_the_opposition }
		x = -2
		y = 1
		relative_position_id = UKR_old_course
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			country_event = ukraine.266
		}	
	}

	focus = {
		id = UKR_constitution_reform
		icon = GFX_focus_UKR_new_constitution
		prerequisite = { focus = UKR_old_course }
		mutually_exclusive = { focus = UKR_monarchy focus = UKR_pressure_on_the_opposition }
		x = 0
		y = 1
		relative_position_id = UKR_old_course
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_country_leader_trait = camarilla_leader
			add_stability = 0.05
		}	
	}

	focus = {
		id = UKR_pressure_on_the_opposition
		icon = GFX_focus_UKR_pressure_on_the_opposition
		prerequisite = { focus = UKR_old_course }
		mutually_exclusive = { focus = UKR_constitution_reform focus = UKR_monarchy }
		x = 2
		y = 1
		relative_position_id = UKR_old_course
		cost = 10

		available = {
			has_country_leader = { character = UKR_pavlo_skoropadskyi ruling_only = yes }
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			country_event = ukraine.472
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = UKR_new_army_spirits_available_tt
			}
		}	
	}

	focus = {
		id = UKR_Ukraine_first
		icon = GFX_focus_UKR_ukraine_first

		allow_branch = {
			NOT = { has_country_flag = UKR_altmonarchy_branch_is_available }
			NOT = { has_completed_focus = UKR_revanchism }
			NOT = { has_completed_focus = UKR_communism_propaganda }
		}

		available = {
			is_puppet = no 
			if = {
				limit = { has_completed_focus = UKR_monarchy }
				has_country_flag = UKR_constitution_monarchy
			}		
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_pressure_on_the_opposition focus = UKR_constitution_reform focus = UKR_monarchy }
		mutually_exclusive = { focus = UKR_alliance_with_Poland focus = UKR_peace_politic }
		x = 0
		y = 1
		relative_position_id = UKR_constitution_reform
		cost = 10
		completion_reward = {
			set_rule = { 
				can_create_factions = yes
				can_send_volunteers = yes
			}
			add_ideas = UKR_something_more
		}
	}

	focus = {
		id = UKR_black_sea_strategy
		icon = GFX_focus_UKR_black_sea_strategy
		available = {

		}
		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_Ukraine_first }

		x = 0
		y = 1
		relative_position_id = UKR_Ukraine_first
		cost = 10
		search_filters = { FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			if = {
				limit = { is_in_faction = no }
				create_faction = BlackSeaPact
				mark_focus_tree_layout_dirty = yes
			}
			add_doctrine_cost_reduction = {
				name = UKR_black_sea_strategy
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			unlock_decision_category_tooltip = UKR_naval_focus
			country_event = ukraine.340
			hidden_effect = {
				news_event = { hours = 3 id = news.559 }
			}
		}
	}

	focus = {
		id = UKR_invite_romania
		icon = GFX_focus_invite_romania
		available = { 
			is_faction_leader = yes
			has_army_manpower = { size > 249999 }
			if = {
				limit = {
					has_country_flag = UKR_cossack_republic
				}
				NOT = { has_country_flag = UKR_right_wing_is_rulers }
			}
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_black_sea_strategy }
		mutually_exclusive = { focus = UKR_border_with_romania }
		bypass = {
			ROM = {
				OR = {
					exists = no
					is_puppet = yes
					has_war_with = UKR
					is_in_faction = yes
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = UKR_black_sea_strategy
		cost = 10
		completion_reward = {
			ROM = { country_event = ukraine.57 }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_unionists < 100 }
				}
				ucr_support_of_unionists_big = yes
			}
		}
	}

	focus = {
		id = UKR_border_with_romania
		icon = GFX_focus_UKR_invite_romania
		available = {
			is_puppet = no
			is_in_faction = yes
			has_army_manpower = { size > 249999 }
			78 = {
				owner = {
					original_tag = ROM
				}
				controller = {
					original_tag = ROM
				}
			}
			80 = {
				owner = {
					original_tag = ROM
				}
				controller = {
					original_tag = ROM
				}
			}
			766 = {
				owner = {
					original_tag = ROM
				}
				controller = {
					original_tag = ROM
				}
			}			
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			ROM = {
				OR = {
					exists = no
					is_puppet = yes
					has_war_with = UKR
					is_in_faction_with = UKR
				}
			}
		}

		prerequisite = { focus = UKR_black_sea_strategy }
		mutually_exclusive = { focus = UKR_invite_romania }
		x = -1
		y = 1
		relative_position_id = UKR_black_sea_strategy
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			ROM = { country_event = ukraine.348 }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_right_wing < 100 }
				}
				ucr_support_of_right_big = yes
			}
		}
	}

	focus = {
		id = UKR_istanbul_conference
		icon = GFX_focus_UKR_istanbul_conference
		available = {
			is_faction_leader = yes
			has_army_manpower = { size > 349999 }
			has_navy_size = { size > 9 }
			#TUR = { has_opinion = { target = ROOT value > 75 } }
		}
		ai_will_do = {
			factor = 10
		}

		bypass = {
			OR = {
				NOT = { country_exists = TUR }
				has_war_with = TUR
				TUR = { is_puppet = yes }
			}
		}

		prerequisite = { focus = UKR_invite_romania focus = UKR_border_with_romania }

		x = 1
		y = 1
		relative_position_id = UKR_border_with_romania
		cost = 10
		completion_reward = {
			TUR = { country_event = { id = ukraine.71 hours = 4 } }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_unionists < 100 }
				}
				ucr_support_of_unionists_big = yes
			}
		}
	}

	focus = {
		id = UKR_persian_platform
		icon = GFX_focus_UKR_persian_platform
		available = {
			is_faction_leader = yes
			NOT = {
				has_war_with = IRQ
				has_war_with = PER
			}
			OR = {
				is_neighbor_of = PER
				is_neighbor_of = IRQ
				any_other_country = {
					is_in_faction_with = UKR
					is_neighbor_of = PER
				}
				any_other_country = {
					is_in_faction_with = UKR
					is_neighbor_of = IRQ
				}
			}
		}

		prerequisite = { focus = UKR_istanbul_conference }
		x = 0
		y = 1
		relative_position_id = UKR_istanbul_conference
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = {
					PER = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT }
					}
				}
				give_guarantee = PER
			}
			if = {
				limit = {
					IRQ = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT }
					}
				}
				give_guarantee = IRQ
			}
			if = {
				limit = {
					ENG = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT }
					}
					656 = { is_owned_and_controlled_by = ENG }
				}
				ENG = { add_opinion_modifier = { target = ROOT modifier = UKR_near_east_stand } }
			}
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_defense_crimea
		icon = GFX_focus_UKR_defense_crimea_for_ua
		available = {
			is_puppet = no
			if = {
				limit = {
					has_country_flag = UKR_cossack_republic
				}
				NOT = { has_country_flag = UKR_guards_of_order_is_rulers }
			}
			ic_ratio = { # if Crimea do not win Red Russia and return all territories
   			tag = CRM
   			ratio > 2
			}
		}

		bypass = {
			OR = {
				NOT = { country_exists = CRM }
				has_country_flag = UKR_peace_with_CRM
				has_war_with = CRM
				CRM = { is_subject = yes }
			}
		}

		ai_will_do = {
			factor = 10
		}

		#will_lead_to_war_with = CRM #probably, it is not aggressive focus

		prerequisite = { focus = UKR_persian_platform focus = UKR_border_with_romania }
		mutually_exclusive = { focus = UKR_invite_crimea }

		x = -1
		y = 1
		relative_position_id = UKR_persian_platform
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			CRM  = { country_event = ukraine.74 }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_right_wing < 100 }
				}
				ucr_support_of_right_big = yes
			}
		}
	}

	focus = {
		id = UKR_big_deal
		icon = GFX_focus_UKR_deal_with_ussr
		available = {
			has_completed_focus = UKR_allow_CPU
			if = {
				limit = {
					has_country_flag = UKR_cossack_republic
				}
				NOT = { has_country_flag = UKR_guards_of_order_is_rulers }
			}
			is_faction_leader = yes
			137 = { is_owned_and_controlled_by = UKR }
			1051 = { is_owned_and_controlled_by = UKR }
			SOV = {
				has_opinion = { target = UKR value > 0 }
			}
		}

		bypass = {
			OR = {
				 has_war_with = SOV
				 NOT = { country_exists = SOV }
				 SOV = { is_puppet = yes }
				 #SOV = { NOT = { has_government = communism } }
			}
		}

		prerequisite = { focus = UKR_defense_crimea }
		x = 0
		y = 1
		relative_position_id = UKR_defense_crimea
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			SOV = { country_event = ukraine.193 }
			effect_tooltip = {
				UKR_sancordon_bonus_attack_decrease = yes
			}
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					NOT = { has_country_flag = UKR_guards_of_order_is_rulers }
					check_variable = { var_ucr_support_of_guards_of_order > 0 }
				}
				ucr_opposition_of_guards_big = yes
			}
		}
	}

	focus = {
		id = UKR_invite_crimea
		icon = GFX_focus_UKR_invite_crimea_for_ua
		available = {
			is_faction_leader = yes
			has_country_flag = UKR_peace_with_CRM
		}

		bypass = {
			OR = {
				NOT = { country_exists = CRM }
				has_war_with = CRM
				CRM = { is_in_faction = yes }
				CRM = { is_puppet = yes }
			}
			
		}
		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_persian_platform focus = UKR_invite_romania }
		mutually_exclusive = { focus = UKR_defense_crimea }

		x = 1
		y = 1
		relative_position_id = UKR_persian_platform
		cost = 10
		completion_reward = {
			CRM = { country_event = ukraine.57 }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_guards_of_order < 100 }
				}
				ucr_support_of_guards_big = yes
			}
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					NOT = { has_country_flag = UKR_right_wing_is_rulers }
					check_variable = { var_ucr_support_of_right_wing > 0 }
				}
				ucr_opposition_of_right_big = yes
			}
		}
	}

	focus = {
		id = UKR_support_for_fleet
		icon = GFX_goal_generic_construct_civilian
		available = {
			is_faction_leader = yes
			CRM = {
				is_in_faction_with = UKR
				has_navy_size = { size > 5 } 
			}
			196 = {
				is_owned_and_controlled_by = UKR
			}
			1051 = {
				is_owned_and_controlled_by = CRM
			}
		}

		bypass = {
			OR = {
				NOT = { country_exists = CRM }
				CRM = { is_puppet_of = UKR }
			}
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_invite_crimea }

		x = 0
		y = 1
		relative_position_id = UKR_invite_crimea
		cost = 10
		completion_reward = {
			CRM = { country_event = ukraine.227 }
		}
	}

	focus = {
		id = UKR_coronation
		icon = GFX_focus_UKR_coronation

		allow_branch = {
			has_country_flag = UKR_altmonarchy_branch_is_available
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_monarchy }

		x = 0
		y = 1
		relative_position_id = UKR_constitution_reform
		cost = 5
		completion_reward = {
			country_event = ukraine.723
			hidden_effect = {
				news_event = { hours = 4 id = news.568 }
			}
		}
	}

	focus = {
		id = UKR_new_aristocraty
		icon = GFX_focus_CHL_invite_french_aristocracy

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_coronation }

		x = -1
		y = 1
		relative_position_id = UKR_coronation
		cost = 5
		completion_reward = {
			if = {
				limit = { has_country_flag = UKR_restore_of_rurikids }
				add_ideas = UKR_aristocraty_of_rurikids
			}
			else = {
				add_ideas = UKR_aristocraty_of_romanovs
			}
		}
	}

	focus = {
		id = UKR_loyal_sejm
		icon = GFX_focus_rom_royal_dictatorship

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_coronation }

		x = 1
		y = 1
		relative_position_id = UKR_coronation
		cost = 5
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = -0.05
			add_ideas = UKR_royal_sejm_idea
			set_party_name = { ideology = neutrality name = CRM_neutrality_party long_name = CRM_neutrality_party }
		}
	}

	focus = {
		id = UKR_legacy_of_empire
		icon = GFX_focus_SOV_free_Rutenia

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_new_aristocraty }
		prerequisite = { focus = UKR_loyal_sejm }

		x = 1
		y = 1
		relative_position_id = UKR_new_aristocraty
		cost = 5

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = UKR_heirs_of_great_empire
		}
	}

	focus = {
		id = UKR_loyalty_requirement
		icon = GFX_focus_UKR_loyalty_requirement

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_legacy_of_empire }

		bypass = {
			OR = {
				NOT = { country_exists = SOV }
				SOV = { has_government = communism }
			}
			OR = {
				NOT = { country_exists = CRM }
				CRM = { has_government = communism }
			}
		}

		x = 0
		y = 1
		relative_position_id = UKR_legacy_of_empire
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = {
					country_exists = CRM
					NOT = { has_war_with = CRM }
					CRM = {
						is_subject = no
						NOT = { has_government = communism }
					}
				}
				CRM = { country_event = { id = ukraine.728 days = 1 } }
			}
			if = {
				limit = { # without soviet CW
					country_exists = SOV
					NOT = { has_war_with = SOV }
					SOV = {
						is_subject = no
						NOT = { has_government = communism }
						has_civil_war = no
					}
				}
				SOV = { country_event = { id = ukraine.728 days = 1 } }
			}
			else_if = { # in time of soviet CW
				limit = {
					country_exists = SOV
					NOT = { has_war_with = SOV }
					SOV = {
						is_subject = no
						NOT = { has_government = communism }
						has_civil_war = yes
					}
				}
				SOV = { country_event = { id = ukraine.731 days = 1 } }
			}
			else = {
				set_country_flag = UKR_no_rebellion_in_siberia
			}
		}
	}

	focus = {
		id = UKR_together_against_reds
		icon = GFX_focus_ARG_march_to_la_casa_rosada

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_loyalty_requirement }

		x = 0
		y = 1
		relative_position_id = UKR_loyalty_requirement
		cost = 5
		completion_reward = {
			if = {
				limit = { 
					SOV = { 
						has_government = communism
						has_completed_focus = SOV_the_path_of_marxism_leninism
					} 
					has_dlc = "No Step Back"
				}
				hidden_effect = {
					SOV = {
						if = {
							limit = { has_character = SOV_konstantin_nechayev }
							SOV_konstantin_nechayev = { 
								clr_character_flag = SOV_exiled_flag
								clr_character_flag = SOV_exiled_army_leader
								set_nationality = ROOT
								demote_leader = yes 
							}
						}
						if = {
							limit = { has_character = SOV_vladimir_kosmin }
							SOV_vladimir_kosmin = { 
								clr_character_flag = SOV_exiled_flag
								clr_character_flag = SOV_exiled_army_leader
								set_nationality = ROOT 
								demote_leader = yes
							}
						}
						if = {
							limit = { has_character = SOV_aleksandr_rodzyanko }
							SOV_aleksandr_rodzyanko = { 
								clr_character_flag = SOV_exiled_flag
								clr_character_flag = SOV_exiled_army_leader
								set_nationality = ROOT 
								demote_leader = yes
							}
						}
					}
				}
				custom_effect_tooltip = UKR_together_against_reds_new_generals_tt
			}
			if = {
				limit = { SOV = { has_government = communism } }
				add_ideas = UKR_antibolshevik_front
				UKR_sancordon_bonus_attack_increase = yes
				UKR_sancordon_bonus_defence_increase = yes
			}
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = 2000
				producer = ROOT
			}
			add_equipment_to_stockpile = { 
				type = artillery_equipment
				amount = 300
				producer = ROOT
			}
			add_equipment_to_stockpile = { 
				type = support_equipment
				amount = 500
				producer = ROOT
			}	
		}
	}

	focus = {
		id = UKR_hour_zero
		icon = GFX_focus_attack_soviet

		ai_will_do = {
			factor = 10
		}
		will_lead_to_war_with = SOV

		bypass = {
			OR = {
				is_in_faction_with = SOV
				SOV = {	NOT = { has_government = communism } }
				NOT = { country_exists = SOV }
				AND = {
					has_war_with = SOV
					SOV = {	has_government = communism }
				}
			}
		}

		prerequisite = { focus = UKR_together_against_reds }

		x = 0
		y = 1
		relative_position_id = UKR_together_against_reds
		cost = 10
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			}
			if = {
				limit = {
					SOV = { 
						has_government = communism
						has_civil_war = yes 
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SOU
					expire = 0
				}
			}
			if = {
				limit = {
					has_idea = UKR_antibolshevik_front
				}
				remove_ideas = UKR_antibolshevik_front
				add_timed_idea = {
					idea = UKR_antibolshevik_front_adv
					days = 365
				}
			}
		}
	}

	focus = {
		id = UKR_capital_of_monarch

		dynamic = yes

		icon = {
			trigger = {
				has_country_flag = UKR_restore_of_romanovs
			}
			value = GFX_focus_UKR_coronation_of_romanov
		}
		icon = {
			trigger = {
				NOT = { has_country_flag = UKR_restore_of_romanovs }
			}
			value = GFX_focus_generic_low_cost_housing
		}

		ai_will_do = {
			factor = 10
		}
		available = {
			if = {
				limit = { has_country_flag = UKR_restore_of_romanovs }
				219 = {
					controller = {
						OR = {
							tag = ROOT
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}
					}
				}
			}
		}

		prerequisite = { focus = UKR_hour_zero }

		x = 0
		y = 1
		relative_position_id = UKR_hour_zero
		cost = 10
		completion_reward = {
			if = {
				limit = {
					has_country_flag = UKR_restore_of_rurikids
				}
				202 = {
					add_extra_state_shared_building_slots = 2
				}
				if = {
					limit = {
						has_idea = UKR_antibolshevik_front_adv
					}
					modify_timed_idea = {
						idea = UKR_antibolshevik_front_adv
						days = 180
					}
				}
			}
			else = {
				set_cosmetic_tag = UKR_ROMANOVS_EMPIRE
				country_event = ukraine.739
				swap_ruler_traits = {
					remove = inexperienced_monarch
					add = sovereign_of_all_rus
				}
				
				if = {
					limit = {
						SOV = { is_subject_of = ROOT }
					}
					SOV = {
						every_unit_leader = {
							set_nationality = ROOT
						}
						every_navy_leader = {
							set_nationality = ROOT
						}
					}
					annex_country = { target = SOV transfer_troops = yes }
					every_owned_state = {
						limit = {
							is_core_of = SOV
							NOT = { is_core_of = ROOT }
						}
						add_compliance = 30
					}
				}
			}
		}
	}

	focus = {
		id = UKR_three_nations
		icon = GFX_goal_generic_national_unity

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_capital_of_monarch }

		x = 0
		y = 1
		relative_position_id = UKR_capital_of_monarch
		cost = 10
		completion_reward = {
			unlock_decision_category_tooltip = form_kievan_rus_category
			set_variable = { var_ukr_rus_states_count = 0 }
			if = {
				limit = {
					POL = {
						is_subject_of = ROOT
					}
				}
				if = {
					limit = {
						94 = { is_owned_and_controlled_by = POL }
					}
					transfer_state = 94
				}
				if = {
					limit = {
						95 = { is_owned_and_controlled_by = POL }
					}
					transfer_state = 95
				}
				if = {
					limit = {
						96 = { is_owned_and_controlled_by = POL }
					}
					transfer_state = 96
				}
				if = {
					limit = {
						97 = { is_owned_and_controlled_by = POL }
					}
					transfer_state = 97
				}
				if = {
					limit = {
						784 = { is_owned_and_controlled_by = POL }
					}
					transfer_state = 784
				}
			}
		}
	}

	focus = {
		id = UKR_armored_druzhina
		icon = GFX_goal_generic_army_tanks

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_capital_of_monarch }

		x = -2
		y = 1
		relative_position_id = UKR_capital_of_monarch
		cost = 10
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_armored_druzhina
				bonus = 1.0
				uses = 2
				category = armor
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 1
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = UKR_chevalier_guards
		icon = GFX_goal_generic_cavalry

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_capital_of_monarch }

		x = 2
		y = 1
		relative_position_id = UKR_capital_of_monarch
		cost = 10
		search_filters = { FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			army_experience = 50
			add_ideas = UKR_chevalier_guards_regiments
			if = {
				limit = {
					has_country_flag = UKR_yevhen_gagarin_is_available
				}
				remove_trait = {
					character = UKR_yevhen_gagarin
					slot = high_command
					trait = army_cavalry_1
				}
				add_trait = {
					character = UKR_yevhen_gagarin
					slot = high_command
					trait = army_cavalry_2
				}
			}
			else_if = {
				limit = {
					has_country_flag = UKR_restore_of_rurikids
				}
				custom_effect_tooltip = UKR_chevalier_guards_tt
			}
		}
	}

	focus = {
		id = UKR_new_alliances
		icon = GFX_focus_BRA_reach_out_to_military_dem

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_three_nations }

		available = {
			is_subject = no
		}

		x = 0
		y = 1
		relative_position_id = UKR_three_nations
		cost = 5
		completion_reward = {
			set_rule = { 
				can_create_factions = yes
			}
			if = {
				limit = {
					has_country_flag = UKR_restore_of_rurikids
				}
				if = {
					limit = { is_in_faction = no }
					create_faction = SlavicUnion
					mark_focus_tree_layout_dirty = yes
				}
			}
			else = {
				if = {
					limit = {
						ENG = {
							is_faction_leader = yes
							NOT = {
								has_war_with = ROOT
							}
							OR = {
								has_government = neutrality
								has_government = democratic
							}
						}
					}
					ENG = { country_event = { id = generic.2 days = 1 } }
				}
				else_if = {
					limit = {
						FRA = {
							is_faction_leader = yes
							NOT = {
								has_war_with = ROOT
							}
							OR = {
								has_government = neutrality
								has_government = democratic
							}
						}
					}
					FRA = { country_event = { id = generic.2 days = 1 } }
				}
				else_if = {
					limit = {
						is_in_faction = no
					}
					create_faction = EasternEntente
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = UKR_all_slavic_idea

		dynamic = yes

		icon = {
			trigger = {
				has_country_flag = UKR_restore_of_romanovs
			}
			value = GFX_focus_SOV_old_eastern_empire
		}
		icon = {
			trigger = {
				NOT = { has_country_flag = UKR_restore_of_romanovs }
			}
			value = GFX_goal_generic_defence
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_new_alliances }

		available = {
			is_subject = no
			if = {
				limit = { has_country_flag = UKR_restore_of_romanovs }
				463 = { is_owned_and_controlled_by = USA }
				822 = { is_controlled_by = ROOT }
				NOT = { has_war_with = USA }
				NOT = { is_in_faction_with = USA }
				USA = { is_subject = no }
				has_navy_size = { size > 29 }
			}
			if = {
				limit = { has_country_flag = UKR_restore_of_rurikids }
				is_faction_leader = yes
			}
		}

		x = 0
		y = 1
		relative_position_id = UKR_new_alliances
		cost = 10
		completion_reward = {
			if = {
				limit = {
					has_country_flag = UKR_restore_of_rurikids
				}
				give_guarantee = CZE
				give_guarantee = YUG
				give_guarantee = BUL
				every_country = {
	 				limit = {
	     				OR = {
	     					tag = BUL
	     					tag = YUG
	     					tag = CZE
	     				}
	     				NOT = { has_war_with = ROOT }
	     				is_in_faction = no
	     				is_subject = no
	  				}
	  				country_event = { id = generic.5 days = 1 }
				}
			}
			else_if = {
				limit = {
					has_country_flag = UKR_restore_of_romanovs
				}
				USA = { country_event = { id = ukraine.745 days = 1 } }
			}
		}
	}

	focus = {
		id = UKR_altmonarchy_attack_germany

		icon = GFX_focus_attack_germany

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_new_alliances }

		available = {
			is_subject = no
			country_exists = GER
			NOT = { has_war_with = GER }
			NOT = { is_in_faction_with = GER }
			GER = { is_subject = no }
		}

		x = -2
		y = 1
		relative_position_id = UKR_new_alliances
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = GER
				expire = 730
			}
		}
	}

	focus = {
		id = UKR_new_big_game

		icon = GFX_focus_RAJ_clamp_down_on_corruption

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_new_alliances }

		available = {
			is_subject = no
			OR = {
				is_neighbor_of = TUR
				is_neighbor_of = PER
				is_neighbor_of = AFG
				any_other_country = {
					is_subject_of = ROOT
					OR = {
						is_neighbor_of = TUR
						is_neighbor_of = PER
						is_neighbor_of = AFG
					}
				}
			}
		}

		x = 2
		y = 1
		relative_position_id = UKR_new_alliances
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			every_other_country = {
				limit = {
					OR = {
						tag = TUR
						tag = PER
						tag = AFG
					}
					NOT = { has_war_with = ROOT }
					is_in_faction = no
					is_subject = no
				}
				country_event = { id = ukraine.751 days = 1 }
			}
			if = {
				limit = {
					OR = {
						656 = { is_owned_and_controlled_by = ENG } # Kuwait
						765 = { is_owned_and_controlled_by = ENG } # Quatar
						658 = { is_owned_and_controlled_by = ENG } # UAE	
						659 = { is_owned_and_controlled_by = ENG } # Aden
						RAJ = { is_subject_of = ENG }
					}
				}
				custom_effect_tooltip = UKR_additional_decisions
			}
		}
	}

	focus = {
		id = UKR_west_borders
		icon = GFX_focus_DKR_western_campaign

		available = {
			NOT = { has_war_with = POL }
			is_subject = no
		}

		bypass = {
			OR = {
				NOT = { country_exists = POL }
				POL = { is_subject = yes }
				POL = { has_capitulated = yes }
			}
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_legacy_of_empire }

		x = -3
		y = 1
		relative_position_id = UKR_legacy_of_empire
		cost = 10
		completion_reward = {
			if = {
				limit = {
					POL = { has_completed_focus = POL_fulfil_fifth_of_november }
				}
				POL = { country_event = { id = ukraine.724 days = 1 } }
			}
			else = {
				unlock_decision_category_tooltip = UKR_support_monarchy_in_POL_cat
				set_country_flag = UKR_will_support_monarchy_in_POL
			}
		}
	}

	focus = {
		id = UKR_take_polish_lands
		icon = GFX_focus_UKR_galician_operations

		ai_will_do = {
			factor = 10
		}

		available = {
			POL = { is_subject_of = ROOT }
		}

		bypass = {
			NOT = {
				89 = {
					controller = {
						original_tag = POL 
					}
					owner = {
						original_tag = POL 
					}
				}
				91 = {
					controller = {
						original_tag = POL 
					}
					owner = {
						original_tag = POL 
					}
				}
				93 = {
					controller = {
						original_tag = POL 
					}
					owner = {
						original_tag = POL 
					}
				}
				1052 = {
					controller = {
						original_tag = POL 
					}
					owner = {
						original_tag = POL 
					}
				}
			}
		}

		prerequisite = { focus = UKR_west_borders }

		x = 1
		y = 1
		relative_position_id = UKR_west_borders
		cost = 8
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			POL = { country_event = ukraine.738 }
			effect_tooltip = {
				transfer_state = 89
				transfer_state = 91
				transfer_state = 93
				transfer_state = 1052
			}
		}
	}

	focus = {
		id = UKR_rusyns_go_home
		icon = GFX_focus_CUA_carpathian_coat

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_take_polish_lands }

		available = {
			is_subject = no
		}

		bypass = {
			73 = { is_controlled_by = ROOT }
			80 = { is_controlled_by = ROOT }
			766 = { is_controlled_by = ROOT }
		}

		x = 0
		y = 1
		relative_position_id = UKR_take_polish_lands
		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 73
			add_state_claim = 78
			add_state_claim = 80
			add_state_claim = 766
			every_other_country = {
				limit = {
					OR = {
						controls_state = 73
						controls_state = 78
						controls_state = 80
						controls_state = 766
					}
					NOT = { has_war_with = ROOT }
				}
				country_event = { id = ukraine.748 days = 1 }
			}
		}
	}

	focus = {
		id = UKR_baltic_interests
		icon = GFX_focus_SOV_reinforce_western_naval_bases

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_west_borders }

		available = {
			is_subject = no
			OR = {
				POL = { is_subject_of = ROOT }
				is_neighbor_of = LIT
				is_neighbor_of = LAT
			}
		}

		x = -1
		y = 1
		relative_position_id = UKR_west_borders
		cost = 10
		completion_reward = {
			set_variable = { var_ukr_baltic_countries_count = 0 }
			if = {
				limit = {
					EST = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT } 
						NOT = { is_in_faction_with = ROOT }
					}
				} 
				EST = { country_event = ukraine.741 }
			}
			else = {
				every_state = {
					limit = {
						is_core_of = EST
					}
					add_claim_by = ROOT
				}
			}
			if = {
				limit = {
					LAT = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT } 
						NOT = { is_in_faction_with = ROOT }
					}
				} 
				LAT = { country_event = ukraine.741 }
			}
			else = {
				every_state = {
					limit = {
						is_core_of = LAT
					}
					add_claim_by = ROOT
				}
			}
			if = {
				limit = {
					LIT = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT } 
						NOT = { is_in_faction_with = ROOT }
					}
				} 
				LIT = { country_event = ukraine.741 }
			}
			else = {
				every_state = {
					limit = {
						is_core_of = LIT
					}
					add_claim_by = ROOT
				}
			}
		}
	}

	focus = {
		id = UKR_finnish_path

		dynamic = yes

		icon = {
			trigger = {
				has_country_flag = UKR_restore_of_romanovs
			}
			value = GFX_focus_generic_invade_finland
		}
		icon = {
			trigger = {
				NOT = { has_country_flag = UKR_restore_of_romanovs }
			}
			value = GFX_focus_FIN_viron_kansa
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_baltic_interests }

		bypass = {
			has_country_flag = UKR_restore_of_romanovs
			OR = {
				NOT = { country_exists = FIN }
				has_war_with = FIN
				FIN = { is_puppet = yes }
			}
		}

		available = {
			if = {
				limit = {
					has_country_flag = UKR_restore_of_rurikids
				}
				any_state = {
					OR = {
						is_core_of = EST
						is_core_of = LAT
						is_core_of = LIT
					}
					owner = {
						OR = {
							tag = ROOT
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}
					}
				}
			}
		}

		x = 0
		y = 1
		relative_position_id = UKR_baltic_interests
		cost = 10
		completion_reward = {
			if = {
				limit = {
					has_country_flag = UKR_restore_of_romanovs
				}
				FIN = {
					country_event = ukraine.741
				}
			}
			else = {
				if = {
					limit = {
						189 = {
							controller = {
								OR = {
									is_subject_of = ROOT
									tag = ROOT
								}
							}
						}
					}
					189 = { set_state_flag = UKR_nordik_path }
				}
				if = {
					limit = {
						190 = {
							controller = {
								OR = {
									is_subject_of = ROOT
									tag = ROOT
								}
							}
						}
					}
					190 = { set_state_flag = UKR_nordik_path }
				}
				if = {
					limit = {
						813 = {
							controller = {
								OR = {
									is_subject_of = ROOT
									tag = ROOT
								}
							}
						}
					}
					813 = { set_state_flag = UKR_nordik_path }
				}
				if = {
					limit = {
						95 = {
							controller = {
								OR = {
									is_subject_of = ROOT
									tag = ROOT
								}
							}
						}
					}
					95 = { set_state_flag = UKR_nordik_path }
				}
				if = {
					limit = {
						196 = { is_owned_and_controlled_by = ROOT }
					}
					196 = { set_state_flag = UKR_nordik_path }
				}
				if = {
					limit = {
						197 = { is_owned_and_controlled_by = ROOT }
					}
					197 = { set_state_flag = UKR_nordik_path }
				}
				if = {
					limit = {
						226 = { is_owned_and_controlled_by = ROOT }
					}
					226 = { set_state_flag = UKR_nordik_path }
				}
				hidden_effect = {
					every_state = {
						limit = {
							has_state_flag = UKR_nordik_path
							free_building_slots = {
								building = infrastructure
								size > 0
							}
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
				custom_effect_tooltip =	UKR_finnish_path_rurik_tt
				add_doctrine_cost_reduction = {
					name = UKR_finnish_path
					cost_reduction = 0.5
					uses = 2
					category = naval_doctrine
				}
			}
		}
	}

	focus = {
		id = UKR_polish_tzardom
		icon = GFX_focus_UKR_polish_tzardom

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_finnish_path focus = UKR_rusyns_go_home }

		available = {
			any_other_country = {
				original_tag = POL
				is_subject_of = ROOT
				has_capitulated = no
			}
		}

		x = 1
		y = 1
		relative_position_id = UKR_finnish_path
		cost = 8
		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = POL
					is_subject_of = ROOT
				}
				if = { 
					limit = { has_country_leader_with_trait = puppet_regent }
					swap_ruler_traits = { remove = puppet_regent add = imperial_governor }
				}
				else_if = {
					limit = { has_character = UKR_adam_montrezor }
					promote_character = UKR_adam_montrezor
					add_country_leader_trait = imperial_governor
				}
				set_cosmetic_tag = POL_TZARDOM
				ROOT = {
					set_autonomy = {
						target = PREV
						autonomy_state = autonomy_real_union
					}
				}
			}
			
		}
	}

	focus = {
		id = UKR_church_issue
		icon = GFX_focus_SOV_patriarch_of_all_russia

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_legacy_of_empire }

		x = 3
		y = 1
		relative_position_id = UKR_legacy_of_empire
		cost = 10
		completion_reward = {
			country_event = ukraine.727
		}
	}

	focus = {
		id = UKR_native_faith
		icon = GFX_focus_ARG_state_atheism

		mutually_exclusive = { focus = UKR_unification_of_churches }

		ai_will_do = {
			factor = 10
		}

		available = {
			always = no
		}

		prerequisite = { focus = UKR_church_issue }

		x = -1
		y = 1
		relative_position_id = UKR_church_issue
		cost = 0
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_political_power = -100
			add_stability = -0.10
			add_war_support = 0.10
			add_popularity = {
				ideology = fascism
				popularity = 0.10
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_volodymyr_shaian
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.10
				}
			}
			if = {
				limit = { 
					has_country_flag = UKR_restore_of_romanovs
					NOT = { has_completed_focus = UKR_capital_of_monarch } 
				}
				hidden_effect = {
					set_cosmetic_tag = UKR_NEOPAGAN
				}
			}
		}
	}

	focus = {
		id = UKR_run_organisation
		icon = GFX_focus_UKR_native_faith

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_native_faith }

		x = 0
		y = 1
		relative_position_id = UKR_native_faith
		cost = 10
		completion_reward = {
			add_ideas = UKR_run_idea
		}
	}

	focus = {
		id = UKR_unification_of_churches
		icon = GFX_focus_por_concordat

		mutually_exclusive = { focus = UKR_native_faith }

		ai_will_do = {
			factor = 10
		}

		available = {
			always = no
		}

		prerequisite = { focus = UKR_church_issue }

		x = 1
		y = 1
		relative_position_id = UKR_church_issue
		cost = 0
		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_ideas = UKR_united_church_of_rus
			country_event = { id = ukraine.744 days = 2 } 
		}
	}

	focus = {
		id = UKR_defence_of_ortodoxal
		icon = GFX_focus_GRE_byzantine_themata

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_unification_of_churches }

		available = {
			is_subject = no
			threat > 0.15
		}

		bypass = {
			OR = {
				797 = { NOT = { is_owned_and_controlled_by = TUR } }
				has_war_with = TUR
				is_in_faction_with = TUR
			}
		}

		x = 0
		y = 1
		relative_position_id = UKR_unification_of_churches
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			create_wargoal = {
				type = take_state_focus
				target = TUR
				generator = { 340 341 797 }
			}
			if = {
				limit = {
					GRE = {
						exists = yes
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
						NOT = { has_government = communism }
						has_war = no
					}
				}
				give_guarantee = GRE
			}
			if = {
				limit = {
					BUL = {
						exists = yes
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
						NOT = { has_government = communism }
						has_war = no
					}
				}
				give_guarantee = BUL
			}
			if = {
				limit = {
					YUG = {
						exists = yes
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
						NOT = { has_government = communism }
						has_war = no
					}
				}
				give_guarantee = YUG
			}
		}
	}

	focus = {
		id = UKR_holy_warriors
		icon = GFX_focus_CHL_departemento_de_las_tropas_nacistas_de_asalto

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_defence_of_ortodoxal focus = UKR_run_organisation }

		x = 1
		y = 1
		relative_position_id = UKR_run_organisation
		cost = 10
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = UKR_unification_of_churches
				}
				swap_ideas = {
					add_idea = UKR_united_church_of_rus_adv
					remove_idea = UKR_united_church_of_rus
				}
			}
			else = {
				swap_ideas = {
					add_idea = UKR_run_idea_adv
					remove_idea = UKR_run_idea
				}
			}
		}
	}

	focus = {
		id = UKR_alliance_with_Poland
		icon = GFX_focus_UKR_ally_with_poland
		available = {
			is_puppet = no
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			POL = {
				OR = {
					is_faction_leader = yes
					AND = {
						has_completed_focus = POL_baltic_security
						is_in_faction = no
					}
				}
			}
			NOT = { has_war_with = POL }
			89 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			91 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			93 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}	
			1052 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			if = {
				limit = { has_completed_focus = UKR_monarchy }
				has_country_flag = UKR_constitution_monarchy
			}			
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_constitution_reform focus = UKR_monarchy focus = UKR_lustration }
		mutually_exclusive = { focus = UKR_Ukraine_first focus = UKR_peace_politic }
		x = -4
		y = 1
		relative_position_id = UKR_monarchy
		cost = 5
		completion_reward = {
			if = {
				limit = { is_in_faction_with = POL }
				remove_state_core = 89
				remove_state_core = 91
				remove_state_core = 93
				remove_state_core = 1052
				hidden_effect = {
					89 = { add_core_of = WUA }
					91 = { add_core_of = WUA }
					93 = { add_core_of = WUA }
					1052 = { add_core_of = WUA }
				}
			}
			else = {
				POL = {
					add_opinion_modifier = { target = UKR modifier = UKR_compromise_with_poland }
					country_event = { id = ukraine.494 hours = 8 }
				}
				effect_tooltip = {
					remove_state_core = 89
					remove_state_core = 91
					remove_state_core = 93
					remove_state_core = 1052
				}
			}
		}
	}

	focus = {
		id = UKR_economic_integration_with_pol
		icon = GFX_goal_generic_positive_trade_relations
		available = {
			POL = {
				exists = yes
			}
			NOT = { has_war_with = POL }
		}

		prerequisite = { focus = UKR_alliance_with_Poland }
		x = 0
		y = 1
		relative_position_id = UKR_alliance_with_Poland
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}	
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 2 }
			POL = { add_offsite_building = { type = industrial_complex level = 2 } }
		}
	}

	focus = {
		id = UKR_exchange_of_population
		icon = GFX_focus_UKR_exchange_of_population
		available = {
			POL = {
				is_faction_leader = yes
			}
			is_in_faction_with = POL
			89 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			91 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}
			93 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}		
			1052 = {
				owner = {
					original_tag = POL
				}
				controller = {
					original_tag = POL
				}
			}		
		}

		prerequisite = { focus = UKR_economic_integration_with_pol }
		x = 0
		y = 1
		relative_position_id = UKR_economic_integration_with_pol
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			89 = {
				add_manpower = -350000
			}
			91 = {
				add_manpower = -400000
			}
			93 = {
				add_manpower = -200000
			}
			1052 = {
				add_manpower = -150000
			}
			random_owned_controlled_state = {
				add_manpower = 200000
			}
			random_owned_controlled_state = {
				add_manpower = 150000
			}
			random_owned_controlled_state = {
				add_manpower = 150000
			}
			random_owned_controlled_state = {
				add_manpower = 150000
			}
			random_owned_controlled_state = {
				add_manpower = 150000
			}
			random_owned_controlled_state = {
				add_manpower = 150000
			}
			random_owned_controlled_state = {
				add_manpower = 150000
			}
			POL = { country_event = ukraine.192 }
			add_timed_idea = {
				idea = UKR_placement_of_immigrants
				days = 365
			}
		}
	}

	

	focus = {
		id = UKR_new_pacification
		icon = GFX_focus_POL_riot_of_37
		available = {
		
		}

		prerequisite = { focus = UKR_exchange_of_population }
		x = 0
		y = 1
		relative_position_id = UKR_exchange_of_population
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			if = {
				limit = { has_idea = UKR_opposition_for_polonophiles }
				remove_ideas = UKR_opposition_for_polonophiles
			}
		}
	}

	focus = {
		id = UKR_railroad_to_warsaw
		icon = GFX_goal_generic_construct_infrastructure
		available = {
			NOT = { has_war_with = POL }
			10 = { 
				OR = {
					is_owned_and_controlled_by = POL 
					is_owned_and_controlled_by = ROOT
				}
				
			}
			92 = { 
				OR = {
					is_owned_and_controlled_by = POL 
					is_owned_and_controlled_by = ROOT
				}
				
			}
			93 = { 
				OR = {
					is_owned_and_controlled_by = POL 
					is_owned_and_controlled_by = ROOT
				}
				
			}
			201 = { 
				OR = {
					is_owned_and_controlled_by = POL 
					is_owned_and_controlled_by = ROOT
				}
				
			}
			202 = { 
				OR = {
					is_owned_and_controlled_by = POL 
					is_owned_and_controlled_by = ROOT
				}
				
			}
		}

		prerequisite = { focus = UKR_new_pacification }
		x = 0
		y = 1
		relative_position_id = UKR_new_pacification
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			build_railway = {
				level = 3
				path = { 525 3543 441 6593 3470 11543 6435 572 513 422 6580 11399 3559 3521 12562 524 3544 }
			}
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 10
				producer = ROOT
			}
		}
	}

	focus = {
		id = UKR_restavration_of_rzeczpospolita
		icon = GFX_goal_generic_improve_relations
		available = {
			NOT = { has_country_flag = UKR_united_with_poland }
			is_in_faction_with = POL
		}

		prerequisite = { focus = UKR_railroad_to_warsaw }
		x = 0
		y = 1
		relative_position_id = UKR_railroad_to_warsaw
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			set_country_flag = UKR_project_of_rp
			country_event = ukraine.365
			custom_effect_tooltip = UKR_restavration_of_rzeczpospolita_tt
		}
	}

	focus = {
		id = UKR_new_cossacks
		icon = GFX_focus_UKR_new_cossacks
		available = {
			
		}

		prerequisite = { focus = UKR_Ukraine_first focus = UKR_alliance_with_Poland focus = UKR_coronation }
		x = 2
		y = 1
		relative_position_id = UKR_alliance_with_Poland
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = UKR_pressure_on_the_opposition
				}
				add_ideas = UKR_registered_cossacks_plus
			}
			else = {
				add_ideas = UKR_registered_cossacks
			}
			if = { limit = { 202 = { is_controlled_by = UKR } }
				custom_effect_tooltip = UKR_add_cossacks_div_tt
				hidden_effect = {
					if = {
						limit = { has_tech = motorised_infantry }
						load_oob = UKR_cossacks_moto
						else = { load_oob = UKR_cossacks_cav }
					}
				}
			}
			unlock_decision_category_tooltip = UKR_extended_cossaks_idea
		}
	}

	focus = {
		id = UKR_soul_and_body
		icon = GFX_focus_UKR_soul_and_body
		available = {
			has_defensive_war = yes
			if = {
				limit = { has_completed_focus = UKR_coronation }
				is_power_balance_in_range = {
					id = UKR_power_balance
					range < UKR_small_ukrainophilia
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_new_cossacks }
		x = 0
		y = 1
		relative_position_id = UKR_new_cossacks
		cost = 10
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_PROPAGANDA }
		completion_reward = {
			add_ideas = UKR_soul_body
			set_rule = {
			    can_use_kamikaze_pilots = yes
			}
		}
	}

	focus = {
		id = UKR_standartisation_of_weapons
		icon = GFX_focus_secret_rearmament

		allow_branch = {
			OR = {
				NOT = { has_completed_focus = UKR_political_effort }
				has_completed_focus = UKR_old_course
				AND = {
					has_completed_focus = UKR_democratic_reforms
					NOT = { has_country_flag = UKR_altdem_branch_is_available }
				}
			}	
			
		}

		available = {
			is_in_faction = yes
			any_other_country = {
				is_faction_leader = yes
				is_in_faction_with = UKR
			}
		}

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_economic_integration_with_pol focus = UKR_support_from_west }
		x = -2
		y = 3
		relative_position_id = UKR_economic_integration_with_pol
		cost = 10
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = UKR_standartisation_of_weapons
				bonus = 1.0
				uses = 1
				category = infantry_weapons
			}
			add_tech_bonus = {
				name = UKR_standartisation_of_weapons
				bonus = 1.0
				uses = 1
				category = support_tech
			}
			random_other_country = {
				limit = {
					is_faction_leader = yes
					is_in_faction_with = UKR
				}
				add_tech_bonus = {
					name = UKR_standartisation_of_weapons
					bonus = 1.0
					uses = 1
					category = infantry_weapons
				}
				add_tech_bonus = {
					name = UKR_standartisation_of_weapons
					bonus = 1.0
					uses = 1
					category = support_tech
				}
			}
		}
	}

	focus = {
		id = UKR_foreign_instructors
		icon = GFX_goal_generic_allies_build_infantry
		available = {
			any_other_country = {
				is_in_faction_with = UKR
			}
		}

		prerequisite = { focus = UKR_standartisation_of_weapons }
		x = 0
		y = 1
		relative_position_id = UKR_standartisation_of_weapons
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_ideas = ukr_foreign_instructors
		}
	}

	focus = {
		id = UKR_refining_our_strategies
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = UKR_foreign_instructors }
		x = 0
		y = 1
		relative_position_id = UKR_foreign_instructors
		cost = 10
		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_refining_our_strategies
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			add_doctrine_cost_reduction = {
				name = UKR_refining_our_strategies
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
			add_doctrine_cost_reduction = {
				name = UKR_refining_our_strategies
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}
		}
	}


	focus = {
		id = UKR_council_of_defence
		icon = GFX_focus_usa_focus_on_europe
		available = {
			threat > 0.15
		}

		prerequisite = { focus = UKR_black_sea_strategy }
		x = -3
		y = 2
		relative_position_id = UKR_black_sea_strategy
		cost = 10

		available_if_capitulated = yes
		continue_if_invalid = yes
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_ideas = UKR_special_council
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_guards_of_order < 100 }
				}
				ucr_support_of_guards_big = yes
			}
			if = {
				limit = { is_faction_leader = yes }
				custom_effect_tooltip = UKR_additional_decisions
			}
		}
	}

	focus = {
		id = UKR_reinforce_sanitary_cordon
		icon = GFX_focus_GER_end_european_communism
		available = {
			is_puppet = no
			SOV = {
				has_government = communism
				exists = yes
				NOT = { is_in_faction_with = ROOT }
			}
		}

		prerequisite = { focus = UKR_council_of_defence }
		mutually_exclusive = { focus = UKR_expand_our_alliance }
		x = -1
		y = 1
		relative_position_id = UKR_council_of_defence
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			#add_ideas = member_of_sanitary_cordon
			UKR_sancordon_bonus_defence_increase = yes
			every_other_country = {
				limit = {
					OR = {
						tag = FIN
						tag = EST
						tag = LIT
						tag = LAT
						tag = TUR
						tag = ROM
						tag = AFG
						tag = PER
					}
					NOT = { has_government = communism }
					is_puppet = no
					NOT = { is_in_faction_with = ROOT }
					NOT = { has_war_with = ROOT }
				}
				country_event = ukraine.212
			}
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_guards_of_order < 100 }
				}
				ucr_support_of_guards_big = yes
			}
		}
	}

	focus = {
		id = UKR_expand_our_alliance
		icon = GFX_goal_generic_position_armies
		available = {
			is_faction_leader = yes
		}

		prerequisite = { focus = UKR_council_of_defence }
		mutually_exclusive = { focus = UKR_reinforce_sanitary_cordon }
		x = 1
		y = 1
		relative_position_id = UKR_council_of_defence
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			custom_effect_tooltip = UKR_additional_decisions
			if = {
				limit = {
					CZE = {
						exists = yes
						is_puppet = no
						is_in_faction = no
						NOT = { has_government = communism }
					}
					NOT = { has_war_with = CZE }
					OR = {
						is_neighbor_of = CZE
						any_other_country = {
							is_in_faction_with = ROOT
							is_neighbor_of = CZE
						}
					}
				}
				add_ai_strategy = {
					type = befriend
					id = "CZE"			
					value = 200
				}
			}
			if = {
				limit = {
					HUN = {
						exists = yes
						is_puppet = no
						is_in_faction = no
						NOT = { has_government = communism }
					}
					NOT = { has_war_with = HUN }
					OR = {
						is_neighbor_of = HUN
						any_other_country = {
							is_in_faction_with = ROOT
							is_neighbor_of = HUN
						}
					}
				}
				add_ai_strategy = {
					type = befriend
					id = "HUN"			
					value = 200
				}
			}
			if = {
				limit = {
					YUG = {
						exists = yes
						is_puppet = no
						is_in_faction = no
						NOT = { has_government = communism }
					}
					NOT = { has_war_with = YUG }
					OR = {
						is_neighbor_of = YUG
						any_other_country = {
							is_in_faction_with = ROOT
							is_neighbor_of = YUG
						}
					}
				}
				add_ai_strategy = {
					type = befriend
					id = "YUG"			
					value = 200
				}
			}
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_unionists < 100 }
				}
				ucr_support_of_unionists_big = yes
			}
		}
	}

	focus = {
		id = UKR_bear_trap
		icon = GFX_focus_eng_expose_the_belly_of_the_bear
		available = {
			has_army_manpower = { size > 449999 }
		}

		bypass = {
			OR = {
				NOT = { country_exists = SOV }
				is_in_faction_with = SOV
				SOV = { is_puppet = yes }
				#has_war_with = SOV #not work decisions and other bonuses during war with SOV
			}
		}

		prerequisite = { focus = UKR_reinforce_sanitary_cordon focus = UKR_expand_our_alliance }
		x = -1
		y = 1
		relative_position_id = UKR_expand_our_alliance
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				has_army_manpower = { size > 700000 }
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			add_war_support = 0.05
			add_doctrine_cost_reduction = {
				name = UKR_bear_trap
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			UKR_sancordon_bonus_attack_increase = yes
			unlock_decision_category_tooltip = UKR_bear_trap_category
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_guards_of_order < 100 }
				}
				ucr_support_of_guards_big = yes
			}
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							is_core_of = DON
							is_core_of = BLR
							is_core_of = KUB
						}
					}
					set_state_flag = {
						flag = UKR_discovered_infiltration
						value = 0
					}
				}
			}
		}
	}

	focus = {
		id = UKR_treaty_with_japan
		icon = GFX_focus_chi_collaboration_with_the_japanese
		
		bypass = {
			OR = {
				NOT = { country_exists = JAP }
				NOT = { country_exists = SOV }
				is_in_faction_with = JAP
				has_war_with = JAP
				JAP = { is_puppet = yes }
				SOV = { is_puppet = yes }
				JAP = { has_government = communism }
				JAP = { has_government = democratic }
			}
		}

		available = {
			is_faction_leader = yes
			has_war_with = SOV
			surrender_progress < 0.1
			JAP = { has_opinion = { target = ROOT value > 75 } }
		}

		prerequisite = { focus = UKR_bear_trap }
		x = 0
		y = 1
		relative_position_id = UKR_bear_trap
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			JAP = { country_event = ukraine.328 }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_unionists < 100 }
				}
				ucr_support_of_unionists_big = yes
			}
		}
	}

	focus = {
		id = UKR_arch_key
		icon = GFX_goal_generic_dangerous_deal
		will_lead_to_war_with = POL
		available = {
			is_faction_leader = yes
			has_army_manpower = { size > 349999 }
		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				POL = { exists = no }
				POL = { is_puppet = yes }
				POL = { has_capitulated = yes }
				91 = { is_owned_and_controlled_by = UKR }
				91 = { is_owned_and_controlled_by = WUA }
			}
		}

		prerequisite = { focus = UKR_black_sea_strategy }
		mutually_exclusive = { focus = UKR_berestia }
		x = 3
		y = 1
		relative_position_id = UKR_black_sea_strategy
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
		    BLR = {
				if = {
					limit = {
						exists = yes
						is_subject = no
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR }
					}
					country_event = { id = ukraine.57 hours = 6 }
				}
			}
			POL = { country_event = ukraine.314 }
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_unionists < 100 }
				}
				ucr_support_of_unionists_big = yes
			}
		}
	}

	focus = {
		id = UKR_negotiations_with_lithuania
		icon = GFX_focus_LIT_restore_order
		available = {
			is_faction_leader = yes
			has_wargoal_against = POL
			POL = {
				exists = yes
				NOT = { is_in_faction_with = ROOT }
			}
			784 = { is_owned_and_controlled_by = POL }
			LIT = {
				NOT = { is_in_faction_with = POL }
				NOT = { is_in_faction_with = ROOT }
				is_subject = no
				NOT = { has_war_with = ROOT }
			}
		}

		prerequisite = { focus = UKR_arch_key }
		x = 1
		y = 2
		relative_position_id = UKR_arch_key
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			LIT = {
				country_event = { id = ukraine.499 hours = 8 }
			}
		}
	}

	focus = {
		id = UKR_baltic_black_sea_axis
		icon = GFX_focus_SOV_baltic_security
		available = {
			is_faction_leader = yes
			OR = {
				is_in_faction_with = POL
				is_in_faction_with = BLR
			}
		}

		bypass = {
			count_triggers = {
				amount = 3
				is_in_faction_with = LIT
				is_in_faction_with = LAT
				is_in_faction_with = EST
				NOT = { country_exists = LIT }
				NOT = { country_exists = LAT }
				NOT = { country_exists = EST }
				has_war_with = LIT
				has_war_with = LAT
				has_war_with = EST
			}
		}

		prerequisite = { focus = UKR_arch_key }
		x = -1
		y = 2
		relative_position_id = UKR_arch_key
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			LIT = {
				if = {
					limit = {
						exists = yes
						is_subject = no
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR }
					}
					country_event = { id = ukraine.57 hours = 2 }
				}
			}
			LAT = {
				if = {
					limit = {
						exists = yes
						is_subject = no
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR }
					}
					country_event = { id = ukraine.57 hours = 4 }
				}
			}
			EST = {
				if = {
					limit = {
						exists = yes
						is_subject = no
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR }
					}
					country_event = { id = ukraine.57 hours = 6 }
				}
			}
			if = {
				limit = { 
					has_country_flag = UKR_cossack_republic
					check_variable = { var_ucr_support_of_unionists < 100 }
				}
				ucr_support_of_unionists_big = yes
			}
		}
	}

	focus = {
		id = UKR_baltic_infrastructure
		icon = GFX_goal_generic_construct_naval_dockyard
		available = {
			any_other_country = {
				OR = { 
					tag = LIT
					tag = LAT
					tag = EST
					tag = BLR 
				}
				is_in_faction_with = ROOT
			}
		}

		prerequisite = { focus = UKR_baltic_black_sea_axis focus = UKR_negotiations_with_lithuania }
		x = 1
		y = 2
		relative_position_id = UKR_baltic_black_sea_axis
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			LIT = {
				if = {
					limit = { is_in_faction_with = UKR }
					country_event = ukraine.317
				}
			}
			LAT = {
				if = {
					limit = { is_in_faction_with = UKR }
					country_event = ukraine.317
				}
			}
			EST = {
				if = {
					limit = { is_in_faction_with = UKR }
					country_event = ukraine.317
				}
			}
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_cossacks_glory
		icon = GFX_focus_UKR_ukrainian_glory
		available = {
			is_faction_leader = yes
			has_idea = UKR_something_more
			num_faction_members > 4
			has_army_manpower = { size > 549999 }
		}

		prerequisite = { focus = UKR_treaty_with_japan focus = UKR_big_deal focus = UKR_support_for_fleet focus = UKR_baltic_infrastructure }
		x = 1
		y = 1
		relative_position_id = UKR_big_deal
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_political_power = 150
			swap_ideas = {
				add_idea = UKR_cossacks_legacy
				remove_idea = UKR_something_more
			}
		}
	}

	focus = {
		id = UKR_revanchism
		icon = GFX_focus_UKR_revanchism
		prerequisite = { focus = UKR_political_effort }
		mutually_exclusive = { focus = UKR_communism_propaganda focus = UKR_democratic_reforms focus = UKR_old_course }
		x = 17
		y = 1
		offset = {
			x = -17
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}
		relative_position_id = UKR_political_effort
		cost = 8
		allow_branch = {
			NOT = { 
				OR = {
					has_completed_focus = UKR_communism_propaganda 
					has_completed_focus = UKR_old_course
					has_completed_focus = UKR_democratic_reforms
				}
			}
		}

		available = {
			has_character = UKR_stepan_bandera
		}

		available_if_capitulated = yes

		bypass = {
			has_government = fascism
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = UKR_revanchism_idea
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_dmytro_dontsov
			hidden_effect = {
				GER = {
					add_ai_strategy = {
						type = alliance
						id = "UKR"
						value = -50
					}
				}
				if = { 
					limit = { has_country_flag = UKR_arrival_of_yakov_blyumkin_flag }
					UKR_recruting_of_yakov_blyumkin = yes
				}
			}	
			hidden_effect = { #collapse focus tree
				mark_focus_tree_layout_dirty = yes
			}	
		}
	}
	
	focus = {
		id = UKR_party_split
		icon = GFX_focus_UKR_party_split
		prerequisite = { focus = UKR_revanchism }
		mutually_exclusive = { focus = UKR_one_leader }
		available = {
			has_government = fascism
			is_puppet = no
			has_character = UKR_stepan_bandera
			has_character = UKR_andriy_melnyk
		}
		x = -2
		y = 1
		relative_position_id = UKR_revanchism
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }
		completion_reward = {
			add_political_power = -50
			custom_effect_tooltip = UKR_oun_begin_of_faction_struggle_tt
			country_event = ukraine.599
			if = {
				limit = { 
					has_unit_leader = 661 
				}
				add_ideas = UKR_generals_plot
			}
			set_country_flag = UKR_has_OUN_struggle
			set_variable = { var_oun_radicalisation_level = 1 }
			#add_ideas = UKR_oun_party_split
		}
	}

	focus = {
		id = UKR_one_leader
		icon = GFX_focus_UKR_one_leader
		prerequisite = { focus = UKR_revanchism }
		mutually_exclusive = { focus = UKR_party_split }
		available = {
			has_government = fascism
			is_puppet = no
		}
		x = 2
		y = 1
		relative_position_id = UKR_revanchism
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }
		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_oun_begin_of_faction_struggle_tt
			add_popularity = {
				ideology = fascism
				popularity = 0.03
			}
			swap_ruler_traits = { 
				remove = army_functionary
				add = one_leader_of_oun
			}
			country_event = ukraine.600
			set_variable = { var_oun_status_of_power = 1 }
			set_variable = { var_oun_radicalisation_level = 1 }
			set_variable = { var_oun_authority_of_conovalets = 60 }
			if = {
				limit = { has_country_flag = UKR_big_support_of_bandera }
				set_variable = { var_oun_control_of_melnyk = 10 }
				set_variable = { var_oun_onslaught_of_bandera = 30 }
			}
			else = {
				set_variable = { var_oun_control_of_melnyk = 22 }
				set_variable = { var_oun_onslaught_of_bandera = 18 }
			}
			if = {
				limit = { 
					has_unit_leader = 661 
				}
				add_ideas = UKR_generals_plot
			}
			set_country_flag = UKR_has_OUN_struggle
			hidden_effect = {
				add_ideas = {
					oun_melnyk_opposition
					oun_bandera_opposition
					oun_strong_leader
				}
			}
		}
	}

	focus = {
		id = UKR_overcome_party_split
		icon = GFX_focus_UKR_overcome_party_split
		prerequisite = { focus = UKR_one_leader focus = UKR_party_split }

		available = {
			has_government = fascism
		}
		x = 2
		y = 1
		relative_position_id = UKR_party_split
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = UKR_additional_decisions
		}	
	}

	focus = {
		id = UKR_fascist_foreign_relations
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = UKR_overcome_party_split }
		available = {
			has_government = fascism
			oun_low_power_of_konovalets_trigger = yes
		}
		x = 1
		y = 1
		relative_position_id = UKR_overcome_party_split
		cost = 8

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }
		completion_reward = {
			add_ideas = UKR_fascist_diplomatic_activity
			if = {
				limit = { has_dlc = "La Resistance" }
				custom_effect_tooltip = UKR_additional_operation
			}
		}
	}

	focus = {
		id = UKR_ally_germany
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = UKR_fascist_foreign_relations focus = UKR_orientation_on_germany }
		available = {
			has_government = fascism
			#NOT = { has_idea = UKR_oun_party_split }
			is_puppet = no
			NOT = { has_war_with = GER }
			GER = { 
				has_government = fascism 
				is_faction_leader = yes
			}
			OR = {
				oun_low_power_of_melnyk_trigger = yes
				oun_strong_power_of_konovalets_trigger = yes
			}
		}

		bypass = {
			is_in_faction_with = GER
		}
		x = -2
		y = 1
		relative_position_id = UKR_fascist_foreign_relations
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = {  }
		completion_reward = {
			GER = { country_event = { id = ukraine.596 days = 1 } }
		}
	}

	focus = {
		id = UKR_galician_operations
		icon = GFX_focus_POL_ukrainian_army
		prerequisite = { focus = UKR_fascist_foreign_relations }
		available = {
			has_government = fascism
			is_puppet = no
			custom_trigger_tooltip = {
				tooltip = UKR_western_lands_control_tt
				89 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				91 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				93 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				1052 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
			}
			oun_low_power_of_konovalets_trigger = yes
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {
					89 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
					91 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
					93 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
					1052 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = UKR_fascist_foreign_relations
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = { # second chance for Kyiv conference
				limit = { 
					has_dlc = "La Resistance" 
					NOT = { has_country_flag = UKR_kyiv_conference_is_available }
				}
				set_country_flag = UKR_kyiv_conference_is_available
				custom_effect_tooltip = UKR_additional_operation
				POL = {
					set_variable = { var = ukr_poland_reaction_for_sabotages_var value = 0 }
					set_variable = { var = ukr_poland_caution_for_sabotages_var value = 0 }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_ideas = UKR_support_for_UIA
				custom_effect_tooltip = UKR_galician_operations_tt
			}
			else = {
				POL = {
					if = {
						limit = { has_idea = POL_ethnic_minorities }
						swap_ideas = {
							add_idea = POL_ethnic_minorities_active
							remove_idea = POL_ethnic_minorities
						}
					}
				}
			}
		}
	}

	focus = {
		id = UKR_history_makers
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = UKR_galician_operations }
		available = {
			is_puppet = no
			oun_low_power_of_konovalets_trigger = yes
		}
		x = -1
		y = 1
		relative_position_id = UKR_galician_operations
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			if = {
				limit = {
					OR = {
						73 = { is_owned_and_controlled_by = CZE }
						78 = { is_owned_and_controlled_by = ROM }
						80 = { is_owned_and_controlled_by = ROM }
					}
					HUN = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT }
						NOT = { has_war_with = CZE }
						NOT = { has_war_with = ROM }
						NOT = { is_in_faction_with = ROOT }
						OR = {
							has_government = fascism
							has_government = neutrality
						}
					}
					OR = {
						664 = { is_owned_and_controlled_by = CZE }
						76 = { is_owned_and_controlled_by = ROM }
					}
				}
				HUN = { country_event = { id = ukraine.604 hours = 12 } }
			}
			if = {
				limit = {
					OR = {
						78 = { is_owned_and_controlled_by = ROM }
						80 = { is_owned_and_controlled_by = ROM }
					}
					BUL = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT }
						NOT = { has_war_with = ROM }
						NOT = { is_in_faction_with = ROOT }
						NOT = { is_in_faction_with = ROM }
						OR = {
							has_government = fascism
							has_government = neutrality
						}
					}
					77 = { is_owned_and_controlled_by = ROM }
				}
				BUL = { country_event = { id = ukraine.607 days = 1 } }
			}
			if = {
				limit = {
					91 = { is_owned_and_controlled_by = POL }
					LIT = {
						exists = yes
						is_puppet = no
						NOT = { has_war_with = ROOT }
						NOT = { has_war_with = POL }
						NOT = { is_in_faction_with = ROOT }
						NOT = { is_in_faction_with = POL }
						OR = {
							has_government = fascism
							has_government = neutrality
						}
					}
					784 = { is_owned_and_controlled_by = POL }
				}
				LIT = { country_event = { id = ukraine.609 days = 2 } }
			}
			add_war_support = 0.05
		}
	}

	focus = {
		id = UKR_united_church
		icon = GFX_focus_GRE_an_orthodox_state
		prerequisite = { focus = UKR_history_makers }
		prerequisite = { focus = UKR_revive_uss }
		available = {
			oun_low_power_of_konovalets_trigger = yes
			91 = {
				controller = {
					tag = ROOT
				}
			}
			93 = {
				controller = {
					tag = ROOT
				}
			}
		}
		x = 2
		y = 2
		relative_position_id = UKR_history_makers
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			country_event = ukraine.628
			custom_effect_tooltip = UKR_united_church_tt #add chance for autocephaly
		}
	}

	focus = {
		id = UKR_regional_leader
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = UKR_united_church }
		x = 0
		y = 1
		relative_position_id = UKR_united_church
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {
			is_puppet = no
			num_of_controlled_states > 24
			oun_low_power_of_konovalets_trigger = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			set_rule = { 
				can_create_factions = yes
			}
			add_political_power = 100
			add_stability = 0.05
		}
	}

	focus = {
		id = UKR_revive_uss
		icon = GFX_focus_UKR_revive_uss
		prerequisite = { focus = UKR_galician_operations }
		available = {
			has_government = fascism
			oun_low_power_of_konovalets_trigger = yes
		}
		x = 1
		y = 1
		relative_position_id = UKR_galician_operations
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.05
			add_manpower = 50000
			custom_effect_tooltip = UKR_revive_uss_tt
			if = {
				limit = { has_country_flag = UKR_has_OUN_struggle }
				oun_increase_authority_small = yes
			}
		}
	}

	focus = {
		id = UKR_mission_of_lyahovich
		icon = GFX_focus_chi_british_cooperation
		prerequisite = { focus = UKR_revive_uss }
		allow_branch = {
			has_dlc = "La Resistance"
			NOT = { has_completed_focus = UKR_communism_propaganda }
			NOT = { has_completed_focus = UKR_democratic_reforms }
			NOT = { has_completed_focus = UKR_old_course }
		}
		available = {
			has_government = fascism
			oun_strong_power_of_konovalets_trigger = yes
			NOT = { is_in_faction_with = GER }
			ENG = {
				is_subject = no
				is_major = yes
				NOT = { has_government = communism }
				NOT = { has_war_with = ROOT }
			}
			custom_trigger_tooltip = {
				tooltip = UKR_western_lands_control_tt
				89 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				91 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				93 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				1052 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = UKR_revive_uss
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = UKR_additional_operation
			ENG = {
				add_opinion_modifier = { 
					target = ROOT
					modifier = BUL_strengthened_relations_with_us
				}
			}
		}
	}

	focus = {
		id = UKR_our_holy_church
		icon = GFX_focus_UKR_holy_church
		available = {
			if = {
				limit = {
					has_country_flag = UKR_cossack_republic
				}
				NOT = { has_country_flag = UKR_guards_of_order_is_rulers }
			}
			is_puppet = no
			count_triggers = {
		   	amount = 3
			    ROM = { has_opinion = { target = ROOT value > 69 } }
			    BUL = { has_opinion = { target = ROOT value > 69 } }
			    GRE = { has_opinion = { target = ROOT value > 69 } }
			    YUG = { has_opinion = { target = ROOT value > 69 } }
			    TUR = { has_opinion = { target = ROOT value > 69 } }
			    CRM = { has_opinion = { target = ROOT value > 69 } }
			}
		}

		prerequisite = { focus = UKR_Ukraine_first focus = UKR_overcome_party_split }
		x = -8
		y = 1
		offset = {
			x = 11
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}
		relative_position_id = UKR_overcome_party_split
		cost = 10

		available_if_capitulated = yes
		cancel_if_invalid = no
		continue_if_invalid = yes

		ai_will_do = {
			factor = 10
		}

		select_effect = {
			hidden_effect = {
				if = { #issue of catholic king
					limit = { has_country_flag = UKR_constitution_monarchy }
					country_event = { id = ukraine.428 days = 35 random_days = 10 }
				}
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			activate_decision = UKR_get_autocephaly_church
		}
	}

	focus = {
		id = UKR_corporativism
		icon = GFX_focus_ICE_state_corporatism
		prerequisite = { focus = UKR_overcome_party_split }
		x = 6
		y = 1
		relative_position_id = UKR_overcome_party_split
		cost = 8

		available = {
			has_government = fascism
			has_idea = UKR_strikes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			hidden_effect = {
				set_temp_variable = {
					var = ukr_corporativism_var
					value = party_popularity@fascism
				}
				multiply_temp_variable = {
					var = ukr_corporativism_var
					value = 0.1
				}			
			}
			add_stability = ukr_corporativism_var
			custom_effect_tooltip = UKR_corporativism_tt
		}
	}

	focus = {
		id = UKR_forced_economic_mobilization
		icon = GFX_focus_generic_license_production

		ai_will_do = {
			factor = 10
		}

		prerequisite = { focus = UKR_corporativism }
		x = 0
		y = 1
		relative_position_id = UKR_corporativism
		cost = 10
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			custom_effect_tooltip = UKR_additional_decisions_for_bop
			if = {
				limit = { 
					has_war_support > 0.5
					OR = {
						has_idea = civilian_economy 
						has_idea = low_economic_mobilisation
						has_idea = partial_economic_mobilisation
					}
				}
				add_ideas = war_economy
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			set_variable = { ukr_fem_conversion_bonus = 0 }
			set_variable = { ukr_fem_build_bonus = 0 }
			set_variable = { ukr_fem_efficiency_bonus = 0 }
			hidden_effect = {
				add_dynamic_modifier = {
					modifier = UKR_forced_economic_mobilization_mod
				}
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
		}
	}

	focus = {
		id = UKR_new_economic
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = UKR_forced_economic_mobilization }
		available = {
			NOT = {
				any_other_country = {
					is_major = yes
					is_in_faction_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		x = 0
		y = 1
		relative_position_id = UKR_forced_economic_mobilization
		cost = 10
		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			set_variable = { ukr_fem_build_bonus = 0.05 }
			set_variable = { ukr_fem_efficiency_bonus = 0.05 }
			custom_effect_tooltip = UKR_new_economic_tt
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
		}
	}

	focus = {
		id = UKR_autarky
		icon = GFX_focus_generic_stockpile_fuel
		prerequisite = { focus = UKR_new_economic }
		available = {
			NOT = {
				any_other_country = {
					is_major = yes
					is_in_faction_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		x = 0
		y = 1
		relative_position_id = UKR_new_economic
		cost = 10
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_ideas = UKR_autarky_idea
			add_tech_bonus = {
				name = UKR_autarky
				bonus = 1.0
				uses = 1
				category = synth_resources
			}
			add_tech_bonus = {
				name = UKR_autarky
				bonus = 1.0
				uses = 1
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
		}
	}

	focus = {
		id = UKR_for_native_land
		icon = GFX_focus_UKR_for_native_land
		prerequisite = { focus = UKR_Ukraine_first focus = UKR_overcome_party_split }
		available = {
			OR = {
				has_government = fascism
				has_government = neutrality
			}
		}

		ai_will_do = {
			factor = 12
		}

		x = -6
		y = 1
		relative_position_id = UKR_overcome_party_split
		cost = 10

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_PROPAGANDA }
		completion_reward = {
			hidden_effect = {
				add_dynamic_modifier = {
					modifier = UKR_for_ukraine_mod
				}
			}
			effect_tooltip = {
				add_ideas = UKR_for_Ukraine
			}
			custom_effect_tooltip = UKR_for_native_land_tt
		}
	}

	focus = {
		id = UKR_berestia
		icon = GFX_focus_UKR_berestia
		prerequisite = { focus = UKR_for_native_land }
		x = 0
		y = 1
		relative_position_id = UKR_for_native_land
		mutually_exclusive = { focus = UKR_arch_key }
		cost = 5

		available = {
			is_puppet = no
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 94
			add_state_claim = 204
			add_state_claim = 1048
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_accept_tripartite_pact
		icon = GFX_focus_UKR_deal_with_germany
		available = {
			GER = {
				exists = yes
				is_puppet = no
				is_neighbor_of = UKR
			}
			NOT = { has_war_with = GER }
			has_army_manpower = { size > 399999 }
			OR = {
				is_faction_leader = yes
				is_in_faction = no
			}
		}

		prerequisite = { focus = UKR_berestia }
		x = 0
		y = 1
		relative_position_id = UKR_berestia
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			GER = { country_event = ukraine.207 }
		}
	}

	focus = {
		id = UKR_prepare_to_war
		icon = GFX_focus_UKR_prepare_to_war
		prerequisite = { focus = UKR_overcome_party_split }
		available_if_capitulated = no
		available = {
			has_government = fascism
			is_subject = no
			oun_low_power_of_bandera_trigger = yes
		}
		cancel = {
			OR = {
				NOT = { has_government = fascism }
				is_subject = yes
			}
		}
		cancel_if_invalid = no
		x = -4
		y = 1
		relative_position_id = UKR_overcome_party_split
		cost = 8

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			hidden_effect = {
				set_cosmetic_tag = UKR_B
			}
			add_war_support = 0.05
			add_timed_idea = {
				idea = UKR_antipolish_focus
				days = 250
			}
			if = {
				limit = { 
					OR = {
						has_idea = civilian_economy 
						has_idea = low_economic_mobilisation
					}
				}
				add_ideas = partial_economic_mobilisation
			}
			if = {
				limit = { has_idea = volunteer_only }
				add_ideas = limited_conscription
			}
			#country_event = { id = ukraine.6 }
		}
	}

	focus = {
		id = UKR_ultimatum_to_Poland
		icon = GFX_focus_UKR_galician_operations
		prerequisite = { focus = UKR_prepare_to_war }
		will_lead_to_war_with = POL
		x = 0
		y = 2
		relative_position_id = UKR_prepare_to_war
		cost = 10

		available = {
			has_government = fascism
			is_puppet = no
			custom_trigger_tooltip = {
				tooltip = UKR_western_lands_control_tt
				89 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				91 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				93 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
				1052 = {
					owner = {
						original_tag = POL
					}
					controller = {
						original_tag = POL
					}
				}
			}
			oun_strong_power_of_bandera_trigger = yes
		}
		cancel = {
			OR = {
				NOT = { has_government = fascism }
				is_subject = yes
			}
		}
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {
					89 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
					91 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
					93 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
					1052 = {
						owner = {
							original_tag = POL
						}
						controller = {
							original_tag = POL
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_named_threat = { threat = 3 name = UKR_ultimatum_to_Poland }
			add_political_power = 100
			if = {
				limit = { NOT = { has_idea = UKR_antipolish_focus } }
				add_stability = -0.05
			}
			91 = { owner = { country_event = { id = ukraine.7 } } }
			hidden_effect = {
				country_event = { id = ukraine.652 days = 10 random_days = 5 }
			}
		}
	}

	focus = {
		id = UKR_offensive_guard
		icon = GFX_focus_UKR_offensive_guard
		prerequisite = { focus = UKR_ultimatum_to_Poland }
		available = {
			has_government = fascism
			has_war = yes
			oun_low_power_of_bandera_trigger = yes
		}
		x = 0
		y = 1
		relative_position_id = UKR_ultimatum_to_Poland
		cost = 5

		available_if_capitulated = no
		continue_if_invalid = yes
		cancel_if_invalid = no

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_timed_idea = {
				idea = UKR_bandera_squads
				days = 90
			}
		}
	}

	focus = {
		id = UKR_coup_in_transcarpathia
		icon = GFX_focus_UKR_coup_in_transcarpathia
		prerequisite = { focus = UKR_offensive_guard }
		available = {
			has_government = fascism
			oun_low_power_of_bandera_trigger = yes
			CUA = {
				has_capitulated = no
				is_subject = yes
				NOT = { is_subject_of = ROOT }
				NOT = { has_completed_focus = CUA_protection_of_ukraine }
			}
			has_country_flag = UKR_send_shukhevych_to_transcarpathia
		}
		x = -2
		y = 2
		relative_position_id = UKR_offensive_guard
		cost = 10

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			CUA = { country_event = { id = ukraine.624 days = 1 } }
		}
	}

	focus = {
		id = UKR_united_ukraine
		icon = GFX_focus_spr_masters_of_our_own_fate
		prerequisite = { focus = UKR_offensive_guard }
		x = 0
		y = 2
		relative_position_id = UKR_offensive_guard
		cost = 10

		available = {
			has_government = fascism
			91 = {
				controller = {
					tag = ROOT
				}
			}
			93 = {
				controller = {
					tag = ROOT
				}
			}
			oun_low_power_of_bandera_trigger = yes
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.05
			if = {
				limit = { has_country_flag = UKR_has_OUN_struggle }
				oun_increase_onslaught_small = yes
			}
			if = {
				limit = {
					89 = { is_controlled_by = ROOT }
					91 = { is_controlled_by = ROOT }
					93 = { is_controlled_by = ROOT }
					1052 = { is_controlled_by = ROOT }
				}
				POL = {
					remove_state_core = 89
					remove_state_core = 91
					remove_state_core = 93
					remove_state_core = 1052
				}
			}	
			if = {
				limit = { 
					73 = { 
						is_controlled_by = ROOT 
						NOT = { is_owned_by = ROOT }
					} 
				}
				set_state_owner = 73
				CZE = { remove_state_core = 73 }
			}
			if = {
				limit = {
					89 = {
						is_controlled_by = ROOT
						NOT = { is_owned_by = ROOT }
					}
				}
				set_state_owner = 89
			}
			if = {
				limit = {
					91 = {
						is_controlled_by = ROOT
						NOT = { is_owned_by = ROOT }
					}
				}
				set_state_owner = 91
			}
			if = {
				limit = {
					93 = {
						is_controlled_by = ROOT
						NOT = { is_owned_by = ROOT }
					}					
				}
				set_state_owner = 93
			}
			if = {
				limit = {
					1052 = {
						is_controlled_by = ROOT
						NOT = { is_owned_by = ROOT }
					}
				}
				set_state_owner = 1052
			}
			set_variable = { var_ukr_integration_cost_small = 25 }
			set_variable = { var_ukr_integration_cost_big = 50 }
			custom_effect_tooltip = UKR_integration_cost_reduction_tt
		}
	}

	focus = {
		id = UKR_orientation_on_germany
		dynamic = yes
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = UKR_overcome_party_split }
		available = {
			has_government = fascism
			is_puppet = no
			NOT = { has_war_with = GER }
			oun_low_power_of_melnyk_trigger = yes
			#GER = { 
			#	has_government = fascism 
			#	country_exists = GER
			#}
		}

		ai_will_do = {
			factor = 10
		}

		x = -2
		y = 1
		relative_position_id = UKR_overcome_party_split
		cost = 8
		completion_reward = {
			if = {
				limit = { 
					GER = { has_government = fascism }
					country_exists = GER
				}
				GER = {
					add_opinion_modifier = { target = UKR modifier = UKR_german_opinion }
				}
				add_ideas = UKR_trade_with_germany
			}
			else = {
				#country_event = { id = ukraine.432 days = 7 }
				set_country_flag = UKR_melnyk_without_daddy
			}
			add_political_power = 50
			#country_event = { id = ukraine.5 }
		}
	}

	focus = {
		id = UKR_eliminate_doubting_generals
		icon = GFX_focus_UKR_eliminate_doubting_generals
		prerequisite = { focus = UKR_overcome_party_split }
		x = 4
		y = 2
		relative_position_id = UKR_overcome_party_split
		cost = 5

		available = {
			has_government = fascism
			has_idea = UKR_generals_plot
		}

		bypass = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = UKR_osetsky_is_marshal
					has_unit_leader = 661
				}
			}
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			add_war_support = 0.05
			country_event = ukraine.385
		}	
	}

	focus = {
		id = UKR_control_for_plast
		icon = GFX_focus_ukr_plast
		prerequisite = { focus = UKR_eliminate_doubting_generals }
		x = 0
		y = 1
		relative_position_id = UKR_eliminate_doubting_generals

		ai_will_do = {
			factor = 10
		}

		cost = 5
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_political_power = 75
			add_war_support = 0.05
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_ivan_gabrusevich
		}
	}

	focus = {
		id = UKR_bukovina_bessarabia_claims
		icon = GFX_focus_UKR_bukovina_bessarabia_nat
		prerequisite = { focus = UKR_control_for_plast }
		x = 0
		y = 2
		relative_position_id = UKR_control_for_plast
		cost = 10

		will_lead_to_war_with = ROM
		ai_will_do = {
			factor = 10
		}

		available = {
			has_government = fascism
			is_puppet = no
		}

		bypass = {
			OR = {
				NOT = {
					78 = {
						controller = { original_tag = ROM }
						owner = { original_tag = ROM }
					}
				}
				NOT = {
					80 = {
						controller = { original_tag = ROM }
						owner = { original_tag = ROM }
					}
				}
				NOT = {
					766 = {
						controller = { original_tag = ROM }
						owner = { original_tag = ROM }
					}
				}
				NOT = { country_exists = ROM }
			}
			
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_state_claim = 78
			add_state_claim = 80
			add_state_claim = 766
			add_named_threat = { threat = 2 name = UKR_bukovina_bessarabia_claims }
			add_war_support = 0.05
			ROM = {
				add_opinion_modifier = { target = UKR modifier = UKR_claimed_bukovina_bessarabia }
			}
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_carpathian_ukraine_claims
		icon = GFX_focus_UKR_carpathian_ukraine_nat
		prerequisite = { focus = UKR_bukovina_bessarabia_claims }
		x = 0
		y = 1
		relative_position_id = UKR_bukovina_bessarabia_claims
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {
			is_puppet = no
			NOT = { CUA = { is_subject_of = ROOT } }
			NOT = { 73 = { is_controlled_by = ROOT } }
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 73
			add_named_threat = { threat = 1 name = UKR_carpathian_ukraine_claims }
			if = {
				limit = {
					OR = {
						73 = { is_owned_and_controlled_by = CZE }
						CUA = { is_puppet_of = CZE }
					}
					89 = { is_controlled_by = ROOT }
					NOT = { has_war_with = CZE }
					NOT = { is_in_faction_with = CZE }
					CZE = { is_puppet = no }
				}
				CZE = { country_event = { id = ukraine.222 days = 2 } }
			}
			if = {
				limit = {
					OR = {
						73 = { is_owned_and_controlled_by = HUN }
						CUA = { is_puppet_of = HUN }
					}
					89 = { is_controlled_by = ROOT }
					NOT = { has_war_with = HUN }
					NOT = { is_in_faction_with = HUN }
					HUN = { is_puppet = no }
				}
				HUN = { country_event = { id = ukraine.223 days = 1 } }
			}
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_ultimatum_to_crimea
		icon = GFX_focus_UKR_ultimatum_to_crimea_for_ua
		prerequisite = { focus = UKR_bukovina_bessarabia_claims }
		x = 2
		y = 1
		relative_position_id = UKR_bukovina_bessarabia_claims
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {
			is_puppet = no
			NOT = { has_war_with = CRM }
			NOT = { is_in_faction_with = CRM }
			OR = {
				137 = { is_owned_and_controlled_by = CRM }
				1051 = { is_owned_and_controlled_by = CRM }
			}
		}

		will_lead_to_war_with = CRM

		bypass = {
			OR = {
				has_country_flag = UKR_peace_with_CRM
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { CRM = { is_subject = no } }
				CRM = { country_event = { id = ukraine.77 } }
			}
			else = {
				CRM = { OVERLORD = { country_event = { id = ukraine.518 } } }
			}
		}
	}

	focus = {
		id = UKR_germany_capitals
		dynamic = yes
		icon = GFX_focus_generic_modernize_industry
		prerequisite = { focus = UKR_orientation_on_germany }
		available = {
			has_government = fascism
			OR = {
				AND = {
					is_in_faction_with = GER
					GER = { is_puppet = no	}
				}
				has_country_flag = UKR_melnyk_without_daddy
			}
			oun_low_power_of_melnyk_trigger = yes
		}

		ai_will_do = {
			factor = 10
		}

		x = 0
		y = 2
		relative_position_id = UKR_orientation_on_germany
		cost = 10
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			if = {
				limit = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
				add_tech_bonus = {
					name = UKR_germany_capitals
					bonus = 1.0
					uses = 1
					category = industry
				}
				add_tech_bonus = {
					name = UKR_germany_capitals
					bonus = 1.0
					uses = 1
					category = electronics
				}
				if = {
					limit = { 192 = { is_owned_and_controlled_by = UKR } }
					192 = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = synthetic_refinery
							level = 1
							instant_build = yes
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					has_any_power_balance = yes
				}
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.05
				}
			}
		}
	}

	focus = {
		id = UKR_befrend_italy
		icon = GFX_focus_befriend_italy
		prerequisite = { focus = UKR_history_makers focus = UKR_germany_capitals }
		x = 2
		y = 1
		relative_position_id = UKR_germany_capitals
		cost = 8

		available = {
			country_exists = ITA
			NOT = { has_war_with = ITA }
			ITA = { 
				is_subject = no
				has_capitulated = no
				OR = {
					has_government = fascism
					has_government = neutrality
				}
			}
			OR = {
				is_in_faction = no
				is_faction_leader = yes
				is_in_faction_with = ITA
			}
		}

		available_if_capitulated = yes	

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					is_in_faction = no
					ITA = { is_faction_leader = yes }
				}
				ITA = { country_event = { id = ukraine.616 days = 1 } } # Ally
			}
			else = {
				ITA = {
					country_event = { id = ukraine.619 days = 1 }  # Research Sharing 
					add_opinion_modifier = { 
						target = ROOT
						modifier = BUL_strengthened_relations_with_us
					}
					add_ai_strategy = {
						type = befriend
						id = ROOT
						value = 20
					}
				}
				add_opinion_modifier = { 
					target = ITA
					modifier = BUL_strengthened_relations_with_us
				}
				add_ai_strategy = {
					type = befriend
					id = ITA
					value = 20
				}
			}
		}
	}

	focus = {
		id = UKR_italian_experience
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = UKR_befrend_italy }
		x = 0
		y = 1
		relative_position_id = UKR_befrend_italy
		cost = 5

		available = {
			country_exists = ITA
			NOT = { has_war_with = ITA }
			ITA = { 
				OR = {
					has_government = fascism
					has_government = neutrality
				}
			}
		}

		available_if_capitulated = yes	

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			navy_experience = 25
			air_experience = 25
			add_doctrine_cost_reduction = {
				name = UKR_italian_experience
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			add_doctrine_cost_reduction = {
				name = UKR_italian_experience
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = UKR_germany_support
		dynamic = yes
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = UKR_germany_capitals }
		available = {
			has_government = fascism
			OR = {
				AND = {
					is_in_faction_with = GER
					GER = { is_puppet = no	}
				}
				has_country_flag = UKR_melnyk_without_daddy
			}
			oun_low_power_of_melnyk_trigger = yes
		}

		ai_will_do = {
			factor = 10
		}

		x = 0
		y = 2
		relative_position_id = UKR_germany_capitals
		cost = 10
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_germany_support
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			if = {
				limit = { NOT = { has_country_flag = UKR_melnyk_without_daddy } }
				if = {
					limit = { has_dlc = "Arms Against Tyranny" }
					unlock_military_industrial_organization_tooltip = mio:GER_junkers_organization
					unlock_military_industrial_organization_tooltip = mio:GER_daimler_benz_organization
					mio:GER_junkers_organization = {
						add_mio_size = 1
					}
					mio:GER_daimler_benz_organization = {
						add_mio_size = 1
					}
				}
				else = {
					add_tech_bonus = {
						name = UKR_germany_support
						bonus = 1.0
						uses = 1
						category = armor
					}
				}
				add_relation_modifier = {
					target = GER
					modifier = UKR_license_foreign_equipment
				}
				if = {
					limit = { has_dlc = "Arms Against Tyranny" }
					add_equipment_subsidy = {
						cic = 500
						equipment_type = small_plane_cas_airframe
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = 500
						equipment_type = small_plane_airframe
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = 500
						equipment_type = light_tank_chassis
						seller_tags = { GER } 
					}
				}
				hidden_effect = { load_oob = UKR_ger_tank_templ }
				custom_effect_tooltip = UKR_germany_template_tt
			}
			else = {
				army_experience = 25
			}
		}
	}

	focus = {
		id = UKR_clay_colossus
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = UKR_germany_support focus = UKR_united_church }
		x = 2
		y = 1
		relative_position_id = UKR_germany_support
		cost = 5
		ai_will_do = {
			factor = 10
		}

		available = {
			country_exists = SOV
			SOV = { is_puppet = no }
			OR = {
				oun_low_power_of_melnyk_trigger = yes
				oun_low_power_of_konovalets_trigger = yes
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 234
			UKR_sancordon_bonus_attack_increase = yes
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_military_police
		icon = GFX_focus_UKR_military_police
		prerequisite = { focus = UKR_germany_support }
		x = 0
		y = 1
		relative_position_id = UKR_germany_support
		cost = 10

		available = {
			oun_strong_power_of_melnyk_trigger = yes
			has_tech = motorised_infantry
		}

		available_if_capitulated = no

		ai_will_do = {
			factor = 3
		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			hidden_effect = {
				division_template = {
					name = "Ohoronni Zagony" 

					regiments = {
						motorized = { x = 0 y = 0 }
						motorized = { x = 0 y = 1 }
						motorized = { x = 0 y = 2 }
						motorized = { x = 0 y = 3 }
						motorized = { x = 1 y = 0 }
						motorized = { x = 1 y = 1 }
						motorized = { x = 1 y = 2 }
						motorized = { x = 1 y = 3 }
					}
					support = {
						military_police = { x = 0 y = 0 } 
						engineer = { x = 0 y = 1 } 
					}
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"1a divizia OUN-OZ\" division_template = \"Ohoronni Zagony\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = ROOT
					prioritize_location = 525
				}
			}
			if = {
				limit = { has_country_flag = UKR_has_OUN_struggle }
				oun_increase_control_small = yes
			}
			add_tech_bonus = {
				name = UKR_military_police
				bonus = 1.0
				uses = 2
				technology = tech_military_police
				technology = tech_military_police2
				technology = tech_military_police3
			}
		}
	}

	focus = {
		id = UKR_great_Ukraine
		icon = GFX_focus_end_of_OUN_struggle
		prerequisite = { focus = UKR_regional_leader focus = UKR_united_ukraine focus = UKR_military_police }
		available = {
			has_government = fascism
			is_puppet = no
			OR = {
				oun_strong_power_of_konovalets_trigger = yes
				oun_strong_power_of_melnyk_trigger = yes
				oun_strong_power_of_bandera_trigger = yes
			}
			custom_trigger_tooltip = {
				tooltip = UKR_states_for_end_of_OUN_struggle_tt
				count_triggers = {
					amount = 4
					89 = { is_controlled_by = UKR }
					91 = { is_controlled_by = UKR }
					93 = { is_controlled_by = UKR }
					1052 = { is_controlled_by = UKR }
					78 = { is_controlled_by = UKR }
					80 = { is_controlled_by = UKR }
					766 = { is_controlled_by = UKR }
					94 = { is_controlled_by = UKR }
					204 = { is_controlled_by = UKR }
					137 = { is_controlled_by = UKR }
					1051 = { is_controlled_by = UKR }
				}
			}
		}

		bypass = {
			NOT = { has_country_flag = UKR_has_OUN_struggle }
		}

		ai_will_do = {
			factor = 10
		}

		x = -2
		y = 1
		relative_position_id = UKR_regional_leader
		cost = 10
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			if = {
				limit = {
					oun_low_power_of_melnyk_trigger = yes
				}
				set_cosmetic_tag = UKR_M
				set_variable = { var_oun_final_winner = 1 }
				swap_ideas = {
					add_idea = UKR_revanchism_m
					remove_idea = UKR_revanchism_idea
				}
			}
			else_if = {
				limit = {
					oun_low_power_of_bandera_trigger = yes
				}
				set_cosmetic_tag = UKR_SOB
				set_variable = { var_oun_final_winner = 2 }
				swap_ideas = {
					add_idea = UKR_revanchism_b
					remove_idea = UKR_revanchism_idea
				}
			}
			else = {
				set_cosmetic_tag = UKR_IND
				set_variable = { var_oun_final_winner = 0 }
				swap_ideas = {
					add_idea = UKR_revanchism_adv
					remove_idea = UKR_revanchism_idea
				}
			}
			hidden_effect = {
				remove_ideas = {
					oun_bandera_opposition
					oun_melnyk_opposition
					oun_fallen_leader
					oun_bandera_max_power
					oun_melnyk_max_power
					oun_strong_leader
				}
				if = {
					limit = { check_variable = { var_oun_final_winner = 2 } }
					country_event = { id = ukraine.387 days = 3 }
				}
				else_if = {
					limit = { check_variable = { var_oun_final_winner = 1 } }
					country_event = { id = ukraine.388 days = 3 }
				}
			}
			custom_effect_tooltip = UKR_great_Ukraine_tt
			clr_country_flag = UKR_has_OUN_struggle
			set_variable = { var_oun_radicalisation_level = 1 }
		}
	}

	focus = {
		id = UKR_national_liberalisation
		icon = GFX_focus_UKR_national_liberalisation
		prerequisite = { focus = UKR_great_Ukraine }
		mutually_exclusive = { focus = UKR_leaderism }
		x = -2
		y = 1
		relative_position_id = UKR_great_Ukraine
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {
			has_government = fascism
			is_power_balance_in_range = {
				id = UKR_power_balance
				range < UKR_balance_range
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_stability = 0.07
			set_politics = {
				ruling_party = fascism
				elections_allowed = yes
			}
			set_party_name = { ideology = fascism name = UKR_natdem_party_short long_name = UKR_natdem_party_long }
			if = {
				limit = { NOT = { has_idea = UKR_limited_expansionism_adv } }
				add_ideas = UKR_limited_expansionism
			}
			if = {
				limit = { has_any_power_balance = yes }
				add_power_balance_value = {
					id = UKR_power_balance
					value = -0.15
				}
			}
		}
	}

	focus = {
		id = UKR_true_enemy
		icon = GFX_focus_focus_fra_fascist_threat
		prerequisite = { focus = UKR_national_liberalisation }
		x = 0
		y = 1
		relative_position_id = UKR_national_liberalisation
		cost = 10
		ai_will_do = {
			factor = 10
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = UKR_true_enemy_trigger_tt
				NOT = { 
					any_country = {
						has_government = fascism
						is_major = yes
						NOT = { is_in_faction_with = ROOT }
						capital_scope = {
							is_on_continent = europe
						}
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			every_other_country = {
				limit = {
					has_government = fascism
					is_major = yes
					NOT = { is_in_faction_with = ROOT }
					capital_scope = {
						is_on_continent = europe
					}
				}
				hidden_effect = {
					ROOT = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
							expire = 730
						}
					}
				}
				custom_effect_tooltip = UKR_true_enemy_tt
			}
		}
	}
	
	focus = {
		id = UKR_balkan_knot
		icon = GFX_focus_BUL_free_balkan_states
		prerequisite = { focus = UKR_true_enemy }
		x = -1
		y = 1
		relative_position_id = UKR_true_enemy
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION  FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = UKR_balkan_knot
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			every_country = {
				limit = {
					OR = {
						original_tag = YUG
						original_tag = BUL
						original_tag = GRE
					}
					is_in_faction = yes
					NOT = { is_in_faction_with = ROOT }
					is_puppet = no
					NOT = { has_war_with = ROOT }
				}
				country_event = { id = ukraine.654 days = 1 } # demand to change faction
			}
			every_country = {
				limit = {
					OR = {
						original_tag = YUG
						original_tag = BUL
						original_tag = GRE
					}
					is_in_faction = no
					is_puppet = no
					NOT = { has_war_with = ROOT }
				}
				country_event = { id = ukraine.655 days = 1 } # invite in our faction (or puppeting)
			}
			every_country = {
				limit = {
					OR = {
						original_tag = YUG
						original_tag = BUL
						original_tag = GRE
					}
					is_puppet = yes
					NOT = { has_war_with = ROOT }
					NOT = { is_in_faction_with = ROOT }
					NOT = { has_country_flag = UKR_balkan_knot_overlord_ultimated }
				}
				OVERLORD = { # demand to change overlord
					country_event = { id = ukraine.656 days = 1 } 
					set_country_flag = UKR_balkan_knot_overlord_ultimated
				} 
			}
			hidden_effect = {
				news_event = { hours = 3 id = news.567 }
			}
		}
	}

	focus = {
		id = UKR_restore_cooperation
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = UKR_national_liberalisation }
		x = -2
		y = 1
		relative_position_id = UKR_national_liberalisation
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = UKR_free_science
		}
	}

	focus = {
		id = UKR_leaderism
		icon = GFX_focus_generic_military_dictatorship
		prerequisite = { focus = UKR_great_Ukraine }
		mutually_exclusive = { focus = UKR_national_liberalisation }
		x = 2
		y = 1
		relative_position_id = UKR_great_Ukraine
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available = {
			has_government = fascism
			is_power_balance_in_range = {
				id = UKR_power_balance
				range > UKR_balance_range
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER }
		completion_reward = {
			add_war_support = 0.07
			set_party_name = { ideology = fascism name = UKR_una_party_short long_name = UKR_una_party_long }
			if = {
				limit = { has_any_power_balance = yes }
				add_power_balance_value = {
					id = UKR_power_balance
					value = 0.15
				}
			}
		}
	}

	focus = {
		id = UKR_menace_from_east
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = UKR_national_liberalisation focus = UKR_leaderism }
		will_lead_to_war_with = SOV
		available = {
			NOT = { is_in_faction_with = SOV }
			has_government = fascism
		}

		bypass = {
			SOV = { 
				OR = {
					exists = no 
					is_puppet = yes
					has_war_with = UKR
				}
			}
		}

		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				surrender_progress > 0.1
			}
		}

		x = 2
		y = 1
		relative_position_id = UKR_national_liberalisation
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = UKR_leaderism
				}
				create_wargoal = {
					type = annex_everything
					target = SOV
					expire = 0
				}
			}
			else = {
				create_wargoal = {
					type = puppet_wargoal_focus
					target = SOV
					expire = 0
				}
			}
			UKR_sancordon_bonus_attack_increase = yes
			custom_effect_tooltip = UKR_additional_decisions
		}
	}

	focus = {
		id = UKR_ukrainian_irredentism
		icon = GFX_focus_UKR_great_ukraine
		prerequisite = { focus = UKR_leaderism }
		x = 0
		y = 1
		relative_position_id = UKR_leaderism
		cost = 10

		available = {
			has_war = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 3
		}

		completion_reward = {
			add_state_claim = 218
			add_state_claim = 240
			add_state_claim = 1053
			add_state_claim = 245
			add_state_claim = 834
			add_state_claim = 1049
			add_state_claim = 1054
			custom_effect_tooltip = UKR_additional_decisions
			set_variable = { var_ukr_integration_days_small = 45 }
			set_variable = { var_ukr_integration_days_big = 90 }
			custom_effect_tooltip = UKR_integration_time_reduction_tt
			hidden_effect = {
				news_event = { hours = 3 id = news.562 }
			}
		}
	}

	focus = {
		id = UKR_order_on_russia
		icon = GFX_focus_SOV_transcaucasian_republic
		prerequisite = { focus = UKR_menace_from_east }
		prerequisite = { focus = UKR_true_enemy }

		ai_will_do = {
			factor = 10
		}

		x = -1
		y = 1
		relative_position_id = UKR_menace_from_east
		cost = 10
		search_filters = { }
		completion_reward = {
			if = {
				limit = {
					country_exists = SOV
				}
				add_ideas = UKR_freedom_for_russia
			}
			custom_effect_tooltip = UKR_order_on_russia_tt
			set_variable = { var_ffn_defence = 0 }
			set_variable = { var_ffn_manpower = 0 }
			add_dynamic_modifier = {
				modifier = UKR_freedom_for_nations
			}
		}
	}

	focus = {
		id = UKR_yellow_wedge
		icon = GFX_focus_UKR_yellow_wedge
		prerequisite = { focus = UKR_menace_from_east }
		prerequisite = { focus = UKR_ukrainian_irredentism }
		available = {
			has_government = fascism
		}

		ai_will_do = {
			factor = 10
		}

		x = 1
		y = 1
		relative_position_id = UKR_menace_from_east
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = UKR_additional_decisions
			add_state_claim = 236
			add_state_claim = 217
			add_state_claim = 265
			add_state_claim = 829
			add_state_claim = 239
			add_state_claim = 401
		}
	}

	focus = {
		id = UKR_southern_thrust
		icon = GFX_focus_hol_war_on_pacifism
		prerequisite = { focus = UKR_ukrainian_irredentism }
		available = {
			has_government = fascism
			OR = {
				has_navy_size = { size > 14 }
				has_war_with = ENG
			}
		}

		cancel_if_invalid = no

		will_lead_to_war_with = PER
		will_lead_to_war_with = IRQ
		will_lead_to_war_with = TUR

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				SOV = {
					exists = yes
					is_puppet = no
				}
			}
		}

		x = 1
		y = 1
		relative_position_id = UKR_ukrainian_irredentism
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			if = {
				limit = {
					TUR = { 
						exists = yes
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR } 
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = TUR
				}
			}
			if = {
				limit = {
					IRQ = { 
						exists = yes
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR } 
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = IRQ
				}
			}
			if = {
				limit = {
					PER = { 
						exists = yes
						NOT = { has_war_with = UKR }
						NOT = { is_in_faction_with = UKR } 
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = PER
				}
			}
			add_doctrine_cost_reduction = {
				name = UKR_southern_thrust
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			if = {
				limit = {
					192 = { is_owned_and_controlled_by = ROOT }
				}
				192 = {
					add_building_construction = {
						type = naval_base
						level = 1
						province = 11670
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					197 = { is_owned_and_controlled_by = ROOT }
				}
				197 = {
					add_building_construction = {
						type = naval_base
						level = 1
						province = 11683
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					227 = { is_owned_and_controlled_by = ROOT }
				}
				227 = {
					add_building_construction = {
						type = naval_base
						level = 1
						province = 6420
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = UKR_concentration_camps
		icon = GFX_focus_CZE_german_puppet
		prerequisite = { focus = UKR_leaderism }
		x = 2
		y = 1
		relative_position_id = UKR_leaderism
		cost = 10

		available = {
			has_war = yes
		}

		available_if_capitulated = yes

		ai_will_do = {
			factor = 3
		}

		completion_reward = {
			add_ideas = UKR_work_of_prisoners
		}
	}

	############################
	###  RESISTANCE SECTION  ###
	############################
	
	focus = {
		id = UKR_we_will_not_give_up
		icon = GFX_focus_UKR_we_will_not_give_up
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}
		allow_branch = { has_country_flag = UKR_capitulation_tree_is_available }
		x = 53
		y = 9
		offset = {
			x = -39
			y = 0
			trigger = {
				has_completed_focus = UKR_revanchism
			}
		}

		offset = {
			x = -29
			y = 0
			trigger = {
				OR = {
					has_completed_focus = UKR_democratic_reforms
					has_completed_focus = UKR_old_course
				}
				
			}
		}
		
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				gain_random_agency_upgrade = yes
			}
			if = {
				limit = {
					any_allied_country = {
						is_hosting_exile = ROOT
					}
				}
				add_legitimacy = 15
				add_country_leader_trait = patriotic_guerilla
			}
			add_offsite_building = { type = industrial_complex level = 2 }
			add_offsite_building = { type = arms_factory level = 1 }
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 10000
				producer = UKR
			}
			add_equipment_to_stockpile = {
				type = convoy
				amount = 50
				producer = UKR
			}
		}
	}

	focus = {
		id = UKR_foreign_army_support
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = UKR_we_will_not_give_up }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}

		x = -2
		y = 1
		relative_position_id = UKR_we_will_not_give_up
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			army_experience = 50
			add_manpower = 10000
			add_offsite_building = { type = arms_factory level = 2 }
		}
	}

	focus = {
		id = UKR_foreign_air_support
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = UKR_foreign_army_support }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}

		x = 0
		y = 1
		relative_position_id = UKR_foreign_army_support
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP }
		completion_reward = {
			air_experience = 50
			if = {
				limit = {
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				add_equipment_to_stockpile = {
					type = fighter_equipment_1
					amount = 100
					producer = UKR
				}
				add_equipment_to_stockpile = {
					type = tac_bomber_equipment_1
					amount = 50
					producer = UKR
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = small_plane_airframe_0
					amount = 100
					producer = UKR
					variant_name = "MS BV-1"
				}
				add_equipment_to_stockpile = {
					type = small_plane_cas_airframe_1
					amount = 50
					producer = UKR
					variant_name = "S-22U"
				}
			}
		}
	}

	focus = {
		id = UKR_call_to_diaspora
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = UKR_foreign_air_support }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}

		x = 0
		y = 1
		relative_position_id = UKR_foreign_air_support
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_manpower = 20000
		}
	}

	focus = {
		id = UKR_resistance_industries
		icon = GFX_focus_DEN_limited_regulations
		prerequisite = { focus = UKR_we_will_not_give_up }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}

		x = 2
		y = 1
		relative_position_id = UKR_we_will_not_give_up
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 3 }
		}
	}

	focus = {
		id = UKR_exile_industries
		icon = GFX_focus_generic_industry_2
		prerequisite = { focus = UKR_resistance_industries }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}

		x = 0
		y = 1
		relative_position_id = UKR_resistance_industries
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 2 }
			add_offsite_building = { type = arms_factory level = 2 }
		}
	}

	focus = {
		id = UKR_foreign_naval_support
		icon = GFX_focus_POL_develop_polish_shipbuilding
		prerequisite = { focus = UKR_exile_industries }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}

		x = 0
		y = 1
		relative_position_id = UKR_exile_industries
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_offsite_building = { type = dockyard level = 3 }
			add_equipment_to_stockpile = {
				type = convoy
				amount = 25
				producer = UKR
			}
		}
	}

	focus = {
		id = UKR_expand_our_intelligence
		icon = GFX_focus_SWE_neither_death_nor_dishonor
		prerequisite = { focus = UKR_we_will_not_give_up }
		available = {
			has_intelligence_agency = yes
			has_capitulated = yes
			is_in_faction = yes
		}
		allow_branch = {
			has_dlc = "La Resistance"
			has_country_flag = UKR_capitulation_tree_is_available
		}

		x = -4
		y = 1
		relative_position_id = UKR_we_will_not_give_up
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = {  }
		completion_reward = {
			add_ideas = { UKR_expand_intelligence_idea }
		}
	}

	focus = {
		id = UKR_manufacturers_in_exile
		icon = GFX_focus_SOV_merge_plants
		prerequisite = { focus = UKR_we_will_not_give_up }
		available = {
			has_capitulated = yes
			is_in_faction = yes
		}
		allow_branch = {
			has_dlc = "Arms Against Tyranny"
			has_country_flag = UKR_capitulation_tree_is_available
		}

		x = 4
		y = 1
		relative_position_id = UKR_we_will_not_give_up
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = {  }
		completion_reward = {
			every_military_industrial_organization = {
				add_mio_size = 1
			}
		}
	}

	focus = {
		id = UKR_national_liberation_council
		icon = GFX_focus_NOR_empower_sivorg
		prerequisite = { focus = UKR_we_will_not_give_up }
		available = {
			is_in_faction = yes
		}

		bypass = {
			has_capitulated = no
		}

		x = 0
		y = 1
		relative_position_id = UKR_we_will_not_give_up
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		search_filters = {  }
		completion_reward = {
			add_ideas = UKR_national_liberation_council_idea
			if = {
				limit = { has_government = democratic }
				UKR_parliament_support_add10 = yes
			}
		}
	}

	focus = {
		id = UKR_new_rebel_army
		icon = GFX_focus_SWE_varnplikt
		prerequisite = { focus = UKR_national_liberation_council }
		available = {
			is_in_faction = yes
		}

		bypass = {
			has_capitulated = no
		}

		x = 0
		y = 1
		relative_position_id = UKR_national_liberation_council
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		completion_reward = {
			every_owned_state = {
				limit = {
					is_core_of = ROOT
					NOT = { is_controlled_by = ROOT }
				}
				add_resistance = 15
			}
			unlock_decision_category_tooltip = UKR_ukrainian_insurgent_army
			if = { 
				limit = { 
					has_dlc = "La Resistance" 
				}
				custom_effect_tooltip = UKR_additional_operation
			}
		}
	}
	
	focus = {
		id = UKR_go_to_home
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = UKR_new_rebel_army }

		x = 0
		y = 1
		relative_position_id = UKR_new_rebel_army
		cost = 10

		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		completion_reward = {
			add_timed_idea = {
				idea = UKR_push_home_idea
				days = 365
			}
		}
	}

	focus = {
		id = UKR_liberation
		icon = GFX_focus_UKR_liberation

		available = {
			has_full_control_of_state = 192
			has_full_control_of_state = 202
			has_full_control_of_state = 221
		}
		prerequisite = { focus = UKR_go_to_home }
		x = 0
		y = 1
		relative_position_id = UKR_go_to_home
		cost = 10

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_stability = 0.10
			add_war_support = 0.10
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 10000
				producer = UKR
			}
			add_ideas = HOL_liberation
			if = {
				limit = { has_country_leader_with_trait = patriotic_guerilla }
				remove_country_leader_trait = patriotic_guerilla
			}
			if = {
				limit = { has_government = democratic }
				drop_cosmetic_tag = yes
			}
			else_if = {
				limit = {
					has_government = fascism
					has_idea = UKR_revanchism_m
				}
				set_cosmetic_tag = UKR_M
			}
			else_if = {
				limit = {
					has_government = fascism
					has_idea = UKR_revanchism_b
				}
				set_cosmetic_tag = UKR_SOB
			}
			else_if = {
				limit = {
					has_government = fascism
					has_idea = UKR_revanchism_adv
				}
				set_cosmetic_tag = UKR_IND
			}
		}
	}
#### ##    ## ##    ## ######## ########      ######  #### ########   ######  ##       ######## 
 ##  ###   ## ###   ## ##       ##     ##    ##    ##  ##  ##     ## ##    ## ##       ##       
 ##  ####  ## ####  ## ##       ##     ##    ##        ##  ##     ## ##       ##       ##       
 ##  ## ## ## ## ## ## ######   ########     ##        ##  ########  ##       ##       ######   
 ##  ##  #### ##  #### ##       ##   ##      ##        ##  ##   ##   ##       ##       ##       
 ##  ##   ### ##   ### ##       ##    ##     ##    ##  ##  ##    ##  ##    ## ##       ##       
#### ##    ## ##    ## ######## ##     ##     ######  #### ##     ##  ######  ######## ########
	focus = {
		id = UKR_ic_collective_leadership

		dynamic = yes
		
		icon = GFX_goal_generic_national_unity

		x = 20
		y = 13

		cost = 5

		allow_branch = {
			has_country_flag = UKR_soc_inner_circle_is_available
		}

		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = GER_fuhrerprinzip_inner_circle_tt
			add_political_power = 75
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			hidden_effect = {
				add_dynamic_modifier = {
					modifier = UKR_the_inner_circle_dm
				}
			}
		}
	}
	focus = {
		id = UKR_secsec_chubar
		icon = GFX_focus_UKR_secsec_chubar
		prerequisite = { focus = UKR_ic_collective_leadership }

		x = -5
		y = 1
		relative_position_id = UKR_ic_collective_leadership
		cost = 2
		
		available = {
			has_government = communism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = UKR_vlas_chubar
				}
			}
			custom_trigger_tooltip = {
				tooltip = UKR_ic_fullhouse_of_secretars_tt
				OR = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
					check_variable = { UKR_ascended_advisor_2 = 0 }
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			UKR_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = UKR_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = UKR_inner_circle_cd_days_tt
					NOT = {	has_country_flag = UKR_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = UKR_ascension_of_character_tt
				CHARACTER = UKR_vlas_chubar
			}
			show_ideas_tooltip = UKR_chubar_secretar_idea_1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = UKR_vlas_chubar
			}
			hidden_effect = {
				add_ideas = UKR_chubar_secretar_idea_1
			}
			if = {
				limit = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
				}
				set_variable = { UKR_ascended_advisor_1 = 1 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_2 = 0 }
				}
				set_variable = { UKR_ascended_advisor_2 = 1 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
				set_variable = { UKR_ascended_advisor_3 = 1 }
			}

			hidden_effect = {
				country_event = { id = UKR_inner_circle.101 days = UKR_inner_circle_days_to_start_focus random_days = UKR_inner_circle_random_days }
				UKR_inner_circle_set_ascension_cd = yes
			}
		}
	}
	focus = {
		id = UKR_finance_heavy_industry
		icon = GFX_focus_NORDIC_com_capstone_civilian
		prerequisite = { focus = UKR_secsec_chubar }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_secsec_chubar
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_finance_heavy_industry_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_vlas_chubar
						FLAG_DAYS = [?UKR_finance_heavy_industry_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_vlas_chubar
						FOCUS = UKR_secsec_chubar
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = UKR_financing_of_field_development
		icon = GFX_focus_generic_mining_industry
		prerequisite = { focus = UKR_finance_heavy_industry }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_finance_heavy_industry
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_financing_of_field_development_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_vlas_chubar
						FLAG_DAYS = [?UKR_financing_of_field_development_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_vlas_chubar
						FOCUS = UKR_secsec_chubar
					}
					always = no
				}
			}
		}

		search_filters = {  }

		completion_reward = {
			add_tech_bonus = {
				name = UKR_financing_of_field_development
				bonus = 1.0
				uses = 1
				category = excavation_tech
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_chubar_secretar_idea_1
				add_idea = UKR_chubar_secretar_idea_2
			}
		}
	}
	focus = {
		id = UKR_purchase_of_modern_machines
		icon = GFX_focus_NORDIC_com_materiel
		prerequisite = { focus = UKR_financing_of_field_development }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_financing_of_field_development
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_purchase_of_modern_machines_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_vlas_chubar
						FLAG_DAYS = [?UKR_purchase_of_modern_machines_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_vlas_chubar
						FOCUS = UKR_secsec_chubar
					}
					always = no
				}
			}
		}

		search_filters = {  }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_chubar_secretar_idea_2
				add_idea = UKR_chubar_secretar_idea_3
			}
		}
	}


	focus = {
		id = UKR_secsec_khvylovy
		icon = GFX_focus_UKR_secsec_khvylovy
		prerequisite = { focus = UKR_ic_collective_leadership }

		x = -3
		y = 1
		relative_position_id = UKR_ic_collective_leadership
		cost = 2

		available = {
			has_government = communism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = UKR_mykola_khvylovy
				}
			}
			custom_trigger_tooltip = {
				tooltip = UKR_ic_fullhouse_of_secretars_tt
				OR = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
					check_variable = { UKR_ascended_advisor_2 = 0 }
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			UKR_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = UKR_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = UKR_inner_circle_cd_days_tt
					NOT = {	has_country_flag = UKR_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = UKR_ascension_of_character_tt
				CHARACTER = UKR_mykola_khvylovy
			}
			show_ideas_tooltip = UKR_khvylovy_secretar_idea_1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = UKR_mykola_khvylovy
			}
			hidden_effect = {
				add_ideas = UKR_khvylovy_secretar_idea_1
			}
			if = {
				limit = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
				}
				set_variable = { UKR_ascended_advisor_1 = 2 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_2 = 0 }
				}
				set_variable = { UKR_ascended_advisor_2 = 2 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
				set_variable = { UKR_ascended_advisor_3 = 2 }
			}

			hidden_effect = {
				country_event = { id = UKR_inner_circle.201 days = UKR_inner_circle_days_to_start_focus random_days = UKR_inner_circle_random_days }
				UKR_inner_circle_set_ascension_cd = yes
			}
		}
	}

	focus = {
		id = UKR_education_of_the_masses
		icon = GFX_focus_generic_social_democracy
		prerequisite = { focus = UKR_secsec_khvylovy }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_secsec_khvylovy
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_education_of_the_masses_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_mykola_khvylovy
						FLAG_DAYS = [?UKR_education_of_the_masses_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_mykola_khvylovy
						FOCUS = UKR_secsec_khvylovy
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_khvylovy_secretar_idea_1
				add_idea = UKR_khvylovy_secretar_idea_2
			}
		}
	}

	focus = {
		id = UKR_finanses_for_kino
		icon = GFX_focus_UKR_kinopropaganda
		prerequisite = { focus = UKR_education_of_the_masses }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_education_of_the_masses
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_finanses_for_kino_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_mykola_khvylovy
						FLAG_DAYS = [?UKR_finanses_for_kino_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_mykola_khvylovy
						FOCUS = UKR_secsec_khvylovy
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_khvylovy_secretar_idea_2
				add_idea = UKR_khvylovy_secretar_idea_3
			}
			set_country_flag = UKR_dovzhenko_is_available
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = UKR_oleksander_dovzhenko
		}
	}

	focus = {
		id = UKR_national_revival
		icon = GFX_focus_por_workers_of_iberia
		prerequisite = { focus = UKR_finanses_for_kino }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_finanses_for_kino
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_national_revival_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_mykola_khvylovy
						FLAG_DAYS = [?UKR_national_revival_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_mykola_khvylovy
						FOCUS = UKR_secsec_khvylovy
					}
					always = no
				}
			}
		}

		search_filters = {  }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_khvylovy_secretar_idea_3
				add_idea = UKR_khvylovy_secretar_idea_4
			}
		}
	}

	focus = {
		id = UKR_secsec_shumskyi
		icon = GFX_focus_UKR_secsec_shumskyi
		prerequisite = { focus = UKR_ic_collective_leadership }

		x = -1
		y = 1
		relative_position_id = UKR_ic_collective_leadership
		cost = 2

		available = {
			has_government = communism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = UKR_oleksander_shumskyi
				}
			}
			custom_trigger_tooltip = {
				tooltip = UKR_ic_fullhouse_of_secretars_tt
				OR = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
					check_variable = { UKR_ascended_advisor_2 = 0 }
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			UKR_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = UKR_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = UKR_inner_circle_cd_days_tt
					NOT = {	has_country_flag = UKR_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = UKR_ascension_of_character_tt
				CHARACTER = UKR_oleksander_shumskyi
			}
			show_ideas_tooltip = UKR_shumskyi_secretar_idea_1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = UKR_oleksander_shumskyi
			}
			hidden_effect = {
				add_ideas = UKR_shumskyi_secretar_idea_1
			}
			if = {
				limit = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
				}
				set_variable = { UKR_ascended_advisor_1 = 3 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_2 = 0 }
				}
				set_variable = { UKR_ascended_advisor_2 = 3 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
				set_variable = { UKR_ascended_advisor_3 = 3 }
			}

			hidden_effect = {
				country_event = { id = UKR_inner_circle.301 days = UKR_inner_circle_days_to_start_focus random_days = UKR_inner_circle_random_days }
				UKR_inner_circle_set_ascension_cd = yes
			}
		}
	}

	focus = {
		id = UKR_red_diplomacy
		icon = GFX_focus_GER_proletarian_dictatorship
		prerequisite = { focus = UKR_secsec_shumskyi }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_secsec_shumskyi
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_red_diplomacy_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_oleksander_shumskyi
						FLAG_DAYS = [?UKR_red_diplomacy_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_oleksander_shumskyi
						FOCUS = UKR_secsec_shumskyi
					}
					always = no
				}
			}
		}

		search_filters = {  }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 50
			swap_ideas = {
				remove_idea = UKR_shumskyi_secretar_idea_1
				add_idea = UKR_shumskyi_secretar_idea_2
			}
		}
	}

	focus = {
		id = UKR_active_actions
		icon = GFX_focus_NORDIC_com_selector_army
		prerequisite = { focus = UKR_red_diplomacy }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_red_diplomacy
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_active_actions_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_oleksander_shumskyi
						FLAG_DAYS = [?UKR_active_actions_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_oleksander_shumskyi
						FOCUS = UKR_secsec_shumskyi
					}
					always = no
				}
			}
		}

		search_filters = { }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_shumskyi_secretar_idea_2
				add_idea = UKR_shumskyi_secretar_idea_3
			}
		}
	}

	focus = {
		id = UKR_ally_coordination
		icon = GFX_focus_NORDIC_com_form_alliance
		prerequisite = { focus = UKR_active_actions }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_active_actions
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_ally_coordination_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_oleksander_shumskyi
						FLAG_DAYS = [?UKR_ally_coordination_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_oleksander_shumskyi
						FOCUS = UKR_secsec_shumskyi
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 100
			set_variable = { ukr_var_count_of_allyes = 0 }
			every_other_country = {
				limit = {
					is_in_faction_with = ROOT
				}
				add_stability = 0.05
				add_popularity = {
					ideology = communism
					popularity = 0.1
				}
				ROOT = {
					add_to_variable = { ukr_var_count_of_allyes = 1 }
				}
			}
			hidden_effect = {
				divide_variable = { ukr_var_count_of_allyes = 50 }
				add_stability = ukr_var_count_of_allyes
			}
			custom_effect_tooltip = UKR_ally_coordination_tt
		}
	}

	focus = {
		id = UKR_secsec_sokolovska
		icon = GFX_focus_UKR_secsec_sokolovska
		prerequisite = { focus = UKR_ic_collective_leadership }

		x = 1
		y = 1
		relative_position_id = UKR_ic_collective_leadership
		cost = 2

		available = {
			has_government = communism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = UKR_sofia_sokolovska
				}
			}
			custom_trigger_tooltip = {
				tooltip = UKR_ic_fullhouse_of_secretars_tt
				OR = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
					check_variable = { UKR_ascended_advisor_2 = 0 }
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			UKR_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = UKR_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = UKR_inner_circle_cd_days_tt
					NOT = {	has_country_flag = UKR_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = UKR_ascension_of_character_tt
				CHARACTER = UKR_sofia_sokolovska
			}
			show_ideas_tooltip = UKR_sokolovska_secretar_idea_1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = UKR_sofia_sokolovska
			}
			hidden_effect = {
				add_ideas = UKR_sokolovska_secretar_idea_1
			}
			if = {
				limit = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
				}
				set_variable = { UKR_ascended_advisor_1 = 4 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_2 = 0 }
				}
				set_variable = { UKR_ascended_advisor_2 = 4 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
				set_variable = { UKR_ascended_advisor_3 = 4 }
			}

			hidden_effect = {
				country_event = { id = UKR_inner_circle.401 days = UKR_inner_circle_days_to_start_focus random_days = UKR_inner_circle_random_days }
				UKR_inner_circle_set_ascension_cd = yes
			}
		}
	}
	focus = {
		id = UKR_socialistic_education
		icon = GFX_focus_NORDIC_com_capstone_research
		prerequisite = { focus = UKR_secsec_sokolovska }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_secsec_sokolovska
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_socialistic_education_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_sofia_sokolovska
						FLAG_DAYS = [?UKR_socialistic_education_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_sofia_sokolovska
						FOCUS = UKR_secsec_sokolovska
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_sokolovska_secretar_idea_1
				add_idea = UKR_sokolovska_secretar_idea_2
			}
		}
	}

	focus = {
		id = UKR_universal_equality
		icon = GFX_focus_AUS_womens_education_initiative
		prerequisite = { focus = UKR_socialistic_education }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_socialistic_education
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_universal_equality_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_sofia_sokolovska
						FLAG_DAYS = [?UKR_universal_equality_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_sofia_sokolovska
						FOCUS = UKR_secsec_sokolovska
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_sokolovska_secretar_idea_2
				add_idea = UKR_sokolovska_secretar_idea_3
			}
		}
	}

	focus = {
		id = UKR_special_science_projects
		icon = GFX_focus_NORDIC_com_selector_research
		prerequisite = { focus = UKR_universal_equality }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_universal_equality
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_special_science_projects_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_sofia_sokolovska
						FLAG_DAYS = [?UKR_special_science_projects_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_sofia_sokolovska
						FOCUS = UKR_secsec_sokolovska
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_sokolovska_secretar_idea_3
				add_idea = UKR_sokolovska_secretar_idea_4
			}
		}
	}

	focus = {
		id = UKR_secsec_trotsky
		icon = GFX_focus_UKR_secsec_trotsky
		prerequisite = { focus = UKR_ic_collective_leadership }

		x = 3
		y = 1
		relative_position_id = UKR_ic_collective_leadership
		cost = 2

		available = {
			has_government = communism
			has_global_flag = trotsky_came_back_in_ukraine
			NOT = { SOV = { has_completed_focus = SOV_the_left_opposition } }
			NOT = { SOV = { SOV_lev_trotsky = { is_country_leader = yes } } }
			NOT = { MEX = { MEX_leon_trotsky = { is_country_leader = yes } } }
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = UKR_lev_trotsky
				}
			}
			custom_trigger_tooltip = {
				tooltip = UKR_ic_fullhouse_of_secretars_tt
				OR = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
					check_variable = { UKR_ascended_advisor_2 = 0 }
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			UKR_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = UKR_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = UKR_inner_circle_cd_days_tt
					NOT = {	has_country_flag = UKR_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = UKR_ascension_of_character_tt
				CHARACTER = UKR_lev_trotsky
			}
			show_ideas_tooltip = UKR_trotsky_secretar_idea_1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = UKR_lev_trotsky
			}
			hidden_effect = {
				add_ideas = UKR_trotsky_secretar_idea_1
			}
			if = {
				limit = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
				}
				set_variable = { UKR_ascended_advisor_1 = 5 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_2 = 0 }
				}
				set_variable = { UKR_ascended_advisor_2 = 5 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
				set_variable = { UKR_ascended_advisor_3 = 5 }
			}

			hidden_effect = {
				country_event = { id = UKR_inner_circle.501 days = UKR_inner_circle_days_to_start_focus random_days = UKR_inner_circle_random_days }
				UKR_inner_circle_set_ascension_cd = yes
			}
		}
	}
	focus = {
		id = UKR_organisator_of_red_army
		icon = GFX_focus_NORDIC_com_capstone_army
		prerequisite = { focus = UKR_secsec_trotsky }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_secsec_trotsky
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_organisator_of_red_army_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_lev_trotsky
						FLAG_DAYS = [?UKR_organisator_of_red_army_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_lev_trotsky
						FOCUS = UKR_secsec_trotsky
					}
					always = no
				}
			}
		}

		search_filters = {  }

		completion_reward = {
			if = {
				limit = {
					OR = {
						SOV = { has_completed_focus = SOV_the_left_opposition }
						SOV = { SOV_lev_trotsky = { is_country_leader = yes } }
						MEX = { MEX_leon_trotsky = { is_country_leader = yes } }
					}
				}
				UKR_remove_trotsky_effects = yes
			}
			else = {
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = UKR_trotsky_secretar_idea_1
					add_idea = UKR_trotsky_secretar_idea_2
				}
			}
			
		}
	}

	focus = {
		id = UKR_prepare_for_revolution
		icon = GFX_focus_SOV_international_union_of_soviet_republics
		prerequisite = { focus = UKR_organisator_of_red_army }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_organisator_of_red_army
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_prepare_for_revolution_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_lev_trotsky
						FLAG_DAYS = [?UKR_prepare_for_revolution_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_lev_trotsky
						FOCUS = UKR_secsec_trotsky
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			if = {
				limit = {
					OR = {
						SOV = { has_completed_focus = SOV_the_left_opposition }
						SOV = { SOV_lev_trotsky = { is_country_leader = yes } }
						MEX = { MEX_leon_trotsky = { is_country_leader = yes } }
					}
				}
				UKR_remove_trotsky_effects = yes
			}
			else = {
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = UKR_trotsky_secretar_idea_2
					add_idea = UKR_trotsky_secretar_idea_3
				}
			}
		}
	}

	focus = {
		id = UKR_uniting_around_idea
		icon = GFX_focus_AFG_defender_of_central_asia
		prerequisite = { focus = UKR_prepare_for_revolution }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_prepare_for_revolution
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_uniting_around_idea_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_lev_trotsky
						FLAG_DAYS = [?UKR_uniting_around_idea_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_lev_trotsky
						FOCUS = UKR_secsec_trotsky
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			if = {
				limit = {
					OR = {
						SOV = { has_completed_focus = SOV_the_left_opposition }
						SOV = { SOV_lev_trotsky = { is_country_leader = yes } }
						MEX = { MEX_leon_trotsky = { is_country_leader = yes } }
					}
				}
				UKR_remove_trotsky_effects = yes
			}
			else = {
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = UKR_trotsky_secretar_idea_3
					add_idea = UKR_trotsky_secretar_idea_4
				}
			}
		}
	}

	focus = {
		id = UKR_secsec_mazepa
		icon = GFX_focus_UKR_secsec_mazepa
		prerequisite = { focus = UKR_ic_collective_leadership }

		x = 5
		y = 1
		relative_position_id = UKR_ic_collective_leadership
		cost = 2

		available = {
			has_government = communism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = UKR_isaak_mazepa
				}
			}
			custom_trigger_tooltip = {
				tooltip = UKR_ic_fullhouse_of_secretars_tt
				OR = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
					check_variable = { UKR_ascended_advisor_2 = 0 }
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			UKR_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = UKR_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = UKR_inner_circle_cd_days_tt
					NOT = {	has_country_flag = UKR_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = UKR_ascension_of_character_tt
				CHARACTER = UKR_isaak_mazepa
			}
			show_ideas_tooltip = UKR_mazepa_secretar_idea_1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = UKR_isaak_mazepa
			}
			hidden_effect = {
				add_ideas = UKR_mazepa_secretar_idea_1
			}
			if = {
				limit = {
					check_variable = { UKR_ascended_advisor_1 = 0 }
				}
				set_variable = { UKR_ascended_advisor_1 = 6 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_2 = 0 }
				}
				set_variable = { UKR_ascended_advisor_2 = 6 }
			}
			else_if = {
				limit = {
					check_variable = { UKR_ascended_advisor_3 = 0 }
				}
				set_variable = { UKR_ascended_advisor_3 = 6 }
			}

			hidden_effect = {
				country_event = { id = UKR_inner_circle.601 days = UKR_inner_circle_days_to_start_focus random_days = UKR_inner_circle_random_days }
				UKR_inner_circle_set_ascension_cd = yes
			}
		}
	}

	focus = {
		id = UKR_strengthening_of_security_service
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = UKR_secsec_mazepa }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_secsec_mazepa
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_strengthening_of_security_service_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_isaak_mazepa
						FLAG_DAYS = [?UKR_strengthening_of_security_service_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_isaak_mazepa
						FOCUS = UKR_secsec_mazepa
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_mazepa_secretar_idea_1
				add_idea = UKR_mazepa_secretar_idea_2
			}
			add_tech_bonus = {
				name = UKR_strengthening_of_security_service
				bonus = 1.0
				uses = 1
				technology = tech_military_police
				technology = tech_military_police2
				technology = tech_military_police3
			}
		}
	}

	focus = {
		id = UKR_unemployed_detachments
		icon = GFX_focus_generic_full_employment
		prerequisite = { focus = UKR_strengthening_of_security_service }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_strengthening_of_security_service
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_unemployed_detachments_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_isaak_mazepa
						FLAG_DAYS = [?UKR_unemployed_detachments_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_isaak_mazepa
						FOCUS = UKR_secsec_mazepa
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_mazepa_secretar_idea_2
				add_idea = UKR_mazepa_secretar_idea_3
			}
		}
	}

	focus = {
		id = UKR_cooperation_or_death
		icon = GFX_focus_generic_communist
		prerequisite = { focus = UKR_unemployed_detachments }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = UKR_unemployed_detachments
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = UKR_cooperation_or_death_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = UKR_isaak_mazepa
						FLAG_DAYS = [?UKR_cooperation_or_death_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = UKR_isaak_mazepa
						FOCUS = UKR_secsec_mazepa
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = UKR_mazepa_secretar_idea_3
				add_idea = UKR_mazepa_secretar_idea_4
			}
		}
	}

	focus = {
		id = UKR_strong_successor
		icon = GFX_focus_AFG_retire_the_uncles
		prerequisite = { focus = UKR_special_science_projects focus = UKR_national_revival focus = UKR_purchase_of_modern_machines focus = UKR_ally_coordination focus = UKR_uniting_around_idea focus = UKR_cooperation_or_death }
		mutually_exclusive = { focus = UKR_loyalty_to_the_leader }
		x = -2
		y = 5
		relative_position_id = UKR_ic_collective_leadership
		cost = 5

		available = {
			has_government = communism
			custom_trigger_tooltip = {
				tooltip = GER_a_strong_successor_trigger_tt
				count_triggers = {
					amount = 3
					AND = {
						has_completed_focus = UKR_purchase_of_modern_machines
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 1 }
							check_variable = { UKR_ascended_advisor_2 = 1 }
							check_variable = { UKR_ascended_advisor_3 = 1 }
						}
					}
					AND = {
						has_completed_focus = UKR_national_revival
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 2 }
							check_variable = { UKR_ascended_advisor_2 = 2 }
							check_variable = { UKR_ascended_advisor_3 = 2 }
						}
					}
					AND = {
						has_completed_focus = UKR_ally_coordination
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 3 }
							check_variable = { UKR_ascended_advisor_2 = 3 }
							check_variable = { UKR_ascended_advisor_3 = 3 }
						}
					}
					AND = {
						has_completed_focus = UKR_special_science_projects
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 4 }
							check_variable = { UKR_ascended_advisor_2 = 4 }
							check_variable = { UKR_ascended_advisor_3 = 4 }
						}
					}
					AND = {
						has_completed_focus = UKR_uniting_around_idea
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 5 }
							check_variable = { UKR_ascended_advisor_2 = 5 }
							check_variable = { UKR_ascended_advisor_3 = 5 }
						}
					}
					AND = {
						has_completed_focus = UKR_cooperation_or_death
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 6 }
							check_variable = { UKR_ascended_advisor_2 = 6 }
							check_variable = { UKR_ascended_advisor_3 = 6 }
						}
					}
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { }

		completion_reward = {
			hidden_effect = {
				country_event = UKR_inner_circle.01
			}
		
			custom_effect_tooltip = {
				localization_key = UKR_strong_successor_tt
				EVENT = UKR_inner_circle.01.t
				CHARACTER = [ROOT.GetLeader]
			}
			if = {
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
						check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
						check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
					}
				}
				custom_effect_tooltip = UKR_a_strong_successor_current_advisors_tt
			}
		}
	}

	focus = {
		id = UKR_loyalty_to_the_leader
		icon = GFX_focus_UKR_humane_communism
		prerequisite = { focus = UKR_special_science_projects focus = UKR_national_revival focus = UKR_purchase_of_modern_machines focus = UKR_ally_coordination focus = UKR_uniting_around_idea focus = UKR_cooperation_or_death }
		mutually_exclusive = { focus = UKR_strong_successor }
		x = 2
		y = 5
		relative_position_id = UKR_ic_collective_leadership
		cost = 5

		available = {
			has_government = communism
			custom_trigger_tooltip = {
				tooltip = GER_a_strong_successor_trigger_tt
				count_triggers = {
					amount = 3
					AND = {
						has_completed_focus = UKR_purchase_of_modern_machines
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 1 }
							check_variable = { UKR_ascended_advisor_2 = 1 }
							check_variable = { UKR_ascended_advisor_3 = 1 }
						}
					}
					AND = {
						has_completed_focus = UKR_national_revival
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 2 }
							check_variable = { UKR_ascended_advisor_2 = 2 }
							check_variable = { UKR_ascended_advisor_3 = 2 }
						}
					}
					AND = {
						has_completed_focus = UKR_ally_coordination
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 3 }
							check_variable = { UKR_ascended_advisor_2 = 3 }
							check_variable = { UKR_ascended_advisor_3 = 3 }
						}
					}
					AND = {
						has_completed_focus = UKR_special_science_projects
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 4 }
							check_variable = { UKR_ascended_advisor_2 = 4 }
							check_variable = { UKR_ascended_advisor_3 = 4 }
						}
					}
					AND = {
						has_completed_focus = UKR_uniting_around_idea
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 5 }
							check_variable = { UKR_ascended_advisor_2 = 5 }
							check_variable = { UKR_ascended_advisor_3 = 5 }
						}
					}
					AND = {
						has_completed_focus = UKR_cooperation_or_death
						OR = {
							check_variable = { UKR_ascended_advisor_1 = 6 }
							check_variable = { UKR_ascended_advisor_2 = 6 }
							check_variable = { UKR_ascended_advisor_3 = 6 }
						}
					}
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { }

		completion_reward = {
			add_political_power = 100
			add_country_leader_trait = GER_loyal_inner_circle
		}
	}

	############################
	###   NEW UNION BRANCH   ###
	############################

	focus = {
		id = UKR_all_union_congress

		icon = GFX_focus_prc_agrarian_socialism

		x = 10
		y = 12

		cost = 10

		allow_branch = {
			has_country_flag = UKR_form_new_ussr
		}

		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 150
			add_stability = 0.05
			hidden_effect = {
				add_to_array = { UKR_array_of_noncore_republics = GEO }
				add_to_array = { UKR_array_of_noncore_republics = AZR }
				add_to_array = { UKR_array_of_noncore_republics = ARM }
				add_to_array = { UKR_array_of_noncore_republics = KAZ }
				add_to_array = { UKR_array_of_noncore_republics = TMS }
				add_to_array = { UKR_array_of_noncore_republics = TAJ }
				add_to_array = { UKR_array_of_noncore_republics = UZB }
				add_to_array = { UKR_array_of_noncore_republics = KYR }
			}
		}
	}

	focus = {
		id = UKR_emergency_restoration_committee 

		icon = GFX_goal_generic_soviet_construction

		prerequisite = { focus = UKR_all_union_congress }
		x = 0
		y = 1
		relative_position_id = UKR_all_union_congress

		cost = 10

		available = {
			has_government = communism
			NOT = { has_war_with = SOV }
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_timed_idea = {
				idea = UKR_restoration_sov_five_year_plan
				days = 1825
			} 
		}
	}


	focus = {
		id = UKR_union_federalisation 

		icon = GFX_focus_AFG_integrate_tajik_and_uzbek_republics

		prerequisite = { focus = UKR_emergency_restoration_committee }
		mutually_exclusive = { focus = UKR_union_autonomisation }
		x = -1
		y = 1
		relative_position_id = UKR_emergency_restoration_committee

		cost = 10

		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_ideas = UKR_federal_union_idea
			if = {
				limit = {
					any_owned_state = {
						is_core_of = GEO
					}
				}
				release_puppet = GEO
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = ARM
					}
				}
				release_puppet = ARM
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = AZR
					}
				}
				release_puppet = AZR
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = KAZ
					}
				}
				release_puppet = KAZ
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = TMS
					}
				}
				release_puppet = TMS
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = TAJ
					}
				}
				release_puppet = TAJ
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = UZB
					}
				}
				release_puppet = UZB
			}
			if = {
				limit = {
					any_owned_state = {
						is_core_of = KYR
					}
				}
				release_puppet = KYR
			}
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_decrease_small = yes
			}
		}
	}

	focus = {
		id = UKR_support_subjects

		icon = GFX_focus_generic_communist

		prerequisite = { focus = UKR_union_federalisation }
		x = -1
		y = 1
		relative_position_id = UKR_union_federalisation

		cost = 10

		available = {
			has_government = communism
			any_other_country = {
				is_subject_of = ROOT
			}
		}

		search_filters = {  }

		completion_reward = {
			unlock_decision_category_tooltip = UKR_union_support_subjects_category

			custom_effect_tooltip = UKR_the_construction_of_union_railways_tt
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_decrease_small = yes
			}
			hidden_effect = { #Hiidden for tooltip reasons
				every_subject_country = {
					limit = {
						capital_scope = {
							OR = {
								is_on_continent = europe
								is_on_continent = asia
								is_on_continent = middle_east
							}
						}
					}

					if = {
						limit = {
							can_build_railway = {
								start_state = ROOT.capital
								target_state = THIS.capital
								build_only_on_allied = yes
							}
						}
						build_railway = {				
							start_state = ROOT.capital
							target_state = THIS.capital
							build_only_on_allied = yes
						}
					}		
				}
			}
		}
	}

	focus = {
		id = UKR_union_autonomisation 

		icon = GFX_focus_SOV_socialism_in_one_country

		prerequisite = { focus = UKR_emergency_restoration_committee }
		mutually_exclusive = { focus = UKR_union_federalisation }
		x = 1
		y = 1
		relative_position_id = UKR_emergency_restoration_committee

		cost = 10

		available = {
			has_government = communism
		}

		search_filters = {  }

		completion_reward = {
			add_war_support = -0.05
			every_controlled_state = {
				limit = {
					OR = {
						is_core_of = GEO
						is_core_of = AZR
						is_core_of = ARM
						is_core_of = KAZ
						is_core_of = TMS
						is_core_of = TAJ
						is_core_of = UZB
						is_core_of = KYR
					}
				}
				add_compliance = 20
			}
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_increase_small = yes
			}
		}
	}

	focus = {
		id = UKR_union_integration

		icon = GFX_focus_spr_masters_of_our_own_fate

		prerequisite = { focus = UKR_union_autonomisation }
		x = 1
		y = 1
		relative_position_id = UKR_union_autonomisation

		cost = 10

		search_filters = {  }

		completion_reward = {
			unlock_decision_category_tooltip = UKR_union_integrate_republics_category
			if = {
				limit = {
					has_country_flag = UKR_voluntarism_system_active_flag
				}
				UKR_vlnt_increase_small = yes
			}
		}
	}

	focus = {
		id = UKR_union_academy_of_science

		icon = GFX_focus_generic_socialist_science

		prerequisite = { focus = UKR_union_federalisation focus = UKR_union_autonomisation }
		x = 1
		y = 1
		relative_position_id = UKR_union_federalisation

		cost = 10

		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = UKR_strengthen_party

		icon = GFX_focus_SOV_the_supreme_soviet

		prerequisite = { focus = UKR_union_academy_of_science }
		x = -1
		y = 1
		relative_position_id = UKR_union_academy_of_science

		cost = 10

		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_ideas = UKR_strengthen_comparty_idea
		}
	}

	focus = {
		id = UKR_union_party_and_people

		icon = GFX_focus_YUG_pan_slavic_congress

		prerequisite = { focus = UKR_strengthen_party }
		x = 0
		y = 1
		relative_position_id = UKR_strengthen_party

		cost = 10

		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = UKR_union_party_and_people_idea
		}
	}

	focus = {
		id = UKR_restore_foreight_influence

		icon = GFX_focus_ger_great_red_menace

		prerequisite = { focus = UKR_union_academy_of_science }
		x = 1
		y = 1
		relative_position_id = UKR_union_academy_of_science

		cost = 10

		available = {
			has_government = communism
			surrender_progress < 0.01
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			if = {
				limit = { is_in_faction = no }
				create_faction = NewComintern
			}
			add_war_support = 0.10
			add_ideas = UKR_restore_influence_of_union
		}
	}

	focus = {
		id = UKR_great_revolutionary

		dynamic = yes

		icon = GFX_goal_generic_war_with_comintern

		prerequisite = { focus = UKR_restore_foreight_influence }
		x = 0
		y = 1
		relative_position_id = UKR_restore_foreight_influence

		cost = 10

		available = {
			has_government = communism
		}

		search_filters = {  }

		completion_reward = {
			if = {
				limit = { has_completed_focus = UKR_humane_communism }
				add_country_leader_trait = triumphant_revolutionary
			}
			else = {
				add_country_leader_trait = stalin_father_of_nations
				if = {
					limit = {
						has_country_flag = UKR_voluntarism_system_active_flag
					}
					UKR_vlnt_increase_big = yes
				}
			}
		}
	}
	
	focus = {
		id = UKR_union_revolution_for_all

		dynamic = yes

		icon = GFX_focus_SOV_proclaim_soviet_hegemony

		prerequisite = { focus = UKR_union_party_and_people }
		prerequisite = { focus = UKR_great_revolutionary }
		x = 1
		y = 1
		relative_position_id = UKR_union_party_and_people

		cost = 10

		available = {
			has_government = communism
			has_capitulated = no
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_war_support = 0.10
			if = {
				limit = { has_completed_focus = UKR_humane_communism }
				every_country = {
					limit = { 
						OR = {
							tag = ROOT 
							is_in_faction_with = ROOT 
							is_subject_of = ROOT
						}
					}
					add_ideas = SOV_enemies_of_the_people_idea
				}
			}
			else = {
				unlock_decision_category_tooltip = UKR_new_world_revolution
			}
		}
	}
}

