### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_SOV_POLITICAL_PARANOIA}
### search_filters = {FOCUS_FILTER_PROPAGANDA}
### search_filters = {FOCUS_FILTER_ARMY_XP}
### search_filters = {FOCUS_FILTER_NAVY_XP}
### search_filters = {FOCUS_FILTER_AIR_XP}
### search_filters = {FOCUS_FILTER_ITA_MISSIOLINI}
### search_filters = {FOCUS_FILTER_BALANCE_OF_POWER}
# Reminder that focus filters prio has to be handled in the generic focus file :)

 

focus_tree = {
	id = italian_focus

	country = {
		factor = 0
		
		modifier = {
			add = 10
			OR = {
				tag = ITA
				tag = RSI
				tag = RDS
			}
		}
	}
	
	default = no


	continuous_focus_position = { x = 1500 y = 1500 }

	initial_show_position = {
		x = 0
		y = 0
	}


########  ##    ##    ########  ##        #######   #######  ########        ###    ##        #######  ##    ## ######## 
##     ##  ##  ##     ##     ## ##       ##     ## ##     ## ##     ##      ## ##   ##       ##     ## ###   ## ##       
##     ##   ####      ##     ## ##       ##     ## ##     ## ##     ##     ##   ##  ##       ##     ## ####  ## ##       
########     ##       ########  ##       ##     ## ##     ## ##     ##    ##     ## ##       ##     ## ## ## ## ######   
##     ##    ##       ##     ## ##       ##     ## ##     ## ##     ##    ######### ##       ##     ## ##  #### ##       
##     ##    ##       ##     ## ##       ##     ## ##     ## ##     ##    ##     ## ##       ##     ## ##   ### ##       
########     ##       ########  ########  #######   #######  ########     ##     ## ########  #######  ##    ## ######## 



 ######   #######  ##        #######  ##    ## ####    ###    ##                ##    #### ##    ## ########  ##     ##  ######  ######## ########  ####    ###    ##       
##    ## ##     ## ##       ##     ## ###   ##  ##    ## ##   ##               ##      ##  ###   ## ##     ## ##     ## ##    ##    ##    ##     ##  ##    ## ##   ##       
##       ##     ## ##       ##     ## ####  ##  ##   ##   ##  ##              ##       ##  ####  ## ##     ## ##     ## ##          ##    ##     ##  ##   ##   ##  ##       
##       ##     ## ##       ##     ## ## ## ##  ##  ##     ## ##             ##        ##  ## ## ## ##     ## ##     ##  ######     ##    ########   ##  ##     ## ##       
##       ##     ## ##       ##     ## ##  ####  ##  ######### ##            ##         ##  ##  #### ##     ## ##     ##       ##    ##    ##   ##    ##  ######### ##       
##    ## ##     ## ##       ##     ## ##   ###  ##  ##     ## ##           ##          ##  ##   ### ##     ## ##     ## ##    ##    ##    ##    ##   ##  ##     ## ##       
 ######   #######  ########  #######  ##    ## #### ##     ## ########    ##          #### ##    ## ########   #######   ######     ##    ##     ## #### ##     ## ######## 



	focus = { 
		id = ITA_italian_highways_bba
		icon = GFX_focus_generic_truck
		x = 6
		y = 0
		relative_position_id = ITA_ethiopian_war_logistics_bba
		cost = 5
		available = {
			OR = {
				controls_state = 2
				controls_state = 117
				controls_state = 162
				controls_state = 158
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			2 = { #ROME
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			117 = { #CAMPANIA
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			162 = { #TUSCANY
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			158 = { #PIEDMONT
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			every_owned_state = {
				limit = {
					is_core_of = ROOT
					is_fully_controlled_by = ROOT
				}
				add_dynamic_modifier = {
					modifier = ITA_italian_highways_modifier
					scope = ITA
					days = 365
				}
			}		
		}
	}

	focus = {
		id = ITA_ministry_of_italian_africa
		icon = GFX_ITA_africa
		prerequisite = { focus = ITA_italian_highways_bba }
		prerequisite = { focus = ITA_ethiopian_war_logistics_bba }

		x = -5
		y = 1
		relative_position_id = ITA_italian_highways_bba
		cost = 3
		available = {
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
			OR = {
				any_owned_state = { is_on_continent = africa }
				any_subject_country = { capital_scope = { is_on_continent = africa } }
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL}

		completion_reward = {
			add_political_power = 75
			custom_effect_tooltip = ITA_ministry_of_italian_africa_occupation_law_tt
			show_ideas_tooltip = ITA_fake_colonial_police_law

			unlock_decision_category_tooltip = ITA_colonial_management_dec_cat

			hidden_effect = {
				country_event = BBA_italy_colonial_management.1
			}
		}
	}

	focus = {
		id = ITA_develop_ethiopia
		icon = GFX_focus_generic_develop_ethiopia
		prerequisite = { focus = ITA_ministry_of_italian_africa }

		x = -3
		y = 1
		relative_position_id = ITA_ministry_of_italian_africa
		cost = 1
		available = {
			OR = {
				any_controlled_state = {
					is_core_of = ETH
					is_fully_controlled_by = ROOT
				}
				any_subject_country = { #FOR PUPPETS
					any_controlled_state = {
						is_core_of = ETH
						is_fully_controlled_by = PREV
					}
				}
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = {
				limit = {
					NOT = {
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
						}
						any_subject_country = { #FOR PUPPETS
							any_controlled_state = {
								is_core_of = ETH
								is_fully_controlled_by = PREV
							}
						}
					}
				}
				custom_effect_tooltip = ITA_develop_ethiopia_tt
			}

			if = {
				limit = {
					271 = { #SHEWA (Addis Ababa)
						OR = {
							is_fully_controlled_by = ROOT
							controller = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
					}
				}
				271 = { #SHEWA (Addis Ababa)
					set_state_flag = ITA_improved_infrastructure_in_state_flag
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			else_if = {
				limit = {
					ROOT = {
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				ROOT = {
					random_controlled_state = {
						prioritize = { 835 } #HARARGHE
						limit = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			else_if = {
				limit = {
					any_subject_country = { #FOR PUPPETS
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
						}
					}
				}
				random_other_country = {
					limit = {
						is_subject_of = ROOT
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
						}
					}
					random_controlled_state = {
						prioritize = { 835 } #HARARGHE
						limit = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			if = {
				limit = {
					843 = { #WELLO
						OR = {
							is_fully_controlled_by = ROOT
							controller = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
					}
				}
				843 = { #WELLO
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			else_if = {
				limit = {
					ROOT = {
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				ROOT = {
					random_controlled_state = {
						prioritize = { 837 } #SIDAMO
						limit = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			else_if = {
				limit = {
					any_subject_country = { #FOR PUPPETS
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				random_other_country = {
					limit = {
						is_subject_of = ROOT
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
					random_controlled_state = {
						prioritize = { 837 } #SIDAMO
						limit = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}

			if = {
				limit = {
					842 = { #TIGRAY
						OR = {
							is_fully_controlled_by = ROOT
							controller = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
					}
				}
				842 = { #TIGRAY
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
			else_if = {
				limit = {
					ROOT = {
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				ROOT = {
					random_controlled_state = {
						prioritize = { 841 } #BEGEMDER
						limit = {
							is_core_of = ETH
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			else_if = {
				limit = {
					any_subject_country = { #FOR PUPPETS
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				random_other_country = {
					limit = {
						is_subject_of = ROOT
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
					random_controlled_state = {
						prioritize = { 841 } #BEGEMDER
						limit = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}

			every_controlled_state = {
				limit = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_core_of = ETH
					has_resistance = yes
				}
				add_compliance = 5
			}
		}
	}

	focus = {
		id = ITA_develop_libya
		icon = GFX_focus_generic_develop_libya
		prerequisite = { focus = ITA_ministry_of_italian_africa }

		x = -1
		y = 1
		relative_position_id = ITA_ministry_of_italian_africa
		cost = 1
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = {
				limit = {
					NOT = {
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
						}
						any_subject_country = { #FOR PUPPETS
							any_controlled_state = {
								is_core_of = LBA
								is_fully_controlled_by = PREV
							}
						}
					}
				}
				custom_effect_tooltip = ITA_develop_libya_tt
			}

			if = {
				limit = {
					448 = { #TRIPOLI
						OR = {
							is_fully_controlled_by = ROOT
							controller = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
					}
				}
				448 = { #TRIPOLI
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = ITA_improved_infrastructure_in_state_flag
				}
			}
			else_if = {
				limit = {
					ROOT = {
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				ROOT = {
					random_controlled_state = {
						limit = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			else_if = {
				limit = {
					any_subject_country = { #FOR PUPPETS
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
						}
					}
				}
				random_other_country = {
					limit = {
						is_subject_of = ROOT
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
						}
					}
					random_controlled_state = {
						prioritize = { 841 } #HARARGHE
						limit = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}

			if = {
				limit = {
					450 = { #BENGHALI
						OR = {
							is_fully_controlled_by = ROOT
							controller = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
					}
				}
				450 = { #BENGHALI
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = ITA_improved_infrastructure_in_state_flag
				}
			}
			else_if = {
				limit = {
					ROOT = {
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				ROOT = {
					random_controlled_state = {
						limit = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			else_if = {
				limit = {
					any_subject_country = { #FOR PUPPETS
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				random_other_country = {
					limit = {
						is_subject_of = ROOT
						any_controlled_state = {
							is_core_of = ETH
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
					random_controlled_state = {
						prioritize = { 841 } #HARARGHE
						limit = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}

			if = {
				limit = {
					451 = { #DERNA
						OR = {
							is_fully_controlled_by = ROOT
							controller = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
					}
				}
				451 = { #DERNA
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = ITA_improved_infrastructure_in_state_flag
				}
			}
			else_if = {
				limit = {
					ROOT = {
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				ROOT = {
					random_controlled_state = {
						limit = {
							is_core_of = LBA
							is_fully_controlled_by = ROOT
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			else_if = {
				limit = {
					any_subject_country = { #FOR PUPPETS
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
				}
				random_other_country = {
					limit = {
						is_subject_of = ROOT
						any_controlled_state = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
					}
					random_controlled_state = {
						prioritize = { 841 } #HARARGHE
						limit = {
							is_core_of = LBA
							is_fully_controlled_by = PREV
							NOT = { has_state_flag = ITA_improved_infrastructure_in_state_flag }
						}
						set_state_flag = ITA_improved_infrastructure_in_state_flag
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			}
		}
	}

	focus = {
		id = ITA_develop_eritrea
		icon = GFX_focus_generic_develop_eritrea
		prerequisite = { focus = ITA_ministry_of_italian_africa }

		x = 1
		y = 1
		relative_position_id = ITA_ministry_of_italian_africa
		cost = 1
		available = {
			OR = {
				550 = {	is_fully_controlled_by = ROOT }
				any_subject_country = {
					has_full_control_of_state = 550
				}
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			550 = { #ERITREA
				set_state_flag = ITA_improved_infrastructure_in_state_flag
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}

	focus = {
		id = ITA_develop_somaliland
		icon = GFX_focus_generic_develop_somaliland
		prerequisite = { focus = ITA_ministry_of_italian_africa }

		x = 3
		y = 1
		relative_position_id = ITA_ministry_of_italian_africa
		cost = 1
		available = {
			OR = {
				559 = { is_fully_controlled_by = ROOT }
				any_subject_country = {
					has_full_control_of_state = 559
				}
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			559 = { #SOMALILAND
				set_state_flag = ITA_improved_infrastructure_in_state_flag
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
			if = {
				limit = {
					844 = { #JUBALAND
						OR = {
							is_fully_controlled_by = ROOT
							any_other_country = {
								is_subject_of = ROOT
								has_full_control_of_state = 559
							}
						}
					}
				}
				844 = { #JUBALAND
					set_state_flag = ITA_improved_infrastructure_in_state_flag
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}
	}

	focus = {
		id = ITA_regional_development
		icon = GFX_goal_generic_construction
		prerequisite = { focus = ITA_develop_eritrea focus = ITA_develop_libya focus = ITA_develop_somaliland focus = ITA_develop_ethiopia }

		x = 1
		y = 1
		relative_position_id = ITA_develop_libya
		cost = 3
		available = {
			OR = {
				any_controlled_state = {
					is_fully_controlled_by = ROOT
					has_state_flag = ITA_improved_infrastructure_in_state_flag
				}
				any_subject_country = {
					any_controlled_state = {
						is_fully_controlled_by = PREV
						has_state_flag = ITA_improved_infrastructure_in_state_flag
					}
				}
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			#Makes previous Colonial Police law hidden (Both old and new version need to cohexist so that the previous can fallback to the next one)
			set_country_flag = ITA_colonial_police_improved_flag

			custom_effect_tooltip = ITA_regional_development_occupation_law_tt

			custom_effect_tooltip = ITA_regional_development_buildings_tt

			#ETHIOPIA
			if = {
				limit = {
					has_completed_focus = ITA_develop_ethiopia
				}
				if = {
					limit = {
						any_controlled_state = {
							is_fully_controlled_by = ROOT
							has_state_flag = ITA_improved_infrastructure_in_state_flag
						}
					}
					random_controlled_state = {
						limit = {
							has_state_flag = ITA_improved_infrastructure_in_state_flag
							is_core_of = ETH
						}
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
						clr_state_flag = ITA_improved_infrastructure_in_state_flag
					}
				}
				else_if = {
					limit = {
						any_subject_country = {
							any_controlled_state = {
								is_fully_controlled_by = PREV
								has_state_flag = ITA_improved_infrastructure_in_state_flag
							}
						}
					}
					random_other_country = {
						limit = {
							is_subject_of = ROOT
							any_controlled_state = {
								is_core_of = ETH
								is_fully_controlled_by = PREV
							}
						}
						random_controlled_state = {
							limit = {
								has_state_flag = ITA_improved_infrastructure_in_state_flag
								is_core_of = ETH
							}
							add_building_construction = {
								type = industrial_complex
								level = 1
								instant_build = yes
							}
							add_extra_state_shared_building_slots = 1
							clr_state_flag = ITA_improved_infrastructure_in_state_flag
						}
					}
				}
				random_controlled_state = {
					limit = {
						has_state_flag = ITA_improved_infrastructure_in_state_flag
						is_core_of = ETH
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					clr_state_flag = ITA_improved_infrastructure_in_state_flag
				}
			}

			#LIBYA
			if = {
				limit = {
					has_completed_focus = ITA_develop_libya
				}
				random_controlled_state = {
					limit = {
						has_state_flag = ITA_improved_infrastructure_in_state_flag
						is_core_of = LBA
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
					}
					clr_state_flag = ITA_improved_infrastructure_in_state_flag
				}
				random_controlled_state = {
					limit = {
						has_state_flag = ITA_improved_infrastructure_in_state_flag
						is_core_of = LBA
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
					}
					clr_state_flag = ITA_improved_infrastructure_in_state_flag
				}
			}
		
			#ERITREA
			if = {
				limit = {
					has_completed_focus = ITA_develop_eritrea
				}
				550 = {
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 12766
					}
					clr_state_flag = ITA_improved_infrastructure_in_state_flag
				}
			}
			
			#JUBALAND
			if = {
				limit = {
					has_completed_focus = ITA_develop_somaliland
				}
				559 = {
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 12991
					}
					clr_state_flag = ITA_improved_infrastructure_in_state_flag
				}
				844 = {
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 12941
					}
				}
			}

			hidden_effect = {
				every_controlled_state = {
					limit = {
						has_state_flag = ITA_improved_infrastructure_in_state_flag
					}
					clr_state_flag = ITA_improved_infrastructure_in_state_flag
				}
				every_subject_country = {
					limit = {
						any_controlled_state = {
							has_state_flag = ITA_improved_infrastructure_in_state_flag
						}
					}
					every_controlled_state = {
						limit = {
							has_state_flag = ITA_improved_infrastructure_in_state_flag
						}
						clr_state_flag = ITA_improved_infrastructure_in_state_flag
					}
				}
			}

			custom_effect_tooltip = ITA_regional_development_decision_unlocked_tt
		}
	}

	focus = {
		id = ITA_litoranea_balbo
		icon = GFX_focus_generic_improve_roads
		prerequisite = { focus = ITA_regional_development }

		x = -2
		y = 1
		relative_position_id = ITA_regional_development
		cost = 3
		available = {
			OR = {
				448 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				449 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				450 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				451 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = { #TRIPOLI
				limit = {
					448 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				448 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
			if = { #EL AGHELIA
				limit = {
					449 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				449 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
			if = { #BENGHASI
				limit = {
					450 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				450 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
			if = { #DERNA
				limit = {
					451 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				451 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_via_della_vittoria
		icon = GFX_goal_reichsautobahn
		prerequisite = { focus = ITA_litoranea_balbo }

		x = 1
		y = 1
		relative_position_id = ITA_litoranea_balbo
		cost = 3
		available = {
			451 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			452 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			451 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				if = {
					limit = {
						has_resistance = yes
					}
					add_compliance = 5
				}
			}
			452 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				if = {
					limit = {
						has_resistance = yes
					}
					add_compliance = 5
				}
			}

			# EXTRA STATES 

			custom_effect_tooltip = ITA_via_della_vittoria_extra_states_tt

			#LIBYA
			if = {
				limit = {
					450 = { #BENGHASI
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				450 = { #BENGHASI
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					449 = { #EL AGHELIA
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				449 = { #EL AGHELIA
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					448 = { #TRIPOLI
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				448 = { #TRIPOLI
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}

			#TUNISIA
			if = {
				limit = {
					665 = { #GABES
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				665 = { #GABES
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					458 = { #TUNISIA
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				458 = { #TUNISIA
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			#ALGERIA
			if = {
				limit = {
					460 = { #CONSTANTINE
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				460 = { #CONSTANTINE
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					459 = { #ALGIERS
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				459 = { #ALGIERS
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}

			#MOROCCO
			if = {
				limit = {
					461 = { #CASABLANCA
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				461 = { #CASABLANCA
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					290 = { #SPANISH AFRICA (Mediterranean coast of Morocco)
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				290 = { #SPANISH AFRICA (Mediterranean coast of Morocco)
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}

			#EGYPT
			if = {
				limit = {
					447 = { #ALEXANDRIA
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				447 = { #ALEXANDRIA
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					446 = { #CAIRO
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				446 = { #CAIRO
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
			if = {
				limit = {
					453 = { #SINAI
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				453 = { #SINAI
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					if = {
						limit = {
							has_resistance = yes
						}
						add_compliance = 5
					}
				}
			}
		}
	}

	focus = {
		id = ITA_libyan_railway
		icon = GFX_focus_generic_railroad
		prerequisite = { focus = ITA_litoranea_balbo }
		prerequisite = { focus = ITA_prospect_for_oil }
		x = 2
		y = 2
		relative_position_id = ITA_litoranea_balbo
		cost = 3
		available = {
			448 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			449 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			450 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			451 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			# Tripoli - Tobruk
			build_railway = {
				path = { 1149 4194 7209 9980 1118 1041 4047 10046 10117 12088 4057 1198 1127 4120 11954 10123 12094 4151 1204 7082 9992 1130 }
			}

			custom_effect_tooltip = ITA_libyan_railway_state_modifier_tt
			every_state = {
				limit = {
					OR = {
						#LIBYA
						state = 448 #TRIPOLI
						state = 449 #EL AGHELIA
						state = 450 #BENGHASI
						state = 451 #DERNA
						#TUNISIA
						state = 665 #GABES
						state = 458 #TUNISIA
						#ALGERIA
						state = 460 #CONSTANTINE
						state = 459 #ALGIERS
						#EGYPT
						state = 452 #MATROUH
						state = 447 #ALEXANDRIA
						state = 446 #CAIRO
					}
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				add_dynamic_modifier = { modifier = ITA_libyan_railway_modifier days = 730 scope = ITA }
			}
		}
	}

	focus = {
		id = ITA_prospect_for_oil
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = ITA_regional_development }

		x = 2
		y = 1
		relative_position_id = ITA_regional_development
		cost = 5

		bypass = {
			662 = {
				has_state_flag = sirte_oil_developed
			}
		}

		available = {
			662 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_resource = {
				type = oil
				amount = 8
				state = 662
			}
			add_resource = {
				type = oil
				amount = 31
				state = 661
			}
			add_resource = {
				type = oil
				amount = 47
				state = 663
			}	

			662 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = sirte_oil_developed
			}
			if = {
				limit = {
					449 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				449 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_libyan_refineries
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = ITA_prospect_for_oil }

		x = -1
		y = 1
		relative_position_id = ITA_prospect_for_oil
		cost = 5

		available = {
			450 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
				NOT = {
					has_state_flag = benghazi_oil_developed
				}
			}
			has_tech = synth_oil_experiments
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_resource = {
				type = oil
				amount = 9
				state = 450
			}
			450 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}
			448 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}
			449 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}
			661 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}
			662 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}
			663 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}
			451 = {
				ITA_check_for_cooperatives_and_add_dm = yes #If appropriate, apply dm from Cooperatives for Intensive Exploitation 
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
			}	
		
		}
	}

	focus = {
		id = ITA_polizia_dell_africa_italiana
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = ITA_regional_development }
		x = 0
		y = 1
		relative_position_id = ITA_regional_development
		cost = 5
		available = {
			any_controlled_state = {
				is_on_continent = africa
			}
		}

		search_filters = {FOCUS_FILTER_MANPOWER}

		completion_reward = {
			custom_effect_tooltip = ITA_polizia_dell_africa_italiana_occupation_law_tt

			set_country_flag = ITA_colonial_police_final_flag
		}
	}

	

	focus = {
		id = ITA_steel_industry_in_terni
		icon = GFX_focus_generic_steel
		prerequisite = { focus = ITA_italian_highways_bba }
		mutually_exclusive = { focus = ITA_power_plants_in_terni }
		x = -1
		y = 1
		relative_position_id = ITA_italian_highways_bba
		cost = 5
		available = {
			has_full_control_of_state = 2
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_iri_production_speed_arms_factory_factor = 0.025 }
			custom_effect_tooltip = ITA_steel_industry_in_terni_ricostruzione_industriale_tt
			2 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 12
				}
			}
		}
	}

	focus = {
		id = ITA_power_plants_in_terni
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = ITA_italian_highways_bba }
		mutually_exclusive = { focus = ITA_steel_industry_in_terni }
		x = 1
		y = 1
		relative_position_id = ITA_italian_highways_bba
		cost = 5
		available = {
			has_full_control_of_state = 2
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_iri_production_speed_industrial_complex_factor = 0.05 }
			custom_effect_tooltip = ITA_power_plants_in_terni_ricostruzione_industriale_tt

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

	focus = {
		id = ITA_industria_della_gomma_sintetica
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = ITA_steel_industry_in_terni focus = ITA_power_plants_in_terni }

		x = 1
		y = 1
		relative_position_id = ITA_steel_industry_in_terni
		cost = 5
		available = {
			has_tech = synth_oil_experiments
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 1
        	}
			add_tech_bonus = {
				name = ITA_industria_della_gomma_sintetica
				bonus = 0.75
				uses = 2
				category = synth_resources
			}

			if = {
				limit = {
					2 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = synthetic_refinery
							size > 0
							include_locked = yes
						}
					}
				}
				2 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = synthetic_refinery
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 157 849 117 } #ABRUZZO as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_strengthen_northern_industry
		icon = GFX_focus_ITA_northern_industry
		prerequisite = { focus = ITA_industria_della_gomma_sintetica }
		x = -1
		y = 1
		relative_position_id = ITA_industria_della_gomma_sintetica
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = {
				limit = {
					has_full_control_of_state = 158
					158 = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
				}
				158 = { #PIEDMONT (Torino, Genoa)
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 736 852 } #LITORALE as main fallback
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 159
					159 = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
				}
				159 = { #LOMBARDY (Milano, Brescia)
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 850 30 } #TRENTINO as main fallback
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 161
					161 = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
				}
				161 = { #EMILIA ROMAGNA (Bologna)
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 30 850 } #ALTO ADIGE as main fallback
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 160
					160 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				160 = { #VENETO (Venice )
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 852 736 } #ISTRIA as main fallback
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_modernize_the_mezzogiorno
		icon = GFX_focus_ITA_southern_industry
		prerequisite = { focus = ITA_industria_della_gomma_sintetica }
		x = 1
		y = 1
		relative_position_id = ITA_industria_della_gomma_sintetica
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = {
				limit = {
					has_full_control_of_state = 117
					117 = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				117 = { #CAMPAGNA (Napoli)
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes						
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 819					
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 156 2 162 } #CALABRIA as main fallback
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes						
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 849
				}
				849 = { #PUGLIA (Taranto, Bari, Foggia)
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes						
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 9784					
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 115
				}

				115 = { #SICILY (Palermo, Messina, Catania)
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes						
						}
					}
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 4159					
					}
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 7059					
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 114
				}
				114 = { #SARDINIA (Cagliari)
					if = {
						limit = {
							infrastructure < 5
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes						
						}
						add_building_construction = {
							type = naval_base
							level = 2
							instant_build = yes
							province = 11773					
						}
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 162 #TOSCANA
				}
				162 = {
					add_resource = {
						type = steel
						amount = 12
					}
				}
			}
		}
	}

	focus = {
		id = ITA_new_industrialization_program
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = ITA_strengthen_northern_industry focus = ITA_modernize_the_mezzogiorno }
		prerequisite = { focus = ITA_expand_national_universities }

		x = 1
		y = 2
		relative_position_id = ITA_strengthen_northern_industry
		cost = 10
		available = {
			custom_trigger_tooltip = {
				tooltip = ITA_new_industrialization_program_factories_required_tt
				NOT = { num_of_controlled_factories < ITA_new_industrialization_program_factories_required }
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt

			if = {
				limit = {
					has_completed_focus = ITA_strengthen_northern_industry
				}
				custom_effect_tooltip = ITA_new_industrialization_program_north_tt
				ITA_replace_designers_by_improved_version_north = yes 
			}
			else_if = {
				limit = {
					has_completed_focus = ITA_modernize_the_mezzogiorno
				}
				custom_effect_tooltip = ITA_new_industrialization_program_south_tt
				ITA_replace_designers_by_improved_version_south = yes
			}
			else = {
				custom_effect_tooltip = ITA_new_industrialization_program_generic_tt
			}
		}
	}

	focus = {
		id = ITA_railway_innovations
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = ITA_italian_highways_bba }

		x = 3
		y = 1
		relative_position_id = ITA_italian_highways_bba
		cost = 5
		available = {
			controls_state = 2
			controls_state = 161
			controls_state = 162
			controls_state = 117
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_tech_bonus = {
				name = ITA_railway_innovations
				ahead_reduction = 1.5
				bonus = 0.5
				uses = 1
				category = train_tech
			}

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			#Roma - La Spezia
			build_railway = {
				path = { 9904 11751 6862 6875 11833 6946 6973 }
			}

			#Roma - Bologna
			build_railway = {
				path = { 11751 6862 9750 9879 9907 1616 6985 6606 }
			}

			#Roma - Napoli
			build_railway = {
				path = { 9904 11846 923 9826 819 }
			}
		}
	}

	focus = {
		id = ITA_expand_foggia_farm_fields
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = ITA_railway_innovations }

		x = -1
		y = 1
		relative_position_id = ITA_railway_innovations
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

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

	focus = {
		id = ITA_investments_in_edison
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = ITA_railway_innovations }

		x = 0
		y = 2
		relative_position_id = ITA_railway_innovations
		cost = 10
		available = {
			has_full_control_of_state = 159
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_iri_consumer_goods_factor = -0.10 }
			custom_effect_tooltip = ITA_investments_in_edison_ricostruzione_industriale_tt

			if = {
				limit = {
					159 = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				159 = { #LOMBARDY (Milano)
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 161 850 } #EMILIA ROMAGNA as main fallback
					add_extra_state_shared_building_slots =2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_expand_national_universities
		icon = GFX_focus_research
		prerequisite = { focus = ITA_investments_in_edison }

		x = 0
		y = 1
		relative_position_id = ITA_investments_in_edison
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = ITA_fiocchi_munizioni
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = ITA_italian_highways_bba }

		x = 5
		y = 1
		relative_position_id = ITA_italian_highways_bba
		cost = 5
		available = {
			has_full_control_of_state = 159
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = {
				limit = {
					159 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				159 = { #LOMBARDY (Milano)
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 736 852 } #LITORALE as main fallback
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_brescia_small_arms_industry
		icon = GFX_focus_focus_fra_maquis
		prerequisite = { focus = ITA_fiocchi_munizioni }

		x = -1
		y = 1
		relative_position_id = ITA_fiocchi_munizioni
		cost = 5
		available = {
			has_full_control_of_state = 159
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			if = {
				limit = {
					159 = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
				}
				159 = { #LOMBARDY
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 160 852 736 } #VENETO as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}

			add_tech_bonus = {
				name = ITA_brescia_small_arms_industry
				bonus = 0.75
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = ITA_milan_comms_industry
		icon = GFX_goal_generic_radar
		prerequisite = { focus = ITA_fiocchi_munizioni }

		x = 1
		y = 1
		relative_position_id = ITA_fiocchi_munizioni
		cost = 5
		available = {
			is_special_project_completed = sp:sp_air_radar
			has_full_control_of_state = 159
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			159 = { #LOMBARDY (Milano)
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			2 = { #LATIUM (Rome)
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			115 = { #SICILY
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = ITA_milan_comms_industry
				bonus = 1
				uses = 1
				category = radar_tech
			}
		}
	}

	focus = {
		id = ITA_redirect_alfa_romeo_production
		icon = GFX_focus_ITA_redirect_alfa_romeo_production
		prerequisite = { focus = ITA_brescia_small_arms_industry focus = ITA_milan_comms_industry }

		x = 1
		y = 1
		relative_position_id = ITA_brescia_small_arms_industry
		cost = 10
		available = {
			has_full_control_of_state = 159
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			if = {
				limit = {
					159 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				159 = { #LOMBARDY (Milano)
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 158 160 852 736 39 } #PIEMONTE as main fallback
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}

			add_tech_bonus = {
				name = ITA_redirect_alfa_romeo_production
				bonus = 0.75
				uses = 2
				category = motorized_equipment
				category = light_air
			}
		}
	}

	focus = {
		id = ITA_increase_production
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = ITA_expand_national_universities }
		prerequisite = { focus = ITA_redirect_alfa_romeo_production }
		x = -1
		y = 2
		relative_position_id = ITA_redirect_alfa_romeo_production
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_military_industry_dm_industrial_capacity_factory = 0.05 }
			add_to_variable = { ITA_military_industry_dm_factory_max_efficiency_factor = 0.05 }
			add_to_variable = { ITA_military_industry_dm_line_change_production_efficiency_factor = 0.2 }
			add_to_variable = { ITA_military_industry_dm_production_factory_start_efficiency_factor = -0.04 }
			custom_effect_tooltip = ITA_increase_production_military_industry_tt

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt
		}
	}

	focus = {
		id = ITA_keep_specialization
		icon = GFX_goal_generic_production
		prerequisite = { focus = ITA_expand_national_universities }
		prerequisite = { focus = ITA_redirect_alfa_romeo_production }
		x = 1
		y = 2
		relative_position_id = ITA_redirect_alfa_romeo_production
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_military_industry_dm_industrial_capacity_factory = 0.05 }
			add_to_variable = { ITA_military_industry_dm_production_factory_start_efficiency_factor = 0.1 }
			add_to_variable = { ITA_military_industry_dm_production_factory_efficiency_gain_factor = 0.1 }
			add_to_variable = { ITA_military_industry_dm_line_change_production_efficiency_factor = -0.2 }
			custom_effect_tooltip = ITA_keep_specialization_military_industry_tt

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt
		}
	}

	focus = {
		id = ITA_thermojet_research
		icon = GFX_focus_rocketry
		prerequisite = { focus = ITA_increase_production focus = ITA_keep_specialization }

		x = 1
		y = 1
		relative_position_id = ITA_increase_production
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 1
			}

			add_tech_bonus = {
				name = ITA_thermojet_research
				bonus = 1
				uses = 1
				category = air_equipment
			}
			add_tech_bonus = {
				name = ITA_thermojet_research
				ahead_reduction = 1
				bonus = 1.0
				category = jet_technology
				category = rocketry
			}

		}
	}


########  ########  ######   ####  #######     ########  ######  ######## ########   ######  #### ########  #######  
##     ## ##       ##    ##   ##  ##     ##    ##       ##    ## ##       ##     ## ##    ##  ##     ##    ##     ## 
##     ## ##       ##         ##  ##     ##    ##       ##       ##       ##     ## ##        ##     ##    ##     ## 
########  ######   ##   ####  ##  ##     ##    ######    ######  ######   ########  ##        ##     ##    ##     ## 
##   ##   ##       ##    ##   ##  ##     ##    ##             ## ##       ##   ##   ##        ##     ##    ##     ## 
##    ##  ##       ##    ##   ##  ##     ##    ##       ##    ## ##       ##    ##  ##    ##  ##     ##    ##     ## 
##     ## ########  ######   ####  #######     ########  ######  ######## ##     ##  ######  ####    ##     #######  


	focus = {
		id = ITA_army_primacy_bba
		icon = GFX_goal_generic_axis_build_infantry

		x = 13
		y = 0
		relative_position_id = ITA_italian_highways_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			army_experience = 300

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					arms_factory > 0
					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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					arms_factory > 0
					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
				}
			}

			#Fallback
			if = {
				limit = {
					NOT = {
						any_owned_state = {
							arms_factory > 0
							free_building_slots = {
								building = arms_factory
								size > 0
								include_locked = yes
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_core_of = ROOT
						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
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_core_of = ROOT
						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
					}
				}				
			}

			add_doctrine_cost_reduction = {
				name = ITA_army_primacy_bba #land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = ITA_preserve_army_traditions
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = ITA_army_primacy_bba }
		mutually_exclusive = { focus = ITA_a_bandits_war }
		x = -3
		y = 1
		relative_position_id = ITA_army_primacy_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_to_variable = { ITA_re_army_army_org_factor = 0.05 }
			add_to_variable = { ITA_re_army_morale_factor = 0.05 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_infantry_defence_factor = 0.05 }
			custom_effect_tooltip = ITA_preserve_army_traditions_re_tt

			army_experience = 25

			add_doctrine_cost_reduction = {
				name = ITA_preserve_army_traditions
				cost_reduction = 0.75
				uses = 1
				category = cat_grand_battle_plan
			}
		}
	}

	focus = {
		id = ITA_increase_artillery_production
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = ITA_fiocchi_munizioni }
		prerequisite = { focus = ITA_army_primacy_bba }

		x = 3
		y = 1
		relative_position_id = ITA_fiocchi_munizioni
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			custom_effect_tooltip = ITA_increase_artillery_production_military_industry_tt
			hidden_effect = {
				add_ideas = ITA_hidden_arty_production_ns
			}

			add_tech_bonus = {
				name = ITA_increase_artillery_production
				bonus = 0.75
				uses = 2
				category = artillery
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
		}
	}

	focus = {
		id = ITA_vallo_alpino_del_littorio
		icon = GFX_goal_fortify_the_westwall
		prerequisite = { focus = ITA_milan_comms_industry }
		prerequisite = { focus = ITA_increase_artillery_production }

		x = 1
		y = 1
		relative_position_id = ITA_milan_comms_industry
		cost = 5
		
		available = {
			OR = {
				has_full_control_of_state = 158 #PIEDMONT
				has_full_control_of_state = 159 #LOMBARDY
				has_full_control_of_state = 850 #TRENTINO
				has_full_control_of_state = 39 #ALTO ADIGE
				has_full_control_of_state = 160 #VENETO
				has_full_control_of_state = 736 #LITORALE
				has_full_control_of_state = 852 #FIUME
			}
		}

		search_filters = {}

		completion_reward = {

			### VALLO ALPINO OCCIDENTALE ###
			if = { #PIEDMONT
				limit = {
					158 = { is_fully_controlled_by = ROOT }
				}
				158 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 6780
						}
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 6635
						}
						instant_build = yes
					}
				}
			}

			### VALLO ALPINO SETTENTRIONALE ###
			if = { #LOMBARDY
				limit = {
					159 = { is_fully_controlled_by = ROOT }
				}
				159 = {
					add_building_construction = { #Two separate effects for stupid tt reasons :)
						type = bunker
						level = 2
						province = {
							id = 9584
						}
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 6661
						}
						instant_build = yes
					}
				}
			}
			if = { #ALTO ADIGE
				limit = {
					39 = { is_fully_controlled_by = ROOT }
				}
				39 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11615
						}
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11598
						}
						instant_build = yes
					}
				}
			}
			if = { #TRENTINO
				limit = {
					850 = { is_fully_controlled_by = ROOT }
				}
				850 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 9598
						}
						instant_build = yes
					}
				}
			}
			if = { #VENETO
				limit = {
					160 = { is_fully_controlled_by = ROOT }
				}
				160 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 3657
						}
						instant_build = yes
					}
				}
			}

			### VALLO ALPINO ORIENTALE ###
			if = { #LITORALE
				limit = {
					736 = { is_fully_controlled_by = ROOT }
				}
				736 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11595
						}
						instant_build = yes
					}
				}
			}
			if = { #ISTRIA
				limit = {
					852 = { is_fully_controlled_by = ROOT }
				}
				852 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11564
						}
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = ITA_vallo_alpino_del_littorio_tt
		}
	}

	focus = {
		id = ITA_moschettieri_del_duce
		icon = GFX_focus_ITA_moschettieri_del_duce
		prerequisite = { focus = ITA_preserve_army_traditions }

		x = 0
		y = 2
		relative_position_id = ITA_preserve_army_traditions
		cost = 5
		available = {
		}

		search_filters = {}

		completion_reward = {
			add_to_variable = { ITA_re_army_core_defence_factor = 0.05 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_militia_max_org_factor = 0.05 }
			custom_effect_tooltip = ITA_moschettieri_del_duce_re_tt
		}
	}

	focus = {
		id = ITA_a_bandits_war
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = ITA_army_primacy_bba }
		mutually_exclusive = { focus = ITA_preserve_army_traditions }
		x = 3
		y = 1
		relative_position_id = ITA_army_primacy_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_to_variable = { ITA_re_org_loss_when_moving = -0.15 }
			add_to_variable = { ITA_re_army_speed_factor = 0.05 }
			custom_effect_tooltip = ITA_a_bandits_war_re_tt


			add_doctrine_cost_reduction = {
				name = ITA_a_bandits_war
				cost_reduction = 0.75
				uses = 2
				category = cat_mobile_warfare
			}

			add_tech_bonus = {
				name = ITA_a_bandits_war
				uses = 2
				bonus = 0.75
				category = motorized_equipment
				category = recon_tech
			}

			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_tech_bonus = {
					name = ITA_a_bandits_war
					bonus = 1.5
					uses = 1
					category = cat_armored_cars
				}
				add_ideas = ITA_bandits_war
			}
			else = {
				add_ideas = ITA_bandits_war_no_lar
			}

			# AI will never swap to another doctrine tree once they have started one, regardless of the AI weights, so AI needs to have it replaced manually
			hidden_effect = {
				if = {
					limit = {
						is_ai = yes
					}
					set_technology = {
						trench_warfare = 0
						mobile_warfare = 1
					}
				}
			}
		}
	}

	focus = {
		id = ITA_carica_di_isbuscenskij
		icon = GFX_focus_ITA_cavalry_charge
		prerequisite = { focus = ITA_a_bandits_war }

		x = 0
		y = 2
		relative_position_id = ITA_a_bandits_war
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_to_variable = { ITA_re_modifier_army_sub_unit_cavalry_speed_factor = 0.03 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_cavalry_attack_factor = 0.03 }
			add_to_variable = { ITA_re_unit_cavalry_design_cost_factor = -0.25 }
			add_to_variable = { ITA_re_unit_camelry_design_cost_factor = -0.25 }
			custom_effect_tooltip = ITA_carica_di_isbuscenskij_re_tt

			army_experience = 25
		}
	}

	focus = {
		id = ITA_army_leaders
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = ITA_preserve_army_traditions focus = ITA_a_bandits_war }

		x = 1
		y = 1
		relative_position_id = ITA_preserve_army_traditions
		cost = 5
		available = {
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
			#NTH_Manu: Should probably also require a completed focus in any of the ME political paths, so that it can unlock appropriate generals
		}

		search_filters = {FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_to_variable = { ITA_re_army_leader_cost_factor = -0.15 }
			add_to_variable = { ITA_re_experience_gain_factor = 0.1 }
			add_to_variable = { ITA_re_promote_cost_factor = -0.25 }
			add_to_variable = { ITA_re_army_speed_factor = 0.05 }
			custom_effect_tooltip = ITA_army_leaders_re_tt

			army_experience = 25
		}
	}

	focus = {
		id = ITA_superesercito
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = ITA_preserve_army_traditions focus = ITA_a_bandits_war }

		x = 3
		y = 1
		relative_position_id = ITA_preserve_army_traditions
		cost = 5

#		available = {
#			any_enemy_country = {
#				is_major_not_original_tag_root = yes
#			}
#		}
		

		search_filters = {FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_to_variable = { ITA_re_land_doctrine_cost_factor = -0.1 }
			add_to_variable = { ITA_re_army_army_org_factor = 0.05 }
			add_to_variable = { ITA_re_org_loss_when_moving = -0.05 }

			custom_effect_tooltip = ITA_superesercito_re_tt

			army_experience = 50
			#if = {
			#	limit = {
			#		has_dlc = "No Step Back"
			#	}
			#	custom_effect_tooltip = "TODO_Manu: Cost reduction for Army spirits. Code Support"
			#}

			#Update NS icon
			ITA_improve_regio_esercito_dm_effect = yes
		}
	}

	focus = {
		id = ITA_italian_tankettes
		icon = GFX_ITA_p26
		prerequisite = { focus = ITA_preserve_army_traditions focus = ITA_a_bandits_war }

		x = 5
		y = 1
		relative_position_id = ITA_preserve_army_traditions
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			custom_effect_tooltip = ITA_italian_tankettes_military_industry_tt
			hidden_effect = {
				add_ideas = ITA_hidden_tankettes_ns
			}

			add_tech_bonus = {
				name = ITA_italian_tankettes
				bonus = 1.5
				uses = 1
				category = cat_light_armor
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
		}
	}

	focus = {
		id = ITA_bersaglieri
		icon = GFX_focus_ITA_bersaglieri
		prerequisite = { focus = ITA_army_leaders }
		prerequisite = { focus = ITA_superesercito }

		x = 1
		y = 1
		relative_position_id = ITA_army_leaders
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER}

		completion_reward = {
			add_to_variable = { ITA_re_special_forces_cap = 0.05 }
			add_to_variable = { ITA_re_special_forces_attack_factor = 0.03 }
			add_to_variable = { ITA_re_special_forces_defence_factor = 0.03 }
			custom_effect_tooltip = ITA_bersaglieri_re_tt

			army_experience = 15

			add_tech_bonus = {
				name = ITA_bersaglieri
				bonus = 0.75
				uses = 2
				category = cat_special_forces_generic
			}

			set_technology = { bicycle_infantry = 1 popup = no }

			division_template = { 
				name = "Reggimento Bersaglieri " 
				division_names_group = ITA_INF_01 #TODO_Manu: Namelist: 1º,2º... Reggimento Bersaglieri
				regiments = { 
					bicycle_battalion = { x = 0 y = 0 }
					bicycle_battalion = { x = 0 y = 1 }
					bicycle_battalion = { x = 1 y = 0 }
					bicycle_battalion = { x = 1 y = 1 }
				}
				support = { 
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
					#anti_tank = { x = 0 y = 2 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "division_template = \"Reggimento Bersaglieri \" start_experience_factor = 0.5 start_equipment_factor = 1.0"
					owner = ROOT
					count = 3
				}
			}
		}
	}

	focus = {
		id = ITA_divisioni_alpine
		icon = GFX_focus_ITA_alpine_division
		prerequisite = { focus = ITA_bersaglieri }

		x = -1
		y = 1
		relative_position_id = ITA_bersaglieri
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_to_variable = { ITA_re_special_forces_cap = 0.02 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_mountaineers_defence_factor = 0.03 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_mountaineers_max_org_factor = 0.05 }
			custom_effect_tooltip = ITA_divisioni_alpine_re_tt

			army_experience = 15

			add_tech_bonus = {
				name = ITA_divisioni_alpine
				bonus = 1.5
				uses = 1
				category = mountaineers_tech
			}
			
		}
	}

	focus = {
		id = ITA_fanti_dell_aria
		icon = GFX_focus_generic_paratrooper
		prerequisite = { focus = ITA_bersaglieri }

		x = 0
		y = 2
		relative_position_id = ITA_bersaglieri
		cost = 5
		available = {
			has_tech = paratroopers
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER}

		completion_reward = {
			add_to_variable = { ITA_re_special_forces_cap = 0.02 }
			add_to_variable = { ITA_re_special_forces_out_of_supply_factor = -0.1 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_paratrooper_max_org_factor = 0.05 }
			custom_effect_tooltip = ITA_fanti_dell_aria_re_tt

			army_experience = 15

			hidden_effect = {
				if = {
					limit = {
						NOT = { has_template = "Paratroopers" }
					}
					load_oob = "unlock_paratroopers"
				}
			}
			random_owned_controlled_state = {
				prioritize = { 117 156 }
				create_unit = {
					division = "name = \"Ascari del Cielo  \" division_template = \"Paratroopers\" start_experience_factor = 0.4 start_equipment_factor = 1.0"
					owner = ROOT
					count = 4
				}
			}

			add_tech_bonus = {
				name = ITA_fanti_dell_aria
				bonus = 1.5
				uses = 1
				category = para_tech
			}
		}
	}

	focus = {
		id = ITA_self_propelled_guns
		icon = GFX_ITA_tank
		prerequisite = { focus = ITA_superesercito }
		prerequisite = { focus = ITA_italian_tankettes }

		x = 1
		y = 1
		relative_position_id = ITA_superesercito
		cost = 10
		available = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = basic_medium_tank_chassis
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			custom_effect_tooltip = ITA_self_propelled_guns_military_industry_tt
			hidden_effect = {
				add_ideas = ITA_hidden_spg_production_ns
			}

			add_tech_bonus = {
				name = ITA_self_propelled_guns
				bonus = 1
				uses = 3
				category = artillery
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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 = "No Step Back"
				}
				ITA_add_basic_medium_tank_templates = yes
			}
		}
	}

	focus = {
		id = ITA_end_fiat_ansaldo_duopoly
		icon = GFX_focus_ITA_fiat_ansaldo_duopoly
		prerequisite = { focus = ITA_self_propelled_guns }
		x = -1
		y = 1
		relative_position_id = ITA_self_propelled_guns
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_military_industry_dm_production_lack_of_resource_penalty_factor = -0.1 }
			custom_effect_tooltip = ITA_end_fiat_ansaldo_duopoly_military_industry_tt

			hidden_effect = {
				remove_ideas = ITA_hidden_research_penalties_ns
			}

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt}
	}

	focus = {
		id = ITA_modernize_ansaldo_facilities
		icon = GFX_focus_ITA_modernize_ansaldo_facilities
		prerequisite = { focus = ITA_self_propelled_guns }
		x = 1
		y = 1
		relative_position_id = ITA_self_propelled_guns
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_military_industry_dm_equipment_upgrade_xp_cost = -0.15 }
			add_to_variable = { ITA_military_industry_dm_industrial_capacity_factory = 0.05 }
			add_to_variable = { ITA_military_industry_dm_industrial_capacity_dockyard = 0.05 }
			custom_effect_tooltip = ITA_modernize_ansaldo_facilities_military_industry_tt

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt

			if = {
				limit = {
					has_full_control_of_state = 158
					158 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				158 = { #PIEDMONT (Genova)
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 162 161 157 } #TOSCANA as main fallback
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_ferrea_mole_ferreo_cuore
		icon = GFX_focus_ITA_ferrea_mole_ferreo_cuore
		prerequisite = { focus = ITA_end_fiat_ansaldo_duopoly focus = ITA_modernize_ansaldo_facilities }

		x = 1
		y = 1
		relative_position_id = ITA_end_fiat_ansaldo_duopoly
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			custom_effect_tooltip = ITA_ferrea_mole_ferreo_cuore_military_industry_tt
			hidden_effect = {
				add_ideas = ITA_hidden_ferrea_mole_ns
			}

			army_experience = 50

			add_tech_bonus = {
				name = ITA_ferrea_mole_ferreo_cuore
				bonus = 1
				uses = 2
				category = armor
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}


########  ########  ######   ####    ###          ###    ######## ########   #######  ##    ##    ###    ##     ## ######## ####  ######     ###    
##     ## ##       ##    ##   ##    ## ##        ## ##   ##       ##     ## ##     ## ###   ##   ## ##   ##     ##    ##     ##  ##    ##   ## ##   
##     ## ##       ##         ##   ##   ##      ##   ##  ##       ##     ## ##     ## ####  ##  ##   ##  ##     ##    ##     ##  ##        ##   ##  
########  ######   ##   ####  ##  ##     ##    ##     ## ######   ########  ##     ## ## ## ## ##     ## ##     ##    ##     ##  ##       ##     ## 
##   ##   ##       ##    ##   ##  #########    ######### ##       ##   ##   ##     ## ##  #### ######### ##     ##    ##     ##  ##       ######### 
##    ##  ##       ##    ##   ##  ##     ##    ##     ## ##       ##    ##  ##     ## ##   ### ##     ## ##     ##    ##     ##  ##    ## ##     ## 
##     ## ########  ######   #### ##     ##    ##     ## ######## ##     ##  #######  ##    ## ##     ##  #######     ##    ####  ######  ##     ## 


	focus = {
		id = ITA_air_innovations_bba
		icon = GFX_italy_fiat_g_50

		x = 7
		y = 0
		relative_position_id = ITA_army_primacy_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP}

		completion_reward = {
			air_experience = 100

			add_tech_bonus = {
				name = ITA_air_innovations_bba #fighter_bonus
				bonus = 0.75
				uses = 1
				category = light_fighter
			}

			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}
		}
	}

	focus = {
		id = ITA_citta_dell_aria
		icon = GFX_focus_generic_aircraft_production
		prerequisite = { focus = ITA_air_innovations_bba }

		x = 0
		y = 1
		relative_position_id = ITA_air_innovations_bba
		cost = 5
		available = {
			has_full_control_of_state = 2
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_tech_bonus = {
				name = ITA_citta_dell_aria
				bonus = 0.5
				uses = 3
				category = air_equipment
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					2 = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
				}
				2 = { #LATIUM (Rome)
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 157 849 117 } #ABRUZZO as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
					limit = { 
						159 = {
							is_fully_controlled_by = ROOT
							air_facility < 1
							land_facility < 1
							naval_facility < 1
							nuclear_facility < 1
						}
					}

					159 = {
						add_building_construction = {
							type = air_facility
							level = 1
							instant_build = yes
							province = 3780 # North of Rome
						}
					}
				}
		}
	}

	focus = {
		id = ITA_expand_rome_flying_school
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = ITA_air_innovations_bba }

		x = 4
		y = 1
		relative_position_id = ITA_air_innovations_bba
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_AIR_XP}

		completion_reward = {
			add_to_variable = { ITA_ra_air_ace_generation_chance_factor = 0.05 }
			add_to_variable = { ITA_ra_air_night_penalty = -0.1 }
			add_to_variable = { ITA_ra_air_weather_penalty = -0.1 }
			add_to_variable = { ITA_ra_air_training_xp_gain_factor = 0.05 }
			custom_effect_tooltip = ITA_expand_rome_flying_school_ra_tt

			air_experience = 25

			custom_effect_tooltip = ITA_reduced_chance_of_air_accidents_tt
		}
	}

	focus = {
		id = ITA_reggianes_exports
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = ITA_citta_dell_aria }

		x = -2
		y = 1
		relative_position_id = ITA_citta_dell_aria
		cost = 10
		available = {
			has_full_control_of_state = 161
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_iri_consumer_goods_factor = -0.02 }
			custom_effect_tooltip = ITA_reggianes_exports_ricostruzione_industriale_tt

			if = {
				limit = {
					161 = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
				}
				161 = { #EMILIA ROMAGNA (Reggio Emilio)
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 162 157 } #TOSCANA as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}

			add_tech_bonus = {
				name = ITA_reggianes_exports
				bonus = 0.75
				uses = 2
				category = air_equipment #Maybe more specific stuff? (Light/Medium bombers, fighters...)
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				ITA_add_reggianes_exports_templates = yes
			}
		}
	}

	focus = {
		id = ITA_diving_bombers
		icon = GFX_goal_poland_goal
		prerequisite = { focus = ITA_citta_dell_aria }
		prerequisite = { focus = ITA_expand_rome_flying_school }

		x = 2
		y = 1
		relative_position_id = ITA_citta_dell_aria
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_AIR_XP}

		completion_reward = {
			air_experience = 15
			if = {
				limit = {
					country_exists = GER
					NOT = { has_war_with = GER }
				}
				add_equipment_to_stockpile = { 
					type = small_plane_cas_airframe_1
					amount = 200
					producer = GER
					variant_name = "Ju 87"
				}
			}
			else = {
				add_tech_bonus = {
					name = ITA_diving_bombers
					bonus = 0.5
					uses = 1
					category = cas_bomber
					category = naval_bomber
				}	
			}
			#NTH_Manu: Sends a request to Germany to purchase CAS and/or licensing design templates (historically 100 Ju87)
		}
	}

	focus = {
		id = ITA_superaereo
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = ITA_citta_dell_aria }

		x = 0
		y = 1
		relative_position_id = ITA_citta_dell_aria
		cost = 10
#		available = {
#			any_enemy_country = {
#				is_major_not_original_tag_root = yes
#			}
#		}

		search_filters = {FOCUS_FILTER_AIR_XP}

		completion_reward = {
			add_to_variable = { ITA_ra_air_mission_efficiency = 0.05 }
			add_to_variable = { ITA_ra_air_mission_xp_gain_factor = 0.05 }
			add_to_variable = { ITA_ra_air_doctrine_cost_factor = -0.1 }
			custom_effect_tooltip = ITA_superaereo_ra_tt

			air_experience = 50
			#if = {
			#	limit = {
			#		has_dlc = "No Step Back"
			#	}
			#	custom_effect_tooltip = "TODO_Manu: Cost reduction for Airforce spirits. Code support"
			#}

			#Update NS icon
			ITA_improve_regia_aeronautica_dm_effect = yes
		}
	}

	focus = {
		id = ITA_officers_of_the_service_role
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = ITA_superaereo }
		prerequisite = { focus = ITA_expand_rome_flying_school }

		x = 3
		y = 1
		relative_position_id = ITA_superaereo
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_AIR_XP}

		completion_reward = {
			add_to_variable = { ITA_ra_air_night_penalty = -0.05 }
			add_to_variable = { ITA_ra_air_weather_penalty = -0.05 }
			add_to_variable = { ITA_ra_air_accidents_factor = -0.1 }
			custom_effect_tooltip = ITA_officers_of_the_service_role_ra_tt

			air_experience = 25

			add_ace = {
				type = "fighter_good"
				name = "Adriano"
				surname = "Visconti"
				callsign = "Tigre" #Totally made up
			}
			add_ace = { #Ace is a fighter pilot really
				type = "bomber_unique"
				name = "Vittorio"
				surname = "Sanseverino"
				callsign = "Postino" #Totally made up
			}

			custom_effect_tooltip = ITA_reduced_chance_of_air_accidents_tt
		}
	}

	focus = {
		id = ITA_standardization
		icon = GFX_goal_generic_production2
		prerequisite = { focus = ITA_superaereo }
		mutually_exclusive = { focus = ITA_specialization }
		x = -1
		y = 1
		relative_position_id = ITA_superaereo
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}

		completion_reward = {

			#More expensive to edit templates, more cheap to produce aircraft
			add_to_variable = { ITA_military_industry_air_equipment_upgrade_xp_cost = 0.25 }
			custom_effect_tooltip = ITA_standardization_ra_tt

			hidden_effect = {
				add_ideas = ITA_hidden_standardization_ns
			}

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt
		
			add_tech_bonus = {
				name = ITA_specialization
				bonus = 0.5
				uses = 3
				category = air_equipment
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}

			#Update NS icon
			ITA_improve_regia_aeronautica_dm_effect = yes
		}
	}

	focus = {
		id = ITA_specialization
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = ITA_superaereo }
		mutually_exclusive = { focus = ITA_standardization }
		x = 1
		y = 1
		relative_position_id = ITA_superaereo
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP}

		completion_reward = {

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt

			air_experience = 15
	
			

			add_tech_bonus = {
				name = ITA_standardization
				bonus = 0.75
				uses = 2
				category = tactical_bomber
				category = light_fighter
				category = cat_strategic_bomber
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}

			#Update NS icon
			ITA_improve_regia_aeronautica_dm_effect = yes
		}
	}


	focus = {
		id = ITA_long_range_aircraft
		icon = GFX_focus_generic_long_range_aircraft
		prerequisite = { focus = ITA_standardization }

		x = -2
		y = 1
		relative_position_id = ITA_standardization
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_to_variable = { ITA_ra_strategic_bomb_visibility = -0.05 }
			add_to_variable = { ITA_ra_air_strategic_bomber_bombing_factor = 0.05 }
			add_to_variable = { ITA_ra_air_range_factor = 0.05 }
			custom_effect_tooltip = ITA_long_range_aircraft_ra_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
		}
	}

	focus = {
		id = ITA_bomber_designs
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = ITA_standardization focus = ITA_specialization }

		x = 2
		y = 0
		relative_position_id = ITA_long_range_aircraft
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP}

		completion_reward = {
			air_experience = 25

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
		}
	}

	focus = {
		id = ITA_fighter_designs
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = ITA_standardization focus = ITA_specialization }

		x = 4
		y = 0
		relative_position_id = ITA_long_range_aircraft
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP}

		completion_reward = {
			air_experience = 25

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
		}
	}

	focus = {
		id = ITA_multirole_aircraft
		icon = GFX_focus_generic_multi_role_aircraft
		prerequisite = { focus = ITA_specialization }

		x = 6
		y = 0
		relative_position_id = ITA_long_range_aircraft
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP}

		completion_reward = {
			add_to_variable = { ITA_ra_air_mission_xp_gain_factor = 0.1 }
			custom_effect_tooltip = ITA_multirole_aircraft_ra_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
		}
	}

	focus = {
		id = ITA_supremacy_in_the_skies
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = ITA_multirole_aircraft focus = ITA_long_range_aircraft focus = ITA_fighter_designs focus = ITA_bomber_designs }

		x = 1
		y = 1
		relative_position_id = ITA_bomber_designs
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_XP}

		completion_reward = {
			add_to_variable = { ITA_ra_air_superiority_bonus_in_combat = 0.05 }
			add_to_variable = { ITA_ra_air_superiority_efficiency = 0.05 }
			add_to_variable = { ITA_ra_air_intercept_efficiency = 0.05 }
			custom_effect_tooltip = ITA_supremacy_in_the_skies_ra_tt

			air_experience = 50

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}


########  ########  ######   ####    ###       ##     ##    ###    ########  #### ##    ##    ###    
##     ## ##       ##    ##   ##    ## ##      ###   ###   ## ##   ##     ##  ##  ###   ##   ## ##   
##     ## ##       ##         ##   ##   ##     #### ####  ##   ##  ##     ##  ##  ####  ##  ##   ##  
########  ######   ##   ####  ##  ##     ##    ## ### ## ##     ## ########   ##  ## ## ## ##     ## 
##   ##   ##       ##    ##   ##  #########    ##     ## ######### ##   ##    ##  ##  #### ######### 
##    ##  ##       ##    ##   ##  ##     ##    ##     ## ##     ## ##    ##   ##  ##   ### ##     ## 
##     ## ########  ######   #### ##     ##    ##     ## ##     ## ##     ## #### ##    ## ##     ## 


	focus = {
		id = ITA_naval_power_projection
		icon = GFX_goal_generic_build_navy

		x = 11
		y = 0
		relative_position_id = ITA_air_innovations_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			navy_experience = 25

			add_doctrine_cost_reduction = {
				name = naval_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = ITA_intensify_torpedo_manufacturing
		icon = GFX_focus_generic_torpedo_production
		prerequisite = { focus = ITA_naval_power_projection }

		x = -2
		y = 1
		relative_position_id = ITA_naval_power_projection
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_rm_convoy_raiding_efficiency_factor = 0.05 }
			add_to_variable = { ITA_rm_naval_strike_attack_factor = 0.05 }
			add_to_variable = { ITA_rm_navy_submarine_attack_factor = 0.05 }
			custom_effect_tooltip = ITA_intensify_torpedo_manufacturing_rm_tt

			add_tech_bonus = {
				name = ITA_intensify_torpedo_manufacturing
				bonus = 1.0
				uses = 2
				category = cat_torpedoes
			}
		}
	}

	focus = {
		id = ITA_expand_naval_facilities
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = ITA_naval_power_projection }

		x = 0
		y = 1
		relative_position_id = ITA_naval_power_projection
		cost = 5
		available = {
			OR = {
				has_full_control_of_state = 162
				has_full_control_of_state = 736
				has_full_control_of_state = 114
				has_full_control_of_state = 117
				has_full_control_of_state = 849
				has_full_control_of_state = 852
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			114 = { #SARDINIA (Cagliari, La Maddalena)
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 6891 #La Maddalena
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 11773 #Cagliari
				}
			}

			117 = { #CAMPAGNA (Napoli)
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 819 #Napoli
				}
			}

			849 = { #PUGLIA (Brindisi)
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 11998
				}
			}

			852 = { #ISTRIA (Fiume)
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 11564
				}
			}
		}
	}

	focus = {
		id = ITA_oto_naval_guns
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = ITA_naval_power_projection }

		x = 2
		y = 1
		relative_position_id = ITA_naval_power_projection
		cost = 5
		available = {
			has_full_control_of_state = 162
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_rm_navy_capital_ship_attack_factor = 0.05 }
			custom_effect_tooltip = ITA_oto_naval_guns_rm_tt

			if = {
				limit = {
					162 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				162 = { #TUSCANY (La Spezia)
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 157 161 160 } #ABRUZZO as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			add_tech_bonus = {
				name = ITA_oto_naval_guns
				bonus = 1.0
				uses = 2
				category = cat_ship_medium_battery
				category = cat_ship_heavy_battery
			}
		}
	}

	focus = {
		id = ITA_improve_overseas_naval_bases
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = ITA_expand_naval_facilities }

		x = -4
		y = 1
		relative_position_id = ITA_expand_naval_facilities
		cost = 10
		available = {
			OR = {
				has_full_control_of_state = 448
				has_full_control_of_state = 451
				has_full_control_of_state = 164
				has_full_control_of_state = 550
				has_full_control_of_state = 559
				has_full_control_of_state = 844
				has_full_control_of_state = 447
				has_full_control_of_state = 458
				has_full_control_of_state = 459
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			if = {
				limit = {
					has_full_control_of_state = 448
				}
				448 = { #TRIPOLI (Tripoli)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 1149
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 1149
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 451
				}
				451 = { #DERNA (Tobruk)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 1130
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 1130
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 164
				}
				164 = { #DODECANESE (Rhodes)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 10007
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 10007
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 550
				}
				550 = { #ERITREA (Massaua)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 12766
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 12766
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 559
				}
				559 = { #SOMALILAND (Mogadishu)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 12991
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 12991
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 844
				}
				844 = { #JUBALAND (Kismaayo)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 12941
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 12941
					}
				}
			}

			#EXTRA STATES
			if = {
				limit = {
					has_full_control_of_state = 447
				}
				447 = { #ALEXANDRIA (Alexandria)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 4076
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 4076
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 458
				}
				458 = { #TUNISIA (Bizerte)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 9994
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 9994
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 459
				}
				459 = { #ALGIERS (Oran)
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 7132
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = 7132
					}
				}
			}
		}
	}

	focus = {
		id = ITA_milizia_marittima_di_artiglieria
		icon = GFX_focus_ITA_milizia_marittima_di_artiglieria
		prerequisite = { focus = ITA_expand_naval_facilities }

		x = -2
		y = 1
		relative_position_id = ITA_expand_naval_facilities
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_tech_bonus = {
				name = ITA_milizia_marittima_di_artiglieria
				bonus = 1.0
				uses = 1
				category = artillery
			}

			custom_effect_tooltip = ITA_milizia_marittima_di_artiglieria_coastal_forts_tt
			every_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					naval_base > 0
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_supermarina
		icon = GFX_ITA_roma_class_battleship
		prerequisite = { focus = ITA_expand_naval_facilities }

		x = 0
		y = 1
		relative_position_id = ITA_expand_naval_facilities
		cost = 10
#		available = {
#			any_enemy_country = {
#				is_major_not_original_tag_root = yes
#			}
#		}

		search_filters = {FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			add_to_variable = { ITA_rm_naval_doctrine_cost_factor = -0.1 }
			add_to_variable = { ITA_rm_naval_morale_factor = 0.1 }
			add_to_variable = { ITA_rm_strike_force_movement_org_loss = -0.05 }
			custom_effect_tooltip = ITA_supermarina_rm_tt

			navy_experience = 50
			#if = {
			#	limit = {
			#		has_dlc = "No Step Back"
			#	}
			#	custom_effect_tooltip = "TODO_Manu: Cost reduction for Navy spirits. Code support"
			#}

			#Update NS icon
			ITA_improve_regia_marina_dm_effect = yes
		}
	}

	focus = {
		id = ITA_stockpile_fuel
		icon = GFX_focus_generic_stockpile_fuel
		prerequisite = { focus = ITA_expand_naval_facilities }

		x = 2
		y = 1
		relative_position_id = ITA_expand_naval_facilities
		cost = 5
		available = {
			is_at_peace_exiled_countries_excluded = yes
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

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

			if = {
				limit = {
					849 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
				}
				849 = { #PUGLIA (Taranto)
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 852 736 } #ISTRIA as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					117 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
				}
				117 = { #Campagna (Napoli)
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 157 162 } #ABRUZZO as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					115 = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
				}
				115 = { #SICILY (Palermo)
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
					prioritize = { 156 114 } #CALABRIA as main fallback
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = ITA_forza_navale_especiale
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = ITA_expand_naval_facilities }

		x = 4
		y = 1
		relative_position_id = ITA_expand_naval_facilities
		cost = 10
		available = {
			has_tech = marines
		}

		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER}

		completion_reward = {
			add_to_variable = { ITA_rm_special_forces_cap = 0.02 }
			add_to_variable = { ITA_rm_amphibious_invasion = 0.05 }
			add_to_variable = { ITA_rm_naval_invasion_capacity = 10 }
			add_to_variable = { ITA_rm_invasion_preparation = -0.1 }
			custom_effect_tooltip = ITA_forza_navale_especiale_rm_tt


			add_tech_bonus = {
				name = ITA_forza_navale_especiale
				bonus = 1.0
				uses = 2
				category = marine_tech
				category = tp_tech
			}

			if = {
				limit = {
					NOT = { has_completed_focus = ITA_strengthen_ascari_corps }
					NOT = { has_completed_focus = ITA_forza_navale_especiale }
				}
				custom_effect_tooltip = ITA_strengthen_ascari_corps_ibrahim_farag_mohammed_tt
			}
			show_unit_leaders_tooltip = ITA_ibrahim_farag_mohammed
		}
	}

	focus = {
		id = ITA_naval_air_coordination
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = ITA_supermarina }
		prerequisite = { focus = ITA_expand_rome_flying_school }

		x = -6
		y = 1
		relative_position_id = ITA_supermarina
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_rm_naval_coordination = 0.05 }
			add_to_variable = { ITA_rm_spotting_chance = 0.1 }
			add_to_variable = { ITA_rm_naval_strike_agility_factor = 0.05 }
			custom_effect_tooltip = ITA_naval_air_coordination_rm_tt

			air_experience = 25
			navy_experience = 25

			add_tech_bonus = {
				name = ITA_naval_air_coordination
				bonus = 1.0
				uses = 2
				category = naval_bomber
			}

			add_ace = {
				type = "support_unique"
				name = "Giulio" #MM: Real name Giulio Cesare Graziani but art won't hook-in with double name :D
				surname = "Graziani"
				callsign = "Torpedo Twin"
			}
			add_ace = {
				type = "support_good"
				name = "Carlo"
				surname = "Faggioni"
				callsign = "Torpedo Twin"
			}
		}
	}

	focus = {
		id = ITA_decima_flottiglia_mas
		icon = GFX_focus_ITA_decima_flottiglia_mas
		prerequisite = { focus = ITA_supermarina }

		x = -4
		y = 1
		relative_position_id = ITA_supermarina
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			add_to_variable = { ITA_rm_convoy_raiding_efficiency_factor = 0.02 }
			add_to_variable = { ITA_rm_naval_critical_score_chance_factor = 0.02 }
			add_to_variable = { ITA_rm_sub_retreat_speed = 0.05 }
			custom_effect_tooltip = ITA_decima_flottiglia_mas_rm_tt

			navy_experience = 25

			show_unit_leaders_tooltip = ITA_junio_valerio_borghese

			unlock_decision_tooltip = ITA_human_torpedo_raid

			#TODO_Manu: Nice to have -> New Operation for damaging enemy ships docked in nearby docks with human torpedoes
		}
	}

	focus = {
		id = ITA_incrociatori_leggeri
		icon = GFX_focus_generic_cruiser2
		prerequisite = { focus = ITA_supermarina }

		x = -2
		y = 1
		relative_position_id = ITA_supermarina
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			add_to_variable = { ITA_rm_screening_efficiency = 0.05 }
			custom_effect_tooltip = ITA_incrociatori_leggeri_rm_tt
			hidden_effect = {
				add_ideas = ITA_hidden_light_cruisers_production_ns
			}

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt

			navy_experience = 25

			add_doctrine_cost_reduction = {
				name = ITA_incrociatori_leggeri
				cost_reduction = 0.75
				uses = 2
				category = cat_trade_interdiction
			}

			add_tech_bonus = {
				name = ITA_incrociatori_leggeri
				bonus = 1
				uses = 1
				category = cl_tech
			}

			#Update NS icon
			ITA_improve_regia_marina_dm_effect = yes
		}
	}

	focus = {
		id = ITA_incrociatori_pesanti
		icon = GFX_focus_generic_navy_battleship2
		prerequisite = { focus = ITA_supermarina }

		x = 2
		y = 1
		relative_position_id = ITA_supermarina
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			add_to_variable = { ITA_rm_strike_force_movement_org_loss = -0.05 }
			custom_effect_tooltip = ITA_incrociatori_pesanti_rm_tt
			hidden_effect = {
				add_ideas = ITA_hidden_heavy_cruisers_production_ns
			}			

			add_to_variable = { ITA_iri_consumer_goods_factor = 0.02 }
			custom_effect_tooltip = ITA_ricostruzione_industriale_cg_penalty_tt

			navy_experience = 25

			add_doctrine_cost_reduction = {
				name = ITA_incrociatori_pesanti
				cost_reduction = 0.75
				uses = 2
				category = cat_fleet_in_being
			}

			add_tech_bonus = {
				name = ITA_incrociatori_pesanti
				bonus = 1
				uses = 1
				category = ca_tech
			}

			#Update NS icon
			ITA_improve_regia_marina_dm_effect = yes
		}
	}

	focus = {
		id = ITA_expand_naval_intelligence
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = ITA_supermarina }

		x = 4
		y = 1
		relative_position_id = ITA_supermarina
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			add_to_variable = { ITA_rm_decryption_factor = 0.05 }
			add_to_variable = { ITA_rm_navy_intel_factor = 0.1 }
			custom_effect_tooltip = ITA_expand_naval_intelligence_rm_tt

			navy_experience = 25
		}
	}

	focus = {
		id = ITA_cooperation_programs
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = ITA_supermarina }

		x = 6
		y = 1
		relative_position_id = ITA_supermarina
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			navy_experience = 25
			custom_effect_tooltip = ITA_cooperation_programs_decisions_tt
			if = { #Historical agreement with Sweden
				limit = {
					NOT = {
						has_war_with = SWE
						any_enemy_country = { is_in_faction_with = SWE }
					}
				}
				SWE = { country_event = { id = BBA_italy_naval_cooperation_programs.08 hours = 1 } }
				custom_effect_tooltip = if_they_accept
				effect_tooltip = {
					custom_effect_tooltip = ITA_cooperation_programs_deal_sweden_tt
					add_timed_idea = {
						idea = ITA_sold_obsolete_escort_ships_ns
						days = 365
					}
				}
			}
		}
	}

	focus = {
		id = ITA_cruiser_submarines
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = ITA_incrociatori_leggeri }
		mutually_exclusive = { focus = ITA_midget_submarines }
		x = -4
		y = 1
		relative_position_id = ITA_incrociatori_leggeri
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			navy_experience = 15
			add_doctrine_cost_reduction = {
				name = ITA_cruiser_submarines
				cost_reduction = 0.5
				uses = 1
				category = trade_interdiction_tree
			}

			add_tech_bonus = {
				name = ITA_cruiser_submarines
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
			
			if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_naval_cruiser_submarine }
				}
				complete_special_project = {
					project = sp:sp_naval_cruiser_submarine
					scientist = ITA_curio_bernardis
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				prioritize = { 736 160 } #TRIESTE / VENETO
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = ITA_midget_submarines
		icon = GFX_focus_generic_midget_submarines
		prerequisite = { focus = ITA_incrociatori_leggeri }
		mutually_exclusive = { focus = ITA_cruiser_submarines }
		x = -2
		y = 1
		relative_position_id = ITA_incrociatori_leggeri
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			navy_experience = 15
			add_doctrine_cost_reduction = {
				name = ITA_midget_submarines
				cost_reduction = 0.5
				uses = 1
				category = trade_interdiction_tree
			}

			add_tech_bonus = {
				name = ITA_midget_submarines
				bonus = 1.0
				uses = 1
				category = ss_tech
			}

			if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_naval_midget_submarine }
				}
				complete_special_project = {
					project = sp:sp_naval_midget_submarine
					scientist = ITA_curio_bernardis
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				prioritize = { 158 } #PIEDMONT (Built by Caproni, potentially in Milano, so Genova due to proximity)
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_completed_focus = ITA_cooperation_programs
				}
				unlock_decision_tooltip = ITA_export_midget_submarines
			}
			else = {
				custom_effect_tooltip = ITA_midget_submarines_decision_tt
			}
		}
	}

	focus = {
		id = ITA_cacciatorpediniere_di_scorta
		icon = GFX_focus_generic_destroyer
		prerequisite = { focus = ITA_incrociatori_leggeri }

		x = 0
		y = 1
		relative_position_id = ITA_incrociatori_leggeri
		cost = 5
		available = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				has_tech = improved_ship_hull_light
				has_tech = sonar
				#has_tech = improved_ship_torpedo_launcher #Granting it anyways
				#has_tech = improved_depth_charges #Granting it anyways
			}
			else = {
				has_tech = improved_destroyer
			}
			has_tech = cavity_magnatron
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			navy_experience = 15
			add_doctrine_cost_reduction = {
				name = ITA_cacciatorpediniere_di_scorta
				cost_reduction = 0.75
				uses = 2
				category = convoy_defense_tree
			}

			add_tech_bonus = {
				name = ITA_cacciatorpediniere_di_scorta
				bonus = 1.0
				uses = 1
				category = dd_tech
			}

			###########
			### MTG ###
			###########
			if = { #MTG 
				limit = {
					has_dlc = "Man the Guns"
				}
				#Equipment Variant
				if = {
					limit = {
						has_tech = basic_dp_light_battery
					}
					create_equipment_variant = {
						name = "Comandanti Medaglie d'Oro Class"
						type = ship_hull_light_3
						name_group = ITA_DD_HISTORICAL
						parent_version = 0
						allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
						modules = {
							fixed_ship_battery_slot = dp_light_battery_2
							fixed_ship_anti_air_slot = ship_anti_air_2
							fixed_ship_fire_control_system_slot = ship_sonar_1
							fixed_ship_radar_slot = ship_radar_1
							fixed_ship_engine_slot = light_ship_engine_2
							fixed_ship_torpedo_slot = ship_torpedo_2
							rear_1_custom_slot = ship_depth_charge_2
							front_1_custom_slot = dp_light_battery_2
						}
					}
				}
				else = {
					create_equipment_variant = {
						name = "Comandanti Medaglie d'Oro Class"
						type = ship_hull_light_3
						name_group = ITA_DD_HISTORICAL #TODO_Manu: Name List
						parent_version = 0
						allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
						modules = {
							fixed_ship_battery_slot = ship_light_battery_2
							fixed_ship_anti_air_slot = ship_anti_air_2
							fixed_ship_fire_control_system_slot = ship_sonar_1
							fixed_ship_radar_slot = ship_radar_1
							fixed_ship_engine_slot = light_ship_engine_2
							fixed_ship_torpedo_slot = ship_torpedo_2
							rear_1_custom_slot = ship_depth_charge_2
							front_1_custom_slot = ship_light_battery_2
						}
					}
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_3
						creator = "ITA"
						version_name = "Comandanti Medaglie d'Oro Class"
					}
					name = "Comandante Margottini"
					requested_factories = 2
					progress = 0.35
					amount = 3
				}
			}

			##############
			### NO MTG ###
			##############
			else = {
				create_equipment_variant = {
					name = "Comandanti Medaglie d'Oro Class"
					type = destroyer_3
					allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
					upgrades = {
						ship_torpedo_upgrade = 2
						destroyer_engine_upgrade = 2
						ship_ASW_upgrade = 2
						ship_anti_air_upgrade = 2
					}
				}
				add_equipment_production = {
					equipment = {
						type = destroyer_3
						creator = "ITA"
						version_name = "Comandanti Medaglie d'Oro Class"
					}
					requested_factories = 2
					progress = 0.35
					amount = 3
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				prioritize = { 162 158 } ##TUSCANY (Livorno) / PIEDMONT (Genova) (First ones built in Genova, others in Livorno, but Genova already receives a bunch of buildings)
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = ITA_ispettorato_dei_mezzi_antisommergibili
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = ITA_incrociatori_leggeri focus = ITA_incrociatori_pesanti }

		x = 2
		y = 1
		relative_position_id = ITA_incrociatori_leggeri
		cost = 5
		available = {
			has_tech = improved_depth_charges
			has_tech = sonar
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_to_variable = { ITA_rm_naval_detection = 0.1 }
			custom_effect_tooltip = ITA_ispettorato_dei_mezzi_antisommergibili_rm_tt

			navy_experience = 15

			add_tech_bonus = {
				name = ITA_ispettorato_dei_mezzi_antisommergibili
				ahead_reduction = 2
				uses = 1
				category = asw_tech
			}

			###########
			### MTG ###
			###########
			if = { #MTG 
				limit = {
					has_dlc = "Man the Guns"
				}
				#Equipment Variant
				if = {
					limit = {
						has_tech = improved_sonar
					}
					create_equipment_variant = {
						name = "Gabbiano Class"
						type = ship_hull_light_1
						name_group = ITA_DD_HISTORICAL
						parent_version = 0
						allow_without_tech = yes #Makes no difference since ITA already has tech, but in order to keep it consistent
						modules = {
							fixed_ship_battery_slot = ship_light_battery_1
							fixed_ship_anti_air_slot = ship_anti_air_2
							fixed_ship_fire_control_system_slot = ship_sonar_2
							fixed_ship_radar_slot = empty
							fixed_ship_engine_slot = light_ship_engine_1
							fixed_ship_torpedo_slot = ship_torpedo_1
							mid_1_custom_slot = ship_depth_charge_2
							rear_1_custom_slot = ship_depth_charge_2
							#front_1_custom_slot = ship_light_battery_2
						}
					}
				}
				else = {
					create_equipment_variant = {
						name = "Gabbiano Class"
						type = ship_hull_light_1
						name_group = ITA_DD_HISTORICAL #TODO_Manu: Name List
						parent_version = 0
						allow_without_tech = yes #Makes no difference since ITA already has tech, but in order to keep it consistent
						modules = {
							fixed_ship_battery_slot = ship_light_battery_1
							fixed_ship_anti_air_slot = ship_anti_air_2
							fixed_ship_fire_control_system_slot = ship_sonar_1
							fixed_ship_radar_slot = empty
							fixed_ship_engine_slot = light_ship_engine_1
							fixed_ship_torpedo_slot = ship_torpedo_1
							mid_1_custom_slot = ship_depth_charge_2
							rear_1_custom_slot = ship_depth_charge_2
							#front_1_custom_slot = ship_light_battery_2
						}
					}
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_1
						creator = "ITA"
						version_name = "Gabbiano Class"
					}
					name = "Antilope"
					requested_factories = 1
					progress = 0.35
					amount = 3
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_1
						creator = "ITA"
						version_name = "Gabbiano Class"
					}
					name = "Camoscio"
					requested_factories = 1
					progress = 0.35
					amount = 3
				}
			}

			##############
			### NO MTG ###
			##############
			else = {
				if = {
					limit = {
						NOT = { has_tech = improved_destroyer }
					}
					set_technology = { improved_destroyer = 1 }
				}
				create_equipment_variant = {
					name = "Gabbiano Class"
					type = destroyer_1
					upgrades = {
						ship_torpedo_upgrade = 1
						destroyer_engine_upgrade = 1
						ship_ASW_upgrade = 3
						ship_anti_air_upgrade = 2
					}
				}
				add_equipment_production = {
					equipment = {
						type = destroyer_1
						creator = "ITA"
						version_name = "Gabbiano Class"
					}
					requested_factories = 2
					progress = 0.35
					amount = 3
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				prioritize = { 162 117 } ##TUSCANY (La Spezia) / CAMPANIA (Napoli) (Napoli just to split it up a little bit)
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = ITA_navi_da_battaglia
		icon = GFX_ITA_navy2
		prerequisite = { focus = ITA_incrociatori_pesanti }

		x = 0
		y = 1
		relative_position_id = ITA_incrociatori_pesanti
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			navy_experience = 15
			add_doctrine_cost_reduction = {
				name = ITA_navi_da_battaglia
				cost_reduction = 0.75
				uses = 2
				category = fleet_in_being_tree
			}

			add_tech_bonus = {
				name = ITA_navi_da_battaglia
				bonus = 1
				uses = 1
				category = bb_tech
			}

			###########
			### MTG ###
			###########
			if = { #MTG 
				limit = {
					has_dlc = "Man the Guns"
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "ITA"
						version_name = "Littorio Class"
					}
					name = "Roma"
					requested_factories = 1
					progress = 0.45
					amount = 1
				}

				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "ITA"
						version_name = "Littorio Class"
					}
					name = "Impero"
					requested_factories = 1
					progress = 0.45
					amount = 1
				}
			}

			##############
			### NO MTG ###
			##############
			else = {
				add_equipment_production = {
					equipment = {
						type = battleship_2
						creator = "ITA"
						version_name = "Littorio Class"
					}
					requested_factories = 1
					progress = 0.45
					amount = 1
				}
				add_equipment_production = {
					equipment = {
						type = battleship_2
						creator = "ITA"
						version_name = "Littorio Class"
					}
					requested_factories = 1
					progress = 0.45
					amount = 1
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				prioritize = { 736 158 } ##LITORALE (Trieste) / PIEDMONT (Genova)
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = ITA_proper_carriers
		icon = GFX_goal_generic_navy_carrier
		prerequisite = { focus = ITA_incrociatori_pesanti }
		x = 2
		y = 1
		relative_position_id = ITA_incrociatori_pesanti
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			navy_experience = 50
			add_tech_bonus = {
				name = ITA_proper_carriers
				bonus = 1.0
				uses = 1
				category = cv_tech
			}

			###########
			### MTG ###
			###########


			set_technology = { basic_ship_hull_carrier = 1 }

			#Equipment Variant
			create_equipment_variant = {
				name = "Aquila Class"
				type = ship_hull_carrier_1
				name_group = ITA_CV_HISTORICAL
				parent_version = 0
				allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
				modules = {
					fixed_ship_deck_slot_1 = ship_deck_space
					fixed_ship_deck_slot_2 = ship_deck_space
					fixed_ship_anti_air_slot = ship_anti_air_2
					fixed_ship_radar_slot = empty
					fixed_ship_engine_slot = carrier_ship_engine_2
					fixed_ship_secondaries_slot = dp_ship_secondaries_2
					mid_1_custom_slot = ship_deck_space
					front_1_custom_slot = ship_deck_space
				}
			}
			#Line Production
			add_equipment_production = {
				equipment = {
					type = ship_hull_carrier_1
					creator = "ITA"
					version_name = "Aquila Class"
				}
				name = "Aquila"
				requested_factories = 2
				progress = 0.8
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_carrier_1
					creator = "ITA"
					version_name = "Aquila Class"
				}
				name = "Sparviero"
				requested_factories = 2
				progress = 0.8
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_carrier_1
					creator = "ITA"
					version_name = "Aquila Class"
				}
				name = "Bolzano"
				requested_factories = 2
				progress = 0.8
				amount = 1
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_carrier_1
					creator = "ITA"
					version_name = "Aquila Class"
				}
				name = "Guiseppe Garibaldi"
				requested_factories = 2
				progress = 0.8
				amount = 1
			}				

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				prioritize = { 158 } #PIEDMONT (Genoa)
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}


	focus = {
		id = ITA_flotta_d_evasione
		icon = GFX_focus_ITA_new_horizons
		prerequisite = { focus = ITA_ispettorato_dei_mezzi_antisommergibili focus = ITA_cacciatorpediniere_di_scorta focus = ITA_navi_da_battaglia }

		x = 0
		y = 1
		relative_position_id = ITA_ispettorato_dei_mezzi_antisommergibili
		cost = 10
		available = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				has_tech = basic_ship_hull_cruiser
			}
			else = {
				has_tech = basic_light_cruiser
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP}

		completion_reward = {
			custom_effect_tooltip = ITA_flotta_d_evasione_admiral_traits_tt
			#Stupid tooltips oh my god I hate this game
			hidden_effect = {
				#First admiral trait
				if = { #Try to select high level admirals
					limit = {
						any_navy_leader = {
							NOT = {
								has_trait = bold
							}
							skill > 3
						}
					}
					random_navy_leader = {
						limit = {
							NOT = {
								has_trait = bold
							}
							skill > 3
						}
						add_unit_leader_trait = bold
					}
				}
				else_if = {
					limit = {
						any_navy_leader = {
							NOT = {
								has_trait = bold
							}
						}
					}
					random_navy_leader = {
						limit = {
							NOT = {
								has_trait = bold
							}
						}
						add_unit_leader_trait = bold
					}
				}

				#Second admiral trait
				if = { #Try to select high level admirals
					limit = {
						any_navy_leader = {
							NOT = {
								has_trait = bold
							}
							skill > 3
						}
					}
					random_navy_leader = {
						limit = {
							NOT = {
								has_trait = bold
							}
							skill > 3
						}
						add_unit_leader_trait = bold
					}
				}
				else_if = {
					limit = {
						any_navy_leader = {
							NOT = {
								has_trait = bold
							}
						}
					}
					random_navy_leader = {
						limit = {
							NOT = {
								has_trait = bold
							}
						}
						add_unit_leader_trait = bold
					}
				}
			}
			
			navy_experience = 50

			###########
			### MTG ###
			###########
			if = { #MTG
				limit = {
					has_dlc = "Man the Guns"
				}
				if = { #CRUISER HULL III
					limit = {
						has_tech = improved_ship_hull_cruiser
					}
					if = {
						limit = {
							has_tech = basic_dp_light_battery
						}
						#Equipment Variant
						create_equipment_variant = {
							name = "Costanzo Ciano Class"
							type = ship_hull_cruiser_3
							name_group = ITA_CL_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
							modules = {
								front_1_custom_slot = ship_light_medium_battery_3
								mid_1_custom_slot = ship_torpedo_2
								mid_2_custom_slot = dp_ship_secondaries_2
								rear_1_custom_slot = ship_anti_air_3
								rear_2_custom_slot = ship_airplane_launcher_2
								fixed_ship_battery_slot = ship_light_medium_battery_3
								fixed_ship_anti_air_slot = ship_anti_air_3
								fixed_ship_fire_control_system_slot = ship_fire_control_system_1
								fixed_ship_radar_slot = ship_sonar_1
								fixed_ship_engine_slot = cruiser_ship_engine_3
								fixed_ship_secondaries_slot = dp_ship_secondaries_2
								fixed_ship_armor_slot = ship_armor_cruiser_3
							}
						}
					}
					else = {
						#Equipment Variant
						create_equipment_variant = {
							name = "Costanzo Ciano Class"
							type = ship_hull_cruiser_3
							name_group = ITA_CL_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
							modules = {
								front_1_custom_slot = ship_light_medium_battery_3
								mid_1_custom_slot = ship_torpedo_2
								mid_2_custom_slot = ship_secondaries_2
								rear_1_custom_slot = ship_anti_air_3
								rear_2_custom_slot = ship_airplane_launcher_2
								fixed_ship_battery_slot = ship_light_medium_battery_3
								fixed_ship_anti_air_slot = ship_anti_air_3
								fixed_ship_fire_control_system_slot = ship_fire_control_system_1
								fixed_ship_radar_slot = ship_sonar_1
								fixed_ship_engine_slot = cruiser_ship_engine_3
								fixed_ship_secondaries_slot = ship_secondaries_2
								fixed_ship_armor_slot = ship_armor_cruiser_3
							}
						}
					}

					#Line Production
					add_equipment_production = {
						equipment = {
							type = ship_hull_cruiser_3
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						name = "Constanzo Ciano"
						requested_factories = 1
						progress = 0.5
						amount = 1
					}
					#Line Production
					add_equipment_production = {
						equipment = {
							type = ship_hull_cruiser_3
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						name = "Luigi Rizzo"
						requested_factories = 1
						progress = 0.35
						amount = 1
					}
				}
				else = { #CRUISER HULL II
					if = {
						limit = {
							has_tech = basic_dp_light_battery
						}
						#Equipment Variant
						create_equipment_variant = {
							name = "Costanzo Ciano Class"
							type = ship_hull_cruiser_2
							name_group = ITA_CL_HISTORICAL #TODO_Manu: Namelist (Conte di Savoia, Rex, Neptunia, Oceania, Conte Rosso, Conte Grande, Saturnia, Vulcania, Conte Biancamo, Duilio, Conte verde, Giulio Cesare, Colombo, Tel Aviv) Excluded Roma (Aquila) and Augustus (Sparviero)
							parent_version = 0
							allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
							modules = {
								front_1_custom_slot = ship_anti_air_2
								mid_1_custom_slot = ship_torpedo_1
								mid_2_custom_slot = ship_airplane_launcher_2
								rear_1_custom_slot = ship_light_medium_battery_2
								fixed_ship_battery_slot = ship_light_medium_battery_2
								fixed_ship_anti_air_slot = ship_anti_air_2
								fixed_ship_fire_control_system_slot = ship_fire_control_system_1
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = cruiser_ship_engine_2
								fixed_ship_secondaries_slot = dp_ship_secondaries_2
								fixed_ship_armor_slot = ship_armor_cruiser_2
							}
						}
					}
					else = {
						#Equipment Variant
						create_equipment_variant = {
							name = "Costanzo Ciano Class"
							type = ship_hull_cruiser_2
							name_group = ITA_CL_HISTORICAL #TODO_Manu: Namelist (Conte di Savoia, Rex, Neptunia, Oceania, Conte Rosso, Conte Grande, Saturnia, Vulcania, Conte Biancamo, Duilio, Conte verde, Giulio Cesare, Colombo, Tel Aviv) Excluded Roma (Aquila) and Augustus (Sparviero)
							parent_version = 0
							allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
							modules = {
								front_1_custom_slot = ship_anti_air_2
								mid_1_custom_slot = ship_torpedo_1
								mid_2_custom_slot = ship_airplane_launcher_2
								rear_1_custom_slot = ship_light_medium_battery_2
								fixed_ship_battery_slot = ship_light_medium_battery_2
								fixed_ship_anti_air_slot = ship_anti_air_2
								fixed_ship_fire_control_system_slot = ship_fire_control_system_1
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = cruiser_ship_engine_2
								fixed_ship_secondaries_slot = ship_secondaries_2
								fixed_ship_armor_slot = ship_armor_cruiser_2
							}
						}
					}

					#Line Production
					add_equipment_production = {
						equipment = {
							type = ship_hull_cruiser_2
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						name = "Constanzo Ciano"
						requested_factories = 1
						progress = 0.5
						amount = 1
					}
					#Line Production
					add_equipment_production = {
						equipment = {
							type = ship_hull_cruiser_2
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						name = "Luigi Rizzo"
						requested_factories = 1
						progress = 0.35
						amount = 1
					}
				}
			}
			##############
			### NO MTG ###
			##############
			else = {
				if = {
					limit = {
						has_tech = improved_light_cruiser
					}
					create_equipment_variant = {
						name = "Costanzo Ciano Class"
						type = light_cruiser_3
						allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
						upgrades = {
							ship_reliability_upgrade = 2
							ship_engine_upgrade = 3
							ship_anti_air_upgrade = 3
							ship_gun_upgrade = 3
						}
					}
					add_equipment_production = {
						equipment = {
							type = light_cruiser_3
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						requested_factories = 1
						progress = 0.5
						amount = 1
					}
					add_equipment_production = {
						equipment = {
							type = light_cruiser_3
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						requested_factories = 1
						progress = 0.35
						amount = 1
					}
				}
				else = {
					create_equipment_variant = {
						name = "Costanzo Ciano Class"
						type = light_cruiser_2
						allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
						upgrades = {
							ship_reliability_upgrade = 2
							ship_engine_upgrade = 2
							ship_anti_air_upgrade = 2
							ship_gun_upgrade = 2
						}
					}
					add_equipment_production = {
						equipment = {
							type = light_cruiser_2
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						requested_factories = 1
						progress = 0.5
						amount = 1
					}
					add_equipment_production = {
						equipment = {
							type = light_cruiser_2
							creator = "ITA"
							version_name = "Costanzo Ciano Class"
						}
						requested_factories = 1
						progress = 0.35
						amount = 1
					}
				}
			}

			### CORES
			#ROME
			if = {
				limit = {
					has_full_control_of_state = 2
				}
				2 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#PUGLIA
			if = {
				limit = {
					has_full_control_of_state = 849
				}
				849 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#SICILIA
			if = {
				limit = {
					has_full_control_of_state = 115
				}
				115 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			### COLONIES
			#TRIPOLI
			if = {
				limit = {
					has_full_control_of_state = 448
				}
				448 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#ERITREA
			if = {
				limit = {
					has_full_control_of_state = 550
				}
				550 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#SOMALILAND
			if = {
				limit = {
					has_full_control_of_state = 559
				}
				559 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			### EXTRA STUFF
			#GIBRALTAR
			if = {
				limit = {
					has_full_control_of_state = 118
				}
				118 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#ALGIERS
			if = {
				limit = {
					has_full_control_of_state = 459
				}
				459 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#TUNISIA
			if = {
				limit = {
					has_full_control_of_state = 458
				}
				458 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#ALEXANDRIA
			if = {
				limit = {
					has_full_control_of_state = 447
				}
				447 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#LISBON
			if = {
				limit = {
					has_full_control_of_state = 112
				}
				112 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#SEVILLA
			if = {
				limit = {
					has_full_control_of_state = 169
				}
				169 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#BORDEAUX
			if = {
				limit = {
					has_full_control_of_state = 19
				}
				19 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			#BRITTANY
			if = {
				limit = {
					has_full_control_of_state = 14
				}
				14 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = ITA_flotta_d_evasione_dockyards_tt #TODO_Manu: Dynamic tooltip
		}
	}



##     ## ####  ######  ########  #######  ########  ####  ######     ###    ##       
##     ##  ##  ##    ##    ##    ##     ## ##     ##  ##  ##    ##   ## ##   ##       
##     ##  ##  ##          ##    ##     ## ##     ##  ##  ##        ##   ##  ##       
#########  ##   ######     ##    ##     ## ########   ##  ##       ##     ## ##       
##     ##  ##        ##    ##    ##     ## ##   ##    ##  ##       ######### ##       
##     ##  ##  ##    ##    ##    ##     ## ##    ##   ##  ##    ## ##     ## ##       
##     ## ####  ######     ##     #######  ##     ## ####  ######  ##     ## ######## 



	
	focus = {
		id = ITA_servizio_informazione_militare
		icon = GFX_focus_generic_secret_service_agency

		x = 50
		y = 0


		cost = 4
		available = {
		}

		search_filters = {}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				ETH_deescalate_the_war_effect = yes
			}
			
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				if = {
					limit = {
						has_intelligence_agency = no
					}
					create_intelligence_agency = yes
				}
				add_ideas = ITA_servizio_informazione_militare_ns

				ITA_create_rosa_dainelli_operative = yes
			}
			else = {
				add_ideas = ITA_servizio_informazione_militare_ns_vanilla
			}
		}
	}

	focus = {
		id = ITA_triumph_in_africa_bba
		icon = GFX_focus_ETH_the_second_italo_ethiopian_war
		prerequisite = { focus = ITA_servizio_informazione_militare }

		x = 0
		y = 1
		available = {
			has_full_control_of_state = 271 
            has_full_control_of_state = 839 
		    has_full_control_of_state = 839 
			has_full_control_of_state = 837
			has_full_control_of_state = 835
			has_full_control_of_state = 908 
		    has_full_control_of_state = 842 
		}
		relative_position_id = ITA_servizio_informazione_militare
		cost = 5

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER}

		completion_reward = {
			every_state = {
				limit = {
					is_core_of = ETH
					is_controlled_by = ITA
					}
				set_compliance = 100
			}	
			add_war_support = 0.05
			add_stability = 0.05
			add_political_power = 50

			unlock_decision_category_tooltip = ETH_italian_occupation_category

			hidden_effect = {
				every_controlled_state = {
					limit = {
						is_fully_controlled_by = ROOT
						is_core_of = ETH
					}
					set_state_flag = ITA_can_electrify_state_flag
				}
			}

			if = {
				limit = {
					has_any_power_balance = no
				}
				if = {
					ITA_initiate_balance_of_power_effect = yes
				}
			}
			else_if = {
				limit = {
					NOT = { has_completed_focus = ITA_triumph_in_africa_bba }
				}
				ITA_bop_very_low_increase_effect = yes
			}
			else = {
				effect_tooltip = {
					set_power_balance = {
						id = ITA_power_balance
						left_side = ITA_grand_council_side # will keep the last set side if not specified
						right_side = ITA_mussolini_side # will keep the last set side if not specified
						set_default = yes # whether or not to reset the power balance to the initial value, default = no
					}
				}
			}

			if = {
				unlock_decision_tooltip = ITA_bop_slander_the_duce
				unlock_decision_tooltip = ITA_bop_criticize_the_war
			}
		}
	}

	focus = {
		id = ITA_devaluate_the_lire
		icon = GFX_focus_ITA_devaluate_the_lire
		prerequisite = { focus = ITA_triumph_in_africa_bba }

		x = -2
		y = 1
		relative_position_id = ITA_triumph_in_africa_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_stability = 0.02
			add_timed_idea = { idea = ITA_devaluated_lira days = 365 }
		}
	}

	focus = {
		id = ITA_the_new_emperor_of_ethiopia
		icon = GFX_focus_ITA_the_new_emperor_of_ethiopia
		prerequisite = { focus = ITA_triumph_in_africa_bba }

		x = 2
		y = 1
		relative_position_id = ITA_triumph_in_africa_bba
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = ITA_all_eth_initial_states_controlled_tt
				NOT = {
					any_state = {
						is_initial_ethiopian_state = yes
						is_controlled_by_ROOT_or_subject = no
					}
				}
			}
		}

		search_filters = {FOCUS_FILTER_STABILITY}

		completion_reward = {
			# The king is an idea
			if = {
				limit = {
					has_idea = vittorio_emanuele
				}
				swap_ideas = {
					remove_idea = vittorio_emanuele
					add_idea = vittorio_emanuele_emperor_of_ethiopia
				}
			}
			else_if = {
				limit = {
					has_idea = vittorio_emanuele_king_of_albania
				}
				swap_ideas = {
					remove_idea = vittorio_emanuele_king_of_albania
					add_idea = vittorio_emanuele_albania_ethiopia
				}
			}

			custom_effect_tooltip = ITA_the_new_emperor_of_ethiopia_king_trait_tt
			ITA_vittorio_emanuele_iii = { 
				add_country_leader_trait = emperor_of_ethiopia
			}

			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}

			unlock_decision_tooltip = ITA_discredit_haile_selassie

			if = {
				limit = {
					country_exists = ETH
				}
				ETH = {
					add_legitimacy = -10
				}
			}

			every_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_core_of = ETH
				}
				add_compliance = 5
			}
		}
	}

	focus = {
		id = ITA_culto_del_duce
		icon = GFX_focus_ITA_culto_del_duce
		prerequisite = { focus = ITA_triumph_in_africa_bba }

		allow_branch = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				
			}
		}

		x = 0
		y = 1
		relative_position_id = ITA_triumph_in_africa_bba
		cost = 5
		available = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
		}

		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER}

		completion_reward = {
			add_country_leader_trait = lion_tamer

			ITA_bop_very_low_increase_effect = yes

			mark_focus_tree_layout_dirty = yes
		}
	}
	
	focus = {
		id = ITA_the_man_of_providence
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = ITA_culto_del_duce }

		x = -3
		y = 1
		relative_position_id = ITA_culto_del_duce
		cost = 5
		available = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			power_balance_value = {
				id = ITA_power_balance
				value > 0.499
			}
		}

		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER}

		completion_reward = {
			add_political_power = 25
			if = {
				limit = {
					has_completed_focus = ITA_strengthen_the_regime
				}
				swap_ruler_traits = {
					remove = il_duce_strengthen
					add = il_duce_providence_strengthen
				}
			}
			else = {
				swap_ruler_traits = {
					remove = il_duce
					add = il_duce_providence
				}
			}

			ITA_bop_very_low_increase_effect = yes
		}
	}

	focus = {
		id = ITA_to_live_as_a_lion
		icon = GFX_focus_ITA_to_live_as_a_lion
		prerequisite = { focus = ITA_the_man_of_providence }
		x = 0
		y = 1
		relative_position_id = ITA_the_man_of_providence
		cost = 5
		available = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			power_balance_value = {
				id = ITA_power_balance
				value > 0.649
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_ITA_MISSIOLINI}

		completion_reward = {
			add_political_power = 50

			swap_ruler_traits = {
				remove = lion_tamer
				add = lion_tamer_2
			}

			ITA_bop_very_low_increase_effect = yes

			#Reduce time for Missiolinis
			set_variable = { ITA_missiolinis_default_days = 350 }
			custom_effect_tooltip = ITA_to_live_as_a_lion_missiolinis_tt
		}
	}

	focus = {
		id = ITA_la_battaglia_del_grano
		icon = GFX_focus_SOV_breadbasket_of_the_union
		prerequisite = { focus = ITA_culto_del_duce }
		mutually_exclusive = { focus = ITA_la_battaglia_per_la_terra }
		x = -1
		y = 1
		relative_position_id = ITA_culto_del_duce
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

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

	focus = {
		id = ITA_la_battaglia_per_la_terra
		icon = GFX_focus_generic_land_reclamation
		prerequisite = { focus = ITA_culto_del_duce }
		mutually_exclusive = { focus = ITA_la_battaglia_del_grano }
		x = 1
		y = 1
		relative_position_id = ITA_culto_del_duce
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}

		completion_reward = {
			if = { #Latium
				limit = {
					2 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						} 
					}
				}
				2 = {
					add_extra_state_shared_building_slots = 2
				}
			}
			if = { #Campania
				limit = {
					117 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						} 
					}
				}
				117 = {
					add_extra_state_shared_building_slots = 2
				}
			}

			if = { #Tuscany
				limit = {
					162 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						} 
					}
				}
				162 = {
					add_extra_state_shared_building_slots = 2
				}
			}

			add_timed_idea = { idea = ITA_battaglia_per_la_terra days = 730 }
		}
	}

	focus = {
		id = ITA_la_battaglia_per_le_nascite
		icon = GFX_focus_generic_population_growth
		prerequisite = { focus = ITA_la_battaglia_del_grano focus = ITA_la_battaglia_per_la_terra }

		x = 1
		y = 1
		relative_position_id = ITA_la_battaglia_del_grano
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_POLITICAL}

		completion_reward = {
			add_timed_idea = { idea = ITA_battaglia_per_la_nascite days = 730 }
			add_political_power = 25
		}
	}

	focus = {
		id = ITA_strengthen_the_regime
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ITA_la_battaglia_per_le_nascite }

		x = 0
		y = 2
		relative_position_id = ITA_la_battaglia_per_le_nascite
		cost = 10
		available = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER}

		completion_reward = {
			add_political_power = 50
			add_stability = 0.05
			add_war_support = 0.05

			if = {
				limit = {
					has_completed_focus = ITA_the_man_of_providence
				}
				swap_ruler_traits = {
					remove = il_duce_providence
					add = il_duce_providence_strengthen
				}
			}
			else = {
				swap_ruler_traits = {
					remove = il_duce
					add = il_duce_strengthen
				}
			}
		}
	}

	focus = {
		id = ITA_devotion
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = ITA_to_live_as_a_lion }
		prerequisite = { focus = ITA_strengthen_the_regime }

		x = -3
		y = 1
		relative_position_id = ITA_strengthen_the_regime
		cost = 5
		available = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			power_balance_value = {
				id = ITA_power_balance
				value > 0.799
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER}

		completion_reward = {
			add_political_power = 50

			swap_ruler_traits = {
				remove = il_duce_providence_strengthen
				add = il_duce_devotion 
			}

			ITA_bop_very_low_increase_effect = yes
		}
	}

	focus = {
		id = ITA_ministero_della_cultura_popolare #Alt name would be Ministry of Popular Culture (1937-1943)
		icon = GFX_focus_generic_italy_propaganda
		prerequisite = { focus = ITA_culto_del_duce }

		x = 3
		y = 1
		relative_position_id = ITA_culto_del_duce



		cost = 5
		available = {
			has_government = fascism
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER}

		completion_reward = { #Propaganda System? NOPE :D
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_war_support = 0.03
			add_political_power = 25

			ITA_bop_very_low_increase_effect = yes #Works for every Duce
		}
	}

	focus = {
		id = ITA_believe_obey_fight
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = ITA_ministero_della_cultura_popolare }

		x = 0
		y = 1
		relative_position_id = ITA_ministero_della_cultura_popolare
		cost = 5
		available = {
			has_government = fascism
		}

		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY}

		completion_reward = {
			add_to_variable = { ITA_re_conscription_factor = 0.1 }
			custom_effect_tooltip = ITA_believe_obey_fight_re_tt

			if = {
				limit = {
					NOT = { 
							has_country_leader =  {
								ruling_only = yes 
								character = ITA_dino_grandi
							}
						}
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = ITA_dino_grandi
			}

			add_political_power = 75
			add_war_support = 0.02
			add_stability = 0.02
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
		}
	}

	focus = {
		id = ITA_banda_carita
		icon = GFX_focus_ITA_banda_carita
		prerequisite = { focus = ITA_believe_obey_fight }

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

		allow_branch = {
			OR = {
				has_dlc = "La Resistance"
				has_dlc = "Waking the Tiger"
			}
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
			}
		}

		available = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				agency_upgrade_number > 4
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL}

		completion_reward = { 
			IF = {
				limit = { has_dlc = "La Resistance" }
				swap_ideas = {
					remove_idea = ITA_servizio_informazione_militare_ns
					add_idea = ITA_servizio_informazione_militare_banda_carita
				}
				ITA_create_padre_ildefonso_operative = yes
			}
			IF = {
				limit = {
					NOT = {
						has_dlc = "La Resistance"
					}
				}
				add_ideas = ITA_banda_carita_non_la_resistance
			}
			 

			custom_effect_tooltip = banda_carita_tt
			
		}
	}
	

	focus = {
		id = ITA_banda_koch
		icon = GFX_focus_generic_national_security
		prerequisite = { focus = ITA_banda_carita }

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

		allow_branch = {
			has_dlc = "La Resistance"
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
			}
		}

		available = {
			agency_upgrade_number > 9
		}

		search_filters = {}

		completion_reward = {
			swap_ideas = {
				remove_idea = ITA_servizio_informazione_militare_banda_carita
				add_idea = ITA_servizio_informazione_militare_banda_koch
			}
			ITA_create_pietro_koch_operative = yes
		}
	}


	focus = {
		id = ITA_security_militias
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = ITA_culto_del_duce }

		x = 6
		y = 1
		relative_position_id = ITA_culto_del_duce



		cost = 5
		available = {
			has_government = fascism
		}

		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			add_ideas = ITA_camicie_nere
			hidden_effect = {
				set_technology = {
					camicie_nere_security_militias = 1
					popup = no
				}
			}
			if = {
				limit = {
					NOT = { has_completed_focus = ITA_disband_the_blackshirts }
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = ITA_renato_ricci
			}
		}
	}

	focus = {
		id = ITA_battaglioni_d_assalto
		icon = GFX_focus_ITA_blackshirts
		prerequisite = { focus = ITA_security_militias }
		x = -1
		y = 1
		relative_position_id = ITA_security_militias



		cost = 10
		available = {
			has_government = fascism
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = ITA_battaglioni_d_assalto_tt
			hidden_effect = {
				set_technology = { blackshirt_assault_battalion_tech = 1 popup = no }
			}
		}
	}

	focus = {
		id = ITA_strengthen_the_blackshirts
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = ITA_security_militias }
		x = 2
		y = 0
		relative_position_id = ITA_battaglioni_d_assalto
		cost = 10
		available = {
			has_government = fascism
			any_owned_state = {
				is_core_of = ROOT
				is_fully_controlled_by = ROOT
			}
		}

		search_filters = {FOCUS_FILTER_MANPOWER}

		completion_reward = {
			swap_ideas = {
				remove_idea = ITA_camicie_nere
				add_idea = ITA_camicie_nere_strengthened
			}

			custom_effect_tooltip = ITA_strengthen_the_blackshirts_template_tt
			hidden_effect = {
				add_to_variable = { ITA_militias_cap = 12 }
				set_division_template_cap = {  division_template = "Camicie Nere" division_cap = ITA_militias_cap }

				add_units_to_division_template = {
					template_name = "Camicie Nere"
					support = { 
						artillery = 0
					}
				}
			}
			random_controlled_state = { #Create a few more Blackshirt Divs
				limit = {
					is_core_of = ROOT
					is_fully_controlled_by = ROOT
				}
				prioritize = { 2 }
				custom_effect_tooltip = ITA_strengthen_the_blackshirts_spawn_divs_tt
				hidden_effect = {
					create_unit = {
						division = "division_template = \"Camicie Nere\" start_experience_factor = 0.4 start_equipment_factor = 1.0"
						owner = ROOT
						count = 3
					}
				}
			}
		}
	}

	focus = {
		id = ITA_milizia_coloniale
		icon = GFX_focus_secret_rearmament
		prerequisite = { focus = ITA_battaglioni_d_assalto focus = ITA_strengthen_the_blackshirts }

		x = 1
		y = 1
		relative_position_id = ITA_battaglioni_d_assalto
		cost = 10
		available = {
			has_government = fascism
		}

		search_filters = {FOCUS_FILTER_MANPOWER}

		completion_reward = {
			if = {
				limit = {
					has_idea = ITA_camicie_nere_strengthened
				}
				swap_ideas = {
					remove_idea = ITA_camicie_nere_strengthened
					add_idea = ITA_camicie_nere_milizia_coloniale
				}
			}
			else = {
				swap_ideas = {
					remove_idea = ITA_camicie_nere
					add_idea = ITA_camicie_nere_milizia_coloniale
				}
			}
			custom_effect_tooltip = ITA_blackshirts_div_cap_12_tt
			hidden_effect = {
				add_to_variable = { ITA_militias_cap = 12 }
				set_division_template_cap = {  division_template = "Camicie Nere" division_cap = ITA_militias_cap }
			}
		}
	}

	focus = {
		id = ITA_towards_a_greater_italy
		icon = GFX_focus_ITA_greater_italy
		prerequisite = { focus = ITA_strengthen_the_regime }
		mutually_exclusive = { focus = ITA_mare_nostrum_bba }

		x = 0
		y = 1
		relative_position_id = ITA_strengthen_the_regime
		cost = 5



		bypass = {
			458 = { is_claimed_by = ROOT }
			665 = { is_claimed_by = ROOT }
			103 = { is_claimed_by = ROOT }
			105 = { is_claimed_by = ROOT }
			44 = { is_claimed_by = ROOT }
			805 = { is_claimed_by = ROOT }
		}

		available = {
			is_subject = no
		}

		search_filters = {}

		completion_reward = {
			#TODO_Manu: Need to do something here because it is super redundant with everything else

			custom_effect_tooltip = form_greater_italy_tt

			#TODO_Manu: What if Italian allies/subjects control these?

			#TODO_Manu: Re-arrange script so that tooltips are clearer
			#CLAIMS IN TUNISIA
			if = {
				limit = {
					458 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 458 #TUNISIA
			}
			if = {
				limit = {
					665 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 665 #GABÈS
			}

			#CLAIMS IN DALMATIAN COAST (Yugoslavia)
			if = {
				limit = {
					103 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 103 #DALMATIA
			}
			if = {
				limit = {
					105 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 105 #MONTENEGRO
			}

			#CLAIMS IN ALBANIA
			if = {
				limit = {
					44 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 44 #ALBANIA
			}
			if = {
				limit = {
					805 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 805 #NORTHERN EPIRUS
			}
		}
	}

	focus = {
		id = ITA_heroes_of_the_nation
		icon = GFX_focus_generic_military_dictatorship
		prerequisite = { focus = ITA_towards_a_greater_italy }
		prerequisite = { focus = ITA_devotion }
		mutually_exclusive = { focus = ITA_capo_supremo }
		x = -4
		y = 1
		relative_position_id = ITA_towards_a_greater_italy
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_AIR_XP FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_WAR_SUPPORT}

		completion_reward = {
			add_to_variable = { ITA_re_promote_cost_factor = -0.2 }
			add_to_variable = { ITA_re_command_power_gain_mult = 0.15 }
			custom_effect_tooltip = ITA_heroes_of_the_nation_re_tt

			army_experience = 25
			navy_experience = 25
			air_experience = 25
			add_war_support = 0.05

			if = {
				limit = {
					has_country_leader = {
						character = ITA_benito_mussolini
						ruling_only = yes
					}
				}
				swap_ruler_traits = {
					remove = il_duce_devotion
					add =  il_duce_heroes
				}
			}

			custom_effect_tooltip = ITA_heroes_of_the_nation_general_traits_tt
			#Stupid tooltips oh my god I hate this game
			hidden_effect = {
				if = {
					limit = {
						any_unit_leader = {
							NOT = { has_trait = war_hero }
							is_leading_army = yes
							skill > 3
						}
					}
					random_unit_leader = {
						limit = {
							NOT = { has_trait = war_hero }
							is_leading_army = yes
							skill > 3
						}
						add_unit_leader_trait = war_hero
					}
				}
				else = {
					random_unit_leader = {
						limit = {
							NOT = { has_trait = war_hero }
						}
						add_unit_leader_trait = war_hero
					}	
				}

				if = {
					limit = {
						any_unit_leader = {
							NOT = { has_trait = war_hero }
							is_leading_army = yes
							skill > 3
						}
					}
					random_unit_leader = {
						limit = {
							NOT = { has_trait = war_hero }
							is_leading_army = yes
							skill > 3
						}
						add_unit_leader_trait = war_hero
					}
				}
				else = {
					random_unit_leader = {
						limit = {
							NOT = { has_trait = war_hero }
						}
						add_unit_leader_trait = war_hero
					}	
				}

				if = {
					limit = {
						any_unit_leader = {
							NOT = { has_trait = war_hero }
							is_leading_army = yes
							skill > 3
						}
					}
					random_unit_leader = {
						limit = {
							NOT = { has_trait = war_hero }
							is_leading_army = yes
							skill > 3
						}
						add_unit_leader_trait = war_hero
					}
				}
				else = {
					random_unit_leader = {
						limit = {
							NOT = { has_trait = war_hero }
						}
						add_unit_leader_trait = war_hero
					}	
				}
			}
		}
	}

	focus = {
		id = ITA_capo_supremo
		icon = GFX_focus_ITA_capo_supremo
		prerequisite = { focus = ITA_towards_a_greater_italy }
		prerequisite = { focus = ITA_devotion }
		mutually_exclusive = { focus = ITA_heroes_of_the_nation }
		x = -2
		y = 1
		relative_position_id = ITA_towards_a_greater_italy
		cost = 10
		available = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			power_balance_value = {
				id = ITA_power_balance
				value > 0.949
			}
		}

		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER}

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						OR = {
							has_cosmetic_tag = greater_italy
							has_cosmetic_tag = SPQR_UNIFIED
						}
					}
				}
				set_cosmetic_tag = ITA_rsi
			}

			add_war_support = 0.05
			add_stability = -0.05
			add_political_power = 75
			add_command_power = 50
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_trait = capo_supremo

			custom_effect_tooltip = ITA_mussolini_becomes_field_marshal_tt #Has to start as unit leader so that you cannot give him traits via unit_leader events (missiolinis)

			hidden_effect = {
				ITA_benito_mussolini = {
					promote_leader = yes
					add_unit_leader_trait = old_guard
					add_unit_leader_trait = politically_connected
					add_unit_leader_trait = media_personality
					add_unit_leader_trait = harsh_leader
				}
			}

			ITA_remove_king_vittorio_emanuele_as_idea = yes

			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				if = {
					limit = {
						has_tech = super_heavy_tank_chassis
					}
					#SH template
					ITA_add_il_duce_sh_tank_template_and_production = yes
				}
				else = {
					add_tech_bonus = {
						name = ITA_capo_supremo
						ahead_reduction = 2
						bonus = 1.0
						uses = 1
						technology = super_heavy_tank_chassis
					}
					custom_effect_tooltip = ITA_focus_sh_tank_template_tt
					effect_tooltip = {
						ITA_add_il_duce_sh_tank_template_and_production = yes
					}
				}
			}
			else = {
				add_tech_bonus = {
					name = ITA_capo_supremo
					ahead_reduction = 2
					bonus = 1.0
					uses = 1
					technology = super_heavy_tank
					technology = super_heavy_td
					technology = super_heavy_art
					technology = super_heavy_spaa
				}
			}

			ITA_bop_very_low_increase_effect = yes

			#Names for NSs
			hidden_effect = {
				ITA_replace_stuff_based_on_ideology_effect = yes
			}
		}
	}

	focus = {
		id = ITA_bend_the_bars
		icon = GFX_focus_ITA_bend_the_bars
		prerequisite = { focus = ITA_towards_a_greater_italy }

		x = 0
		y = 1
		relative_position_id = ITA_towards_a_greater_italy
		cost = 1
		available = {
		}

		search_filters = {}

		completion_reward = {
			#CLAIM IN CORSICA
			if = {
				limit = {
					1 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 1 #CORSICA
			}

			#CLAIMS IN TUNISIA
			if = {
				limit = {
					458 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 458 #TUNISIA
			}
			if = {
				limit = {
					665 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 665 #GABÈS
			}

			#CLAIMS IN BRITISH ISLANDS
			if = {
				limit = {
					116 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 116 #MALTA
			}
			if = {
				limit = {
					183 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 183 #CYPRUS
			}
		}
	}

	focus = {
		id = ITA_subdue_the_sentinels
		icon = GFX_focus_ITA_subdue_the_sentinels
		prerequisite = { focus = ITA_bend_the_bars }

		x = -1
		y = 1
		relative_position_id = ITA_bend_the_bars
		cost = 1
		available = {
		}

		search_filters = {}

		completion_reward = {
			#CLAIMS IN GIBRALTAR AND SUEZ CANAL
			if = {
				limit = {
					118 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 118 #GIBRALTAR
			}
			if = {
				limit = {
					446 = { NOT = { is_claimed_by = ROOT } }
				}
				add_state_claim = 446 #CAIRO (Suez Canal)
			}
		}
	}

	focus = {
		id = ITA_a_colonial_empire
		icon = GFX_focus_ITA_a_colonial_empire
		prerequisite = { focus = ITA_bend_the_bars }

		x = 1
		y = 1
		relative_position_id = ITA_bend_the_bars
		cost = 1
		available = {
		}

		search_filters = {FOCUS_FILTER_MANPOWER}

		completion_reward = {
			add_to_variable = { ITA_re_non_core_manpower = 0.15 }
			custom_effect_tooltip = ITA_a_colonial_empire_re_tt

		#TODO_Manu: Really need code support for something like this
#			create_wargoal = {
#				type = take_state_focus
#				target = FRA
#				generator = { FRA.core_states }
#			}
#
#			create_wargoal = {
#				type = take_state_focus
#				target = FRA
#				generator = { ROOT.ITA_array_of_states }
#			}
#
#			create_wargoal = {
#				type = take_state_focus
#				target = FRA
#				generator = {
#					all_states = yes
#					limit_to_claimed_by_root = yes
#					limit_to_cores_by_root = yes
#					limit_to_cored_by_target = yes
#					limit_to_non_cored_by_target = yes
#				}
#			}

			custom_effect_tooltip = ITA_a_colonial_empire_claims_tt
			every_state = {
				limit = {
					OR = {
						is_core_of = EGY
						is_core_of = KEN
						is_core_of = SUD
						is_core_of = SOM
						is_core_of = DJI
						is_core_of = ETH
						is_core_of = ERI
						is_core_of = UGA
					}
					NOT = { is_owned_by = ROOT }
					NOT = { is_claimed_by = ROOT }
				}
				hidden_effect ={
					ROOT = { add_state_claim = PREV }
				}
				custom_effect_tooltip = generic_ROOT_gains_claim_tt
			}
		}
	}

	focus = {
		id = ITA_by_blood_alone
		icon = GFX_focus_ITA_by_blood_alone
		prerequisite = { focus = ITA_a_colonial_empire }
        prerequisite = { focus = ITA_subdue_the_sentinels }
		x = -1
		y = 1
		relative_position_id = ITA_a_colonial_empire
		cost = 10
		available = {
		}

		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT}

		completion_reward = {
			# REGIO ESERCITO
			add_to_variable = { ITA_re_army_morale_factor = 0.05 }
			add_to_variable = { ITA_re_conscription_factor = 0.05 }
			add_to_variable = { ITA_re_army_attack_factor = 0.05 }
			custom_effect_tooltip = ITA_by_blood_alone_re_tt

			#REGIA AERONAUTICA
			add_to_variable = { ITA_ra_air_superiority_bonus_in_combat = 0.05 }
			custom_effect_tooltip = ITA_by_blood_alone_ra_tt

			#REGIA MARINA
			add_to_variable = { ITA_rm_naval_morale_factor = 0.05 }
			custom_effect_tooltip = ITA_by_blood_alone_rm_tt

			if = {
				limit = {
					NOT = { has_rule = can_use_kamikaze_pilots }
				}
				set_rule = { can_use_kamikaze_pilots = yes }
			}
		}
	}


	focus = {
		id = ITA_mare_nostrum_bba
		icon = GFX_focus_ITA_mare_nostrum
		prerequisite = { focus = ITA_strengthen_the_regime }
		mutually_exclusive = { focus = ITA_towards_a_greater_italy }
		x = 5
		y = 0

		relative_position_id = ITA_towards_a_greater_italy
		cost = 5
		available = {

		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}			
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			add_tech_bonus = { #Changed to require the tech to complete this focus, and give template and production line
				name = ITA_mare_nostrum_bba
				ahead_reduction = 2
				bonus = 1.0
				uses = 1
				technology = super_heavy_tank_chassis
			}
			add_tech_bonus = { #Changed to require the tech to complete this focus, and give template and production line
				name = ITA_mare_nostrum_bba
				ahead_reduction = 2
				bonus = 1.0
				uses = 1
				category = heavy_air
			}
			#add_tech_bonus = { #Changed to require the tech to complete this focus, and give template and production line
				#name = ITA_mare_nostrum_bba
				#bonus = 1.0
				#uses = 1
				#technology = ship_hull_super_heavy
			#}

			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.75
			}

			if = {
				limit = {
					has_rule = can_only_justify_war_on_threat_country
				}
				set_rule = { can_only_justify_war_on_threat_country = no }
			}
			if = {
				limit = {
					NOT = { has_rule = can_declare_war_on_same_ideology }
				}
				set_rule = { can_declare_war_on_same_ideology = yes }
			}
			if = {
				limit = {
					NOT = { has_rule = can_send_volunteers }
				}
				set_rule = { can_send_volunteers = yes }
			}
		}
	}

	focus = {
		id = ITA_auxiliaries
		icon = GFX_focus_ETH_peacekeeping_forces
		prerequisite = { focus = ITA_mare_nostrum_bba }

		x = -2
		y = 1
		relative_position_id = ITA_mare_nostrum_bba
		cost = 5
		available = {
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = ITA_ITA_auxiliaries_re_tt
			add_to_variable = { ITA_re_modifier_army_sub_unit_militia_speed_factor = 0.05 }
			add_to_variable = { ITA_re_modifier_army_sub_unit_militia_attack_factor = 0.03 }

			custom_effect_tooltip = ITA_blackshirts_div_cap_12_tt
			hidden_effect = {
				add_to_variable = { ITA_militias_cap = 12 }
				set_division_template_cap = {  division_template = "Camicie Nere" division_cap = ITA_militias_cap }
			}
		}
	}

	focus = {
		id = ITA_the_italian_legions
		icon = GFX_focus_generic_fascist_troops
		prerequisite = { focus = ITA_mare_nostrum_bba }

		x = 0
		y = 1
		relative_position_id = ITA_mare_nostrum_bba
		cost = 5
		available = {
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = ITA_the_italian_legions_re_tt
			add_to_variable = { ITA_re_army_core_defence_factor = 0.05 }
			add_to_variable = { ITA_re_army_speed_factor = 0.05 }
			add_to_variable = { ITA_re_max_command_power_mult = 0.15 }
		}
	}

	focus = {
		id = ITA_new_roman_citizens
		icon = GFX_focus_ETH_invite_italian_settlers
		prerequisite = { focus = ITA_mare_nostrum_bba }

		x = 2
		y = 1
		relative_position_id = ITA_mare_nostrum_bba
		cost = 5
		available = {
		}

		search_filters = {}

		completion_reward = {
			every_controlled_state = {
				limit = {
					resistance > 0
					is_fully_controlled_by = ROOT
				}
				add_compliance = 5
				add_resistance_target = -10
			}
		}
	}

	focus = {
		id = ITA_all_roads_lead_to_rome
		icon = GFX_focus_generic_spread_fascism
		prerequisite = { focus = ITA_the_italian_legions }

		x = 0
		y = 1
		relative_position_id = ITA_the_italian_legions
		cost = 5
		available = {
			has_full_control_of_state = 2
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			custom_effect_tooltip = ITA_all_roads_lead_to_rome_iri_tt
			add_to_variable = { ITA_iri_production_speed_infrastructure_factor = 0.1 }

			custom_effect_tooltip = ITA_all_roads_lead_to_rome_re_tt
			add_to_variable = { ITA_re_supply_node_range = 0.1 }

		}
	}

	focus = {
		id = ITA_the_king_of_the_skies
		icon = GFX_focus_generic_long_range_aircraft
		prerequisite = { focus = ITA_all_roads_lead_to_rome }

		x = -2
		y = 1
		relative_position_id = ITA_all_roads_lead_to_rome
		cost = 5
		available = {
			has_full_control_of_state = 2
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				has_tech = advanced_large_airframe
				has_tech = engines_4
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}			
			add_tech_bonus = {
				name = ITA_the_king_of_the_skies
				ahead_reduction = 2
				bonus = 1.0
				uses = 1
				category = heavy_air
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = ITA_the_king_of_the_skies_military_industry_dm_tt
				hidden_effect = {
					add_ideas = ITA_hidden_super_heavy_aircraft_ns
				}

				ITA_add_the_king_of_the_skies_template_production_and_wing = yes
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = ITA_modify_regia_aeronautica_dynamic_modifier_ns_intro
				if = {
					limit = {
						NOT = { is_special_project_completed = sp_air_intercontinental_bomber }
					}
					add_to_variable = { 
						ITA_ra_sp_air_intercontinental_bomber_speed_factor = 0.2
						tooltip = sp_air_intercontinental_bomber_speed_factor_tt
					}
				}
				if = {
					limit = {
						NOT = { is_special_project_completed = sp_air_mothership_aircraft }
					}
					add_to_variable = { 
						ITA_ra_sp_air_mothership_aircraft_speed_factor = 0.2
						tooltip = sp_air_mothership_aircraft_speed_factor_tt
					}
				}
			}
		}
	}

	focus = {
		id = ITA_modern_musculus
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = ITA_all_roads_lead_to_rome }

		x = 0
		y = 1
		relative_position_id = ITA_all_roads_lead_to_rome
		cost = 5
		available = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = super_heavy_tank_chassis
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = ITA_modern_musculus_military_industry_dm_tt
				hidden_effect = {
					add_ideas = ITA_hidden_super_heavy_tank_ns
				}
				
				ITA_add_modern_musculus_sh_tank_template_and_production = yes
			}
			else = {
				add_tech_bonus = {
					name = ITA_modern_musculus
					ahead_reduction = 2
					bonus = 1.0
					uses = 1
					technology = super_heavy_tank
					technology = super_heavy_td
					technology = super_heavy_art
					technology = super_heavy_spaa
					}
				}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				if = {
					limit = {
						NOT = { is_special_project_completed = sp_land_land_cruiser }
			}			
					custom_effect_tooltip = ITA_modify_regio_esercito_dynamic_modifier_ns_intro
					add_to_variable = { 
						ITA_re_sp_land_land_cruiser_speed_factor = 0.2
						tooltip = sp_land_land_cruiser_speed_factor_tt
					}
				}
			}			
		}
	}

	focus = {
		id = ITA_caligulas_pride
		icon = GFX_focus_generic_navy_battleship2
		prerequisite = { focus = ITA_all_roads_lead_to_rome }

		x = 2
		y = 1
		relative_position_id = ITA_all_roads_lead_to_rome
		cost = 5
		available = {
			is_special_project_completed = sp:sp_naval_super_heavy_battleship
			#if = {
				#limit = {
					#has_dlc = "Man the Guns"
				#}
				#has_tech = ship_hull_super_heavy
			#}
			#else = {
				#has_tech = heavy_battleship
			#}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					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
				}
			}			
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = ITA_caligulas_pride
					ahead_reduction = 2
					bonus = 1.0
					uses = 1
					category = bb_tech
					category = bc_tech
					category = cat_ship_heavy_battery
				}
				custom_effect_tooltip = ITA_caligulas_pride_military_industry_dm_tt
				hidden_effect = {
					add_ideas = ITA_hidden_super_heavy_bb_ns
				}

				create_equipment_variant = {
					name = "Neptunus Class"
					type = ship_hull_super_heavy_1
					name_group = ITA_BB_HISTORICAL
					parent_version = 0
					allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
					modules = {
						front_1_custom_slot = ship_anti_air_2
						front_2_custom_slot = ship_super_heavy_battery_1
						mid_1_custom_slot = ship_secondaries_2
						mid_2_custom_slot = ship_secondaries_2
						mid_3_custom_slot = ship_anti_air_2
						rear_1_custom_slot = ship_super_heavy_battery_1
						rear_2_custom_slot = ship_airplane_launcher_2
						fixed_ship_battery_slot = ship_super_heavy_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_fire_control_system_slot = ship_fire_control_system_1
						fixed_ship_radar_slot = ship_radar_1
						fixed_ship_engine_slot = heavy_ship_engine_3
						fixed_ship_secondaries_slot = dp_ship_secondaries_2
						fixed_ship_armor_slot = ship_armor_shbb
					}
				}

				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_super_heavy_1
						creator = "ITA"
						version_name = "Neptunus Class"
					}
					name = "Neptunus"
					requested_factories = 2
					progress = 0.75
					amount = 1
				}
			}
			else = {
				if = {
					limit = {
						NOT = { has_tech = heavy_battleship2 }
					}
					add_tech_bonus = {
						name = ITA_caligulas_pride
						ahead_reduction = 2
						bonus = 1.0
						uses = 1
						category = shbb_tech
					}
				}

				create_equipment_variant = {
					name = "Neptunus Class"
					type = SH_battleship_1
					allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
					upgrades = {
						ship_reliability_upgrade = 2
						ship_engine_upgrade = 2
						ship_armor_upgrade = 3
						ship_gun_upgrade = 3
					}
				}

				#Line Production
				add_equipment_production = {
					equipment = {
						type = SH_battleship_1
						creator = "ITA"
						version_name = "Neptunus Class"
					}
					name = "Neptunus"
					requested_factories = 2
					progress = 0.6
					amount = 1
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.5
			}

			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				if = {
					limit = {
						NOT = { is_special_project_completed = sp_naval_ice_carrier }
					}
					custom_effect_tooltip = ITA_modify_regia_marina_dynamic_modifier_ns_intro
					add_to_variable = { 
						ITA_rm_sp_naval_ice_carrier_speed_factor = 0.2
						tooltip = sp_naval_ice_carrier_speed_factor_tt
					}
				}
			}
		}
	}


