	shared_focus = {
		id = YUG_fight_isnt_over
		icon = GFX_fight_isnt_over
		x = 13
		y = 9
		
		allow_branch = {
			OR = {
				has_global_flag = YUG_rework_enabled_gflag
			}
		}

		cost = 5
		
		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available_if_capitulated = yes

		available = {
			OR = {
				has_capitulated = yes
				AND = {
					OR = {
						has_war_with = BUL
						has_war_with = HUN
						has_war_with = ITA
						has_war_with = GER
					}
					is_in_faction = yes
					surrender_progress > 0.6
				}
			}
		}
		completion_reward = {
			unlock_decision_category_tooltip = YUG_resistance_category
			add_offsite_building = { type = industrial_complex level = 2 }
			add_offsite_building = { type = arms_factory level = 1 }
			add_ideas = YUG_fight_isnt_over_idea
		}
	}
	shared_focus = {
		id = YUG_pick_base
		prerequisite = { focus = YUG_fight_isnt_over }
		icon = GFX_pick_base
		x = 0
		y = 1
		relative_position_id = YUG_fight_isnt_over

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			OR = {
				has_capitulated = yes
				AND = {
					OR = {
						has_war_with = BUL
						has_war_with = HUN
						has_war_with = ITA
						has_war_with = GER
					}
					is_in_faction = yes
					surrender_progress > 0.6
				}
			}
		}
		completion_reward = {
			YUG = { country_event = YUG_pick_base.1 }
			unlock_decision_tooltip = {
			decision = YUG_tito_draza_meeting
			}
			add_war_support = 0.05
		}
	}
	shared_focus = {
		id = YUG_pick_tito
		prerequisite = { focus = YUG_pick_base }
		icon = GFX_goal_yug_tito
		x = -2
		y = 1
		relative_position_id = YUG_pick_base
		mutually_exclusive = { focus = YUG_pick_draza }

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
				has_country_flag = YUG_picked_tito
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = yugo_pick_tt
			if = {
				limit = {
					has_government = communism
				}
				add_popularity = {
					ideology = communism
					popularity = 0.2
					}
				add_political_power = 150
				add_stability = 0.05
				swap_ideas = {
					remove_idea = YUG_fight_isnt_over_idea
					add_idea = YUG_fight_isnt_over_commie
				}
			}
			else = {
				set_politics = {
					ruling_party = communism
					elections_allowed = no
				}
				add_popularity = {
				ideology = communism
				popularity = 0.4
				}
				YUG_josip_broz_tito = {
					promote_leader = yes
				}
				swap_ideas = {
					remove_idea = YUG_fight_isnt_over_idea
					add_idea = YUG_fight_isnt_over_commie
				}
			}
		}
	}
	shared_focus = {
		id = YUG_pick_draza
		prerequisite = { focus = YUG_pick_base }
		icon = GFX_pick_draza
		x = 2
		y = 1
		relative_position_id = YUG_pick_base
		mutually_exclusive = { focus = YUG_pick_tito }

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
				has_country_flag = YUG_picked_draza
			}
		}
		completion_reward = {
			custom_effect_tooltip = yugo_pick_tt
			set_politics = {
				ruling_party = neutrality
			}
			retire_country_leader = yes
			set_party_name = { 
					ideology = neutrality
					name = "JVUO"
					long_name = "Jugoslovenska Vojska U Otadzbini"
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.4
			}
			YUG_draza_mihailovic = {
				promote_character = {ideology = despotism }
			}
			add_corps_commander_role = {
				character = YUG_draza_mihailovic
				traits = { hill_fighter old_guard }
				skill = 4
				attack_skill = 3
				defense_skill = 5
				planning_skill = 2
				logistics_skill = 3
				id = 19999
			}
		}
	}
	shared_focus = {
		id = YUG_seize_arms_factories
		prerequisite = { focus = YUG_pick_tito }
		icon = GFX_goal_generic_industrial_unionism
		x = 0
		y = 1
		relative_position_id = YUG_pick_tito

		cost = 5
		
		search_filters = { FOCUS_FILTER_INDUSTRY }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_country_flag = YUG_picked_bosnia
				}
				every_owned_state = {
					limit = {
						OR = {
							state = 104
							state = 961
							state = 962
							state = 804
						}
					}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				damage_building = {
					type = industrial_complex
					damage = 1
				}
			} 
			add_offsite_building = { type = arms_factory level = 3 }
		}
		if = {
				limit = {
					has_country_flag = YUG_picked_coast
				}
				every_owned_state = {
					limit = {
						OR = {
							state = 105
							state = 958
							state = 963
							state = 103
						}
					}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				damage_building = {
					type = industrial_complex
					damage = 1
				}
			} 
			add_offsite_building = { type = arms_factory level = 3 }
		}
		if = {
				limit = {
					has_country_flag = YUG_picked_serbia
				}
				every_owned_state = {
					limit = {
						OR = {
							state = 107
							state = 108
							state = 953
							state = 802
						}
					}
				damage_building = {
					type = arms_factory
					damage = 1
				}
				damage_building = {
					type = industrial_complex
					damage = 1
				}
			} 
			add_offsite_building = { type = arms_factory level = 3 }
		}
	}
}
	shared_focus = {
		id = YUG_local_resistance
		prerequisite = { focus = YUG_pick_draza focus = YUG_pick_tito }
		icon = GFX_focus_ETH_freedom_at_gunpoint
		x = 0
		y = 2
		relative_position_id = YUG_pick_base

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			unlock_decision_category_tooltip = YUG_resistance_map_category
		}
	}
		shared_focus = {
		id = YUG_in_the_dark
		prerequisite = { focus = YUG_pick_draza }
		icon = GFX_kosta_pecanac
		x = 0
		y = 1
		relative_position_id = YUG_pick_draza

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			add_doctrine_cost_reduction = {
				cost_reduction = 0.75
				uses = 2
				category = cat_superior_firepower
				category = cat_grand_battle_plan
				category = cat_r56_guerilla_warfare
			}
		}
	}
		shared_focus = {
		id = YUG_hit_and_run_goal
		prerequisite = { focus = YUG_pick_draza }
		icon = GFX_goal_CHI_lure_them_in
		x = 2
		y = 1
		relative_position_id = YUG_pick_draza

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			add_ideas = YUG_hit_and_run
		}
	}
		shared_focus = {
		id = YUG_imrpoved_training
		prerequisite = { focus = YUG_in_the_dark focus = YUG_hit_and_run_goal }
		icon = GFX_focus_prc_infiltration
		x = 0
		y = 1
		relative_position_id = YUG_in_the_dark

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			add_ideas = YUG_irregular_brigades_idea
		}
	}
		shared_focus = {
		id = YUG_mass_propaganda
		prerequisite = { focus = YUG_pick_tito }
		icon = GFX_partisan_propaganda
		x = -2
		y = 1
		relative_position_id = YUG_pick_tito

		cost = 5
		
		search_filters = { FOCUS_FILTER_MANPOWER }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			add_manpower = 75000
			add_war_support = 0.15
		}
	}
		shared_focus = {
		id = YUG_womens_rights
		prerequisite = { focus = YUG_seize_arms_factories focus = YUG_mass_propaganda }
		icon = GFX_focus_generic_women_in_military
		x = 0
		y = 1
		relative_position_id = YUG_seize_arms_factories

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			add_ideas = { YUG_womens_rights }
		}
	}
		shared_focus = {
		id = YUG_our_ground
		prerequisite = { focus = YUG_local_resistance }
		icon = GFX_goal_generic_mountain_warfare
		x = 0
		y = 1
		relative_position_id = YUG_local_resistance

		cost = 5
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
		completion_reward = {
			add_ideas = { YUG_our_ground }
		}
	}
		shared_focus = {
		id = YUG_uprising
		prerequisite = { focus = YUG_womens_rights focus = YUG_imrpoved_training }
		prerequisite = { focus = YUG_our_ground }
		icon = GFX_yug_uprising
		x = 0
		y = 1
		relative_position_id = YUG_our_ground

		cost = 10
		
		search_filters = { FOCUS_FILTER_POLITICAL }
		
		available_if_capitulated = yes

		available = {
			AND = {
				has_capitulated = yes
			}
		}
	completion_reward = {
		custom_effect_tooltip = yugo_uprising_tt
		if = {
			limit = {
				has_country_flag = YUG_picked_draza
				NOT = { has_government = communism }
			}
			division_template = {
				name = "Četnici"
				division_names_group = YUG_IRR_01
				is_locked = yes
				regiments = {
					irregular_infantry = { x = 0 y = 0 }
					irregular_infantry = { x = 0 y = 1 }
					irregular_infantry = { x = 0 y = 2 }
					irregular_infantry = { x = 0 y = 3 }
					irregular_infantry = { x = 0 y = 4 }
					irregular_infantry = { x = 1 y = 0 }
					irregular_infantry = { x = 1 y = 1 }
					irregular_infantry = { x = 1 y = 2 }
					irregular_infantry = { x = 1 y = 3 }
					irregular_infantry = { x = 1 y = 4 }
					irregular_infantry = { x = 2 y = 0 }
					artillery_brigade = { x = 2 y = 1 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
				}
			}
			every_owned_state = {
				limit = {
					NOT = { 
					is_controlled_by = YUG
					compliance > 40
					}
					resistance > 50
				}
				set_state_controller_to = YUG
				create_unit = {
					division = "division_template = \"Četnici\" start_experience_factor = 0.3 start_equipment_factor = 0.9 start_manpower_factor = 1"
					owner = ROOT
					count = 2
				}
			}
		}
		if = {
			limit = {
				has_country_flag = YUG_picked_tito
				NOT = { has_government = authoritarian }
			}
			division_template = {
				name = "Proleterska Udarna Brigada"
				division_names_group = YUG_PRO_01
				is_locked = yes
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
					militia = { x = 0 y = 3 }
					militia = { x = 0 y = 4 }
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
					militia = { x = 1 y = 3 }
					militia = { x = 1 y = 4 }
					militia = { x = 2 y = 0 }
					militia = { x = 2 y = 1 }
					artillery_brigade = { x = 2 y = 2 }
					artillery_brigade = { x = 2 y = 3 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
					mot_recon = { x = 0 y = 2 }
				}
			}
			every_owned_state = {
				limit = {
					NOT = { 
					is_controlled_by = YUG
					compliance > 40
					}
					resistance > 50
				}
				set_state_controller_to = YUG
				create_unit = {
					division = "division_template = \"Proleterska Udarna Brigada\" start_experience_factor = 0.3 start_equipment_factor = 0.9 start_manpower_factor = 1"
					owner = ROOT
					count = 2
				}
			}
		}
		hidden_effect = {
			news_event = { id = YUG_rework_uprising.1 days = 1 }
		}			
	}
}
	