########  #######  ########  ######## ####  ######   ##    ##    ########   #######  ##       #### ######## ####  ######   ######     ########  ####  ######   ##     ## ######## 
##       ##     ## ##     ## ##        ##  ##    ##  ###   ##    ##     ## ##     ## ##        ##     ##     ##  ##    ## ##    ##    ##     ##  ##  ##    ##  ##     ##    ##    
##       ##     ## ##     ## ##        ##  ##        ####  ##    ##     ## ##     ## ##        ##     ##     ##  ##       ##          ##     ##  ##  ##        ##     ##    ##    
######   ##     ## ########  ######    ##  ##   #### ## ## ##    ########  ##     ## ##        ##     ##     ##  ##        ######     ########   ##  ##   #### #########    ##    
##       ##     ## ##   ##   ##        ##  ##    ##  ##  ####    ##        ##     ## ##        ##     ##     ##  ##             ##    ##   ##    ##  ##    ##  ##     ##    ##    
##       ##     ## ##    ##  ##        ##  ##    ##  ##   ###    ##        ##     ## ##        ##     ##     ##  ##    ## ##    ##    ##    ##   ##  ##    ##  ##     ##    ##    
##        #######  ##     ## ######## ####  ######   ##    ##    ##         #######  ######## ####    ##    ####  ######   ######     ##     ## ####  ######   ##     ##    ##    


	focus = {
		id = ITA_foreign_affairs
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = ITA_triumph_in_africa_bba }

		allow_branch = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
			}
		}

		x = 11
		y = 1

		relative_position_id = ITA_triumph_in_africa_bba
		cost = 5
		available = {
		}

		search_filters = {FOCUS_FILTER_POLITICAL}

		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ITA_gian_galeazzo_ciano

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = ITA_foreign_affairs_focus_lock_tt
			}
		}
	}

	

	focus = {
		id = ITA_albanian_occupation
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = ITA_foreign_affairs }
        x = -1
		y = 1
		relative_position_id = ITA_foreign_affairs
		cost = 5
		available = {

		}

		bypass = {
			44 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}

		search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER}

		completion_reward = {
			if = {
				limit = {
					ALB = { has_war = no }
				}
				ALB = { country_event = { id = italy.3 hours = 1 } }
			}
			else = {
				create_wargoal = {
					type = take_state_focus
					target = ALB
					generator = { 44 }
				}
			}

			effect_tooltip = {
				custom_effect_tooltip = if_they_accept_tt
				annex_country = { target = ALB }
				every_state = {
				limit = {
					is_core_of = ALB
					}
				add_core_of = ITA
			}
				add_named_threat = { threat = 2 name = ITA_albania_war_goal }
				# The king is an idea
				if = {
					limit = {
						has_idea = vittorio_emanuele
					}
					swap_ideas = {
						remove_idea = vittorio_emanuele
						add_idea = vittorio_emanuele_king_of_albania
					}
				}
				else_if = {
					limit = {
						has_idea = vittorio_emanuele_emperor_of_ethiopia
					}
					swap_ideas = {
						remove_idea = vittorio_emanuele_emperor_of_ethiopia
						add_idea = vittorio_emanuele_albania_ethiopia
					}
				}
				if = {
					limit = {
				 		has_character = ITA_vittorio_emanuele_iii
					}
					ITA_vittorio_emanuele_iii = { add_country_leader_trait = king_of_albania }
			    }			
			}
		}
	}

	focus = {
		id = ITA_albanian_oil
		icon = GFX_goal_generic_oil_refinery
        prerequisite = { focus = ITA_albanian_occupation }
		x = -1
		y = 1
		relative_position_id = ITA_albanian_occupation
		cost = 5
		available = {
			44 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			has_tech = synth_oil_experiments
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			44 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = synthetic_refinery
					level = 3
					instant_build = yes
				}
				add_resource = {
					type = oil
					amount = 16
				}
			}
		}
	}

	focus = {
		id = ITA_pact_of_steel
		icon = GFX_goal_support_fascism
		prerequisite = { focus = ITA_foreign_affairs }
		x = 0
		y = 2
		relative_position_id = ITA_foreign_affairs
		cost = 5

		bypass = {
		}

		available = {
			NOT = { has_war_with = GER }
			custom_trigger_tooltip = {
				tooltip = ITA_germ_italy_same_tt
				GER = { has_government = ROOT }
			}
			GER = {
				is_faction_leader = yes
				is_subject = no
			}
			is_subject = no
			NOT = { has_country_flag = ENG_ditched_by_the_germans_flag }
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}

		completion_reward = {
			GER = {
				add_opinion_modifier = { target = ITA modifier = pact_of_steel_opinion }
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.184 }
			}
			add_timed_idea = {
				idea = ITA_pact_of_steel
				days = 365
			}
		}
	}

	focus = {
		id = ITA_german_military_cooperation
		icon = GFX_focus_ger_oppose_hitler
		prerequisite = { focus = ITA_pact_of_steel }

		x = -1
		y = 1
		relative_position_id = ITA_pact_of_steel
		cost = 5
		available = {
			NOT = { has_war_with = GER }
			NOT = { has_country_flag = ENG_ditched_by_the_germans_flag }
		}

		search_filters = {FOCUS_FILTER_AIR_XP FOCUS_FILTER_ARMY_XP}

		completion_reward = {
			add_ideas = ITA_german_millitary_cooperation_focus
		}
	}

	focus = {
		id = ITA_sea_wolves_bba
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = ITA_pact_of_steel }

		x = 0
		y = 2
		relative_position_id = ITA_pact_of_steel
		cost = 5
		available = {
			NOT = { has_country_flag = ENG_ditched_by_the_germans_flag }
		}
		
		search_filters = {FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = ITA_sea_wolves_bba
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
			add_doctrine_cost_reduction = {
				name = ITA_sea_wolves_bba
				cost_reduction = 0.5
				uses = 2
				category = submarine_doctrine
			}
		}
	}

	focus = {
		id = ITA_treaty_with_germany
		icon = GFX_focus_generic_diplomatic_treaty
		prerequisite = { focus = ITA_pact_of_steel }

		x = 1
		y = 1
		relative_position_id = ITA_pact_of_steel
		cost = 5
		available = {
			NOT = { has_country_flag = ENG_ditched_by_the_germans_flag }
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			GER = {
				country_event = { id = italy.5 days = 1 }
				custom_effect_tooltip = needs_approval
			}
			# Actual reward effects added in event if Soviets approve
			effect_tooltip = {
				add_tech_bonus = {
					name = synth_bonus
					bonus = 1.0
					uses = 1
					category = synth_resources
				}
				# Balance research bonus to 2 techs in armor, also in event
				add_tech_bonus = {
					name = armor_bonus
					bonus = 1.0
					uses = 2
					category = armor
				}
			}
		}
	}

	

	focus = {
		id = ITA_italian_irredentism
		icon = GFX_focus_ITA_italian_irredentism
		prerequisite = { focus = ITA_foreign_affairs }

		x = 2
		y = 1
		relative_position_id = ITA_foreign_affairs
		cost = 1
		available = {
        date > 1937.06.15
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}

		completion_reward = {
			add_collaboration = {
				target = YUG
				value = 1
			}
			add_political_power = 50
			add_war_support = 0.03
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			YUG = {
				every_owned_state = {
					limit = {
						is_core_of = PREV
						is_on_continent = europe
					}
					ROOT = {
						add_state_claim = PREV
					}
				}
			}
			annex_country = { target = YUG }
		}
	}

	focus = {
		id = ITA_war_with_greece
		icon = GFX_focus_generic_attack_greece
		prerequisite = { focus = ITA_italian_irredentism }
		x = 0
		y = 1
		relative_position_id = ITA_italian_irredentism
		cost = 1

		available = {
        date > 1938.03.01
		}

		will_lead_to_war_with = GRE

		search_filters = {}

		completion_reward = {
			add_collaboration = {
				target = GRE
				value = 1
			}
			GRE = {
				every_owned_state = {
					limit = {
						is_core_of = PREV
						is_on_continent = europe
					}
					ROOT = {
						add_state_claim = PREV
					}
				}
			}
			annex_country = { target = GRE }
		}
	}

}
