###DEBUG STUFF

debug_decisions = {
	DEBUG_activate_missiolinis_system = {
		priority = 999
		allowed = {
			tag = ITA
		}

		visible = {
			NOT = { has_country_flag = ITA_missiolinis_system_active_flag }
			is_debug = yes
		}

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

		complete_effect = {
			ITA_missiolinis_initialize_missiolinis_system = yes
			log = "Will mess the sync between between the initial missions to Conquer/Hold Ethiopia for ETH and ITA"
			ITA_benito_mussolini = { unit_leader_event = BBA_italo_ethiopian_war_events.01 } #This event initializes the system
		}
	}

	DEBUG_deactivate_missiolinis_system = {
		priority = 999
		allowed = {
			tag = ITA
		}

		visible = {
			has_country_flag = ITA_missiolinis_system_active_flag
			is_debug = yes
		}

		complete_effect = {
			clr_country_flag = ITA_missiolinis_system_active_flag
			log = "Deactivates Missiolinis system"
		}
	}

	DEBUG_manu_tests = {
		priority = 100
		allowed = {
			OR = {
				original_tag = ITA
				tag = RSI
				tag = RDS
			}
		}

		visible = {
			is_debug = yes
		}

		available = {
			has_country_flag = ITA_defeat_in_ethiopia_flag 
			has_country_flag = ITA_victory_in_ethiopia_flag
		}

		complete_effect = {
			ITA_set_up_character_cw_flags_effect = yes
			#activate_mission = ITA_conquer_the_north_mission
			#activate_mission = ITA_conquer_the_south_mission

			#activate_mission = ITA_conquer_the_north_mission
			#activate_mission = ITA_conquer_the_south_mission

			#ITA_create_francesco_de_martini_operative = yes
			#ITA_create_paolo_caccia_dominioni_operative = yes
			#ITA_create_rosa_dainelli_operative = yes
			#ITA_create_padre_ildefonso_operative = yes
			#ITA_create_pietro_koch_operative = yes
			#ITA_create_carmelo_borg_pisani_operative = yes
			#ITA_create_maurizio_giglio_operative = yes
			#ITA_create_emilio_faldella_operative = yes
			#ITA_create_edgardo_sogno_operative = yes
			#ITA_create_laura_garroni_operative = yes
			#ITA_create_stefanina_moro_operative = yes
			#ITA_create_hugh_o_flaherty_operative = yes

			#ITA_benito_mussolini = { unit_leader_event = BBA_italy_missiolinis.61 }

			#set_variable = { trucks_stored = num_equipment@motorized_equipment_1 }
			#log = "TRUCKS: [?trucks_stored]"

			#activate_mission = ITA_conquer_the_north_mission
			#activate_mission = ITA_conquer_the_south_mission
		}
	}

	DEBUG_initiate_BOP = {
		priority = 100

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_any_power_balance = no
			is_debug = yes
		}

		complete_effect = {
			ITA_initiate_balance_of_power_effect = yes
		}
	}
}


ETH_second_italo_ethiopian_war_category = {
	ITA_withdraw_from_ethiopia = {
		priority = -10
		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_global_flag = second_italo_ethiopian_war_flag
		}

		available = {
			OR = {
				date > 1937.01.01
				NOT = { has_full_control_of_state = 550 } #ERITREA
				NOT = { has_full_control_of_state = 559 } #SOMALILAND
				NOT = { has_full_control_of_state = 844 } #JUBALAND
			}
		}

		cost = 15

		fire_only_once = yes

		complete_effect = {
			ETH = {
				country_event = { id = BBA_italy_second_italo_ethiopian_war.1 hours = 1 }
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				custom_effect_tooltip = ITA_transfer_lost_states_tt
				white_peace = ETH

				ITA_manage_italian_defeat_in_ethiopia_effect = yes
			}
		}

		ai_will_do = {
			base = 0
			modifier = {
				add = 10
				NOT = { has_full_control_of_state = 550 } #ERITREA
			}
			modifier = {
				add = 10
				NOT = { has_full_control_of_state = 559 } #SOMALILAND
			}
			modifier = {
				add = 5
				NOT = { has_full_control_of_state = 844 } #JUBALAND
			}
			modifier = {
				factor = 100
				NOT = { has_full_control_of_state = 550 } #ERITREA
				NOT = { has_full_control_of_state = 559 } #SOMALILAND
				NOT = { has_full_control_of_state = 844 } #JUBALAND
			}
			modifier = {
				factor = 0.5
				any_controlled_state = {
					is_core_of = ETH
				}
			}
			modifier = {
				factor = 0
				date < 1937.03.01
			}
		}
	}
}


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


### MISSIOLINIS
ITA_missiolinis = {
	DEBUG_MISSIOLINIS_FASTER_TACK = {
		priority = 100
		allowed = {
			tag = ITA
		}

		visible = {
			is_debug = yes
			NOT = { has_country_flag = ITA_missiolinis_faster_missions_flag }
		}

		complete_effect = {
			set_country_flag = ITA_missiolinis_faster_missions_flag

			set_variable = { ITA_missiolinis_conquer_ethiopia_days = 3 }
			set_variable = { ITA_missiolinis_pacify_ethiopia_days = 3 }
			set_variable = { ITA_missiolinis_default_days = 3 }
		}
	}

	DEBUG_MISSIOLINIS_BACK_TO_NORMAL = {
		priority = 100
		allowed = {
			tag = ITA
		}

		visible = {
			is_debug = yes
			has_country_flag = ITA_missiolinis_faster_missions_flag
		}

		complete_effect = {
			clr_country_flag = ITA_missiolinis_faster_missions_flag

			set_variable = { ITA_missiolinis_conquer_ethiopia_days = 170 }
			set_variable = { ITA_missiolinis_pacify_ethiopia_days = 720 }
			set_variable = { ITA_missiolinis_default_days = 350 }
		}
	}

	# Hold the north "dummy" mission for Italy
	ITA_conquer_the_north_mission = {
		icon = GFX_decision_generic_operation

		allowed = {
			tag = ITA
		}

		available = { #GOAL
			OR = {
				has_country_flag = ITA_victory_in_ethiopia_flag
				count_triggers = {
					amount = 2
					# 841 = { is_controlled_by = ROOT }
					# 842 = { is_controlled_by = ROOT }
					# 843 = { is_controlled_by = ROOT }
					controls_province = 1984
					controls_province = 2072
					controls_province = 5097
				}
			}
		}

		activation = {
			always = no
		}

		visible = {
			ITA_missiolinis_system_available = yes
			has_global_flag = second_italo_ethiopian_war_flag
			NOT = { has_country_flag = ITA_victory_in_ethiopia_flag } #If Italy peaces out with ETH, the mission just cancels instead of failing
		}

		highlight_states = {
			highlight_state_targets = {
				state = 841 #BEGEMDER
				state = 842 #TIGRAY
				state = 843 #WELLO
			}
			#highlight_provinces = {
			#	1984
			#	#2072
			#	#5097
			#}
			highlight_color_while_active = 3
			highlight_color_before_active = 2
		}

		#highlight_states = {
		#	highlight_states_trigger = {
		#		OR = {
		#			state = 841 #BEGEMDER
		#			state = 842 #TIGRAY
		#			state = 843 #WELLO
		#		}
		#	}
		#	highlight_color_while_active = 2
		#}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		fire_only_once = yes
		selectable_mission = no
		days_mission_timeout = ETH.ETH_hold_the_north_time

		cancel_effect = {
			if = { #MISSION SUCCEEDED
				limit = {
					OR = {
						has_country_flag = ITA_victory_in_ethiopia_flag
						count_triggers = {
							amount = 2
							# 841 = { is_controlled_by = ROOT }
							# 842 = { is_controlled_by = ROOT }
							# 843 = { is_controlled_by = ROOT }
							controls_province = 1984
							controls_province = 2072
							controls_province = 5097
						}
						hidden_trigger = {
							NOT = { has_global_flag = second_italo_ethiopian_war_flag }
							hidden_trigger = { NOT = { has_country_flag = ITA_defeat_in_ethiopia_flag } }
						}
					}
				}
				country_event = { id = BBA_italy_missiolinis.03_north hours = 1 }
			}
			else = { #MISSION FAILED
				#Prepare next mission
				if = {
					limit = {
						NOT = { has_active_mission = ITA_conquer_the_south_mission }
						ITA_missiolinis_system_available = yes
					}
					ITA_missiolinis_manage_next_mission = yes
				}

				if = {
					limit = {
						NOT = { has_country_flag = ITA_missiolini_conquer_the_south_failed_flag }
					}
					set_country_flag = ITA_missiolini_conquer_the_north_failed_flag
					#log = "Adding North flag"
				}

				country_event = { id = BBA_italy_missiolinis.02_north hours = 1 }
			}
		}

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_progress_in_ethiopia_failure_effect = yes
			}

			hidden_effect = {
				#Prepare next mission
				if = {
					limit = {
						NOT = { has_active_mission = ITA_conquer_the_south_mission }
						ITA_missiolinis_system_available = yes
					}
					ITA_missiolinis_manage_next_mission = yes
				}

				if = {
					limit = {
						NOT = { has_country_flag = ITA_missiolini_conquer_the_south_failed_flag }
					}
					set_country_flag = ITA_missiolini_conquer_the_north_failed_flag
					#log = "Adding North flag"
				}

				country_event = { id = BBA_italy_missiolinis.02_north hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_progress_in_ethiopia_success_effect = yes
			}

			hidden_effect = {
				#Prepare next mission
				if = {
					limit = {
						NOT = { has_active_mission = ITA_conquer_the_south_mission }
						ITA_missiolinis_system_available = yes
					}
					ITA_missiolinis_manage_next_mission = yes
				}

				if = {
					limit = {
						NOT = { has_country_flag = ITA_missiolini_conquer_the_south_succeeded_flag }
					}
					set_country_flag = ITA_missiolini_conquer_the_north_succeeded_flag
				}

				country_event = { id = BBA_italy_missiolinis.03_north hours = 1 }
			}
		}
	}

	# Hold the south "dummy" mission for Italy
	ITA_conquer_the_south_mission = {
		icon = GFX_decision_generic_operation
		allowed = { tag = ITA }

		available = { #GOAL
			OR = {
				has_country_flag = ITA_victory_in_ethiopia_flag
				count_triggers = {
					amount = 2
					# 835 = { is_controlled_by = ROOT }
					# 836 = { is_controlled_by = ROOT }
					# 837 = { is_controlled_by = ROOT }
					controls_province = 12812
					controls_province = 10775
					controls_province = 13247
				}
			}
		}

		activation = {
			always = no
		}

		visible = {
			ITA_missiolinis_system_available = yes
			has_global_flag = second_italo_ethiopian_war_flag
			NOT = { has_country_flag = ITA_victory_in_ethiopia_flag } #If Italy peaces out with ETH, the mission just cancels instead of failing
		}

		highlight_states = {
			highlight_states_trigger = {
				OR = {
					state = 835 #HARARGHE
					state = 836 #BALE
					state = 837 #SIDAMO
				}
			}
			highlight_color_while_active = 2
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		fire_only_once = yes
		selectable_mission = no
		days_mission_timeout = ETH.ETH_hold_the_south_time

		cancel_effect = {
			if = { #MISSION SUCCEEDED
				limit = {
					OR = {
						has_country_flag = ITA_victory_in_ethiopia_flag
						count_triggers = {
							amount = 2
							# 835 = { is_controlled_by = ROOT }
							# 836 = { is_controlled_by = ROOT }
							# 837 = { is_controlled_by = ROOT }
							controls_province = 12812
							controls_province = 10775
							controls_province = 13247
						}
						hidden_trigger = {
							NOT = { has_global_flag = second_italo_ethiopian_war_flag }
							hidden_trigger = { NOT = { has_country_flag = ITA_defeat_in_ethiopia_flag } }
						}
					}
				}
				country_event = { id = BBA_italy_missiolinis.05_south hours = 1 }
			}
			else = { #MISSION FAILED
				if = {
					limit = {
						NOT = { has_country_flag = ITA_missiolini_conquer_the_north_failed_flag }
					}
					set_country_flag = ITA_missiolini_conquer_the_south_failed_flag
					#log = "Adding South flag"
				}

				country_event = { id = BBA_italy_missiolinis.04_south hours = 1 }
			}
		}

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_progress_in_ethiopia_failure_effect = yes
			}

			hidden_effect = {
				#Prepare next mission
				if = {
					limit = {
						NOT = { has_active_mission = ITA_conquer_the_south_mission }
						ITA_missiolinis_system_available = yes
					}
					ITA_missiolinis_manage_next_mission = yes
				}

				if = {
					limit = {
						NOT = { has_country_flag = ITA_missiolini_conquer_the_north_failed_flag }
					}
					set_country_flag = ITA_missiolini_conquer_the_south_failed_flag
					#log = "Adding South flag"
				}
				country_event = { id = BBA_italy_missiolinis.04_south hours = 1 } #Triggered one hour later for event options purposes
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_progress_in_ethiopia_success_effect = yes
			}

			hidden_effect = {
				#Prepare next mission
				if = {
					limit = {
						NOT = { has_active_mission = ITA_conquer_the_south_mission }
						ITA_missiolinis_system_available = yes
					}
					ITA_missiolinis_manage_next_mission = yes
				}

				if = {
					limit = {
						NOT = { has_country_flag = ITA_missiolini_conquer_the_north_succeeded_flag }
					}
					set_country_flag = ITA_missiolini_conquer_the_south_succeeded_flag
				}

				country_event = { id = BBA_italy_missiolinis.05_south hours = 1 }
			}
		}
	}

	# Conquer Ethiopia
	ITA_missiolini_conquer_ethiopia = {
		icon = GFX_decision_generic_prepare_civil_war
		allowed = { tag = ITA }

		visible = {
			ITA_missiolinis_system_available = yes
			hidden_trigger = { NOT = { has_country_flag = ITA_defeat_in_ethiopia_flag } }
		}

		available = { #GOAL
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
			hidden_trigger = { NOT = { has_country_flag = ITA_defeat_in_ethiopia_flag } }
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		fire_only_once = yes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_conquer_ethiopia_days

		cancel_effect = {
			if = { #Succeeded
				limit = {
					NOT = { has_country_flag = ITA_defeat_in_ethiopia_flag }
				}
				country_event = { id = BBA_italy_missiolinis.13 hours = 1 }
			}
			else = { #Failed
				country_event = { id = BBA_italy_missiolinis.12 hours = 1 }
			}
		}

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_conquer_ethiopia_failure_effect = yes
			}

			hidden_effect = {
				#Prepare next mission
				ITA_missiolinis_manage_next_mission = yes

				country_event = { id = BBA_italy_missiolinis.12 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_conquer_ethiopia_success_effect = yes
			}

			hidden_effect = {
				#Prepare next mission
				ITA_missiolinis_manage_next_mission = yes

				country_event = { id = BBA_italy_missiolinis.13 hours = 1 }
			}
		}
	}

	# Pacify Ethiopia - BBA
	ITA_missiolini_pacify_ethiopia = {
		icon = GFX_decision_generic_police_action
		allowed = {
			tag = ITA
			#has_dlc = "By Blood Alone"
		}

		available = { #GOAL
			custom_trigger_tooltip = {
				tooltip = ITA_pacify_ethiopia_goal_tt
				all_of_scopes = {
					array = ITA_initial_ethiopian_states
					OR = {
						compliance > 60 #WARNING THIS VALUE NEEDS TO MATCH THE ONE IN EVENT TRIGGER
						controller = { is_subject_of = ROOT }
					}
				}
			}
		}

		activation = {
			always = no
		}

		visible = {
			has_global_flag = second_italo_ethiopian_war_flag
		}

		#cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		fire_only_once = yes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_pacify_ethiopia_days

		cancel_trigger = {
			hidden_trigger = { ITA_missiolinis_system_available = no }
		}

		cancel_effect = {
			if = { #Succeeded
				limit = {
					all_of_scopes = {
						array = ITA_initial_ethiopian_states
						is_owned_by = ROOT
					}
				}
				country_event = { id = BBA_italy_missiolinis.23 hours = 1 }
			}
			else = { #Failed
				country_event = { id = BBA_italy_missiolinis.22 hours = 1 }
			}
		}

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_pacify_ethiopia_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.22 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_pacify_ethiopia_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.23 hours = 1 }
			}
		}
	}

	# Pacify Ethiopia - NO BBA
	ITA_missiolini_pacify_ethiopia_vanilla = {
		icon = GFX_decision_generic_police_action
		allowed = {
			tag = ITA
			always = no
			NOT = { has_dlc = "By Blood Alone"}
		}

		available = { #GOAL
			custom_trigger_tooltip = {
				tooltip = ITA_pacify_ethiopia_goal_tt
				all_of_scopes = {
					array = ITA_initial_ethiopian_states
					OR = {
						compliance > 60 #WARNING THIS VALUE NEEDS TO MATCH THE ONE IN EVENT TRIGGER
						controller = { is_subject_of = ROOT }
					}
				}
			}
		}

		activation = {
			always = no
		}

		visible = {
			has_global_flag = second_italo_ethiopian_war_flag
		}

		#cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		fire_only_once = yes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_pacify_ethiopia_days

		cancel_trigger = {
			hidden_trigger = { ITA_missiolinis_system_available = no }
		}

		cancel_effect = {
			if = { #Succeeded
				limit = {
					all_of_scopes = {
						array = ITA_initial_ethiopian_states
						compliance > 60
					}
				}
				log = "Success"
				country_event = { id = BBA_italy_missiolinis.23 hours = 1 }
			}
			else = { #Failed
				log = "Failure"
				country_event = { id = BBA_italy_missiolinis.22 hours = 1 }
			}
		}

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_pacify_ethiopia_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.22 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_pacify_ethiopia_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.23 hours = 1 }
			}
		}
	}

	# Strengthen Heavy Industry
	ITA_missiolini_strengthen_heavy_industry = {
		icon = GFX_decision_generic_merge_plant_materiel
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			custom_trigger_tooltip = { #TODO_Manu: This should be replaced by the appropriate check once Red king merges stuff (Factories BUILD check)
				tooltip = ITA_missiolini_strengthen_heavy_industry_trigger_tt
				num_of_civilian_factories > ROOT.ITA_missiolinis_required_civs
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_strengthen_heavy_industry_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.32 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_strengthen_heavy_industry_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.33 hours = 1 }
			}
		}
	}

	# Strengthen the Army
	ITA_missiolini_strengthen_the_army = {
		icon = GFX_decision_generic_military
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			#has_army_manpower = { size > ROOT.ITA_missiolinis_fielded_manpower_goal } #1kk #TODO_Manu: Code support to use vars in has_army_manpower
			#if = { #FIRST TIME - FIXED AMOUNT #TODO_Manu: NEED CODE SUPPORT (see line above)
			#	limit = {
			#		NOT = { has_country_flag = ITA_missiolini_strengthen_the_army_repeatable_flag } #First time it's a fixed amopunt. Then if the mission is repeated it will require +500k MP in the field (compare to current)
			#	}
				if = {
					limit = {
						ITA_has_missiolini_easier_goals = yes
					}
					has_army_manpower = { size > 650000 } #650k
				}
				else = {
					has_army_manpower = { size > 750000 } #750k
				}
			#}
			#else = { #IF REPEATING
			#	has_army_manpower = { size > 1000000 } #TODO_Manu: Current MP + 500 -> Code Support for this (has_army_manpower does not take vars)
			#}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_strengthen_the_army_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.42 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_strengthen_the_army_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.43 hours = 1 }
			}
		}
	}

	# Stockpile Trucks
	ITA_missiolini_stockpile_trucks = {
		icon = GFX_decision_generic_trucks
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			has_equipment = { #TODO_Manu: Code Support to also get the trucks in the field // Alternatively, check for trucks produced (Code support too!)
				motorized_equipment_1 > ROOT.ITA_missiolinis_trucks_to_produce
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_stockpile_trucks_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.52 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_stockpile_trucks_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.53 hours = 1 }
			}
		}
	}

	# Stockpile fuel
	ITA_missiolini_stockpile_fuel = {
		icon = GFX_decision_oil
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			has_fuel > 500000
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_stockpile_fuel_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.62 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_stockpile_fuel_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.63 hours = 1 }
			}
		}
	}

	# Strengthen the Airforce
	ITA_missiolini_strengthen_the_airforce = {
		icon = GFX_decision_generic_merge_plant_aircraft
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			#Fighters
			custom_trigger_tooltip = {
				tooltip = ITA_missiolini_strengthen_the_airforce_fighters_goal_tt
				#Fighters
				set_temp_variable = { current_fighters = num_equipment@small_plane_airframe }
				add_to_temp_variable = { current_fighters = num_deployed_planes_with_type@small_plane_airframe }
				##CV Fighters
				#add_to_temp_variable = { current_fighters = num_equipment@cv_small_plane_airframe }
				#add_to_temp_variable = { current_fighters = num_deployed_planes_with_type@cv_small_plane_airframe }
				
				

				check_variable = { current_fighters = ITA_missiolinis_fighters_goal compare = greater_than_or_equals }
			}
			#Bombers
			custom_trigger_tooltip = {
				tooltip = ITA_missiolini_strengthen_the_airforce_bombers_goal_tt
				#CAS
				set_temp_variable = { current_cas = num_equipment@small_plane_cas_airframe }
				add_to_temp_variable = { current_cas = num_deployed_planes_with_type@small_plane_cas_airframe }
				#CV CAS
				#add_to_temp_variable = { current_cas = num_equipment@cv_small_plane_cas_airframe }
				#add_to_temp_variable = { current_cas = num_deployed_planes_with_type@cv_small_plane_cas_airframe }
				#Naval Bombers
				set_temp_variable = { current_naval_bombers = num_equipment@small_plane_naval_bomber_airframe }
				add_to_temp_variable = { current_naval_bombers = num_deployed_planes_with_type@small_plane_naval_bomber_airframe }
				#CV Naval Bombers
				#add_to_temp_variable = { current_naval_bombers = num_equipment@cv_small_plane_naval_bomber_airframe }
				#add_to_temp_variable = { current_naval_bombers = num_deployed_planes_with_type@cv_small_plane_naval_bomber_airframe }

				#Tactical Bombers
				set_temp_variable = { current_tactical_bombers = num_equipment@medium_plane_airframe }
				add_to_temp_variable = { current_tactical_bombers = num_deployed_planes_with_type@medium_plane_airframe }
				OR = {
					#CAS
					check_variable = { current_cas = ITA_missiolinis_cas_goal compare = greater_than_or_equals }
					#Naval Bombers
					check_variable = { current_naval_bombers = ITA_missiolinis_naval_bombers_goal compare = greater_than_or_equals }
					#Tactical Bombers
					check_variable = { current_tactical_bombers = ITA_missiolinis_tactical_bombers_goal compare = greater_than_or_equals }
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_strengthen_the_airforce_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.72 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_strengthen_the_airforce_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.73 hours = 1 }
			}
		}
	}

	# Industrial Research
	ITA_missiolini_industrial_research = {
		icon = GFX_decision_generic_wreckers
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			#ASSIGN TECH GOAL
			if = { #Production - Advanced Machine Tools
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_production_flag value = 1 }
				}
				has_tech = advanced_machine_tools
			}
			else_if = { #Production - Assembly Line Production
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_production_flag value = 2 }
				}
				has_tech = assembly_line_production
			}
			else_if = { #Production - Flexible Line / Streamlined Line
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_production_flag value = 3 }
				}
				OR = {
					has_tech = flexible_line
					has_tech = streamlined_line
				}
			}
			else_if = { #Industry - Concentrated Industry 3 / Dispersed Industry 3
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_industry_flag value = 1 }
				}
				OR = {
					has_tech = concentrated_industry3
					has_tech = dispersed_industry3
				}
			}
			else_if = { #Industry - Concentrated Industry 4 / Dispersed Industry 4
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_industry_flag value = 2 }
				}
				OR = {
					has_tech = concentrated_industry4
					has_tech = dispersed_industry4
				}
			}
			else_if = { #Industry - Concentrated Industry 5 / Dispersed Industry 5
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_industry_flag value = 3 }
				}
				OR = {
					has_tech = concentrated_industry5
					has_tech = dispersed_industry5
				}
			}
			else_if = { #Construction - Construction 3
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_construction_flag value = 1 }
				}
				has_tech = construction3
			}
			else_if = { #Construction - Construction 4
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_construction_flag value = 2 }
				}
				has_tech = construction4
			}
			else_if = { #Construction - Construction 5
				limit = {
					has_country_flag = { flag = ITA_missiolini_research_construction_flag value = 3 }
				}
				has_tech = construction5
			}
			else = { #Absurd fallback just in case
				is_special_project_completed = sp:sp_nuclear_bomb
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_industrial_research_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.82 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_industrial_research_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.83 hours = 1 }
			}
		}
	}

	# Expand Intelligence Agency
	ITA_missiolini_expand_intelligence_agency = {
		icon = GFX_decision_onmap_recruit_operative
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			#ASSIGN INTEL AGENCY GOAL
			if = { #Create Intel Agency
				limit = {
					has_country_flag = { flag = ITA_missiolini_upgrade_agency_goal_flag value = 1 }
				}
				has_intelligence_agency = yes
			}
			else_if = { #Upgrade - Form Cryptology Department
				limit = {
					has_country_flag = { flag = ITA_missiolini_upgrade_agency_goal_flag value = 2 }
				}
				has_done_agency_upgrade = upgrade_form_department
			}
			else_if = { #Production - Form Army Department
				limit = {
					has_country_flag = { flag = ITA_missiolini_upgrade_agency_goal_flag value = 3 }
				}
				has_done_agency_upgrade = upgrade_army_department
			}
			else_if = { #Production - Anti-Partisan
				limit = {
					has_country_flag = { flag = ITA_missiolini_upgrade_agency_goal_flag value = 4 }
				}
				has_done_agency_upgrade = upgrade_anti_partisan
			}
			else_if = { #Production - Passive Defense
				limit = {
					has_country_flag = { flag = ITA_missiolini_upgrade_agency_goal_flag value = 5 }
				}
				has_done_agency_upgrade = upgrade_passive_defense
			}
			else = { #Absurd fallback just in case
				agency_upgrade_number > 30 #31 is max
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_expand_intelligence_service_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.92 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_expand_intelligence_service_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.93 hours = 1 }
			}
		}
	}

	# Occupy Albania
	ITA_missiolini_occupy_albania = {
		icon = GFX_decision_infiltrate_state
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			44 = { #ALBANIA
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
			805 = { #NORTHERN EPIRUS
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
			934 = { #SHKÖDER
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		cosmetic_tag = ALB
		cosmetic_ideology = neutrality

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_occupy_albania_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.102 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_occupy_albania_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.103 hours = 1 }
			}
		}
	}

	# Occupy Dalmatia
	ITA_missiolini_occupy_dalmatia = {
		icon = GFX_decision_infiltrate_state
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			103 = { #DALMATIA
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		cosmetic_tag = YUG
		cosmetic_ideology = neutrality

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_occupy_dalmatia_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.112 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_occupy_dalmatia_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.113 hours = 1 }
			}
		}
	}

	# Occupy Greece
	ITA_missiolini_occupy_greece = {
		icon = GFX_decision_infiltrate_state
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			185 = { #EPIRUS
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
			47 = { #ATTICA
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
			186 = { #PELOPONNESE
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		cosmetic_tag = GRE
		cosmetic_ideology = neutrality

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_occupy_greece_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.122 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_occupy_greece_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.123 hours = 1 }
			}
		}
	}

	# Occupy Ticino
	ITA_missiolini_occupy_ticino = {
		icon = GFX_decision_infiltrate_state
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			846 = { #TICINO
				OR = {
					is_fully_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
						hidden_trigger = { #To prevent unnecessary overcrowding
							has_full_control_of_state = PREV
						}
					}
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		cosmetic_tag = SWI
		cosmetic_ideology = democratic

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_occupy_ticino_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.132 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_occupy_ticino_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.133 hours = 1 }
			}
		}
	}






	# Bolster Political Cabinet
	ITA_missiolini_bolster_political_cabinet = {
		icon = GFX_decision_generic_political_discourse
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			custom_trigger_tooltip = {
				tooltip = ITA_missiolini_bolster_political_cabinet_trigger_tt
				amount_taken_ideas = {
					amount > 2
					slots = { political_advisor }
				}
				OR = {
					has_idea = ITA_gian_galeazzo_ciano
					has_idea = ITA_dino_grandi
					has_idea = ITA_giuseppe_bottai
					has_idea = ITA_renato_ricci
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_bolster_political_cabinet_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.202 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_bolster_political_cabinet_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.203 hours = 1 }
			}
		}
	}

	# Bolster Military High Command
	ITA_missiolini_bolster_military_high_command = {
		icon = GFX_decision_generic_army_support
		allowed = {
			tag = ITA
		}

		visible = {
			ITA_missiolinis_system_available = yes
		}

		available = { #GOAL
			custom_trigger_tooltip = {
				tooltip = ITA_missiolini_bolster_military_high_command_trigger_tt
				amount_taken_ideas = {
					amount > 2
					#category = { military_staff }
					slots = { high_command }
				}
			}
		}

		activation = {
			always = no
		}

		cancel_if_not_visible = yes
		is_good = no #Tooltip purposes
		selectable_mission = no
		days_mission_timeout = ITA_missiolinis_default_days

		timeout_effect = { #MISSION FAILS
			effect_tooltip = {
				ITA_missiolini_bolster_military_high_command_failure_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.212 hours = 1 }
			}
		}

		complete_effect = { #MISSION SUCCEEDS
			effect_tooltip = {
				ITA_missiolini_bolster_military_high_command_success_effect = yes
			}

			hidden_effect = {
				country_event = { id = BBA_italy_missiolinis.213 hours = 1 }
			}
		}
	}
}



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


ITA_balance_of_power_category = {
	DEBUG_deactivate_BOP = {
		priority = 91
		visible = {
			is_debug = yes
		}
		complete_effect = {
			remove_power_balance = { id = ITA_power_balance }
		}
	}

	DEBUG_bop_make_decisions_faster_and_free = {
		priority = 90
		visible = {
			is_debug = yes
			NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag }
		}
		complete_effect = {
			set_country_flag = ITA_debug_bop_decisions_faster_and_free_flag
			set_variable = { ITA_bop_take_over_ministry_cost = 0 }
			set_variable = { ITA_bop_resign_ministry_cost = 0 }
		}
	}

	DEBUG_bop_make_decisions_go_back_to_normal = {
		priority = 90
		visible = {
			is_debug = yes
			has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag
		}
		complete_effect = {
			clr_country_flag = ITA_debug_bop_decisions_faster_and_free_flag
			set_variable = { ITA_bop_take_over_ministry_cost = 50 }
			set_variable = { ITA_bop_resign_ministry_cost = 15 }
		}
	}

	DEBUG_bop_absurdly_high_increase_value = {
		priority = 20
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_absurdly_high_increase_effect = yes
		}
	}

	DEBUG_bop_high_increase_value = {
		priority = 19
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_high_increase_effect = yes
		}
	}

	DEBUG_bop_medium_increase_value = {
		priority = 18
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_medium_increase_effect = yes
		}
	}

	DEBUG_bop_low_increase_value = {
		priority = 17
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_low_increase_effect = yes
		}
	}

	DEBUG_bop_very_low_increase_value = {
		priority = 16
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_very_low_increase_effect = yes
		}
	}

	DEBUG_bop_absurdly_high_decrease_value = {
		priority = 15
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_absurdly_high_decrease_effect = yes
		}
	}

	DEBUG_bop_high_decrease_value = {
		priority = 14
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_high_decrease_effect = yes
		}
	}

	DEBUG_bop_medium_decrease_value = {
		priority = 13
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_medium_decrease_effect = yes
		}
	}

	DEBUG_bop_low_decrease_value = {
		priority = 12
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_low_decrease_effect = yes
		}
	}

	DEBUG_bop_very_low_decrease_value = {
		priority = 11
		visible = {
			is_debug = yes
		}
		complete_effect = {
			ITA_bop_very_low_decrease_effect = yes
		}
	}

	DEBUG_set_mussolini_bop = {
		priority = 8
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				right_side = ITA_mussolini_side
			}
		}
	}

	DEBUG_set_grand_council_bop = {
		priority = 7
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				left_side = ITA_grand_council_side
			}
		}
	}

	DEBUG_set_balbo_bop = {
		priority = 6
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				right_side = ITA_balbo_side
			}
		}
	}

	DEBUG_set_grandi_bop = {
		priority = 5
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				right_side = ITA_grandi_side
			}
		}
	}

	DEBUG_set_king_bop = {
		priority = 4
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				right_side = ITA_king_side
			}
		}
	}

	DEBUG_set_king_umberto_bop = {
		priority = 3
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				right_side = ITA_king_umberto_side
			}
		}
	}

	DEBUG_set_communism_bop = {
		priority = 2
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				left_side = ITA_communism_side
			}
		}
	}

	DEBUG_set_democratic_bop = {
		priority = 1
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				right_side = ITA_democratic_side
			}
		}
	}

	DEBUG_set_pope_bop = {
		priority = 0
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				left_side = ITA_pope_side
			}
		}
	}

	DEBUG_set_max_bop = {
		priority = -1
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				set_value = 1
			}
		}
	}

	DEBUG_set_min_bop = {
		priority = -2
		visible = {
			is_debug = yes
		}
		complete_effect = {
			set_power_balance = {
				id = ITA_power_balance
				set_value = -1
			}
		}
	}

	ITA_bop_take_over_ministry_of_foreign_affairs = {
		priority = 100
		icon = GFX_decision_eng_trade_unions_demand

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			NOT = { has_country_leader_with_trait = mussolini_minister_of_foreign_affairs }
			has_completed_focus = ITA_triumph_in_africa_bba
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_resigned_minister_of_foreign_affairs_position_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_resigned_minister_of_foreign_affairs_position_flag
					NOT = { has_country_flag = ITA_mussolini_resigned_minister_of_foreign_affairs_position_flag }
				}
			}
		}

		cost = ITA_bop_take_over_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_took_over_minister_of_foreign_affairs_flag value = 1 days = 365 }
			add_country_leader_trait = mussolini_minister_of_foreign_affairs
			ITA_bop_medium_increase_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_resigned_minister_of_foreign_affairs_position_flag
					}
					clr_country_flag = ITA_mussolini_resigned_minister_of_foreign_affairs_position_flag
				}
			}
		}

		ai_will_do = {
			base = 0.1
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.1
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < -0.2
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = no
			}
		}
	}

	ITA_bop_resign_ministry_of_foreign_affairs_position = {
		priority = 100
		icon = GFX_decision_generic_political_discourse

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			has_country_leader_with_trait = mussolini_minister_of_foreign_affairs
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_took_over_minister_of_foreign_affairs_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_took_over_minister_of_foreign_affairs_flag
					NOT = { has_country_flag = ITA_mussolini_took_over_minister_of_foreign_affairs_flag }
				}
			}
		}

		cost = ITA_bop_resign_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_resigned_minister_of_foreign_affairs_position_flag value = 1 days = 365 }
			remove_country_leader_trait = mussolini_minister_of_foreign_affairs
			ITA_bop_medium_decrease_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_took_over_minister_of_foreign_affairs_flag
					}
					clr_country_flag = ITA_mussolini_took_over_minister_of_foreign_affairs_flag
				}
			}
		}

		ai_will_do = { #Never
			base = 0
		}
	}

	ITA_bop_take_over_ministry_of_justice = {
		priority = 99
		icon = GFX_decision_eng_trade_unions_demand

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			NOT = { has_country_leader_with_trait = mussolini_minister_of_justice }
			has_completed_focus = ITA_triumph_in_africa_bba
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_resigned_minister_of_justice_position_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_resigned_minister_of_justice_position_flag
					NOT = { has_country_flag = ITA_mussolini_resigned_minister_of_justice_position_flag }
				}
			}
		}

		cost = ITA_bop_take_over_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_took_over_minister_of_justice_flag value = 1 days = 365 }
			add_country_leader_trait = mussolini_minister_of_justice
			ITA_bop_medium_increase_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_resigned_minister_of_justice_position_flag
					}
					clr_country_flag = ITA_mussolini_resigned_minister_of_justice_position_flag
				}
			}
		}

		ai_will_do = {
			base = 0.1
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < 0.1
				}
			}
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < 0
				}
			}
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < -0.2
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = no
			}
		}
	}

	ITA_bop_resign_ministry_of_justice_position = {
		priority = 99
		icon = GFX_decision_generic_political_discourse

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			has_country_leader_with_trait = mussolini_minister_of_justice
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_took_over_minister_of_justice_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_took_over_minister_of_justice_flag
					NOT = { has_country_flag = ITA_mussolini_took_over_minister_of_justice_flag }
				}
			}
		}

		cost = ITA_bop_resign_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_resigned_minister_of_justice_position_flag value = 1 days = 365 }
			remove_country_leader_trait = mussolini_minister_of_justice
			ITA_bop_medium_decrease_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_took_over_minister_of_justice_flag
					}
					clr_country_flag = ITA_mussolini_took_over_minister_of_justice_flag
				}
			}
		}

		ai_will_do = { #Never
			base = 0
		}
	}

	ITA_bop_take_over_ministry_of_education = {
		priority = 98
		icon = GFX_decision_eng_trade_unions_demand

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			NOT = { has_country_leader_with_trait = mussolini_minister_of_education }
			has_completed_focus = ITA_triumph_in_africa_bba
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_resigned_minister_of_education_position_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_resigned_minister_of_education_position_flag
					NOT = { has_country_flag = ITA_mussolini_resigned_minister_of_education_position_flag }
				}
			}
		}

		cost = ITA_bop_take_over_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_took_over_minister_of_education_flag value = 1 days = 365 }
			add_country_leader_trait = mussolini_minister_of_education
			ITA_bop_medium_increase_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_resigned_minister_of_education_position_flag
					}
					clr_country_flag = ITA_mussolini_resigned_minister_of_education_position_flag
				}
			}
		}

		ai_will_do = {
			base = 0.1
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < 0.1
				}
			}
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < 0
				}
			}
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < -0.2
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = no
			}
		}
	}

	ITA_bop_resign_ministry_of_education_position = {
		priority = 98
		icon = GFX_decision_generic_political_discourse

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			has_country_leader_with_trait = mussolini_minister_of_education
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_took_over_minister_of_education_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_took_over_minister_of_education_flag
					NOT = { has_country_flag = ITA_mussolini_took_over_minister_of_education_flag }
				}
			}
		}

		cost = ITA_bop_resign_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_resigned_minister_of_education_position_flag value = 1 days = 365 }
			remove_country_leader_trait = mussolini_minister_of_education
			ITA_bop_medium_decrease_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_took_over_minister_of_education_flag
					}
					clr_country_flag = ITA_mussolini_took_over_minister_of_education_flag
				}
			}
		}

		ai_will_do = { #Never
			base = 0
		}
	}

	ITA_bop_take_over_ministry_of_corporations = {
		priority = 97
		icon = GFX_decision_eng_trade_unions_demand

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			NOT = { has_country_leader_with_trait = mussolini_minister_of_corporations }
			has_completed_focus = ITA_triumph_in_africa_bba
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_resigned_minister_of_corporations_position_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_resigned_minister_of_corporations_position_flag
					NOT = { has_country_flag = ITA_mussolini_resigned_minister_of_corporations_position_flag }
				}
			}
		}

		cost = ITA_bop_take_over_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_took_over_minister_of_corporations_flag value = 1 days = 365 }
			add_country_leader_trait = mussolini_minister_of_corporations
			ITA_bop_medium_increase_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_resigned_minister_of_corporations_position_flag
					}
					clr_country_flag = ITA_mussolini_resigned_minister_of_corporations_position_flag
				}
			}
		}

		ai_will_do = {
			base = 0.1
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < 0.1
				}
			}
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < 0
				}
			}
			modifier = {
				factor = 9
				power_balance_value = {
					id = ITA_power_balance
					value < -0.2
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = no
			}
		}
	}

	ITA_bop_resign_ministry_of_corporations_position = {
		priority = 97
		icon = GFX_decision_generic_political_discourse

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			has_country_leader_with_trait = mussolini_minister_of_corporations
		}

		available = {
			if = {
				limit = {
					has_country_flag = ITA_mussolini_took_over_minister_of_corporations_flag
					NOT = { has_country_flag = ITA_debug_bop_decisions_faster_and_free_flag } #Debug
				}
				custom_trigger_tooltip = {
					tooltip = ITA_mussolini_took_over_minister_of_corporations_flag
					NOT = { has_country_flag = ITA_mussolini_took_over_minister_of_corporations_flag }
				}
			}
		}

		cost = ITA_bop_resign_ministry_cost

		complete_effect = {
			set_country_flag = { flag = ITA_mussolini_resigned_minister_of_corporations_position_flag value = 1 days = 365 }
			remove_country_leader_trait = mussolini_minister_of_corporations
			ITA_bop_medium_decrease_effect = yes

			hidden_effect = { #In order to work with debug decisions
				if = {
					limit = {
						has_country_flag = ITA_mussolini_took_over_minister_of_corporations_flag
					}
					clr_country_flag = ITA_mussolini_took_over_minister_of_corporations_flag
				}
			}
		}

		ai_will_do = { #Never
			base = 0
		}
	}

	ITA_bop_slander_the_duce = {
		priority = 120
		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			OR = {
				has_completed_focus = ITA_undermine_the_duce
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		cost = ITA_bop_generic_council_cost

		fire_only_once = yes

		complete_effect = {
			ITA_bop_low_decrease_effect = yes
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0.1
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value > -0.1
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = yes
			}
		}
	}

	ITA_bop_criticize_the_war = {
		priority = 119
		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			OR = {
				has_completed_focus = ITA_undermine_the_duce
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		ai_hint_pp_cost = 25
		custom_cost_trigger = {
			command_power > 24
			has_political_power > 24
		}
		custom_cost_text = decision_cost_CP_25_pp_25

		fire_only_once = yes

		complete_effect = {
			ITA_bop_low_decrease_effect = yes
			hidden_effect = {
				add_command_power = -25
				add_political_power = -25

			}

		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0.1
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value > -0.1
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = yes
			}
		}
	}

	ITA_bop_question_the_army = {
		priority = 118
		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			OR = {
				has_completed_focus = ITA_conspiracies_in_the_shadows
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			has_political_power > 14
			has_army_experience > 9
		}
		custom_cost_text = decision_cost_pp_15_ArmXP_10

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_decrease_effect = yes
			hidden_effect = {
				add_political_power = -15
				army_experience = -10
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0.1
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > -0.1
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = yes
			}
		}
	}

	ITA_bop_question_the_airforce = {
		priority = 117
		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			OR = {
				has_completed_focus = ITA_conspiracies_in_the_shadows
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			has_political_power > 14
			has_air_experience > 9
		}
		custom_cost_text = decision_cost_pp_15_AirXP_10

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_decrease_effect = yes
			hidden_effect = {
				add_political_power = -15
				air_experience = -10
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0.1
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > -0.1
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = yes
			}
		}
	}

	ITA_bop_question_the_navy = {
		priority = 116
		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_country_leader = {
				character = ITA_benito_mussolini
				ruling_only = yes
			}
			OR = {
				has_completed_focus = ITA_conspiracies_in_the_shadows
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			has_political_power > 14
			has_navy_experience > 9
		}
		custom_cost_text = decision_cost_pp_15_NavXP_10

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_decrease_effect = yes
			hidden_effect = {
				add_political_power = -15
				navy_experience = -10
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0.1
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > 0
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value > -0.1
				}
			}
			modifier = {
				factor = 0
				ITA_is_historical_ai = yes
			}
		}
	}

	ITA_bop_military_parade = {
		priority = 1115
		icon = GFX_decision_generic_military

		allowed = {
			original_tag = ITA
		}

		visible = {
			OR = {
				has_completed_focus = ITA_italo_balbo_focus
				has_completed_focus = ITA_dino_grandi_focus
				has_completed_focus = ITA_monarchia_d_italia
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
		}

		cost = ITA_bop_generic_council_cost

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_increase_effect = yes
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < -0.11
				}
			}
			modifier = {
				factor = 0
				AND = {
					OR = {
						ITA_is_alt_fascist_balbo_ai = yes
						ITA_is_alt_fascist_grandi_ai = yes
						ITA_is_monarchist_ai = yes
						ITA_is_christian_democracy_ai = yes
					}
					has_country_leader = {
						character = ITA_benito_mussolini
						ruling_only = yes
					}
				}
			}
			modifier = {
				factor = 0
				ITA_is_socialist_ai = yes
			}
		}
	}

	ITA_bop_send_support = {
		priority = 114
		icon = ger_military_buildup

		allowed = {
			original_tag = ITA
		}

		visible = {		}

		fire_only_once = yes

		available = {
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
			ROOT = { has_government = fascism }
		}

		target_trigger = {
			FROM = {
				has_government = fascism
				is_subject = no
				AND = {
					has_war = yes
					NOT = {
						has_war_with = ROOT
						ROOT = {
							any_allied_country = {
								has_war_with = FROM
							}
						}
						FROM = { is_justifying_wargoal_against = ROOT }
						ROOT = { is_justifying_wargoal_against = FROM }
						FROM = { has_wargoal_against = ROOT }
						ROOT = { has_wargoal_against = FROM }
					}
				}
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_civil_war = no
			OR = {
				has_completed_focus = ITA_italo_balbo_focus
				has_completed_focus = ITA_dino_grandi_focus
				has_completed_focus = ITA_culto_del_duce
			}
		}

		days_remove = 60

		days_re_enable = 365

		remove_effect = {
			effect_tooltip = {
				FROM = {
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 2500
						producer = ROOT
					}
					add_equipment_to_stockpile = {
						type = support_equipment
						amount = 50
						producer = ROOT
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = SOV_sent_us_weapons
					}
				}
			}
			hidden_effect = {
				FROM = { country_event = { id = BBA_italy_sends_military_support.1 } }
			}
		}

		ai_hint_pp_cost = 25
		custom_cost_trigger = {
			has_political_power > 24
			command_power > 24
		}
		custom_cost_text = decision_cost_CP_25_pp_25

		complete_effect = {
			ITA_bop_low_increase_effect = yes
			hidden_effect = {
				add_political_power = -25
				add_command_power = -25
			}

		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < -0.11
				}
			}
			modifier = {
				factor = 0
				AND = {
					OR = {
						ITA_is_alt_fascist_balbo_ai = yes
						ITA_is_alt_fascist_grandi_ai = yes
						ITA_is_monarchist_ai = yes
						ITA_is_christian_democracy_ai = yes
					}
					has_country_leader = {
						character = ITA_benito_mussolini
						ruling_only = yes
					}
				}
			}
		}
	}

	ITA_bop_praise_the_army = {
		priority = 113
		icon = GFX_decision_generic_tank

		allowed = {
			original_tag = ITA
		}

		visible = {
			OR = {
				has_completed_focus = ITA_italo_balbo_focus
				has_completed_focus = ITA_dino_grandi_focus
				has_completed_focus = ITA_monarchia_d_italia
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		cost = ITA_bop_generic_council_cost

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_increase_effect = yes
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < -0.11
				}
			}
			modifier = {
				factor = 0
				AND = {
					OR = {
						ITA_is_alt_fascist_balbo_ai = yes
						ITA_is_alt_fascist_grandi_ai = yes
						ITA_is_monarchist_ai = yes
						ITA_is_christian_democracy_ai = yes
					}
					has_country_leader = {
						character = ITA_benito_mussolini
						ruling_only = yes
					}
				}
			}
		}
	}

	ITA_bop_praise_the_airforce = {
		priority = 112
		icon = GFX_decision_generic_air

		allowed = {
			original_tag = ITA
		}

		visible = {
			OR = {
				has_completed_focus = ITA_italo_balbo_focus
				has_completed_focus = ITA_dino_grandi_focus
				has_completed_focus = ITA_monarchia_d_italia
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		cost = ITA_bop_generic_council_cost

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_increase_effect = yes
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < -0.11
				}
			}
			modifier = {
				factor = 0
				AND = {
					OR = {
						ITA_is_alt_fascist_balbo_ai = yes
						ITA_is_alt_fascist_grandi_ai = yes
						ITA_is_monarchist_ai = yes
						ITA_is_christian_democracy_ai = yes
					}
					has_country_leader = {
						character = ITA_benito_mussolini
						ruling_only = yes
					}
				}
			}
		}
	}

	ITA_bop_praise_the_navy = {
		priority = 111
		icon = GFX_decision_generic_naval

		allowed = {
			original_tag = ITA
		}

		visible = {
			OR = {
				has_completed_focus = ITA_italo_balbo_focus
				has_completed_focus = ITA_dino_grandi_focus
				has_completed_focus = ITA_monarchia_d_italia
				has_completed_focus = ITA_triumph_in_africa_bba
			}
		}

		available = {}

		cost = ITA_bop_generic_council_cost

		days_re_enable = 365

		complete_effect = {
			ITA_bop_very_low_increase_effect = yes
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < -0.11
				}
			}
			modifier = {
				factor = 0
				AND = {
					OR = {
						ITA_is_alt_fascist_balbo_ai = yes
						ITA_is_alt_fascist_grandi_ai = yes
						ITA_is_monarchist_ai = yes
						ITA_is_christian_democracy_ai = yes
					}
					has_country_leader = {
						character = ITA_benito_mussolini
						ruling_only = yes
					}
				}
			}
		}
	}

	### MONARCHIST DECISIONS

	ITA_bop_constitutional_draft = {
		priority = 110
		icon = GFX_decision_SWI_swiss_democratic_tradition_campaign

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_revoke_the_acerbo_law
		}

		available = {
			has_government = democratic
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			ITA_bop_high_increase_effect = yes
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
		}
	}
	
	ITA_recognize_the_roman_dynasty = {
		priority = 109
		icon = GFX_decision_hol_exchange_intelligence_data

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_seek_papal_support
			NOT = { has_country_flag = ITA_revoked_lateran_treaty_flag }
		}

		available = {
			has_government = neutrality
			NOT = { has_country_flag = ITA_revoked_lateran_treaty_flag }
			has_country_flag = ITA_expanded_lateran_treaty_flag
		}

		cost = 50

		fire_only_once = yes

		complete_effect = {
			set_country_flag = restoration_of_roman_dynasty_flag
			custom_effect_tooltip = no_greater_italy_tt
			add_stability = 0.05
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			ITA_bop_low_decrease_effect = yes
		}

		ai_will_do = {
			base = 1
		}
	}
	
	ITA_our_rightful_claims = {
		priority = 109
		icon = GFX_decision_hol_exchange_intelligence_data

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_seek_papal_support
			NOT = { has_country_flag = ITA_revoked_lateran_treaty_flag }
		}

		available = {
			has_government = neutrality
			has_country_flag = ITA_pope_took_over_italy_flag
		}

		cost = 35

		fire_only_once = yes

		complete_effect = {
			add_war_support = 0.05
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			every_country = {
			limit = {
			OR = {
			AND = {
			is_on_continent = europe
			is_major = yes
			}
			original_tag = FRA
			original_tag = SPR
			original_tag = YUG
			original_tag = POR
			original_tag = TUR
			original_tag = ALB
			original_tag = SWI
			original_tag = GRE
			original_tag = BUL
			original_tag = PAL
			}
			}
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_decrease
				}			
			}
			
			ITA_bop_low_decrease_effect = yes
		}

		ai_will_do = {
			base = 1
		}
	}
	
	ITA_blessed_dynasty_decision = {
		priority = 109
		icon = GFX_decision_hol_exchange_intelligence_data

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_seek_papal_support
			NOT = { has_country_flag = ITA_revoked_lateran_treaty_flag }
		}

		available = {
			has_government = neutrality
			has_country_flag = ITA_pope_took_over_italy_flag
		}

		cost = 25

		fire_only_once = yes

		complete_effect = {
		country_event = {id = ITA_monarchy_event.3}
		effect_tooltip = {
		add_country_leader_role = {
			character = ITA_leone_massimo
			promote_leader = yes
			country_leader = {
			ideology = despotism
			traits = { ancient_dynasty blessed_by_pope }
			expire = "1974.1.1.1"
			id = -1
			}
		}
		}
		}

		ai_will_do = {
			base = 0
		}
	}	
	
	
	

	ITA_bop_privileges_for_the_elites = {
		priority = 109
		icon = GFX_decision_eng_ally_imperialist_coup

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_power_to_the_king
		}

		available = {
			has_government = neutrality
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			ITA_bop_medium_increase_effect = yes
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 5
				power_balance_value = {
					id = ITA_power_balance
					value < 0.3
				}
			}
			modifier = {
				factor = 10
				power_balance_value = {
					id = ITA_power_balance
					value < 0.15
				}
			}
		}
	}

	ITA_bop_revoke_the_lateran_treaty = {
		priority = 108
		icon = GFX_decision_generic_break_treaty

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_power_to_the_king
			NOT = { has_completed_focus = ITA_seek_papal_support }
			NOT = { has_country_flag = ITA_expanded_lateran_treaty_flag }
		}

		available = {
			NOT = { has_completed_focus = ITA_seek_papal_support }
			NOT = { has_country_flag = ITA_expanded_lateran_treaty_flag }
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			set_country_flag = ITA_revoked_lateran_treaty_flag
			add_stability = -0.05
			ITA_bop_medium_increase_effect = yes

			custom_effect_tooltip = ITA_bop_revoke_the_lateran_treaty_tt
		}

		ai_will_do = {
			base = 0
		}
	}

	ITA_bop_expand_the_lateran_treaty = {
		priority = 107
		icon = GFX_decision_hol_exchange_intelligence_data

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_seek_papal_support
			NOT = { has_country_flag = ITA_revoked_lateran_treaty_flag }
		}

		available = {
			has_government = neutrality
			NOT = { has_country_flag = ITA_revoked_lateran_treaty_flag }
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			set_country_flag = ITA_expanded_lateran_treaty_flag
			add_stability = 0.05
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			ITA_bop_medium_decrease_effect = yes
		}

		ai_will_do = {
			base = 0
		}
	}

	ITA_bop_liturgical_reforms = {
		priority = 106
		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_strengthen_the_papacy
		}

		available = {
			has_government = neutrality
		}

		cost = 70

		days_re_enable = ITA_bop_liturgical_reforms_cd

		complete_effect = {
			add_stability = 0.1
			ITA_bop_medium_decrease_effect = yes

			custom_effect_tooltip = ITA_bop_liturgical_reforms_cd_tt
		}

		ai_will_do = {
			base = 0
		}
	}

	ITA_bop_condemn_fascism = {
		priority = 105
		icon = GFX_decision_eng_propaganda_campaigns

		allowed = {
			original_tag = ITA
		}

		visible = {
			OR = {
				has_completed_focus = ITA_seek_papal_support
				has_completed_focus = ITA_disband_the_blackshirts
			}
		}

		available = {
			has_completed_focus = ITA_seek_papal_support
			has_completed_focus = ITA_disband_the_blackshirts
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			add_stability = -0.05
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			ITA_bop_low_decrease_effect = yes
		}

		ai_will_do = {
			base = 0
		}
	}

	ITA_bop_convoke_ecumenical_council = {
		priority = 104
		icon = GFX_decision_SWI_support_humanitarian_efforts

		allowed = {
			original_tag = ITA
		}

		visible = {
			ITA_is_ruled_by_a_pope = yes
		}

		available = {
			ITA_is_ruled_by_a_pope = yes
		}

		cost = 100

		fire_only_once = yes

		days_remove = 90

		remove_effect = {
			ITA_bop_high_decrease_effect = yes
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	ITA_bop_cooperation_with_anarchists = {
		priority = 106
		icon = GFX_decision_generic_civil_support

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_the_popular_front
		}

		available = {
			has_government = communism
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			ITA_bop_medium_decrease_effect = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	ITA_bop_unify_the_left = {
		priority = 105
		icon = GFX_decision_generic_speech

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_a_leader_steps_forward
		}

		available = {
			has_government = communism
		}

		cost = 70

		fire_only_once = yes

		days_remove = 90

		modifier = {
			political_power_factor = -0.15
		}

		remove_effect = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			ITA_bop_medium_decrease_effect = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	ITA_bop_concesions_to_the_bourgeoisie = {
		priority = 104
		icon = GFX_decision_generic_fundraising

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_common_ground
		}

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

		cost = ITA_bop_concesions_to_the_bourgeoisie_cost

		fire_only_once = yes

		days_remove = ITA_bop_concesions_to_the_bourgeoisie_days

		complete_effect = {
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			ITA_bop_medium_increase_effect = yes
		}

		remove_effect = {
			if = {
				limit = {
					has_government = communism
				}
				add_stability = 0.05
			}
			else = {
				add_stability = 0.1
				add_political_power = 100
			}
		}

		modifier = {
			consumer_goods_factor = -0.10
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0
				ITA_is_communist_ai = yes
			}
		}
	}

	ITA_bop_cooperation_with_christian_democrats = {
		priority = 103
		icon = GFX_decision_generic_political_discourse

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_italian_socialism
		}

		available = {
			has_government = democratic
		}

		cost = 70

		fire_only_once = yes

		complete_effect = {
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			ITA_bop_low_increase_effect = yes
		}

		ai_will_do = {
			base = 1
		}
	}

	ITA_bop_utilize_the_mafia = {
		priority = 102
		icon = GFX_decision_generic_assassination

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_cooperate_with_the_mafia
		}

		available = {
			has_government = democratic
		}

		cost = 100

		fire_only_once = yes

		days_remove = 90

		complete_effect = {
			add_stability = -0.1
		}

		remove_effect = {
			add_to_variable = { ITA_re_supply_node_range = 0.1 }
			custom_effect_tooltip = ITA_bop_utilize_the_mafia_re_tt

			ITA_bop_low_increase_effect = yes
		}

		ai_will_do = {
			base = 0.5
		}
	}
}



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


ETH_italian_occupation_category = {
	#Expand Regional Control
	ITA_expand_regional_control = {
		icon = GFX_decision_oppression
		target_trigger = {
			FROM = {
				owner = {
					tag = ETH # For now - change if making it generic
					is_government_in_exile = yes
				}
				is_fully_controlled_by = ROOT
			}
		}
		target_root_trigger = { tag = ITA } # For now - change if making it generic
		state_target = yes
		on_map_mode = map_only

		cost = 75
		days_remove = 90

		visible = {
			has_completed_focus = ITA_triumph_in_africa_bba
		}

		available = {
			NOT = { has_country_flag = expanding_regional_control_flag }
			FROM = {
				compliance > 60
				any_neighbor_state = { is_owned_by = ROOT }
				owner = {
					#has_legitimacy < 60
					faction_leader = { NOT = { has_war_with = ROOT } }
				}
			}
		}

		cancel_trigger = { FROM = { NOT = { is_controlled_by = ROOT } } }

		complete_effect = {
			set_country_flag = expanding_regional_control_flag
			set_variable = { state_integrated = FROM }
			hidden_effect = {
				FROM = { owner = { activate_mission = ETH_italian_control_mission } } # Starts "warning timer" for Original owner
			}
		}

		remove_effect = {
			FROM = { set_state_owner_to = ROOT }
			clr_country_flag = expanding_regional_control_flag
		}

		ai_will_do = {
			base = 10

			modifier = {
				NOT = {
					is_historical_focus_on = no
					has_war_with_major = no
				}
				factor = 25
			}
		}
	}

	#Discredit Haile Selassie
	ITA_discredit_haile_selassie = {
		icon = GFX_decision_generic_speech
		allowed = {
			tag = ITA
		}

		available = {
			has_completed_focus = ITA_the_new_emperor_of_ethiopia
		}

		visible = {
			any_controlled_state = {
				is_owned_by = ETH
			}
		}

		days_re_enable = 180 #Changing this requires changing the custom tooltip below
		cost = 35

		complete_effect = {
			ETH = {
				add_legitimacy = -10
			}

			hidden_effect = {
				ETH = { country_event = { id = BBA_italo_ethiopian_war_events.510 hours = 1 } }
			}

			every_controlled_state = {
				limit = {
					is_owned_by = ETH
				}
				add_compliance = 5
			}

			custom_effect_tooltip = ITA_discredit_haile_selassie_cd_tt
		}

		ai_will_do = {
			base = 0.8
		}
	}

	ITA_electrify_state = { #Equivalent to ETH_electrify_state but for Italy (So that it goes into same category as other ETH-related stuff for ITA)
		icon = GFX_decision_generic_electricity
		target_trigger = {
			FROM = {
				has_state_flag = ITA_can_electrify_state_flag #Different flag so that ITA/ETH conditions for electrifying states are different
				NOT = { has_state_flag = ETH_state_is_electrified_flag }
				is_fully_controlled_by = ROOT
			}
		}
		target_root_trigger = { tag = ITA } # For now - change if making it generic
		state_target = yes
		on_map_mode = map_only
		fire_only_once = yes # Only once per State
		available = {
			NOT = { has_country_flag = ETH_investments_in_progress_flag }
			has_completed_focus = ITA_develop_ethiopia
		}

		visible = {
			has_completed_focus = ITA_triumph_in_africa_bba
		}

		cancel_trigger = {
			NOT = { FROM = { is_fully_controlled_by = ROOT } }
		}

		cancel_effect = {
			clr_country_flag = ETH_investments_in_progress_flag
		}

		days_remove = 30

		cost = 25

		modifier = {
			consumer_goods_factor = 0.10
		}

		complete_effect = {
			set_country_flag = ETH_investments_in_progress_flag
		}

		remove_effect = {
			FROM = { add_compliance = 15 }
			ETH_electrify_state_remove_effect = yes  #Used both in ETH and ITA decisions
		}

		ai_will_do = {
			base = 125
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0
				surrender_progress > 0.2
			}
		}
	}
}


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


ITA_colonial_management_dec_cat = {
	# Train Irregulars
	ITA_train_irregulars = {
		icon = GFX_decision_generic_prepare_civil_war
		allowed = {
			tag = ITA
		}

		available = {
			has_war = yes
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
			any_controlled_state = {
				OR = {
					is_core_of = LBA
					is_core_of = ERI
					is_core_of = SOM
					is_core_of = ETH
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
		}

		ai_hint_pp_cost = 50
		custom_cost_trigger = {
			command_power > 49
			has_political_power > 49
		}
		custom_cost_text = decision_cost_CP_50_pp_50

		days_remove = ITA_colonial_management_days

		days_re_enable = ITA_colonial_management_cd

		complete_effect = {
			hidden_effect = {
				add_command_power = -50
				add_political_power = -50
			}
		}

		remove_effect = {
			if = {
				limit = {
					NOT = { has_template = "Truppe Irregolari a Cavallo" }
				}
				if = {
					limit = {
						NOT = { has_country_flag = ITA_improved_irregular_templates_flag }
					}
					division_template = { #Improve Irregular template
						name = "Truppe Irregolari a Cavallo"
						division_names_group = ITA_CAV_05
						is_locked = yes
						regiments = {
							cavalry = { x = 0 y = 0 }
							cavalry = { x = 0 y = 1 }
							cavalry = { x = 1 y = 0 }
							cavalry = { x = 1 y = 1 }
						}
						priority = 0
					}
				}
				else = {
					division_template = { #Basic irregular template
						name = "Truppe Irregolari a Cavallo"
						division_names_group = ITA_CAV_05
						is_locked = yes
						regiments = {
							cavalry = { x = 0 y = 0 }
							cavalry = { x = 0 y = 1 }
							cavalry = { x = 1 y = 0 }
							cavalry = { x = 1 y = 1 }
							cavalry = { x = 2 y = 0 }
							cavalry = { x = 2 y = 1 }
						}
						support = {
							recon = { x = 0 y = 0 }
						}
						priority = 0
					}
				}
			}

			if = {
				limit = {
					NOT = { has_template = "Truppe Irregolari di Cammelli" }
				}
				if = {
					limit = {
						NOT = { has_country_flag = ITA_improved_irregular_templates_flag }
					}
					division_template = { #Improve Irregular template
						name = "Truppe Irregolari di Cammelli"
						division_names_group = ITA_CAM_02
						is_locked = yes
						regiments = {
							camelry = { x = 0 y = 0 }
							camelry = { x = 0 y = 1 }
							camelry = { x = 1 y = 0 }
							camelry = { x = 1 y = 1 }
						}
						priority = 0
					}
				}
				else = {
					division_template = { #Basic irregular template
						name = "Truppe Irregolari di Cammelli"
						division_names_group = ITA_CAM_02
						is_locked = yes
						regiments = {
							camelry = { x = 0 y = 0 }
							camelry = { x = 0 y = 1 }
							camelry = { x = 1 y = 0 }
							camelry = { x = 1 y = 1 }
							camelry = { x = 2 y = 0 }
							camelry = { x = 2 y = 1 }
						}
						support = {
							recon = { x = 0 y = 0 }
						}
						priority = 0
					}
				}
			}

			custom_effect_tooltip = ITA_train_irregulars_create_units_tt

			#ERITREA
			if = {
				limit = {
					any_owned_state = {
						is_core_of = ERI
						is_fully_controlled_by = ROOT
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_core_of = ERI
						is_fully_controlled_by = ROOT
					}
					prioritize = { 550 } # ERITREA (In case at some point this gets split or tag gets more cores)
					custom_effect_tooltip = ITA_train_irregulars_eritrea_tt
					hidden_effect = {
						create_unit = {
							division = "division_template = \"Banda Irregolare Libica\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
						create_unit = {
							division = "division_template = \"Truppe Irregolari a Cavallo\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
					}
				}
			}

			#LIBYA
			if = {
				limit = {
					any_owned_state = {
						is_core_of = LBA
						is_fully_controlled_by = ROOT
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_core_of = LBA
						is_fully_controlled_by = ROOT
					}
					prioritize = { 448 } # TRIPOLI (In case at some point this gets split or tag gets more cores)
					custom_effect_tooltip = ITA_train_irregulars_libya_tt
					hidden_effect = {
						create_unit = {
							division = "division_template = \"Truppe Irregolari a Cavallo\" start_experience_factor = 0.15 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
						create_unit = {
							division = "division_template = \"Truppe Irregolari di Cammelli\" start_experience_factor = 0.15 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
					}
				}
			}

			#SOMALIA
			if = {
				limit = {
					any_owned_state = {
						is_core_of = SOM
						is_fully_controlled_by = ROOT
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_core_of = SOM
						is_fully_controlled_by = ROOT
					}
					prioritize = { 559 } # SOMALILAND (In case at some point this gets split or tag gets more cores)
					custom_effect_tooltip = ITA_train_irregulars_somalia_tt
					hidden_effect = {
						create_unit = {
							division = "division_template = \"Banda Irregolare Somala\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
							owner = ROOT
							count = 2
						}
						create_unit = {
							division = "division_template = \"Truppe Irregolari a Cavallo\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
					}
				}
			}

			#ETHIOPIA
			if = {
				limit = {
					any_owned_state = {
						is_core_of = ETH
						is_fully_controlled_by = ROOT
					}
				}
				random_owned_controlled_state = {
					limit = {
						is_core_of = ETH
						is_fully_controlled_by = ROOT
					}
					prioritize = { 271 } # ADDIS ABABA (In case at some point this gets split or tag gets more cores)
					custom_effect_tooltip = ITA_train_irregulars_ethiopia_tt
					hidden_effect = {
						create_unit = {
							division = "division_template = \"Banda Irregolare Eritrea\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
						create_unit = {
							division = "division_template = \"Truppe Irregolari di Cammelli\" start_experience_factor = 0.1 start_equipment_factor = 1.0"
							owner = ROOT
							count = 1
						}
					}
				}
			}

			custom_effect_tooltip = ITA_train_irregulars_cd_tt
		}

		ai_will_do = {
			base = 0.05
		}
	}

	#Disband Irregulars
	ITA_disband_irregulars = {
		icon = GFX_decision_generic_disband_irregulars
		allowed = {
			tag = ITA
		}

		available = {
			NOT = { has_global_flag = second_italo_ethiopian_war_flag }
			any_country_division = {
				division_has_majority_template = irregular_infantry
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
		}

		cost = 5

		complete_effect = {
			custom_effect_tooltip = ITA_disband_irregulars_tt

			hidden_effect = {
				delete_units = {
					division_template = "Banda Indigena Irregolare"
					disband = no #MP or weapons are not ours to take
				}
				delete_units = {
					division_template = "Truppe Irregolari a Cavallo"
					disband = no #MP or weapons are not ours to take
				}
				delete_units = {
					division_template = "Banda Irregolare Libica"
					disband = no #MP or weapons are not ours to take
				}
				delete_units = {
					division_template = "Banda Irregolare Eritrea"
					disband = no #MP or weapons are not ours to take
				}
				delete_units = {
					division_template = "Banda Irregolare Somala"
					disband = no #MP or weapons are not ours to take
				}
				delete_units = {
					division_template = "Truppe Irregolari di Cammelli"
					disband = no #MP or weapons are not ours to take
				}
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	#Re-organize Irregulars
	ITA_reorganize_irregulars = {
		icon = GFX_decision_generic_reorganize_irregulars
		allowed = {
			tag = ITA
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			NOT = { has_country_flag = ITA_improved_irregular_templates_flag }
		}

		available = {
			has_tech = tech_recon
		}

		ai_hint_pp_cost = 50
		custom_cost_trigger = {
			command_power > 49
			has_political_power > 49
			has_army_experience > 14
		}
		custom_cost_text = decision_cost_CP_50_pp_50_ArmXP_15

		days_remove = ITA_reorganize_irregulars_days

		complete_effect = {
			hidden_effect = {
				add_command_power = -50
				add_political_power = -50
				army_experience = -15
			}
		}

		remove_effect = {
			set_country_flag = ITA_improved_irregular_templates_flag

			custom_effect_tooltip = ITA_reorganize_irregulars_tt

			hidden_effect = {
				add_units_to_division_template = {
					template_name = "Banda Indigena Irregolare"
					regiments = {
						irregular_infantry = 0
						irregular_infantry = 1

					}
					support = {
						recon = 0
					}
				}

				add_units_to_division_template = {
					template_name = "Truppe Irregolari a Cavallo"
					regiments = {
						cavalry = 0
						cavalry = 1
					}
					support = {
						recon = 0
					}
				}

				add_units_to_division_template = {
					template_name = "Truppe Irregolari di Cammelli"
					regiments = {
						camelry = 0
						camelry = 1
					}
					support = {
						recon = 0
					}
				}

				add_units_to_division_template = {
					template_name = "Banda Irregolare Eritrea"
					regiments = {
						irregular_infantry = 0
						irregular_infantry = 1
					}
					support = {
						recon = 0
					}
				}

				add_units_to_division_template = {
					template_name = "Banda Irregolare Libica"
					regiments = {
						irregular_infantry = 0
						irregular_infantry = 1
					}
					support = {
						recon = 0
					}
				}

				add_units_to_division_template = {
					template_name = "Banda Irregolare Somala"
					regiments = {
						irregular_infantry = 0
						irregular_infantry = 1
					}
					support = {
						recon = 0
					}
				}
			}
		}

		ai_will_do = {
			base = 0.5
			modifier = {
				factor = 3
				OR = {
					has_completed_focus = ITA_comandante_diavolo
					has_completed_focus = ITA_irregulars
				}
			}
		}
	}

	#Re-organize Ascari
	ITA_reorganize_ascari = {
		icon = GFX_decision_ITA_reorganize_ascari
		allowed = {
			tag = ITA
		}

		visible = {
			has_completed_focus = ITA_strengthen_ascari_corps
			NOT = { has_country_flag = ITA_improved_ascari_templates_flag }
		}

		available = {
			has_tech = tech_recon
		}

		ai_hint_pp_cost = 50
		custom_cost_trigger = {
			command_power > 49
			has_political_power > 49
			has_army_experience > 14
		}
		custom_cost_text = decision_cost_CP_50_pp_50_ArmXP_15

		days_remove = ITA_reorganize_ascari_days

		complete_effect = {
			hidden_effect = {
				add_command_power = -50
				add_political_power = -50
				army_experience = -15
			}
		}

		remove_effect = {
			set_country_flag = ITA_improved_ascari_templates_flag

			custom_effect_tooltip = ITA_reorganize_ascari_tt

			hidden_effect = {
				if = {
					limit = {
						NOT = { has_template = "Divisione Coloniale" }
					}
					division_template = {
						name = "Divisione Coloniale"
						division_names_group = ITA_COL_01
						template_counter = 67

						# Represents lesser-equipped colonial units
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
						}

						priority = 0
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
					}
					add_units_to_division_template = {
						template_name = "Divisione Coloniale"
						support = {
							armored_car_recon = 0
							artillery = 0
						}
					}
				}
				else = {
					add_units_to_division_template = {
						template_name = "Divisione Coloniale"
						support = {
							artillery = 0
						}
					}
				}

				if = {
					limit = {
						NOT = { has_template = "Cavalleria Coloniale" }
					}
					division_template = {
						name = "Cavalleria Coloniale"
						division_names_group = ITA_CAV_03
						override_model = ITA_cavalry_alt_1_entity
						is_locked = yes

						# Represents lesser-equipped colonial units
						regiments = {
							cavalry = { x = 0 y = 0 }
							cavalry = { x = 0 y = 1 }
							cavalry = { x = 1 y = 0 }
							cavalry = { x = 1 y = 1 }
						}

						priority = 0
					}
				}
				add_units_to_division_template = {
					template_name = "Cavalleria Coloniale"
					regiments = {
						cavalry = 0
						cavalry = 1
					}
					support = {
						recon = 0
					}
				}

				if = {
					limit = {
						NOT = { has_template = "Reggimento Meharista" }
					}
					division_template = {
						name = "Reggimento Meharista"
						division_names_group = ITA_CAM_01
						override_model = ITA_camelry_alt_1_entity
						regiments = {
							camelry = { x = 0 y = 0 }
							camelry = { x = 0 y = 1 }
							camelry = { x = 1 y = 0 }
							camelry = { x = 1 y = 1 }
						}
					}
				}
				add_units_to_division_template = {
					template_name = "Reggimento Meharista"
					regiments = {
						camelry = 0
						camelry = 1
					}
					support = {
						recon = 0
					}
				}

				if = {
					limit = {
						NOT = { has_template = "Divisione Ascari Libica" }
					}
					division_template = {
						name = "Divisione Ascari Libica"
						division_names_group = ITA_COL_01
						override_model = ITA_infantry_alt_0_entity
						template_counter = 67
						#is_locked = yes
						obsolete = yes

						# Represents lesser-equipped colonial units
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
						}

						priority = 0
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
					}
					add_units_to_division_template = {
						template_name = "Divisione Ascari Libica"
						support = {
							armored_car_recon = 0
							artillery = 0
						}
					}
				}
				else = {
					add_units_to_division_template = {
						template_name = "Divisione Ascari Libica"
						support = {
							artillery = 0
						}
					}
				}

				if = {
					limit = {
						NOT = { has_template = "Divisione Ascari Eritrea" }
					}
					division_template = {
						name = "Divisione Ascari Eritrea"
						division_names_group = ITA_COL_01
						template_counter = 67
						#is_locked = yes
						obsolete = yes

						# Represents lesser-equipped colonial units
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
						}

						priority = 0
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
					}
					add_units_to_division_template = {
						template_name = "Divisione Ascari Eritrea"
						support = {
							armored_car_recon = 0
							artillery = 0
						}
					}
				}
				else = {
					add_units_to_division_template = {
						template_name = "Divisione Ascari Eritrea"
						support = {
							artillery = 0
						}
					}
				}
				
				if = {
					limit = {
						NOT = { has_template = "Divisione Ascari Somala" }
					}
					division_template = {
						name = "Divisione Ascari Somala"
						division_names_group = ITA_COL_01
						override_model = ITA_infantry_alt_1_entity
						template_counter = 67
						#is_locked = yes
						obsolete = yes

						# Represents lesser-equipped colonial units
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
						}

						priority = 0
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
					}
					add_units_to_division_template = {
						template_name = "Divisione Ascari Somala"
						support = {
							armored_car_recon = 0
							artillery = 0
						}
					}
				}
				else = {
					add_units_to_division_template = {
						template_name = "Divisione Ascari Somala"
						support = {
							artillery = 0
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 3
				OR = {
					has_completed_focus = ITA_strengthen_ascari_corps
					has_completed_focus = ITA_ascari
				}
			}
		}
	}

	#Infrastructure Program in State
	ITA_regional_development_in_state = {
		icon = GFX_decision_generic_construction
		allowed = {
			tag = ITA
		}

		available = {
			has_tech = construction3
			num_of_civilian_factories_available_for_projects > 0
		}

		state_target = yes

		target_array = ROOT.owned_states

		target_trigger = {
			FROM = {
				is_fully_controlled_by = ROOT
				ITA_is_italian_colony = yes
				OR = {
					has_state_category = wasteland
					has_state_category = pastoral
				}
				impassable = no
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_completed_focus = ITA_regional_development
			has_civil_war = no
		}

		cost = ITA_infrastructure_program_in_state_cost

		days_remove = ITA_infrastructure_program_in_state_days

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			FROM = {
				add_compliance = 5
				add_extra_state_shared_building_slots = 1
				if = {
					limit = {
						has_state_category = wasteland
					}
					set_state_category = pastoral
				}
				else_if = {
					limit = {
						has_state_category = pastoral
					}
					set_state_category = rural
				}
			}
		}

		ai_will_do = {
			base = 2
		}
	}
	

ITA_italian_africa_plan_decision = {

		cost = 35

		fire_only_once = yes

		icon = GFX_decision_generic_orginization_of_african_unity
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
			state =  551 
			state =  883
			state =  886
			state =  549 
			state =  885 
			state =  884 
			state =  887
			state =  767
		state = 453
		state = 452
		state = 447
		state = 446
		state = 907
		state = 456
		state = 457
		state = 552
            state = 271
            state = 835
            state = 836
            state = 837
            state = 838
            state = 839
            state = 840
            state = 841
            state = 842
            state = 843
            state = 908
            state = 550
            state = 268
            state = 269
            state = 559
            state = 844
            state = 903
            state = 547
            state = 905
            state = 448
            state = 661
            state = 662
            state = 663
            state = 273
            state = 449
            state = 450
            state = 451
            state = 458
            state = 665
            state = 268
            state = 269
            state = 906
            state = 547
            state = 903
            state = 905
			}
		}
		}
		
		available = {
		
		is_subject = no
		
		OR = {
		has_government = fascism
		has_government = neutrality
		}
		
		has_completed_focus = ITA_towards_new_world_order
		
		LBA = {
		is_subject_of = ROOT
		compare_autonomy_state < autonomy_satellite
		}
		AOI = {
		is_subject_of = ROOT
		compare_autonomy_state < autonomy_satellite
		}
		EGY = {
		is_subject_of = ROOT
		compare_autonomy_state < autonomy_satellite
		}
		
		}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		
551  = { is_controlled_by_ROOT_or_subject = yes }
883  = { is_controlled_by_ROOT_or_subject = yes }
886  = { is_controlled_by_ROOT_or_subject = yes }
549  = { is_controlled_by_ROOT_or_subject = yes }
885  = { is_controlled_by_ROOT_or_subject = yes }
884  = { is_controlled_by_ROOT_or_subject = yes }
887  = { is_controlled_by_ROOT_or_subject = yes }
767  = { is_controlled_by_ROOT_or_subject = yes }
453  = { is_controlled_by_ROOT_or_subject = yes }
452  = { is_controlled_by_ROOT_or_subject = yes }
447  = { is_controlled_by_ROOT_or_subject = yes }
446  = { is_controlled_by_ROOT_or_subject = yes }
907  = { is_controlled_by_ROOT_or_subject = yes }
456  = { is_controlled_by_ROOT_or_subject = yes }
457  = { is_controlled_by_ROOT_or_subject = yes }
552  = { is_controlled_by_ROOT_or_subject = yes }
271  = { is_controlled_by_ROOT_or_subject = yes }
835  = { is_controlled_by_ROOT_or_subject = yes }
836  = { is_controlled_by_ROOT_or_subject = yes }
837  = { is_controlled_by_ROOT_or_subject = yes }
838  = { is_controlled_by_ROOT_or_subject = yes }
839  = { is_controlled_by_ROOT_or_subject = yes }
840  = { is_controlled_by_ROOT_or_subject = yes }
841  = { is_controlled_by_ROOT_or_subject = yes }
842  = { is_controlled_by_ROOT_or_subject = yes }
843  = { is_controlled_by_ROOT_or_subject = yes }
908  = { is_controlled_by_ROOT_or_subject = yes }
550  = { is_controlled_by_ROOT_or_subject = yes }
268  = { is_controlled_by_ROOT_or_subject = yes }
269  = { is_controlled_by_ROOT_or_subject = yes }
559  = { is_controlled_by_ROOT_or_subject = yes }
844  = { is_controlled_by_ROOT_or_subject = yes }
903  = { is_controlled_by_ROOT_or_subject = yes }
547  = { is_controlled_by_ROOT_or_subject = yes }
905  = { is_controlled_by_ROOT_or_subject = yes }
448  = { is_controlled_by_ROOT_or_subject = yes }
661  = { is_controlled_by_ROOT_or_subject = yes }
662  = { is_controlled_by_ROOT_or_subject = yes }
663  = { is_controlled_by_ROOT_or_subject = yes }
273  = { is_controlled_by_ROOT_or_subject = yes }
449  = { is_controlled_by_ROOT_or_subject = yes }
450  = { is_controlled_by_ROOT_or_subject = yes }
451  = { is_controlled_by_ROOT_or_subject = yes }
458  = { is_controlled_by_ROOT_or_subject = yes }
665  = { is_controlled_by_ROOT_or_subject = yes }
268 = { is_controlled_by_ROOT_or_subject = yes }
269 = { is_controlled_by_ROOT_or_subject = yes }
906 = { is_controlled_by_ROOT_or_subject = yes }
547 = { is_controlled_by_ROOT_or_subject = yes }
903 = { is_controlled_by_ROOT_or_subject = yes }
905 = { is_controlled_by_ROOT_or_subject = yes }

		}

		visible = {
			has_global_flag = ITA_italian_africa_plan_flag
		}
		
		days_remove = 15
		
		modifier = {
		political_power_factor = -0.25
		civilian_factory_use = 3
		}

		remove_effect = {
		
		#custom_effect_tooltip = ALL_can_be_later_integrated
		
		set_country_flag = ITA_italian_africa_plan_decision
		
		ITA_bop_low_increase_effect = yes
		
		unlock_decision_tooltip = ITA_integrate_italian_africa
		country_event = ITA_other_event.7
		}

		ai_will_do = {
			base = 200
		}
	}
	
ITA_italian_africa_integrate_lands = {

		cost = 35

		fire_only_once = yes

		icon = GFX_decision_generic_orginization_of_african_unity
		
		fire_only_once = yes
		
		available = {
		
		is_subject = no
		
		has_country_flag = ITA_italian_africa_plan_decision
		
		OR = {
		has_government = fascism
		has_government = neutrality
		}
		
		}

		visible = {
			has_country_flag = ITA_italian_africa_plan_decision
		}
		
		days_remove = 70
		
		modifier = {
		command_power_gain_mult = -0.15
		}

		remove_effect = {
		
		set_global_flag = ITA_italian_africa_integrate_lands
		
		every_country = {
		limit = {has_country_flag = is_italian_africa}
		
		every_state = {
		limit = {
		OR = {
			state =  551 
			state =  883
			state =  886
			state =  549 
			state =  885 
			state =  884 
			state =  887
			state =  767
		state = 453
		state = 452
		state = 447
		state = 446
		state = 907
		state = 456
		state = 457
		state = 552
            state = 271
            state = 835
            state = 836
            state = 837
            state = 838
            state = 839
            state = 840
            state = 841
            state = 842
            state = 843
            state = 908
            state = 550
            state = 268
            state = 269
            state = 559
            state = 844
            state = 903
            state = 547
            state = 905
            state = 448
            state = 661
            state = 662
            state = 663
            state = 273
            state = 449
            state = 450
            state = 451
            state = 458
            state = 665
			}
		}
		add_core_of = PREV
		}		
		}
		}

		ai_will_do = {
			base = 200
		}
	}
	
ITA_switch_to_aoi = {
		allowed = {
			tag = ITA
		}
		available = {
		has_global_flag = italian_east_africa_flag
		}
		
		visible = {
		ROOT = {is_ai = no}
		has_global_flag = italian_east_africa_flag
		}

		cost = 0

		ai_will_do = {
			base = 0
		}
		complete_effect = {
		AOI = { change_tag_from = ROOT }
		}
	}
	colonial_government_in_east_africa = {

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes

		available = {
			has_completed_focus = ITA_ministry_of_italian_africa
			has_completed_focus = ITA_triumph_in_africa_bba
			custom_trigger_tooltip = {
				tooltip = aoi_required_ethiopian_states
				
				271 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				835 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				836 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				837 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				838 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				839 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				840 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				841 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				842 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				843 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				908 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				
			OR = {
				ITA = {
				owns_state = 550 # Eritrea
				}
				any_country = {
					is_subject_of = ITA
					owns_state = 550 # Eritrea
				}
			}
			OR = {
				ITA = {
				owns_state = 559 # Somaliland
				}
				any_country = {
					is_subject_of = ITA
					owns_state = 559 # Somaliland
				}
			}
			OR = {
				ITA = {
				owns_state = 844 # Jubaland
				}
				any_country = {
					is_subject_of = ITA
					owns_state = 844 # Jubaland
				}
			}

		}
	}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			NOT = { has_global_flag = italian_east_africa_flag }
		}

		complete_effect = {
		custom_effect_tooltip = ALL_can_be_later_integrated

			custom_effect_tooltip = aoi_founded_tt
			
			hidden_effect = {
				set_global_flag = italian_east_africa_flag
				
				country_event = {id = ITA_other_event.6 days = 3}
				
				271 = {transfer_state_to = AOI}
				550 = {transfer_state_to = AOI}
				559 = {transfer_state_to = AOI}
				844 = {transfer_state_to = AOI}
				908 = {transfer_state_to = AOI}
				835 = {transfer_state_to = AOI}
				836 = {transfer_state_to = AOI}
				837 = {transfer_state_to = AOI}
				838 = {transfer_state_to = AOI}
				839 = {transfer_state_to = AOI}
				840 = {transfer_state_to = AOI}
				841 = {transfer_state_to = AOI}
				842 = {transfer_state_to = AOI}
				843 = {transfer_state_to = AOI}
				
				ROOT = {
				set_autonomy = {
				    target = AOI
				    autonomy_state = autonomy_puppet
				    end_wars = no
				    end_civil_wars = no
				}
				}
				
				ROOT = {end_puppet = ERI}
				ROOT = {end_puppet = SOM}
				
				ERI = {drop_cosmetic_tag = yes}
				SOM = {drop_cosmetic_tag = yes}
				
				ERI = {retire_country_leader = yes}
				SOM = {retire_country_leader = yes}

				AOI = {
				#inherit_technology = ITA
					add_manpower = 100000
					add_ideas = {
						AOI_africa_orientale_italiana_idea
						AOI_ethiopian_slavery
						AOI_illiteracy
						AOI_undeveloped_country
					}
					add_offsite_building = { type = industrial_complex level = 4 }
					add_offsite_building = { type = arms_factory level = 4 }
					add_equipment_to_stockpile = {
					    type = infantry_equipment
					    amount = 5000
					    producer = ITA
					}
					if = {
						limit = {
							has_dlc = "La Resistance"
						}
						create_intelligence_agency = yes
					}
			set_cosmetic_tag = AOI_Italian
		}
		
		if = {
		limit = {
		ETH = {is_ai = no}
		ETH = {has_completed_focus = ETH_declare_for_italy}
		}
		AOI = { change_tag_from = ETH }		
		}
		
	every_state = {
	limit = {
	is_core_of = ETH
	}
	add_dynamic_modifier = {modifier = AOI__ethiopian_partisans scope = AOI}
	set_state_flag = AOI_partisans_here
	}			
		every_state = {
				remove_dynamic_modifier = { modifier = ETH_state_development_dynamic_modifier}
				}
				every_state = {
					limit = {is_controlled_by = AOI
					is_core_of = ETH }
					add_compliance = 15
					add_resistance = 35
				}
				every_state = {
					limit = { is_controlled_by = AOI
					is_core_of = SOM
					NOT = {is_core_of = ETH } }
					add_compliance = 20
					add_resistance = 5
				}
				every_state = {
					limit = { is_controlled_by = AOI
					is_core_of = ERI }
					add_compliance = 20
					add_resistance = 5
				}
			}
		}

		ai_will_do = {
			base = 200
			modifier = {
				factor = 100
				ETH = {
					has_completed_focus = ETH_declare_for_italy
				}
			}
		}
	}
	
	give_somaliland_to_the_aoi = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
				controls_state = 269 # British Somaliland
				}
				any_country = {
					is_subject_of = ITA
					controls_state = 269 # British Somaliland
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
			NOT = {
				has_global_flag = italian_east_africa_has_somaliland_flag
			}
		}

		complete_effect = {

			# British Somaliland
			AOI = {
				transfer_state = 269
			}

			hidden_effect = {
				set_global_flag = italian_east_africa_has_somaliland_flag
			}
		}

		ai_will_do = {
			factor = 400
		}
	}

	give_djibouti_to_the_aoi = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
				controls_state = 268 # French Somaliland
				}
				any_country = {
					is_subject_of = ITA
					controls_state = 268 # French Somaliland
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
			NOT = {
				has_global_flag = italian_east_africa_has_djibouti_flag
			}
		}

		complete_effect = {

			# French Somaliland
			AOI = {
				transfer_state = 268
			}

			hidden_effect = {
				set_global_flag = italian_east_africa_has_djibouti_flag
			}
		}

		ai_will_do = {
			factor = 400
		}
	}

	give_garissa_to_the_aoi = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
				controls_state = 903 # Garissa
				}
				any_country = {
					is_subject_of = ITA
					controls_state = 903 # Garissa
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
			NOT = {
				has_global_flag = italian_east_africa_has_garissa_flag
			}
		}

		complete_effect = {

			# Garissa
			AOI = {
				transfer_state = 903
			}

			hidden_effect = {
				set_global_flag = italian_east_africa_has_garissa_flag
			}
		}

		ai_will_do = {
			factor = 400
		}
	}
	
	give_sokotra_to_the_aoi = {

		cost = 5

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
				controls_state = 906 # Garissa
				}
				any_country = {
					is_subject_of = ITA
					controls_state = 906 # Garissa
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
			NOT = {
				has_global_flag = italian_east_africa_has_sokotra_flag
			}
		}

		complete_effect = {

			# Garissa
			AOI = {
				transfer_state = 906
			}

			hidden_effect = {
				set_global_flag = italian_east_africa_has_sokotra_flag
			}
		}

		ai_will_do = {
			factor = 400
		}
	}	
	give_mombasa_to_the_aoi = {

		cost = 15

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
				controls_state = 905 # Garissa
				}
				any_country = {
					is_subject_of = ITA
					controls_state = 905 # Garissa
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
			NOT = {
				has_global_flag = italian_east_africa_has_mombasa_flag
			}
		}

		complete_effect = {

			# Garissa
			AOI = {
				transfer_state = 905
			}

			hidden_effect = {
				set_global_flag = italian_east_africa_has_mombasa_flag
			}
		}

		ai_will_do = {
			factor = 400
		}
	}
	
	give_nairobi_to_the_aoi = {

		cost = 15

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
				controls_state = 547 # Garissa
				}
				any_country = {
					is_subject_of = ITA
					controls_state = 547 # Garissa
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
			NOT = {
				has_global_flag = italian_east_africa_has_nairobi_flag
			}
		}

		complete_effect = {

			# Garissa
			AOI = {
				transfer_state = 547
			}

			hidden_effect = {
				set_global_flag = italian_east_africa_has_nairobi_flag
			}
		}

		ai_will_do = {
			factor = 400
		}
	}

	send_more_men_to_the_AOI = {

		cost = 10

		days_re_enable = 91

		icon = GFX_decision_eng_blackshirt_march

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			ITA = {
				has_manpower > 10000
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
		}

		complete_effect = {

			ITA = {
				add_manpower = -10000
			}

			AOI = {
				add_manpower = 10000
				army_experience = 15
			}
			every_state = {
				limit = {
					is_owned_and_controlled_by = AOI
				}
				add_resistance = -5
			}

			hidden_effect = {

			}
		}

		ai_will_do = {
			factor = 20
		}
	}

	send_more_weapons_to_the_AOI = {

		cost = 10

		days_re_enable = 91

		icon = GFX_decision_generic_prepare_civil_war

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
			AOI = {
				exists = yes
			}
			OR = {
				ITA = {
					has_equipment = {
					    infantry_equipment_1 > 2000
					}
				}
				ITA = {
					has_equipment = {
					    infantry_equipment_0 > 2000
					}
				}
				ITA = {
					has_equipment = {
					    infantry_equipment_2 > 2000
					}
				}
			}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			has_global_flag = italian_east_africa_flag
		}

		complete_effect = {

			ITA = {
				send_equipment = {
				    equipment = infantry_equipment
				    amount = 2000
				    target = AOI
				}
			}

			every_state = {
				limit = {
					is_owned_and_controlled_by = AOI
				}
				add_resistance = -5
			}

			hidden_effect = {

			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 10
				OR = {
					ITA = {
						has_equipment = {
						    infantry_equipment_1 > 5000
						}
					}
					ITA = {
						has_equipment = {
						    infantry_equipment_0 > 5000
						}
					}
					ITA = {
						has_equipment = {
						    infantry_equipment_2 > 5000
						}
					}
				}
			}
		}
	}
	
	give_tunisia_to_lba = {

		cost = 10

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		target_trigger = {
			FROM = {
				OR = {
					state = 458
					state = 665
			}
		}
	}
		highlight_states = {
		highlight_state_targets = {
				state = FROM
			} 
		}
		target_root_trigger = { tag = ROOT}
		state_target = yes
		on_map_mode = map_and_decisions_view
		fire_only_once = yes # Only once per State
		available = {
		LBA = {is_subject_of = ROOT}
		FROM = {
		state_is_fully_controlled_by_ROOT_or_subject = yes
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
		}


		complete_effect = {
		LBA = {transfer_state = FROM}
		#FROM = {add_compliance = 15}
		}

		ai_will_do = {
			base = 125

		}
	}

	#Abolish the Colonies
	ITA_abolish_the_colonies_dec = {
		icon = GFX_decision_generic_reorganize_irregulars
		allowed = {
			tag = ITA
		}

		visible = {
			has_completed_focus = ITA_abolish_the_colonies
		}

		available = {
			always = no
		}

		fire_only_once = yes

		days_remove = ITA_abolish_the_colonies_days #365

		modifier = {
			stability_factor = -0.1
			political_power_factor = -0.1
		}

		complete_effect = {

		}

		remove_effect = {
			custom_effect_tooltip = ITA_abolish_the_colonies_event_chain_tt
			custom_effect_tooltip = ITA_abolish_the_colonies_tips_tt
			hidden_effect = {
				country_event = BBA_italy_anti_colonialism_events.51
			}
		}
	}
}

ITA_naval_cooperation_programs_dec_cat = {
	ITA_cooperation_program_with_country = {
		priority = 20

		icon = GFX_decision_generic_research

		ai_will_do = {
			base = 0.7
		}

		fire_only_once = yes

		available = {
			has_navy_size = {
				size > 4
				archetype = ship_hull_light #DDs
			}
			has_navy_size = {
				size > 0
				type = capital_ship
			}
			FROM = { #For tooltip purposes
				has_navy_size = {
					size > 4
					archetype = ship_hull_light #DDs
				}
			}
		}

		target_array = ROOT.allies

		target_trigger = { #Used to filter out allies with no navy. The actual trigger is part of the available trigger since we want the player to be aware of the requisites for FROM
			FROM = {
				has_navy_size = {
					size > 0
					archetype = ship_hull_light #DDs
				}
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_civil_war = no
			is_in_faction = yes
		}

		cost = 15

		complete_effect = {
			FROM = { country_event = { id = BBA_italy_naval_cooperation_programs.01 hours = 1 } }
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_to_tech_sharing_group = ITA_naval_cooperation_program_research_group
				FROM = { add_to_tech_sharing_group = ITA_naval_cooperation_program_research_group }
			}
		}
	}

	ITA_joint_maneuvers_with_country = {
		priority = 18

		icon = GFX_decision_hol_draw_up_staff_plans

		ai_will_do = {
			base = 1
		}

		fire_only_once = yes

		available = {
			has_navy_size = {
				size > 14
				archetype = ship_hull_light #DDs
			}
			has_navy_size = {
				size > 2
				type = capital_ship
			}
			FROM = { #For tooltip purposes
				has_navy_size = {
					size > 9#14
					archetype = ship_hull_light #DDs
				}
			}
			FROM = {
				has_navy_size = {
					size > 2
					type = capital_ship
				}
			}
		}

		target_array = ROOT.allies

		target_trigger = { #Used to filter out allies with no navy. The actual trigger is part of the available trigger since we want the player to be aware of the requisites for FROM
			FROM = {
				has_navy_size = {
					size > 0
					archetype = ship_hull_light #DDs
				}
				NOT = { has_country_flag = ITA_joint_maneuvers_flag }
				NOT = { has_country_flag = ITA_joint_maneuvers_rejected_flag }
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_civil_war = no
			is_in_faction = yes
		}

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			has_political_power > 14
			has_navy_experience > 14
		}
		custom_cost_text = decision_cost_pp_15_NavXP_15

		days_remove = ITA_joint_maneuvers_with_country_days

		cancel_trigger = {
			hidden_trigger = {
				OR = {
					NOT = { country_exists = ROOT }
					NOT = { country_exists = FROM }
					NOT = { is_in_faction_with = FROM }
				}
			}
		}

		complete_effect = {
			hidden_effect = {
				add_political_power = -15
				navy_experience = -15
			}
			FROM = { country_event = { id = BBA_italy_naval_cooperation_programs.04 hours = 1 } }
		}

		remove_effect = {
			FROM = { set_country_flag = ITA_joint_maneuvers_flag } #To prevent the decision to be taken more than once for the same tag

			hidden_effect = {
				country_event = BBA_italy_naval_cooperation_programs.07
				FROM = { country_event = { id = BBA_italy_naval_cooperation_programs.07 hours = 1 } }
			}
			custom_effect_tooltip = if_they_accept
			effect_tooltip = {
				navy_experience = 50
				add_doctrine_cost_reduction = {
					name = ITA_joint_maneuvers_with_country_doctrine_bonus
					cost_reduction = 0.50
					uses = 1
					category = naval_doctrine
				}
				FROM = {
					navy_experience = 50
					add_doctrine_cost_reduction = {
						name = ITA_joint_maneuvers_with_country_doctrine_bonus
						cost_reduction = 0.50
						uses = 1
						category = naval_doctrine
					}
				}
			}
		}
	}

	ITA_sell_obsolete_escort_ships_to_country = {
		priority = 15

		icon = GFX_decision_generic_naval

		ai_will_do = {
			base = 1
		}

		available = {
			FROM = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction = no
				}
				is_major = no
				capital_scope = {
					is_on_continent = europe
				}
				NOT = { has_war_with = ROOT }
				has_navy_size = {
					size > 0
					archetype = ship_hull_light #DDs
				}
			}
			NOT = { has_country_flag = ITA_escort_ships_purchase_ongoing_flag } #Prevents ITA from activating more than one of these decisions at once
		}

		visible = {
			NOT = { has_country_flag = ITA_sold_obsolete_escort_ships_flag } #Can only sell the ships once // Need this inside visible in order to hide the other decisions immediately after successfully selling ships
		}

		target_trigger = { #Used to filter out allies with no navy. The actual trigger is part of the available trigger since we want the player to be aware of the requisites for FROM
			FROM = {
				is_major = no
				NOT = { has_country_flag = ITA_obsolete_escort_ships_rejected_flag }
				capital_scope = {
					is_on_continent = europe
				}
				NOT = { has_war_with = ROOT }
				NOT = { has_country_flag = ITA_purchase_obsolete_escort_ships_rejected_flag }
				has_navy_size = {
					size > 0
					archetype = ship_hull_light #DDs
				}
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_civil_war = no
			has_country_flag = ITA_sweden_refused_to_buy_ships_flag #Available only if Sweden refuses in the event triggered via FT
			NOT = { has_country_flag = ITA_sold_obsolete_escort_ships_flag } #Can only sell the ships once
		}

		cost = 15

		complete_effect = {
			set_country_flag = ITA_escort_ships_purchase_ongoing_flag
			FROM = { country_event = { id = BBA_italy_naval_cooperation_programs.08 hours = 1 } }
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				custom_effect_tooltip = ITA_cooperation_programs_deal_others_tt
				add_timed_idea = {
					idea = ITA_sold_obsolete_escort_ships_ns
					days = 365
				}
			}

			custom_effect_tooltip = ITA_sell_obsolete_escort_ships_to_country_only_once_tt
		}
	}

	ITA_cede_aquila_class_destroyers_to_spanish_tag = {
		priority = 15

		icon = GFX_decision_generic_naval

		ai_will_do = {
			base = 0
			modifier = {
				add = 10
				is_historical_focus_on = yes
			}
		}

		visible = {
			NOT = { has_country_flag = ITA_ceded_aquila_class_destroyers_flag } #Used inside visible trigger to check continuously and prevent exploits
		}

		available = {
			has_navy_size = {
				size > 0
				archetype = ship_hull_light #DDs
			}
			FROM = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction = no
				}
				is_major = no
				capital_scope = {
					is_on_continent = europe
				}
				NOT = { has_war_with = ROOT }
				has_navy_size = {
					size > 0
					archetype = ship_hull_light #DDs
				}
			}
		}

		fire_only_once = yes

		targets = { SPA SPB SPC SPD }

		target_trigger = { #Used to filter out allies with no navy. The actual trigger is part of the available trigger since we want the player to be aware of the requisites for FROM
			FROM = {
				original_tag = SPR
				ITA_is_compatible_spanish_tag = yes
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_civil_war = no
			has_completed_focus = ITA_corpo_di_truppe_volontarie #It's totally ok that the decision gets unlocked even if the focus gets bypassed
			NOT = { has_country_flag = ITA_ceded_aquila_class_destroyers_flag } #To prevent visible trigger to check every tick after this happens
			OR = {
				has_global_flag = spanish_civil_war
				has_global_flag = scw_over
			}
		}

		complete_effect = {
			FROM = { country_event = { id = BBA_italy_naval_cooperation_programs.11 hours = 1 } }
			custom_effect_tooltip = if_they_accept
			effect_tooltip = {
				navy_experience = 50
				add_political_power = 50
				custom_effect_tooltip = ITA_cede_aquila_class_destroyers_tt
				FROM = {
					add_opinion_modifier = {
						modifier = ITA_ceded_destroyers
						target = ROOT
					}
				}
			}
		}
	}

	ITA_export_midget_submarines = {
		priority = 15

		icon = GFX_decision_generic_construction

		ai_will_do = {
			base = 0.5
			modifier = {
				factor = 100
				FROM = {
					is_ai = no
				}
			}
		}

		visible = {
			NOT = { FROM = { has_country_flag = ITA_midget_submarines_flag } } #Used inside visible trigger to check continuously and prevent exploits
		}

		available = {
			FROM = {
				is_in_faction_with = ROOT
				is_major = no
				capital_scope = {
					is_on_continent = europe
				}
				has_navy_size = {
					size > 0
					archetype = ship_hull_submarine #SS
				}
			}
			NOT = { has_country_flag = ITA_producing_midget_submarines_for_export_flag }
		}

		target_trigger = { #Used to filter out allies with no navy. The actual trigger is part of the available trigger since we want the player to be aware of the requisites for FROM
			FROM = {
				is_in_faction_with = ROOT
				is_major = no
				capital_scope = {
					is_on_continent = europe
				}
			}
		}

		target_root_trigger = {
			original_tag = ITA
			has_civil_war = no
			has_completed_focus = ITA_cooperation_programs
			has_completed_focus = ITA_midget_submarines
			NOT = { FROM = { has_country_flag = ITA_midget_submarines_flag } } #To prevent visible trigger to check every tick after this happens
		}

		cancel_trigger = {
			OR = {
				NOT = { is_in_faction_with = FROM }
				NOT = { country_exists = FROM }
			}
		}

		cancel_effect = {
			clr_country_flag = ITA_producing_midget_submarines_for_export_flag
		}

		days_remove = ITA_export_midget_submarines_days

		modifier = {
			consumer_goods_factor = -0.05
			industrial_capacity_dockyard = -0.05
		}

		complete_effect = {
			set_country_flag = ITA_producing_midget_submarines_for_export_flag
			FROM = { country_event = { id = BBA_italy_naval_cooperation_programs.14 hours = 1 } }
			custom_effect_tooltip = if_they_accept
			effect_tooltip = {
				custom_effect_tooltip = ITA_export_midget_submarines_tt
				FROM = {
					add_opinion_modifier = {
						modifier = POR_sold_ships
						target = ROOT
					}
				}
			}
		}

		remove_effect = {
			clr_country_flag = ITA_producing_midget_submarines_for_export_flag
			FROM = { country_event = BBA_italy_naval_cooperation_programs.17 }
		}
	}
}


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


ITA_diplomacy_balkan_decision_category = {
	ITA_pressure_country_government_balkan = {
		priority = 50

		icon = generic_political_discourse

		ai_will_do = {
			base = 0.8
			modifier = {
				factor = 2
				has_political_power > 160
			}
			modifier = { #If ideological rallies happened, then it's better
				factor = 4
				FROM = { has_country_flag = ITA_ideological_rallies_promoted_flag }
			}
			modifier = { #Do it only once, don't spam
				factor = 0
				FROM = { has_country_flag = ITA_government_pressured_flag }
			}
		}

		targets = { YUG BUL ROM }
		#targets = { BUL GRE YUG ALB ROM TUR SLV BOS HRZ MAC SER CRO KOS MNT TRA } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes"

		target_trigger = {
			SOV_basic_pressure_government_triggers = yes
		}

		target_root_trigger = {
			has_completed_focus = ITA_potential_allies_in_the_balkans
			is_subject = no
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			is_faction_leader = yes
			FROM = {
				has_opinion = {
					target = ROOT
					value > 49
				}
				SOV_is_valid_subject = yes # Italy might not give a sh*t about their petty overlord ;)
				NOT = { has_war_with = ROOT }
			}
			NOT = { has_country_flag = ITA_pressure_government_active_flag }
		}

		visible = {
		}

		days_remove = ITA_pressure_government_days

		days_re_enable = ITA_pressure_government_cd

		cost = ITA_pressure_country_government_cost

		modifier = {
			political_power_gain = -0.25
		}

		complete_effect = {
			set_country_flag = ITA_pressure_government_active_flag
		}

		remove_effect = {
			FROM = {
				country_event = { id = NSB_soviet_foreign_politics_events.1 hours = 4 random_hours = 2 }
				set_country_flag = ITA_government_pressured_flag #For AI weights - don't spam
			}
			clr_country_flag = ITA_pressure_government_active_flag
			custom_effect_tooltip = SOV_pressure_government_effects_tt
			custom_effect_tooltip = ITA_pressure_government_cd_tt
		}
	}

	ITA_promote_ideology_rallies_balkan = {
		priority = 50

		icon = generic_political_rally

		ai_will_do = {
			base = 1
			modifier = {
				factor = 2
				has_political_power > 160
			}
		}

		targets = { YUG BUL ROM }
		#targets = { BUL GRE YUG ALB ROM TUR SLV BOS HRZ MAC SER CRO KOS MNT TRA } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes"

		target_trigger = {
			SOV_basic_promote_rallies_triggers = yes
		}

		target_root_trigger = {
			has_completed_focus = ITA_potential_allies_in_the_balkans
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			FROM = {
				SOV_is_valid_subject = yes # Italy might not give a sh*t about their petty overlord ;)
				NOT = { has_war_with = ROOT }
			}
		}

		visible = {
		}

		days_remove = ITA_ideological_rallies_days

		fire_only_once = yes

		cost = ITA_promote_ideology_rallies_cost

		modifier = {
			political_power_gain = -0.25
		}

		complete_effect = {
		}

		remove_effect = {
			FROM = {
				country_event = { id = NSB_soviet_foreign_politics_events.2 hours = 4 random_hours = 2 }
			}
			custom_effect_tooltip = SOV_promote_rallies_effects_tt
			custom_effect_tooltip = SOV_promote_ideological_rallies_cd_tt
		}
	}

	ITA_send_ultimatum_to_country_balkan = {
		priority = 50

		icon = eng_trade_unions_demand

		ai_will_do = {
			base = 20
			modifier = {
				factor = 10
				has_political_power > 160
			}
			modifier = {
				factor = 10
				date > 1940.6.1
			}
			modifier = {
				factor = 0
				is_in_faction_with = FROM
			}
			modifier = {
				factor = 0.5
				original_tag = ITA
				FROM = {
					original_tag = YUG
					any_other_country = {
						has_guaranteed = PREV
						is_major = yes
					}
				}
				has_global_flag = second_italo_ethiopian_war_flag #Don't attack YUG if you can't handle ETH
			}
		}

		targets = { YUG CRO MNT SLV BOS HRZ MAC SER KOS TRA } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes"

		target_trigger = {
			ITA_basic_ultimatum_triggers = yes
			FROM = {
				is_subject = no #Subjects get dragged along in what their overlord says
				NOT = {
					is_subject_of = ITA
				}
			}
		}

		target_root_trigger = {
			has_completed_focus = ITA_balkan_ambition
			is_subject = no
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			FROM = {
				NOT = { 
					has_war_with = ROOT 
				}
				is_subject = no
			}
			is_subject = no
		}

		visible = {

		}

		cost = ITA_send_ultimatum_to_country_cost

		days_remove = ITA_ultimatum_days

		remove_effect = {
			FROM = {
				set_country_flag = ITA_ultimatum_sent_flag
				country_event = { id = NSB_soviet_foreign_politics_events.200 hours = 16 random_hours = 8 }
			}
			custom_effect_tooltip = SOV_ultimatum_generic_effects_tt
			custom_effect_tooltip = SOV_decision_will_be_locked_tt
		}
	}

	ITA_fight_alongside_country_comrades_balkan = {
		priority = 100

		icon = generic_prepare_civil_war

		ai_will_do = {
			base = 0
			modifier = {
				add = 0.01
				has_stability > 0.4
				FROM = {  #Join if it will not lead to a new war against a major
					all_enemy_country = {
						OR = {
							is_major = no
							has_war_with = ROOT
						}
					}
				}
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_manpower > 100000
			}
			modifier = {
				factor = 10
				FROM = { is_neighbor_of = ROOT }
			}
		}

		targets = { BUL GRE YUG ALB ROM TUR SLV BOS HRZ MAC SER CRO KOS MNT TRA } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes"

		target_trigger = {
			SOV_basic_fight_alongside_comrades_triggers = yes
		}

		target_root_trigger = {
			has_completed_focus = ITA_potential_allies_in_the_balkans
			is_subject = no
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			has_war_support > 0.15
			has_stability > 0.25
			NOT = { has_war_with = FROM }
		}

		visible = {
		}

		complete_effect = {
			hidden_effect = {
				random_country = {
					limit = {
						original_tag = FROM
						has_civil_war = yes
						NOT = { has_government = ROOT }
					}
					ROOT = { add_to_war = { targeted_alliance = FROM enemy = PREV hostility_reason = asked_to_join } }
				}
			}
			custom_effect_tooltip = BUL_fight_alongside_country_comrades_join_cw_tt #This tt works just fine :)

			effect_tooltip = {
				give_military_access = FROM
				FROM = { give_military_access = ROOT }
			}
			hidden_effect = {
				diplomatic_relation = {
					country = FROM
					relation = military_access
					active = yes
				}
				FROM = {
					diplomatic_relation = {
						country = ROOT
						relation = military_access
						active = yes
					}
				}
			}
		}
	}
	
	ITA_established_serbia = {
		priority = 70

		icon = GFX_decision_eng_ally_imperialist_coup

		ai_will_do = {
			base = 25
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 0.5
				ITA_is_historical_ai = yes
			}
		}

		allowed = {
			original_tag = ITA
		}
		fire_only_once = yes
		
		available = {
			is_subject = no
			custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			107 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			108 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			764 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1021 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 107
				state = 108
				state = 764
				state = 1021
			}
		}

		visible = {
		
		SER = {
		OR = {
		exists = no
		is_subject_of = ROOT
		}
		}
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		cost = 25
		
		complete_effect = {
		make_serbia_italian_puppet = yes
		}
	}
	
ITA_macedonia_question = {

		cost = 15

		fire_only_once = yes

		icon = GFX_decision_eng_trade_unions_support
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 803
		state = 106
		}
		}
		}

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
		#OR = {
		#SER = {
		#is_subject_of = ROOT
		#}
		#BUL = {
		#is_subject_of = ROOT
		#}
		#}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		106= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		803= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.13}
		}

		ai_will_do = {
			factor = 20
		}
	}
ITA_voevodina_question = {

		cost = 10

		fire_only_once = yes

		icon = GFX_decision_eng_trade_unions_support
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 45
		}
		}
		}

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
		
		OR = {
		SER = {
		is_subject_of = ROOT
		}
		CRO = {
		is_subject_of = ROOT
		}
		HUN = {
		is_subject_of = ROOT
		}
		}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		45= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = ITA_protectorate_event.35
		}

		ai_will_do = {
			factor = 20
		}
	}
	
	ITA_establish_croatia = {
		priority = 70

		icon = GFX_decision_eng_ally_imperialist_coup

		ai_will_do = {
			base = 25
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 0.5
				ITA_is_historical_ai = yes
			}
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 109
		state = 104
		state = 804
		state = 1030
		}
		}
		}

		allowed = {
			original_tag = ITA
		}
		fire_only_once = yes
		
		available = {
			is_subject = no
			109 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			104 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			804 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1030 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		cost = 25
		
		complete_effect = {
		custom_effect_tooltip = ALL_can_be_later_integrated
		make_croatia_italian_puppet = yes
		
		if = {
		limit = {
		has_global_flag = ITA_rome_protocols_flag
		}
		every_state = {
		limit = {
		OR = {
        state = 1018
        state = 1036
		}
		}
		transfer_state_to = CRO
		}		
		}
		
		}
	}
	
	ITA_coronate_prince_aimone = {
		priority = 70

		icon = GFX_decision_generic_monarchy

		ai_will_do = {
			base = 20
			modifier = {
				factor = 10
				is_in_faction_with = CRO
			}
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 0.5
				ITA_is_historical_ai = yes
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			is_subject = no
			CRO = {
				exists = yes
				NOT = { has_war_with = ITA }
				OR = {
					is_subject = no
					is_subject_of = ITA
				}
				OR = {
					has_government = fascism
					has_government = neutrality
				}
			}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_aimones_coronation
			}
		}

		cost = 50

		days_remove = 7

		remove_effect = {
			IF = {
				limit = {
					CRO = {
						NOT = {
							is_subject_of = ITA
						}
					}
				}
				CRO = {
					country_event = {
					    id = BBA_italy_interaction_events.4
					    days = 1
					    random = 2
					}
				}
			}
			set_country_flag = ITA_aimones_coronation
			hidden_effect = {
				ITA_prince_aimone = {
					set_nationality = CRO
				}
			}
		}
	}

	ITA_demand_tomislavs_absolute_reign = {
		priority = 69

		icon = GFX_decision_eng_abdication_crisis

		ai_will_do = {
			base = 1 #Peviously 10
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 0.2
				ITA_is_historical_ai = yes
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			CRO = {
				exists = yes
				is_subject_of = ITA
			}
			has_country_flag = ITA_aimones_coronation
		}

		visible = {
			has_country_flag = ITA_aimones_coronation
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_aimones_absolute_reign
			}
		}

		cost = 75

		days_remove = 7

		remove_effect = {
			IF = {
				limit = { CRO = NOT = {{is_subject_of = ROOT} }}
				ITA = {
					set_autonomy = {
					    target = CRO
					    autonomy_state = autonomy_reichskommissariat
					    end_wars = no
					    end_civil_wars = no
					}
				}
			}
			IF = {
				limit = { ITA = { has_government = fascism } }
				CRO = {
					ITA_prince_aimone = {
						add_country_leader_role = {
						  character = ITA_tomislav
						  promote_leader = yes
						  country_leader = {
						    ideology = fascism_ideology
						    expire = "1970.1.1.1"
						    traits = { ITA_tomislav_of_croatia }
						  }
						}
					}
				}
			}
			IF = {
				limit = { ITA = { has_government = neutrality } }
				CRO = {
					ITA_prince_aimone = {
						add_country_leader_role = {
						  character = ITA_tomislav
						  promote_leader = yes
						  country_leader = {
						    ideology = despotism
						    expire = "1970.1.1.1"
						    traits = { ITA_tomislav_of_croatia }
						  }
						}
					}
				}
			}
		CRO = {
		set_cosmetic_tag = CRO_italian
				add_political_power = 75
				division_template = {
				    name = "Tomislav's Royal Guards"
				    is_locked = yes
				    division_names_group = ITA_INF_01
				    regiments = {
				        infantry = { x = 0 y = 0 }
				        infantry = { x = 0 y = 1 }
				        infantry = { x = 0 y = 2 }
				        infantry = { x = 1 y = 0 }
				        infantry = { x = 1 y = 1 }
				        infantry = { x = 1 y = 2 }
				    }
				}
			}
			109 = {
				create_unit = {
				    division = "name = \"Tomislav's Royal Guards\" division_template = \"Tomislav's Royal Guards\" start_experience_factor = 0.5 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
				    owner = CRO
				}
			}

			set_country_flag = ITA_aimones_absolute_reign
		}
	}
	
	create_hellenic_state = {

		cost = 25
		
		priority = 60

		fire_only_once = yes

		icon = GFX_decision_faction_gre_fascist

		allowed = {
			original_tag = ITA
		}
		
		visible = {
		#HEL = {exists = no}
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 47
				state = 185
				state = 182
				state = 186
				state = 1017
				state = 731
				state = 187
			}
		}
		
		available = {
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		47 = {is_controlled_by_ROOT_or_subject = yes}
		185 = {is_controlled_by_ROOT_or_subject = yes}
		186 = {is_controlled_by_ROOT_or_subject = yes}
		182 = {is_controlled_by_ROOT_or_subject = yes}
		1017 = {is_controlled_by_ROOT_or_subject = yes}
		731 = {is_controlled_by_ROOT_or_subject = yes}
		187 = {is_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			ROOT = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		complete_effect = {		
		upgrade_italian_col_emp = yes
		
		custom_effect_tooltip = ALL_can_be_later_integrated
		
		47 = {transfer_state_to = HEL}
		
			HEL = {
			
			add_manpower = 50000
			
			every_state = {
			limit = {
			OR = {
				state = 185
				state = 182
				state = 186
				state = 1017
				state = 731
				state = 187
				}
			NOT = {
			OWNER = {
			OR = {
			tag = ROOT
			is_subject_of = ROOT
			}
			}
			}
			}
					add_contested_owner = HEL
					set_state_controller_to = HEL			
			}
			every_state = {
			limit = {
			OR = {
				state = 185
				state = 182
				state = 186
				state = 1017
				state = 731
				state = 187
				}
			OWNER = {
			OR = {
			tag = ROOT
			is_subject_of = ROOT
			}
			}
			}
			transfer_state_to = HEL		
			}				
				if = {
				limit = {
				ROOT = {is_in_faction_with = GER}
				}
				add_ideas = ITA_italo_german_protectorate
				}
				
				every_state = {
				limit = {is_controlled_by = HEL}
				add_compliance = 30
				}
			}
			
			hidden_effect = {
			every_state = {
			limit = {is_core_of = GRE}
			add_claim_by = HEL
			}
			}
				ROOT = {
					set_autonomy = {
					    target = HEL
					    autonomy_state = autonomy_reichsprotectorate
					    end_wars = no
					    end_civil_wars = no
					}
				}
		}

		ai_will_do = {
			factor = 20
		}
	}
	
ITA_thrace_question = {

		cost = 15

		fire_only_once = yes

		icon = GFX_decision_eng_trade_unions_support
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 1024
		state = 184
		}
		}
		}

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
		OR = {
		HEL = {
		is_subject_of = ROOT
		}
		BUL = {
		is_subject_of = ROOT
		}
		}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		1024= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		184= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy 
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.14}
		}

		ai_will_do = {
			factor = 20
		}
	}

ITA_mutilied_megali_idea = {

		cost = 25
		priority = 60

		fire_only_once = yes

		icon = GFX_decision_tur_unifying_the_country

		allowed = {
			original_tag = ITA
		}
		highlight_states = {
			highlight_state_targets = {
				state = 341
				state = 797
				state = 340
				state = 347
				state = 339
				state = 342
			}
		}
		
		available = {
		HEL = {is_subject_of = ROOT}
		has_global_flag = hel_thrace_flag
		NOT = {has_global_flag = already_made_stambul}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		342 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		339 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		347 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		797 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		341 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		340 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
		#HEL = {is_subject_of = ROOT}
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		complete_effect = {
		set_global_flag = already_made_megali
		every_state = {
		limit = {
		OR = {
				state = 341
				state = 797
				state = 347
				state = 339
				state = 340
				state = 342
		}
		}
		transfer_state_to = HEL
		add_compliance = 20
		}
		
		}

		ai_will_do = {
			factor = 100
		}
	}
	
ITA_give_stambul_to_tur = {

		cost = 25
		priority = 60

		fire_only_once = yes

		icon = GFX_decision_tur_unifying_the_country

		allowed = {
			original_tag = ITA
		}
		highlight_states = {
			highlight_state_targets = {
				state = 341
				state = 797
				state = 340
				state = 347
				state = 339
				state = 342
			}
		}
		
		available = {
		ANA = {is_subject_of = ROOT}
		NOT = {has_global_flag = already_made_megali}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		342 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		339 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		347 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		797 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		341 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		340 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
		#has_global_flag = bul_thrace_flag
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		complete_effect = {
		set_global_flag = already_made_stambul
		every_state = {
		limit = {
		OR = {
				state = 341
				state = 797
				state = 347
				state = 339
				state = 340
				state = 342
		}
		}
		transfer_state_to = ANA
		add_compliance = 20
		}
		
		}

		ai_will_do = {
			factor = 100
		}
	}
	
	
	ITA_establish_the_regno_albania = {
		priority = 40

		icon = GFX_decision_eng_ally_imperialist_coup

		ai_will_do = {
			base = 5 #Peviously 10
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 1
				ITA_is_historical_ai = yes
			}
			modifier = {
				factor = 1
				ITA_is_monarchist_ai = yes
			}
		}

		allowed = {
			original_tag = ITA
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 44
		state = 934
		state = 805
		}
		}
		}

		available = {
			ALB = {
				exists = no
			}
			44 = {
				is_controlled_by = ITA
			}
			805 = {
				is_controlled_by = ITA
			}
			934 = {
				is_controlled_by = ITA
			}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_established_albania
			}
		}

		cost = 35

		complete_effect = {
			custom_effect_tooltip = ALL_can_be_later_integrated
			make_albania_italian_puppet = yes
			
			hidden_effect = {
			country_event = ITA_protectorate_event.11
			}
		}
	}
	
ITA_change_verlaci = {
		priority = 40

		icon = GFX_decision_eng_trade_unions_demand

		ai_will_do = {
			base = 10 #Peviously 10
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 1
				ITA_is_historical_ai = yes
			}
			modifier = {
				factor = 0
				ITA_is_monarchist_ai = yes
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
		ALB = {
		surrender_progress > 0.2
		NOT = {
			has_country_leader = {
				character = ALB_mustafa_kruja
				ruling_only = yes
			}
		}
		}
		}

		visible = {
		ALB = {NOT = {has_country_leader = {character = ALB_mustafa_kruja ruling_only = yes}}}
		ALB = {is_subject_of = ROOT}
		}

		cost = 15

		complete_effect = {
		ALB = {
		add_war_support = 0.05
		army_experience = 10
		retire_country_leader = yes
		
			add_country_leader_role = {
			character = ALB_mustafa_kruja
			promote_leader = yes
			country_leader = {
			ideology = fascism_ideology
			traits = { national_determinist }
			expire = "1965.1.1.1"
			id = -1
			}
		}
	}
	}
}

	ITA_establish_the_governato_del_montenegro = {
		priority = 39

		icon = GFX_decision_eng_ally_imperialist_coup

		ai_will_do = {
			base = 10 #Peviously 10
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 1
				ITA_is_historical_ai = yes
			}
			modifier = {
				factor = 1
				ITA_is_monarchist_ai = yes
			}
		}
		
		highlight_states = {
		highlight_states_trigger = {
		state = 105
		}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
		MNT = {
		OR = {
		exists = no
		is_subject_of = ROOT
		}
		}
		
		105 = {is_controlled_by_ROOT_or_subject = yes}
		
		}

		visible = {
			ROOT = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_established_montenegro
			}
		}

		cost = 30

		complete_effect = {
		custom_effect_tooltip = ALL_can_be_later_integrated
		make_montenegro_italian_puppet = yes
		}
	}
	
	ITA_occupy_kotor = {
		priority = 39

		icon = GFX_decision_infiltrate_state

		ai_will_do = {
			base = 15 #Peviously 10
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 1
				ITA_is_historical_ai = yes
			}
			modifier = {
				factor = 1
				ITA_is_monarchist_ai = yes
			}
		}

		allowed = {
			original_tag = ITA
		}
		
		highlight_states = {
		highlight_states_trigger = {
		state = 1037
		}
		}

		available = {
		1037 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}

		visible = {
			ROOT = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		cost = 10

		complete_effect = {
		navy_experience = 10
		1037 = {transfer_state_to = ROOT}
		}
	}

	ITA_demand_recognition_of_the_bashkimi_kombetar = {
		priority = 38

		icon = GFX_decision_generic_operation

		ai_will_do = {
			base = 10 #previously 5
		}

		allowed = {
			original_tag = ITA
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 802
		state = 970
		}
		}
		}

		available = {
			ALB = {
				is_subject_of = ITA
			}
			
			YUG = {
			OR = {
			is_in_faction_with = ROOT
			is_subject_of = ROOT
			exists = no
			}
			}
			
			802 = {
				OR = {
				is_controlled_by_ROOT_or_subject = yes
				is_controlled_by = YUG
				}
			}
			970 = {
				OR = {
				is_controlled_by_ROOT_or_subject = yes
				is_controlled_by = YUG
				}
			}
	}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_bashkimi_kombetar
			}
		}

		cost = 20

		complete_effect = {
		
		if = {
		limit = {
		YUG = {
		OR = {
		controls_state = 970
		controls_state = 802
		}
		}
		}
			YUG = {
				country_event = {
					id = BBA_italy_interaction_events.29
					hours = 8
					random_hours = 4
				}
			}
		}
		else = {
		970 = {transfer_state_to = ALB}
		802 = {transfer_state_to = ALB}
		}
			hidden_effect = {
				set_country_flag = ITA_bashkimi_kombetar
			}
		}
	}
	
	ITA_give_albania_ulcinj = {
		priority = 37

		icon = GFX_decision_infiltrate_state

		ai_will_do = {
			base = 10 #previously 5
		}

		allowed = {
			original_tag = ITA
		}
		
		highlight_states = {
		highlight_states_trigger = {
		state = 1035
		}
		}

		available = {
			ALB = {
				is_subject_of = ROOT
			}
			1035 = {
			state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		visible = {
		1035 = {
		NOT = {
		is_owned_by = ALB
		}
		}
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		cost = 5

		complete_effect = {
		ALB = {transfer_state = 1035}
		1035 = {add_core_of = ALB}
		}
	}
	ITA_give_albania_korfu = {
		priority = 37

		icon = GFX_decision_infiltrate_state

		ai_will_do = {
			base = 0 #previously 5
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			ALB = {
				exists = yes
				is_subject_of = ITA
			}
			1017 = {
			state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		visible = {
		1017 = {
		NOT = {
		is_owned_by = ALB
		}
		}
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			ALB = {
				exists = yes
				is_subject_of = ITA
			}
		}

		cost = 15

		complete_effect = {
		ALB = {transfer_state = 1017}
		1017 = {add_core_of = ALB}
		}
	}
	
	ITA_demand_dalmatia = {
		priority = 38

		icon = GFX_decision_generic_civil_support

		ai_will_do = {
			base = 2 #Previously 10
		}

		allowed = {
			original_tag = ITA
		}

		target_trigger = {
			FROM = {
				NOT = {is_subject_of = ROOT}
				NOT = {
					has_war_with = ROOT
				}
				NOT = {
					has_country_flag = ITA_refused_dalmatian_demands
					has_country_flag = ITA_sent_dalmatian_demands
				}
				OR = {
					controls_state = 852
					controls_state = 103
					controls_state = 1018
					controls_state = 163
					controls_state = 1036
				}
			}
		}
		
		visible = {
		
		}
		
		available = {
			is_subject = no
		}

		target_root_trigger = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		cost = 75

		complete_effect = {
			FROM = {
				country_event = {
				    id = BBA_italy_interaction_events.8
				    days = 2
				    random = 2
				}
				hidden_effect = {
					set_country_flag = ITA_sent_dalmatian_demands
				}
			}
		}
	}

ITA_establish_slovenia_protectorate = {
		priority = 68

		icon = GFX_decision_infiltrate_state

		ai_will_do = {
			base = 10 #Peviously 10
			modifier = { #ITA struggles to garrison puppets that can be naval invaded
				factor = 1
				ITA_is_historical_ai = yes
			}
		}
		
        highlight_states = {
        highlight_states_trigger = {
        OR = {
        state = 853
        }
        }
        }
		
		fire_only_once = yes
		
		allowed = {
			original_tag = ITA
		}

		available = {
		853 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		
		fire_only_once = yes

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}

		}
		complete_effect = {
		853 = {transfer_state_to = ROOT}
		
		if = {
		limit = {
		102 = {
		is_controlled_by_ROOT_or_subject = yes
		}
		}
		SLV = {
		
		transfer_state = 102
		
		make_this_country_protectorate = yes
		
		set_cosmetic_tag = SLV_italian
		
		}
		
		
		if = {
		limit = {
		1029 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		1029 = {transfer_state_to = SLV}
		}
		
		}	
	}
		cost = 20
	}
	
ITA_slovenia_question = {

        cost = 10

        fire_only_once = yes

        icon = GFX_decision_eng_trade_unions_support

        highlight_states = {
        highlight_states_trigger = {
        OR = {
        state = 102
        state = 1029
        }
        }
        }

        allowed = {
            original_tag = ITA # Italy
        }

        available = {
        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
        102 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
        1029 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
        }
        }

        visible = {
		OR = {
		SLV = {
		is_subject_of = ROOT
		}
		AUS = {
		is_subject_of = ROOT
		}
		SWI = {
		is_subject_of = ROOT
		}
		}
        }

        complete_effect = {
        country_event = {id = ITA_protectorate_event.18}
        }

        ai_will_do = {
            factor = 20
        }
    }

	
	ITA_take_crkvenica = {
		priority = 67

		icon = GFX_decision_infiltrate_state

		ai_will_do = {
			base = 15
		}
		
        highlight_states = {
        highlight_states_trigger = {
        OR = {
        state = 1019
        }
        }
        }
		
		cost = 5
		
		fire_only_once = yes
		
		allowed = {
			original_tag = ITA
		}

		available = {
		1019 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}

		}
		complete_effect = {
		1019 = {transfer_state_to = ROOT}
		}
	}


	
	ITA_dalmatia_fate = {
		priority = 67

		icon = GFX_decision_border_war

		ai_will_do = {
			base = 15
		}
		
        highlight_states = {
        highlight_states_trigger = {
        OR = {
        state = 1019
        state = 1018
        state = 103
        state = 1036
        }
        }
        }
		
		cost = 15
		
		fire_only_once = yes
		
		allowed = {
			original_tag = ITA
		}

		available = {
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		1019 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1018 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		103 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1036 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}

		}
		complete_effect = {
		country_event = BBA_italy_interaction_events.108
		}
	}


	ITA_claim_the_montengrin_throne = {
		priority = 37

		icon = GFX_decision_eng_support_imperialist_coup

		ai_will_do = {
			base = 2 #Previously 5
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			OR = {
				44 = {
					is_controlled_by = ITA
				}
				any_subject_country = {
					controls_state = 44
				}
				any_subject_country = {
					controls_state = 103
				}
			}
			NOT = {

				any_subject_country = {
					original_tag = MNT
					controls_state = 105
				}
				#any_country = {
				#	is_subject_of = ITA
				#	controls_state = 105
				#}
			}
			any_country = {
				controls_state = 105
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			OR = {
				44 = {
					is_controlled_by = ROOT
				}
				ROOT = {
					any_subject_country = {
						controls_state = 44
					}
				}
				OR = {
				any_subject_country = {
					controls_state = 103
				}
				103 = {
					is_controlled_by = ROOT
				}
			}
			}
			NOT = {
				has_country_flag = ITA_demanded_montenegro
			}
		}

		cost = 50

		complete_effect = {
			random_country = {
				limit = { controls_state = 105 }
				country_event = {
				    id = BBA_italy_interaction_events.11
				    days = 2
				    random = 3
				}
			}
			hidden_effect = {
				set_country_flag = ITA_demanded_montenegro
			}
		}
	}


	ITA_support_the_hungarians = {
		priority = 30

		icon = GFX_decision_generic_speech

		ai_will_do = {
			base = 0.1
			modifier = {
				factor = 100
				HUN = { is_ai = no }
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			is_subject = no
			45 = {
				NOT = {
					OR = {
						is_owned_by = HUN
						is_controlled_by = HUN
					}
				}
			}
			IF = {
				limit = {
					ITA = {
						has_government = fascism
					}
				}
				HUN = {
					OR = {
						has_government = fascism
						has_government = neutrality
					}
				}
			}
			IF = {
				limit = {
					ITA = {
						has_government = neutrality
					}
				}
				HUN = {
					has_government = neutrality
				}
			}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_appeased_hungary
			}
		}

		cost = 75

		complete_effect = {

			HUN = {
				country_event = {
					id = BBA_italy_interaction_events.30
					hours = 2
					random_hours = 5
				}
			}

			hidden_effect = {
				set_country_flag = ITA_appeased_hungary
			}
		}
	}

	ITA_demand_turkish_demilitarization = {
		priority = 20

		icon = GFX_decision_generic_operation

		ai_will_do = {
			base = 2
			modifier = {
				factor = 0.5
				342 = {
					controller = {
						is_ai = no
					}
				}
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			ITA = {
				has_completed_focus = ITA_befriend_greece
			}
			any_country = {
				controls_state = 342
				controls_state = 339
				has_war = no
				NOT = {
					is_in_faction_with = ITA
				}
			}
		}

		visible = {
			ITA = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			NOT = {
				has_country_flag = ITA_antalya_demilitarized
			}
		}

		cost = 100

		complete_effect = {
			random_country = {
				limit = { controls_state = 342 }
				country_event = {
				    id = BBA_italy_interaction_events.14
				    days = 1
				    random = 4
				}
			}

			hidden_effect = {
				set_country_flag = ITA_antalya_demilitarized
			}
		}
	}


	ITA_give_the_dodecanese_islands_to_greece_for_an_alliance = {
		priority = 25

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 10
			modifier = {
				factor = 10
				GRE = { is_ai = no }
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			
			has_completed_focus = ITA_befriend_greece
			is_faction_leader = yes
			is_subject = no
			controls_state = 164
			
			GRE = {
				is_subject = no
				has_civil_war = no
				NOT = {
					has_government = communism
				}
			}

		}

		visible = {
			GRE = {
				exists = yes
				NOT = { is_in_faction_with = ROOT }
			}
			
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			controls_state = 164
			
			NOT = {
				has_country_flag = ITA_dodecanese_offered_to_greece
			}
		}

		cost = 75

		complete_effect = {

			random_country = {
				limit = {
					original_tag = GRE
					is_subject = no
					has_civil_war = no
					NOT = {
						has_government = communism
					}
				}
				country_event = {
				    id = BBA_italy_interaction_events.18
				    days = 1
				    random = 4
				}
			}

			hidden_effect = {
				set_country_flag = ITA_dodecanese_offered_to_greece
			}
		}
	}


	ITA_give_the_dodecanese_islands_to_turkey_for_an_alliance = {
		priority = 24

		icon = GFX_decision_eng_trade_unions_support

		ai_will_do = {
			base = 7
			modifier = {
				factor = 10
				TUR = { is_ai = no }
			}
		}

		allowed = {
			original_tag = ITA
		}

		available = {
			
			has_completed_focus = ITA_befriend_turkey
			is_faction_leader = yes
			is_subject = no
			controls_state = 164
			
			TUR = {
				is_subject = no
				has_civil_war = no
				NOT = {
					has_government = communism
				}
			}
		}

		visible = {
			TUR = {
				exists = yes
				NOT = { is_in_faction_with = ROOT }
			}
			
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			controls_state = 164
			
			NOT = {
				has_country_flag = ITA_dodecanese_offered_to_turkey
			}
		}

		cost = 75

		complete_effect = {

			random_country = {
				limit = {
					original_tag = TUR
					is_subject = no
					has_civil_war = no
					NOT = {
						has_government = communism
					}
				}
				country_event = {
				    id = BBA_italy_interaction_events.21
				    days = 1
				    random = 4
				}
			}

			hidden_effect = {
				set_country_flag = ITA_dodecanese_offered_to_turkey
			}
		}
	}
}

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


ITA_vallo_alpino_del_littorio_dec_cat = {
	ITA_vallo_alpino_occidentale = {
		priority = 10

		icon = GFX_decision_generic_mountain_fortification

		ai_will_do = {
			base = 1
		}

		visible = {
			158 = { #PIEDMONT
				any_province_building_level = {
					province = {
						id = 11891
						id = 11721
						id = 9738
						id = 6780
						id = 611
					}
					building = bunker
					level < 10
				}
			}
		}

		available = {
			has_full_control_of_state = 158 #PIEDMONT
			NOT = { has_country_flag = ITA_vallo_alpino_project_ongoing_flag }
		}

		days_remove = ITA_vallo_alpino_days

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			command_power > ITA_vallo_alpino_cp_cost
			has_political_power > ITA_vallo_alpino_pp_cost
		}
		custom_cost_text = decision_cost_CP_25_pp_15

		modifier = {
			civilian_factory_use = 3
		}

		cancel_trigger = {
			NOT = { has_full_control_of_state = 158 }
		}

		cancel_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag
		}

		complete_effect = {
			set_country_flag = ITA_vallo_alpino_project_ongoing_flag

			hidden_effect = {
				add_command_power = ITA_vallo_alpino_cp_cost_negative
				add_political_power = ITA_vallo_alpino_pp_cost_negative
			}
		}

		remove_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag

			custom_effect_tooltip = ITA_vallo_alpino_occidentale_tt
			hidden_effect = {
				158 = { #PIEDMONT
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11891
							id = 11721
							id = 9738
							id = 6780
							id = 611
						}
						instant_build = yes
					}
				}
			}
		}
	}

	ITA_vallo_alpino_settentrionale_west = {
		priority = 8

		icon = GFX_decision_generic_mountain_fortification

		ai_will_do = {
			base = 1
		}

		visible = {
			OR = {
				158 = { #PIEDMONT
					any_province_building_level = {
						province = {
							id = 6635
						}
						building = bunker
						level < 10
					}
				}
				159 = { #LOMBARDY
					any_province_building_level = {
						province = {
							id = 607
							id = 9584
							id = 6661
							id = 11568
						}
						building = bunker
						level < 10
					}
				}
			}
		}

		available = {
			has_full_control_of_state = 158 #PIEDMONT
			has_full_control_of_state = 159 #LOMBARDY
			NOT = { has_country_flag = ITA_vallo_alpino_project_ongoing_flag }
		}

		days_remove = ITA_vallo_alpino_days

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			command_power > ITA_vallo_alpino_cp_cost
			has_political_power > ITA_vallo_alpino_pp_cost
		}
		custom_cost_text = decision_cost_CP_25_pp_15

		modifier = {
			civilian_factory_use = 3
		}

		cancel_trigger = {
			OR = {
				NOT = { has_full_control_of_state = 158 } #PIEDMONT
				NOT = { has_full_control_of_state = 159 } #LOMBARDY
			}
		}

		cancel_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag
		}

		complete_effect = {
			set_country_flag = ITA_vallo_alpino_project_ongoing_flag

			hidden_effect = {
				add_command_power = ITA_vallo_alpino_cp_cost_negative
				add_political_power = ITA_vallo_alpino_pp_cost_negative
			}
		}

		remove_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag

			custom_effect_tooltip = ITA_vallo_alpino_settentrionale_west_tt
			hidden_effect = {
				158 = { #PIEDMONT
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 6635
						}
						instant_build = yes
					}
				}
				159 = { #LOMBARDY
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 607
							id = 9584
							id = 6661
							id = 11568
						}
						instant_build = yes
					}
				}
			}
		}
	}

	ITA_vallo_alpino_settentrionale_east = {
		priority = 6

		icon = GFX_decision_generic_mountain_fortification

		ai_will_do = {
			base = 1
		}

		visible = {
			OR = {
				850 = { #TRENTINO
					any_province_building_level = {
						province = {
							id = 6631
							id = 9598
						}
						building = bunker
						level < 10
					}
				}
				39 = { #ALTO ADIGE
					any_province_building_level = {
						province = {
							id = 11598
							id = 656
							id = 11615
						}
						building = bunker
						level < 10
					}
				}
			}
		}

		available = {
			has_full_control_of_state = 850 #TRENTINO
			has_full_control_of_state = 39 #ALTO ADIGE
			NOT = { has_country_flag = ITA_vallo_alpino_project_ongoing_flag }
		}

		days_remove = ITA_vallo_alpino_days

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			command_power > ITA_vallo_alpino_cp_cost
			has_political_power > ITA_vallo_alpino_pp_cost
		}
		custom_cost_text = decision_cost_CP_25_pp_15

		modifier = {
			civilian_factory_use = 3
		}

		cancel_trigger = {
			OR = {
				NOT = { has_full_control_of_state = 850 } #TRENTINO
				NOT = { has_full_control_of_state = 39 } #ALTO ADIGE
			}
		}

		cancel_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag
		}

		complete_effect = {
			set_country_flag = ITA_vallo_alpino_project_ongoing_flag

			hidden_effect = {
				add_command_power = ITA_vallo_alpino_cp_cost_negative
				add_political_power = ITA_vallo_alpino_pp_cost_negative
			}
		}

		remove_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag

			custom_effect_tooltip = ITA_vallo_alpino_settentrionale_east_tt
			hidden_effect = {
				850 = { #TRENTINO
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 6631
							id = 9598
						}
						instant_build = yes
					}
				}
				39 = { #ALTO ADIGE
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11598
							id = 656
							id = 11615
						}
						instant_build = yes
					}
				}
			}
		}
	}

	ITA_vallo_alpino_orientale = {
		priority = 4

		icon = GFX_decision_generic_mountain_fortification

		ai_will_do = {
			base = 1
		}

		visible = {
			OR = {
				160 = { #VENETO
					any_province_building_level = {
						province = {
							id = 3657
							id = 9613
						}
						building = bunker
						level < 10
					}
				}
				736 = { #LITORALE
					any_province_building_level = {
						province = {
							id = 11595
							id = 599
						}
						building = bunker
						level < 10
					}
				}
				852 = { #ISTRIA
					any_province_building_level = {
						province = {
							id = 11735
							id = 11564
						}
						building = bunker
						level < 10
					}
				}
			}
		}

		available = {
			has_full_control_of_state = 160 #VENETO
			has_full_control_of_state = 736 #LITORALE
			has_full_control_of_state = 852 #ISTRIA
			NOT = { has_country_flag = ITA_vallo_alpino_project_ongoing_flag }
		}

		days_remove = ITA_vallo_alpino_days

		ai_hint_pp_cost = 15
		custom_cost_trigger = {
			command_power > 24#ITA_vallo_alpino_cp_cost
			has_political_power > 14 #ITA_vallo_alpino_pp_cost
		}
		custom_cost_text = decision_cost_CP_25_pp_15

		modifier = {
			civilian_factory_use = 3
		}

		cancel_trigger = {
			OR = {
				NOT = { has_full_control_of_state = 160 } #TRENTINO
				NOT = { has_full_control_of_state = 736 } #ALTO ADIGE
				NOT = { has_full_control_of_state = 852 } #ISTRIA
			}
		}

		cancel_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag
		}

		complete_effect = {
			set_country_flag = ITA_vallo_alpino_project_ongoing_flag

			hidden_effect = {
				add_command_power = ITA_vallo_alpino_cp_cost_negative
				add_political_power = ITA_vallo_alpino_pp_cost_negative
			}
		}

		remove_effect = {
			clr_country_flag = ITA_vallo_alpino_project_ongoing_flag

			custom_effect_tooltip = ITA_vallo_alpino_orientale_tt
			hidden_effect = {
				160 = { #VENETO
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 3657
							id = 9613
						}
						instant_build = yes
					}
				}
				736 = { #LITORALE
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11595
							id = 599
						}
						instant_build = yes
					}
				}
				852 = { #ISTRIA
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11735
							id = 11564
						}
						instant_build = yes
					}
				}
			}
		}
	}
}

political_actions = {
	ITA_vittorio_abdicate = {
		priority = 10

		icon = GFX_decision_generic_monarchy

		ai_will_do = {
			base = 0
		}

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_power_to_the_king
			has_country_leader = {
				character = ITA_vittorio_emanuele_iii
				ruling_only = yes
			}
		}

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

		complete_effect = {
		#country_event = {id = ITA_monarchy_event.1}
		ITA_promote_umberto_to_country_leader = yes #This effect also retires Vittorio
		}
	}
}

ITA_italian_mafia_dec_cat = {
	ITA_suppress_mafia_in_state = {
		icon = GFX_decision_oppression
		target_trigger = {
			FROM = {
				ITA_state_has_any_version_of_mafia_rising_modifier = yes
			}
		}
		target_root_trigger = {
			any_controlled_state = {
				ITA_state_has_any_version_of_mafia_rising_modifier = yes
			}
			OR = {
				NOT = { original_tag = ITA }
				has_completed_focus = ITA_crush_the_mafia
			}
		}
		state_target = yes
		on_map_mode = map_only

		custom_cost_trigger = {
			has_equipment = {
				infantry_equipment > 499
			}
			has_manpower > 999
			command_power > 24
		}
		custom_cost_text = decision_cost_ie_500_MP_500_CP_25

		days_remove = 90

		available = {
			FROM = {
				ITA_state_has_any_version_of_mafia_rising_modifier = yes
			}
		}

		complete_effect = {
			hidden_effect = {
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = -500
				}
				add_manpower = -1000
				add_command_power = -25
			}
		}

		remove_effect = {
			FROM = {
				if = {
					limit = {
						has_dynamic_modifier = { modifier = ITA_mafia_on_the_rise }
					}
					remove_dynamic_modifier = { modifier = ITA_mafia_on_the_rise }
				}
				else = {
					remove_dynamic_modifier = { modifier = ITA_mafia_on_the_rise_no_lar }
				}
			}
		}

		ai_will_do = {
			base = 0.1
		}
	}
}






ITA_triumvirate_dec_cat = {
	ITA_fake_german_plans = {
		icon = GFX_decision_oppression
		
		cost = 50
		
		days_remove = 30
		
		fire_only_once = yes

		available = {
		NOT = {is_in_faction_with = GER}
		GER = {threat > 0.075}
		}
		
		complete_effect = {
					ROOT = {
						add_opinion_modifier = {
							target = GER
							modifier = medium_decrease
						}
					}
					GER = {
						add_opinion_modifier = {
							target = ROOT
							modifier = medium_decrease
						}
					}
				}
		
		remove_effect = {
		add_command_power = 15
		set_global_flag = blamed_germans_flag
		country_event = ITA_triumvirate_event.6
		}

		ai_will_do = {
			base = 10
		}
	}
	#ITA_triumvirate_iberia_proposal = {
	#	icon = GFX_decision_oppression
	#	
	#	cost = 25
	#	
	#	fire_only_once = yes
	#
	#	available = {
	#	has_global_flag = blamed_germans_flag
	#	SPR = {has_capitulated = no}
	#	SPR = {is_in_faction_with = ROOT}
	#	POR = {has_capitulated = no}
	#	POR = {is_in_faction_with = ROOT}
	#	}
	#
	#	complete_effect = {
	#	country_event = ITA_triumvirate_event.6
	#	}
	#
	#	ai_will_do = {
	#		base = 10
	#	}
	#}
}







operations = {
	ITA_human_torpedo_raid = {
		icon = GFX_decision_generic_human_torpedo

		allowed = {
			original_tag = ITA
		}

		visible = {
			has_completed_focus = ITA_decima_flottiglia_mas
		}

		available = {
			any_enemy_country = {
				any_controlled_state = {
					state_is_in_the_mediterranean_sea = yes
					custom_trigger_tooltip = {
						tooltip = ITA_human_torpedo_raid_trigger_tt
						PREV = {
							OR = {
								ships_in_state_ports = {
									type = capital_ship
									size > 0
									state = PREV
								}
								ships_in_state_ports = {
									type = screen_ship
									size > 0
									state = PREV
								}
							}
						}
					}
				}
			}
		}

		ai_hint_pp_cost = 0
		custom_cost_trigger = {
			command_power > 24
		}
		custom_cost_text = decision_cost_CP_25

		fire_only_once = yes

		complete_effect = {
			hidden_effect = {
				add_command_power = -25
			}

			if = {
				limit = {
					any_enemy_country = {
						is_major = yes
						any_controlled_state = {
							state_is_in_the_mediterranean_sea = yes
							PREV = {
								OR = {
									ships_in_state_ports = {
										type = capital_ship
										size > 0
										state = PREV
									}
									ships_in_state_ports = {
										type = screen_ship
										size > 0
										state = PREV
									}
								}
							}
						}
					}
				}
				random_enemy_country = {
					limit = {
						is_major = yes
						any_controlled_state = {
							state_is_in_the_mediterranean_sea = yes
							PREV = {
								OR = {
									ships_in_state_ports = {
										type = capital_ship
										size > 0
										state = PREV
									}
									ships_in_state_ports = {
										type = screen_ship
										size > 0
										state = PREV
									}
								}
							}
						}
					}
					random_controlled_state = {
						limit = {
							state_is_in_the_mediterranean_sea = yes
							PREV = {
								OR = {
									ships_in_state_ports = {
										type = capital_ship
										size > 0
										state = PREV
									}
									ships_in_state_ports = {
										type = screen_ship
										size > 0
										state = PREV
									}
								}
							}
						}
						prioritize = { 447 }
						damage_units = {
							state = THIS # optional
							limit = {
								OR = {
									tag = PREV
									is_in_faction_with = PREV
								}
							}
							damage = 0.5
							str_damage = 0.65
							ratio = yes
							army = no
							navy = yes
						}
						set_variable = { ITA.ITA_raided_state_var = THIS }
					}
					custom_effect_tooltip = ITA_human_torpedo_effect_tt
					hidden_effect = {
						country_event = { id = BBA_italy_human_torpedo_raid.1 hours = 1}
					}
				}
			}
			else = {
				random_enemy_country = {
					limit = {
						any_controlled_state = {
							state_is_in_the_mediterranean_sea = yes
							PREV = {
								OR = {
									ships_in_state_ports = {
										type = capital_ship
										size > 0
										state = PREV
									}
									ships_in_state_ports = {
										type = screen_ship
										size > 0
										state = PREV
									}
								}
							}
						}
					}
					random_controlled_state = {
						limit = {
							state_is_in_the_mediterranean_sea = yes
							PREV = {
								OR = {
									ships_in_state_ports = {
										type = capital_ship
										size > 0
										state = PREV
									}
									ships_in_state_ports = {
										type = screen_ship
										size > 0
										state = PREV
									}
								}
							}
						}
						prioritize = { 447 }
						damage_units = {
							state = THIS # optional
							limit = {
								OR = {
									tag = PREV
									is_in_faction_with = PREV
								}
							}
							damage = 0.5
							str_damage = 0.65
							ratio = yes
							army = no
							navy = yes
						}
						set_variable = { ITA.ITA_raided_state_var = THIS }
					}
					custom_effect_tooltip = ITA_human_torpedo_effect_tt
					hidden_effect = {
						country_event = { id = BBA_italy_human_torpedo_raid.1 hours = 1 }
					}
				}
			}

			custom_effect_tooltip = decision_only_once_tt
		}

		ai_will_do = {
			base = 0
		}
	}
}
ITA_form_latin_union_cat = {
ITA_form_latin_union = {
	
		ai_will_do = {
			factor = 1
		}
		
		cost = 0
		
		visible = {
			original_tag = ITA
		}

		highlight_states = {
			highlight_state_targets = {
				state = 41
				state = 165
				state = 166
				state = 167
				state = 168
				state = 169
				state = 170
				state = 171
				state = 172
				state = 173
				state = 174
				state = 175
				state = 176
				state = 788
				state = 789
				state = 790
				state = 791
				state = 792
				state = 793
				state = 794
				state = 112
				state = 179
				state = 180
				state = 181
				state = 795
				state = 2
				state = 39
				state = 850
				state = 114
				state = 115
				state = 117
				state = 849
				state = 156
				state = 157
				state = 158
				state = 159
				state = 160
				state = 161
				state = 162
				state = 736
				state = 852
				state = 1
				state = 14
				state = 15
				state = 16
				state = 17
				state = 18
				state = 19
				state = 806
				state = 20
				state = 21
				state = 851
				state = 22
				state = 23
				state = 24
				state = 25
				state = 26
				state = 27
				state = 28
				state = 29
				state = 30
				state = 31
				state = 32
				state = 33
				state = 735
				state = 785
				state = 46
				state = 76
				state = 77
				state = 79
				state = 81
				state = 82
				state = 83
				state = 84
				state = 971
				state = 1023
				state = 1020
				state = 1022
				state = 1032
				state = 1031
				state = 1025
			}
		}
		
		available = {
			custom_trigger_tooltip = {
				tooltip = has_control_over_all_highlighted_states_tt
					AND = {
						41 = { is_controlled_by = ROOT }
						165 = { is_controlled_by = ROOT }
						166 = { is_controlled_by = ROOT }
						167 = { is_controlled_by = ROOT }
						168 = { is_controlled_by = ROOT }
						169 = { is_controlled_by = ROOT }
						170 = { is_controlled_by = ROOT }
						171 = { is_controlled_by = ROOT }
						172 = { is_controlled_by = ROOT }
						173 = { is_controlled_by = ROOT }
						174 = { is_controlled_by = ROOT }
						175 = { is_controlled_by = ROOT }
						176 = { is_controlled_by = ROOT }
						788 = { is_controlled_by = ROOT }
						789 = { is_controlled_by = ROOT }
						790 = { is_controlled_by = ROOT }
						791 = { is_controlled_by = ROOT }
						792 = { is_controlled_by = ROOT }
						793 = { is_controlled_by = ROOT }
						794 = { is_controlled_by = ROOT }

						112 = { is_controlled_by = ROOT }
						179 = { is_controlled_by = ROOT }
						180 = { is_controlled_by = ROOT }
						181 = { is_controlled_by = ROOT }
						795 = { is_controlled_by = ROOT }

						2 = { is_controlled_by = ROOT }
						39 = { is_controlled_by = ROOT }
						850 = { is_controlled_by = ROOT }
						114 = { is_controlled_by = ROOT }
						115 = { is_controlled_by = ROOT }
						117 = { is_controlled_by = ROOT }
						849 = { is_controlled_by = ROOT }
						156 = { is_controlled_by = ROOT }
						157 = { is_controlled_by = ROOT }
						158 = { is_controlled_by = ROOT }
						159 = { is_controlled_by = ROOT }
						160 = { is_controlled_by = ROOT }
						161 = { is_controlled_by = ROOT }
						162 = { is_controlled_by = ROOT }
						736 = { is_controlled_by = ROOT }
						852 = { is_controlled_by = ROOT }

						1 = { is_controlled_by = ROOT }
						14 = { is_controlled_by = ROOT }
						15 = { is_controlled_by = ROOT }
						16 = { is_controlled_by = ROOT }
						17 = { is_controlled_by = ROOT }
						18 = { is_controlled_by = ROOT }
						19 = { is_controlled_by = ROOT }
						806 = { is_controlled_by = ROOT }
						20 = { is_controlled_by = ROOT }
						21 = { is_controlled_by = ROOT }
						851 = { is_controlled_by = ROOT }
						22 = { is_controlled_by = ROOT }
						23 = { is_controlled_by = ROOT }
						24 = { is_controlled_by = ROOT }
						25 = { is_controlled_by = ROOT }
						26 = { is_controlled_by = ROOT }
						27 = { is_controlled_by = ROOT }
						28 = { is_controlled_by = ROOT }
						29 = { is_controlled_by = ROOT }
						30 = { is_controlled_by = ROOT }
						31 = { is_controlled_by = ROOT }
						32 = { is_controlled_by = ROOT }
						33 = { is_controlled_by = ROOT }
						735 = { is_controlled_by = ROOT }
						785 = { is_controlled_by = ROOT }

						46 = { is_controlled_by = ROOT }
						76 = { is_controlled_by = ROOT }
						77 = { is_controlled_by = ROOT }
						79 = { is_controlled_by = ROOT }
						81 = { is_controlled_by = ROOT }
						82 = { is_controlled_by = ROOT }
						83 = { is_controlled_by = ROOT }
						84 = { is_controlled_by = ROOT }
						971 = { is_controlled_by = ROOT }
						1020 = { is_controlled_by = ROOT }
						1022 = { is_controlled_by = ROOT }
						1023 = { is_controlled_by = ROOT }
						1025 = { is_controlled_by = ROOT }
						1032 = { is_controlled_by = ROOT }
					}
				}
			}
			complete_effect = {
			set_cosmetic_tag = FORM_LAU
			custom_effect_tooltip = all_states_core_tt
			hidden_effect = {
				41 = { add_core_of = ROOT }
				165 = { add_core_of = ROOT }
				166 = { add_core_of = ROOT }
				167 = { add_core_of = ROOT }
				168 = { add_core_of = ROOT }
				169 = { add_core_of = ROOT }
				170 = { add_core_of = ROOT }
				171 = { add_core_of = ROOT }
				172 = { add_core_of = ROOT }
				173 = { add_core_of = ROOT }
				174 = { add_core_of = ROOT }
				175 = { add_core_of = ROOT }
				785 = { add_core_of = ROOT }
				176 = { add_core_of = ROOT }
				177 = { add_core_of = ROOT }
				178 = { add_core_of = ROOT }
				46 = { add_core_of = ROOT }
				76 = { add_core_of = ROOT }
				77 = { add_core_of = ROOT }
				79 = { add_core_of = ROOT }
				81 = { add_core_of = ROOT }
				82 = { add_core_of = ROOT }
				83 = { add_core_of = ROOT }
				84 = { add_core_of = ROOT }
				112 = { add_core_of = ROOT }
				179 = { add_core_of = ROOT }
				180 = { add_core_of = ROOT }
				181 = { add_core_of = ROOT }
				2 = { add_core_of = ROOT }
				39 = { add_core_of = ROOT }
				850 = { add_core_of = ROOT }
				114 = { add_core_of = ROOT }
				115 = { add_core_of = ROOT }
				117 = { add_core_of = ROOT }
				849 = { add_core_of = ROOT }
				156 = { add_core_of = ROOT }
				157 = { add_core_of = ROOT }
				158 = { add_core_of = ROOT }
				159 = { add_core_of = ROOT }
				160 = { add_core_of = ROOT }
				161 = { add_core_of = ROOT }
				162 = { add_core_of = ROOT }
				1 = { add_core_of = ROOT }
				14 = { add_core_of = ROOT }
				15 = { add_core_of = ROOT }
				16 = { add_core_of = ROOT }
				17 = { add_core_of = ROOT }
				18 = { add_core_of = ROOT }
				19 = { add_core_of = ROOT }
				806 = { add_core_of = ROOT }
				20 = { add_core_of = ROOT }
				21 = { add_core_of = ROOT }
				851 = { add_core_of = ROOT }
				22 = { add_core_of = ROOT }
				23 = { add_core_of = ROOT }
				24 = { add_core_of = ROOT }
				25 = { add_core_of = ROOT }
				26 = { add_core_of = ROOT }
				27 = { add_core_of = ROOT }
				28 = { add_core_of = ROOT }
				29 = { add_core_of = ROOT }
				30 = { add_core_of = ROOT }
				31 = { add_core_of = ROOT }
				32 = { add_core_of = ROOT }
				33 = { add_core_of = ROOT }
				735 = { add_core_of = ROOT }
				736 = { add_core_of = ROOT }
				788 = { add_core_of = ROOT }
				789 = { add_core_of = ROOT }
				790 = { add_core_of = ROOT }
				791 = { add_core_of = ROOT }
				792 = { add_core_of = ROOT }
				793 = { add_core_of = ROOT }
				794 = { add_core_of = ROOT }
				795 = { add_core_of = ROOT }
				852 = { add_core_of = ROOT }
				971 = { add_core_of = ROOT }
						every_state = {
						limit = {
						OR = {
				state = 1023
				state = 1020
				state = 1022
				state = 1032
				state = 1031
				state = 1025
						}
						}
						add_core_of = ROOT
						}
			}
			34 = { add_core_of = ROOT }
			845 = { add_core_of = ROOT }
			846 = { add_core_of = ROOT }
			847 = { add_core_of = ROOT }
			163 = { add_core_of = ROOT }
			80 = { add_core_of = ROOT }
			766 = { add_core_of = ROOT }
			78 = { add_core_of = ROOT }
			118 = { add_claim_by = ROOT }
		}
	}
}

ITA_protectorates_dec_cat = {

ITA_intervene_in_monaco_only_neutrality = {
		icon = GFX_decision_generic_political_discourse
		allowed = {
			tag = ITA
		}

		available = {
		date > 1939.1.1
		MNC = {
		exists = yes
		NOT = {has_war_with = ROOT}
		}
		1025 = {is_owned_and_controlled_by = ROOT}
		}
		
		fire_only_once = yes

		cost = 10

		complete_effect = {
		MNC = {country_event = {id = ITA_vatican_san_marino_event.3 hours = 6}}
		
		custom_effect_tooltip = if_they_accept_tt
		effect_tooltip = {
		add_political_power = 25
		add_ideas = ITA_monaco_trade
		}
		
		}

		ai_will_do = {
			base = 10
		}
	}
	
	ITA_intervene_in_monaco_puppet = {
		icon = GFX_decision_eng_blackshirt_march
		allowed = {
			tag = ITA
		}

		available = {
		date > 1940.1.1
		MNC = {
		exists = yes
		has_country_flag = ITA_vatican_san_marino_event.3.t
		NOT = {has_war_with = ROOT}
		}
		1025 = {is_owned_and_controlled_by = ROOT}
		}

		fire_only_once = yes
		
		cost = 10

		complete_effect = {
		MNC = {country_event = {id = ITA_vatican_san_marino_event.6 hours = 6}}
		
		
		effect_tooltip = {
		remove_ideas = ITA_monaco_trade
		}
		
		every_country = {
		limit = {
		has_idea = ITA_monaco_trade
		}
		remove_ideas = ITA_monaco_trade
		}
		
		}

		ai_will_do = {
			base = 1
		}
	}
ITA_transfer_north_france_to_south_france = {

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 25

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 16
		state = 806
		state = 19
		state = 23
		state = 30
		state = 14
		state = 15
		state = 785
		#state = 29
		state = 18
		state = 27
		state = 17
		state = 24
		#state = 28
		state = 31
		state = 25
		state = 22
		state = 20
		state = 33
		state = 26
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		16 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		806 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		19 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		23 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		30 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		14 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		15 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		785 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		#29 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		18 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		27 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		17 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		24 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		#28 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		31 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		25 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		22 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		20 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		33 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		26 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#FCO = {is_subject_of = ROOT}
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
			every_state = {
			limit = {
			OR = {
		state = 16
		state = 806
		state = 19
		state = 23
		state = 30
		state = 14
		state = 15
		state = 785
		#state = 29
		state = 18
		state = 27
		state = 17
		#state = 28
		state = 24
		state = 31
		state = 25
		state = 22
		state = 20
		state = 33
		state = 26
			}
			}
			transfer_state_to = FCO
			add_compliance = 30
			}
		if = {
		limit = {
		has_global_flag = give_alps_to_fco
		}
		1032 = {transfer_state_to = FCO}
		}
		if = {
		limit = {
		has_global_flag = give_tulon_to_fco
		}
		32 = {transfer_state_to = FCO}
		851 = {transfer_state_to = FCO}
		}
			
			FCO = {
			make_this_country_protectorate = yes
			
			hidden_effect = {
			every_state = {
			limit = {is_core_of = FRA}
			add_claim_by = FCO
			}
			}
			
			create_country_leader = {
				name = ITA_alfredo_guzzoni
				desc = ""
				picture = GFX_portrait_ITA_alfredo_guzzoni
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
		}
		}
		}

		ai_will_do = {
		base = 30
		}
	}
	
ITA_establish_iberia = {

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 25

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 165
				state = 167
				state = 794
				state = 166
				state = 172
				state = 792
				state = 176
				state = 790
				state = 791
				state = 174
				state = 171
				state = 788
				state = 793
				state = 168
				state = 41
				state = 170
				state = 175
				state = 789
				state = 173
				state = 169
				state = 180
				state = 181
				state = 795
				state = 179
				state = 112
				state = 177
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
				 165 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 167 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 794 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 166 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 172 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 792 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 176 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 790 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 791 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 174 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 171 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 788 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 793 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 168 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 41 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 170 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 175 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 789 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 173 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 169 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 180 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 181 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 795 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 179 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 112 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 177 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#CAT = {NOT = {is_subject_of = ROOT}}
		}

		complete_effect = {
		#custom_effect_tooltip = ITA_colonial_empire_max_tt
		upgrade_italian_col_emp = yes
		
		CAT = {
		set_cosmetic_tag = IBR_italian
		make_this_country_protectorate = yes
		
			create_country_leader = {
				name = ITA_mario_roatta
				desc = ""
				picture = GFX_portrait_ITA_mario_roatta
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
		
		}
			every_state = {
			limit = {
			OR = {
				state = 165
				state = 167
				state = 794
				state = 166
				state = 172
				state = 792
				state = 176
				state = 790
				state = 791
				state = 174
				state = 171
				state = 788
				state = 793
				state = 168
				state = 41
				state = 170
				state = 175
				state = 789
				state = 173
				state = 169
				state = 180
				state = 181
				state = 795
				state = 179
				state = 112
			}
			}
			transfer_state_to = CAT
			add_compliance = 25
			}
			
			177 = {transfer_state_to = ROOT}
			
			hidden_effect = {
		every_state = {
		limit = {
		OR = {
		is_core_of = SPR
		is_core_of = POR
		}
		}
		add_claim_by = CAT
		}
		}
		}

		ai_will_do = {
		base = 10
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}

ITA_establish_alpine = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 846
		state = 845
		state = 3
		state = 847 	
		state = 151
		state = 848
		state = 153
		state = 152
		state = 976
		state = 4
		state = 975
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		846 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		845 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		3 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		847 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		151 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		848 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		153 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		152 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		976 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		4 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		975 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		846 = {transfer_state_to = ROOT}
		151 = {transfer_state_to = ROOT}
		
		SWI = {
		set_cosmetic_tag = SWI_italian
		make_this_country_protectorate = yes
		
		create_country_leader = {
		name = ITA_carlo_vecchiarelli
		desc = "" 
		picture = GFX_portrait_ITA_carlo_vecchiarelli
		ideology = fascism_ideology
		traits = {leader_of_protectorate}
		}
		
		}
			every_state = {
			limit = {
			OR = {
		state = 845
		state = 3
		state = 847 	
		state = 848
		state = 153
		state = 152
		state = 976
		state = 4
		state = 975
			}
			}
			transfer_state_to = SWI
			}
		hidden_effect = {
		SWI = {
		remove_power_balance = {id = SWI_centralization_bop}
		remove_ideas = {
		SWI_swiss_neutrality
		}
		}
		}
		}

		ai_will_do = {
		base = 10
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}
	
ITA_establish_north_germany = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 64 #Brandenburg
				state = 65 #Sachsen
				state = 60 #Thüringen
				state = 68 #Ostmark
				#state = 909 #Schleswig
				state = 58 #Holstein
				state = 61 #Mecklenburg
				state = 62 #Vorpommern
				state = 63 #Hinterpommern
				state = 56 #Weser-Ems
				state = 59 #Hannover
				state = 57 #Westfalen
				state = 55 #Hessen
				state = 51 #Rhineland
				state = 42 #Moselland
				state = 66 #Moselland
				state = 67 #Moselland
				state = 763 #Königsberg
				state = 5 #Ermland-Masuren
				state = 66 #Niederschlesien
				state = 67 #Oberschlesien
				#state = 85 #Danzig, hinting to the player they can develop this state too
				#state = 807 #Gdynia, hinting to the player they can develop this state too
				#state = 86 #Poznan, hinting to the player they can develop this state too
				#state = 762 #Katowice, hinting to the player they can develop this state too
				#state = 188 #Memel, hinting to the player they can develop this state too
		}
		}
		}
		
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
64	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
65	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
60	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
68	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
58	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
61	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
62	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
63	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
56	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
59	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
57	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
55	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
51	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
42	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
66	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
67	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
763	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
5	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
66	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
67	= { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		PRE = {
		
		set_cosmetic_tag = GER_italian
		
		make_this_country_protectorate = yes
		
			create_country_leader = {
				name = ITA_gian_galeazzo_ciano
				desc = ""
				picture = GFX_portrait_ciano
				ideology = fascism_ideology
				traits = { hierarch_minister_of_foreign_affairs }
			}
		}
			
			every_state = {
			limit = {
			OR = {
				state = 64 #Brandenburg
				state = 65 #Sachsen
				state = 60 #Thüringen
				state = 68 #Ostmark
						state = 58 #Holstein
						state = 61 #Mecklenburg
						state = 62 #Vorpommern
						state = 63 #Hinterpommern
				state = 56 #Weser-Ems
				state = 59 #Hannover
				state = 57 #Westfalen
				state = 55 #Hessen
				state = 51 #Rhineland
				state = 42 #Moselland
				state = 66 #Moselland
				state = 67 #Moselland
				state = 763 #Königsberg
				state = 5 #Ermland-Masuren
				state = 66 #Niederschlesien
				state = 67 #Oberschlesien
			}
			}
			transfer_state_to = PRE
			#add_compliance = 25
			}
		}

			ai_will_do = {
			base = 10
			modifier = {
			factor = -100
			has_completed_focus = ITA_mare_nostrum_bba
			}
		}
	}
	
	
ITA_establish_scandinavia = {

		icon = GFX_decision_generic_colonial_administration

		allowed = {
		original_tag = ITA
		}
		
		fire_only_once = yes
		
		cost = 25
		
		highlight_states = {
			highlight_state_targets = {
state = 110
state = 142
state = 143
state = 144
state = 920
state = 921
state = 922
state = 923
state = 924
state = 925

# Sweden
state = 38
state = 124
state = 138
state = 139
state = 140
state = 141
state = 666
state = 913
state = 915
state = 916
state = 917
state = 918
state = 919

# Denmark
state = 37
state = 99
# state = 100 Iceland should not be included here
# state = 101 Greenland should not be included here
#state = 337
state = 910
state = 911
state = 912

			}
		}

		available = {
		has_completed_focus = ITA_ministry_of_italian_africa
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
110 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
142 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
143 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
144 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
920 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
921 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
922 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
923 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
924 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
925 = { state_is_fully_controlled_by_ROOT_or_subject = yes }

38 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
124 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
138 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
139 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
140 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
141 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
666 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
913 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
915 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
916 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
917 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
918 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
919 = { state_is_fully_controlled_by_ROOT_or_subject = yes }

37 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
99 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
# 100 Iceland should not be included here
# 101 Greenland should not be included here
#337 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
910 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
911 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
912 = { state_is_fully_controlled_by_ROOT_or_subject = yes }

		}
		}

		visible = {
		has_completed_focus = ITA_ministry_of_italian_africa
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
			limit = {
			OR = {
state = 110
state = 142
state = 143
state = 144
state = 920
state = 921
state = 922
state = 923
state = 924
state = 925

# Sweden
state = 38
state = 124
state = 138
state = 139
state = 140
state = 141
state = 666
state = 913
state = 915
state = 916
state = 917
state = 918
state = 919

# Denmark
state = 37
state = 99
# state = 100 Iceland should not be included here
# state = 101 Greenland should not be included here
#state = 337
state = 910
state = 911
state = 912
		}
			}
		transfer_state_to = SMI
		add_compliance = 25
		add_claim_by = SMI
		}
		
		SMI = {
		
		set_cosmetic_tag = SCA_italian
		
		make_this_country_protectorate = yes
		
		establish_it_adm = yes
		
		hidden_effect = {
		set_capital = {state = 141 remember_old_capital = no}
		}
		
		}
		
		}

		ai_will_do = {
			factor = 10
		}
	}

ITA_establish_karelo_finland = {

		icon = GFX_decision_generic_colonial_administration

		cost = 25

		highlight_states = {
			highlight_state_targets = {
				state = 148 # Lappi
				state = 722 # Petsamo
				state = 147 # Salla
				state = 929 # Oulu
				state = 150 # Kuopio
				state = 146 # Karjala
				state = 928 # Kymi
				state = 930 ## Mikkeli
				state = 149 # Vaasa
				state = 927 # Häme
				state = 926 # Turku
				state = 111 # Helsinki
				state = 213 # Murmansk
				state = 215 # Onega
				state = 216 # Olonets
			}
		}

		allowed = {
		original_tag = ITA
		}

		visible = {
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		fire_only_once = yes

		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
148 = { is_controlled_by_ROOT_or_subject = yes } # Lappi
722 = { is_controlled_by_ROOT_or_subject = yes } # Petsamo
147 = { is_controlled_by_ROOT_or_subject = yes } # Salla
929 = { is_controlled_by_ROOT_or_subject = yes } # Oulu
150 = { is_controlled_by_ROOT_or_subject = yes } # Kuopio
146 = { is_controlled_by_ROOT_or_subject = yes } # Karjala
928 = { is_controlled_by_ROOT_or_subject = yes } # Kymi
930 = { is_controlled_by_ROOT_or_subject = yes } ## Mikkeli
149 = { is_controlled_by_ROOT_or_subject = yes } # Vaasa
927 = { is_controlled_by_ROOT_or_subject = yes } # Häme
926 = { is_controlled_by_ROOT_or_subject = yes } # Turku
111 = { is_controlled_by_ROOT_or_subject = yes } # Helsinki
213 = { is_controlled_by_ROOT_or_subject = yes } # Murmansk
215 = { is_controlled_by_ROOT_or_subject = yes } # Onega
216 = { is_controlled_by_ROOT_or_subject = yes } # Olonets
		}
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
				every_state = {
					limit = {
						OR = {
							state = 148 # Lappi
							state = 722 # Petsamo
							state = 147 # Salla
							state = 929 # Oulu
							state = 150 # Kuopio
							state = 146 # Karjala
							state = 928 # Kymi
							state = 930 ## Mikkeli
							state = 149 # Vaasa
							state = 927 # Häme
							state = 926 # Turku
							state = 111 # Helsinki
							state = 213 # Murmansk
							state = 215 # Onega
							state = 216 # Olonets
						}
					}
					transfer_state_to = KAR
					add_compliance = 25
					add_claim_by = KAR
				}
		
		KAR = {
		
		set_cosmetic_tag = KAR_italian
		
		set_capital = {state = 111 remember_old_capital = yes}
		
		make_this_country_protectorate = yes
		
		establish_it_adm = yes
		
		}
		
		}

		ai_will_do = {
			base = 10
		}
	}
	
	
ITA_establish_britain = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 127
				state = 123
				state = 126
				state = 338
				state = 125
				state = 122
				state = 128
				state = 129
				state = 132
				state = 130
				state = 931
				state = 131
		}
		}
		}
		
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
				127 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				123 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				126 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				338 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				125 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				122 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				128 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				129 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				132 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				131 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				130 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				931 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		country_event = ITA_protectorate_event.16
		
		PBR = {
		make_this_country_protectorate = yes
		
		if = {
		limit = {
		AOI = {
		NOT = {
		has_country_leader = { character = ITA_rodolfo_graziani ruling_only = yes }
		}
		}
		}
		set_global_flag = graz_pbr
		
			create_country_leader = {
				name = ITA_rodolfo_graziani
				desc = ""
				picture = GFX_portrait_ITA_rodolfo_graziani
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
		}
		else = {
			create_country_leader = {
				name = ITA_alessandro_pirzio_biroli
				desc = ""
				picture = GFX_portrait_ITA_alessandro_pirzio_biroli
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
		}
	}			
			every_state = {
			limit = {
			OR = {
				state = 127
				#state = 123
				state = 126
				state = 338
				state = 125
				state = 122
				state = 128
				state = 129
				state = 132
				state = 130
				state = 931
				state = 131
			}
			}
			transfer_state_to = PBR
			add_compliance = 30
			}
			every_state = {
			limit = {is_core_of = ENG}
			add_claim_by = PBR
			}
		if = {
		limit = {
		932 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		932 = {transfer_state_to = PBR}
		}
		}

			ai_will_do = {
			base = 10
			modifier = {
			factor = -100
			has_completed_focus = ITA_mare_nostrum_bba
			}
		}
	}

ITA_establish_benelux = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 8
		state = 980
		state = 34
		state = 6 	
		state = 977
		state = 7
		state = 35
		state = 36
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		8 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		980 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		34 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		6  = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		977 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		7 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		35 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		36 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		LUX	= {
		make_this_country_protectorate = yes
		
		hidden_effect = {
		set_capital = {state = 6 remember_old_capital = yes}
		}
		
		set_cosmetic_tag = BENELUX_italian
		
		create_country_leader = {
		name = ITA_vittorio_ambrosio
		desc = ""
		picture = GFX_portrait_ITA_vittorio_ambrosio
		ideology = fascism_ideology
		traits = {leader_of_protectorate}
		}
		
		}
			every_state = {
			limit = {
			OR = {
		state = 8
		state = 980
		state = 34
		state = 6 	
		state = 977
		state = 7
		state = 35
		state = 36
			}
			}
			transfer_state_to = LUX
			}
		}

		ai_will_do = {
		base = 10
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}
	
ITA_establish_hungary = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 155
		state = 43
		state = 974
		state = 973 	
		state = 154
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		154 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		973 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		974= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		43 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		if = {
		limit = {
		HUN = {
		OR = {
		exists = no
		is_subject_of = ROOT
		}
		}
		}
							every_state = {
								limit = {
								OR = {
								state = 155
								state = 43
								state = 974
								state = 973 	
								state = 154
								}
								}
								transfer_state_to = HUN
							}
		
		HUN = {
		
		make_this_country_protectorate = yes
		
		set_cosmetic_tag = HUN_italian
		
			create_country_leader = {
			name = ITA_roberto_farinacci
			desc = ""
			picture = GFX_portrait_farinacci
			traits = {leader_of_protectorate}
			ideology = fascism_ideology
			}
		
		}
		}
		
		else = {
			create_dynamic_country = {
			original_tag = HUN
			43 = {transfer_state_to = PREV}
			make_this_country_protectorate = yes
			
			set_cosmetic_tag = HUN_italian
			
			create_country_leader = {
			name = ITA_roberto_farinacci
			desc = ""
			picture = GFX_portrait_farinacci
			traits = {leader_of_protectorate}
			ideology = fascism_ideology
			}
			
							every_state = {
								limit = {
								OR = {
								state = 155
								state = 974
								state = 973 	
								state = 154
								}
								}
								transfer_state_to = PREV
							}
						}
			}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_establish_romania = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 46
		state = 81
		state = 79
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		46= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		81= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		79= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
		state = 46
		state = 81
		state = 79
		}
		}
		transfer_state_to = ROM
		}
		IF = {
		limit = {
		78 = {is_controlled_by_ROOT_or_subject = yes}
		}
		78 = {transfer_state_to = ROM}
		}
		
		ROM = {
		
		set_cosmetic_tag = ROM_italian
	
		#establish_it_adm = yes
		
		make_this_country_protectorate = yes
		
					create_country_leader = {
						name = ITA_italo_gariboldi
						desc = ""
						picture = GFX_portrait_ITA_italo_gariboldi
						ideology = fascism_ideology
						traits = { leader_of_protectorate }
						}
				}
			}

		ai_will_do = {
		base = 10
		}
	}
	
	ITA_establish_bulgaria = {

		icon = GFX_decision_generic_colonial_administration

		cost = 25
		
		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 48
		state = 211
		state = 212
		state = 801
		}
		}
		}
		fire_only_once = yes
		available = {
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		801= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		212= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		211= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		48= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
		state = 48
		state = 211
		state = 212
		state = 801
		}
		}
		transfer_state_to = BUL
		}
		BUL = {
		
		make_this_country_protectorate = yes
		
		create_country_leader = {
		name = ITA_ezio_rosi
		desc = ""
		picture = GFX_portrait_ITA_ezio_rosi
		ideology = fascism_ideology
		traits = {leader_of_protectorate}
		}
		
		if = {
		limit = {has_global_flag = flag_colored_puppets}
		set_cosmetic_tag = italian_protectorate	
		}
		
		hidden_effect = {
		remove_ideas = BUL_second_national_catastrophe
		}
		
		}
		}

		ai_will_do = {
		base = 10
		}
	}
ITA_establish_czehia = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 9
		state = 69
		state = 972
		state = 75
		state = 74
		state = 72
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		85 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		5 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		763 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		188	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
		state = 9
		state = 69
		state = 972
		state = 75
		state = 74
		state = 72
		}
		}
		transfer_state_to = CZE
		}
		
		CZE = {

		set_cosmetic_tag = CZE_italian
		
		make_this_country_protectorate = yes
		
			create_country_leader = {
				name = ITA_mario_robotti
				desc = ""
				picture = GFX_portrait_ITA_mario_robotti
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			
		hidden_effect = {
		remove_ideas = CZE_divided_nation
		}
		
		}
		
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_establish_poland = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 88
				state = 10
				state = 92
				state = 98
				state = 87
				state = 90
				state = 97
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
88 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
10 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
92 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
98 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
87 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
90 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
97 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
				state = 88
				state = 10
				state = 92
				state = 98
				state = 87
				state = 90
				state = 97
		}
		}
		transfer_state_to = POL
		}
		
		POL = {
		set_cosmetic_tag = POL_italian
		
		make_this_country_protectorate = yes
		
		establish_it_adm = yes
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	

ITA_establish_baltics = {

		icon = GFX_decision_generic_colonial_administration

		cost = 25


		highlight_states = { 
			highlight_state_targets = {
				state = 784 # Semigallen
				state = 189 # Semigallen
				state = 814 # Sudava
				state = 11 # Kaunas
				state = 815 # Aukstailjia
				state = 190 # Kurzeme
				state = 809 # Zemgale
				state = 808 # Riga
				state = 810 # Latgale
				state = 12 # Vidzeme
				state = 191 # Tartu
				state = 13 # Pärnu
				state = 813 # Virumaa
				state = 812 # Harju
				state = 811 # Saremaa
			}
		}

		allowed = {
		original_tag = ITA
		}

		visible = {
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		fire_only_once = yes

		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
784 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Semigallen
189 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Semigallen
814 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Sudava
11 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Kaunas
815 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Aukstailjia
190 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Kurzeme
809 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Zemgale
808 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Riga
810 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Latgale
12 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Vidzeme
191 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tartu
13 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Pärnu
813 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Virumaa
812 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Harju
811 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Saremaa
		}
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
			limit = {
			OR = {
				state = 784 # Memel
				state = 189 # Semigallen
				state = 814 # Sudava
				state = 11 # Kaunas
				state = 815 # Aukstailjia
				state = 190 # Kurzeme
				state = 809 # Zemgale
				state = 808 # Riga
				state = 810 # Latgale
				state = 12 # Vidzeme
				state = 191 # Tartu
				state = 13 # Pärnu
				state = 813 # Virumaa
				state = 812 # Harju
				state = 811 # Saremaa
			}
		}
		transfer_state_to = LAT
		}
		
		LAT = {
		
		set_cosmetic_tag = BAL_italian
		
		make_this_country_protectorate = yes

		establish_it_adm = yes
		}
		
		}

		ai_will_do = {
			base = 10
		}
	}


ITA_establish_belarus = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 94
				state = 95
				state = 96
				state = 194
				state = 204
				state = 206
				state = 241
				state = 207
		}
		}
		}
		
		fire_only_once = yes
		
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
94 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
95 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
96 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
194 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
204 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
206 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
241 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
207 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
				state = 94
				state = 95
				state = 96
				state = 194
				state = 204
				state = 206
				state = 241
				state = 207
		}
		}
		transfer_state_to = BLR
		}
		
		BLR = {
		set_cosmetic_tag = BLR_italian
		
		make_this_country_protectorate = yes

		create_country_leader = {
		name = ITA_nicola_bombacci
		desc = ""
		picture = GFX_portrait_bombacci
		traits = { GER_revolutionary_nationalist }
		ideology = fascism_ideology
		}
		
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	
	
ITA_establish_ukraine = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 198
				state = 199
				state = 192
				state = 834
				state = 201
				state = 202
				state = 193
				state = 203
				state = 197
				state = 225
				state = 259
				state = 226
				state = 196
				state = 200
				state = 221
				state = 228
				state = 227
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
				198 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				199 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				192 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				834 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				201 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				202 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				193 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				203 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				197 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				225 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				259 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				226 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				196 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				200 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				221 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				228 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				227 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
				state = 198
				state = 199
				state = 192
				state = 834
				state = 201
				state = 202
				state = 193
				state = 203
				state = 197
				state = 225
				state = 259
				state = 226
				state = 196
				state = 200
				state = 221
				state = 228
				state = 227
		}
		}
		transfer_state_to = UKR
		}
		UKR	= {
		set_cosmetic_tag = UKR_italian
		
		make_this_country_protectorate = yes
		
					create_country_leader = {
						name = ITA_francesco_zingales
						desc = ""
						picture = GFX_portrait_ITA_francesco_zingales
						ideology = fascism_ideology
						traits = { leader_of_protectorate }
						}		
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_establish_russia = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
	state = 219
				state = 205
				state = 242
				state = 243
				state = 224
				state = 210
				state = 246
				state = 209
				state = 263
				state = 208
				state = 195 # Leningrad
				state = 244
				state = 264
				state = 247
				state = 223
				state = 222
				state = 220 
				state = 240
				state = 258
				state = 260
				state = 265
				state = 245
				state = 217 # Stalingrad
				#state = 351
				state = 248
				state = 253
				state = 254
				#state = 233
				state = 257
				state = 252
				state = 255
				state = 239
				state = 250
				state = 401
				state = 829
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
219 = { is_controlled_by_ROOT_or_subject = yes }
205 = { is_controlled_by_ROOT_or_subject = yes }
242 = { is_controlled_by_ROOT_or_subject = yes }
243 = { is_controlled_by_ROOT_or_subject = yes }
224 = { is_controlled_by_ROOT_or_subject = yes }
210 = { is_controlled_by_ROOT_or_subject = yes }
246 = { is_controlled_by_ROOT_or_subject = yes }
209 = { is_controlled_by_ROOT_or_subject = yes }
263 = { is_controlled_by_ROOT_or_subject = yes }
208 = { is_controlled_by_ROOT_or_subject = yes }
195 = { is_controlled_by_ROOT_or_subject = yes } # Leningrad
244 = { is_controlled_by_ROOT_or_subject = yes }
264 = { is_controlled_by_ROOT_or_subject = yes }
247 = { is_controlled_by_ROOT_or_subject = yes }
223 = { is_controlled_by_ROOT_or_subject = yes }
222 = { is_controlled_by_ROOT_or_subject = yes }
220 = { is_controlled_by_ROOT_or_subject = yes }
240 = { is_controlled_by_ROOT_or_subject = yes }
258 = { is_controlled_by_ROOT_or_subject = yes }
260 = { is_controlled_by_ROOT_or_subject = yes }
265 = { is_controlled_by_ROOT_or_subject = yes }
245 = { is_controlled_by_ROOT_or_subject = yes }
217 = { is_controlled_by_ROOT_or_subject = yes } # Stalingrad
248 = { is_controlled_by_ROOT_or_subject = yes }
253 = { is_controlled_by_ROOT_or_subject = yes }
254 = { is_controlled_by_ROOT_or_subject = yes }
257 = { is_controlled_by_ROOT_or_subject = yes }
252 = { is_controlled_by_ROOT_or_subject = yes }
255 = { is_controlled_by_ROOT_or_subject = yes }
239 = { is_controlled_by_ROOT_or_subject = yes }
250 = { is_controlled_by_ROOT_or_subject = yes }
401 = { is_controlled_by_ROOT_or_subject = yes }
829 = { is_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
	state = 219
				state = 205
				state = 242
				state = 243
				state = 224
				state = 210
				state = 246
				state = 209
				state = 263
				state = 208
				state = 195 # Leningrad
				state = 244
				state = 264
				state = 247
				state = 223
				state = 222
				state = 220 
				state = 240
				state = 258
				state = 260
				state = 265
				state = 245
				state = 217 # Stalingrad
				state = 248
				state = 253
				state = 254
				state = 257
				state = 252
				state = 255
				state = 239
				state = 250
				state = 401
				state = 829
		}
		}
		transfer_state_to = PRR
		add_compliance = 30
		}
		
		country_event = ITA_protectorate_event.15
		
		hidden_effect = {
		country_event = {
		id = NSB_soviet_civil_war_common.010
		days = 1
		}
		}
		
		PRR = {
		make_this_country_protectorate = yes
		}
		
		hidden_effect = {
			every_state = {
			limit = {is_core_of = SOV}
			add_claim_by = PRR
			}
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_establish_caucasus = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 25

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 826
				state = 231
				state = 230
				state = 229
				state = 828
				state = 827
				state = 821
				state = 232
				state = 229
				state = 233
		}
		}
		}
		
		fire_only_once = yes
		
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
826 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
233 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
231 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
230 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
229 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
828 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
827 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
821 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
232 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
229 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
				state = 826
				state = 231
				state = 230
				state = 229
				state = 233
				state = 828
				state = 827
				state = 821
				state = 232
				state = 229
		}
		}
		transfer_state_to = GEO
		add_compliance = 30
		}
		
		GEO = {
		
		set_cosmetic_tag = KAU_italian
		
		make_this_country_protectorate = yes
		
		establish_it_adm = yes
		
		}
		
		hidden_effect = {
			every_state = {
			limit = {
			OR = {
				state = 826
				state = 231
				state = 230
				state = 229
				state = 828
				state = 827
				state = 821
				state = 232
				state = 229
			}
			add_claim_by = GEO
			}
		}
		}
		}

		ai_will_do = {
		base = 10
		}
}
	
	
ITA_establish_greater_ukraine = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 240
				state = 218
				state = 234
				state = 78
				state = 137
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
				240 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				218 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				234 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				78 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				137 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			UKR = {is_subject_of = ROOT}
			always = no
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
				state = 240
				state = 218
				state = 234
				state = 78
				state = 137
		}
		}
		transfer_state_to = UKR
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_establish_crimean_commando = {

		icon = GFX_decision_generic_colonial_administration
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
			state = 137
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
				137 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		137 = {transfer_state_to = CRI}
		
		CRI	= {
		
		set_cosmetic_tag = CRI_italian
		
		make_this_country_protectorate = yes
		
	create_country_leader = {
	name = ITA_junio_valerio_borghese
	picture = GFX_portrait_ITA_junio_valerio_borghese
	expire = "1965.1.1"
	ideology = fascism_ideology
	traits = {
	diverstant_specialist
	}
	}
		
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_establish_egypt = {

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 25

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 453
		state = 452
		state = 447
		state = 446
		state = 907
		state = 456
		state = 457
		}
		}
		}
		
		fire_only_once = yes
		available = {
		AOI = {
						OR = {
						NOT = {
						has_completed_focus = AOI_east_africa_formation 
						has_completed_focus = AOI_unite_the_colonies
						}
						}
		}

		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
			457 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			456 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			907 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			447 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			452 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			446 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			453 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
			}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		custom_effect_tooltip = ALL_can_be_later_integrated

		upgrade_italian_col_emp = yes
		
		EGY = {
		
		make_this_country_protectorate = yes
		
		set_cosmetic_tag = EGY_italian
		
		create_country_leader = {
		name = AOI_attilio_teruzzi
		picture = GFX_portrait_teruzzi
		expire = "1965.1.1"
		ideology = fascism_ideology
		traits = {
		minister_of_colonies_teruzzi
		}
		}
	
			set_party_name = {
			ideology = fascism
			long_name = EGY_italian_colony_IMG_LONG_NAME
			name = EGY_italian_colony_IMG_SHORT_NAME
			}
	}
		ROOT = {
		transfer_state = 446
		}
			
		every_state = {
		limit = {
		OR = {
		state = 453
		state = 452
		state = 447
		state = 907
		state = 456
		state = 457
		state = 552
		}
		}
		transfer_state_to = EGY
		}
		}

		ai_will_do = {
		base = 30
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}
	
#ITA_north_african_question = {
#
#		cost = 10
#
#		fire_only_once = yes
#
#		icon = GFX_decision_eng_trade_unions_support
#
#		allowed = {
#			original_tag = ITA # Italy
#		}
#
#		available = {
#		LBA = {is_subject_of = ROOT}
#		}
#
#		visible = {
#			has_completed_focus = ITA_ministry_of_italian_africa
#			original_tag = ITA # Italy
#			always = no
#		}
#
#		complete_effect = {
#		country_event = {id = ITA_protectorate_event.7}
#		}
#
#		ai_will_do = {
#			factor = 20
#		}
#	}
	
ITA_establish_west_africa = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 461
		state = 462
		state = 290
		state = 783
		state = 699
		state = 1034
		}
		}
		}
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		699= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		783= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		290= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		462= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		461= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1034= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#has_global_flag = divided_north_africa_prot_flag
		}

		complete_effect = {
		upgrade_italian_col_emp = yes
		MOR = {
		set_cosmetic_tag = MOR_italian
		make_this_country_protectorate = yes
		
		
		create_country_leader = {
		name = ITA_mario_berti
		desc = "" 
		picture = GFX_portrait_ITA_mario_berti
		ideology = fascism_ideology
		traits = {leader_of_protectorate}
		}
		
		set_party_name = {
		ideology = fascism
		long_name = MOR_italian_colony_IMG_LONG_NAME
		name = MOR_italian_colony_IMG_SHORT_NAME
		}
		
		}
		ROOT = {
		transfer_state = 1034
		}
		
			MOR = {
			transfer_state = 461
			transfer_state = 462
			transfer_state = 290
			transfer_state = 783
			transfer_state = 699
			}
		}

		ai_will_do = {
		factor = 20
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
	}
}
ITA_establish_algeria = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 459
		state = 460
		state = 513
		}
		}
		}
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		513= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		460= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		459= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#has_global_flag = divided_north_africa_prot_flag
		}

		complete_effect = {
			set_global_flag = ALG_italian_colony
		
		upgrade_italian_col_emp = yes

		ALG = {
		set_cosmetic_tag = ALG_italian_colony
		make_this_country_protectorate = yes
		
		set_party_name = {
		ideology = fascism
		long_name = ALG_italian_colony_IMG_LONG_NAME
		name = ALG_italian_colony_IMG_SHORT_NAME
		}
		
					create_country_leader = {
						name = ITA_ettore_baldassarre
						desc = ""
						picture = GFX_portrait_ITA_ettore_baldasarre
						ideology = fascism_ideology
						traits = { leader_of_protectorate }
						}	
		}
				
			ALG = {
			transfer_state = 513
			transfer_state = 459
			transfer_state = 460
			transfer_state = 514
			}
		}

		ai_will_do = {
		factor = 10
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}

ITA_establish_equatorial_africa = {
	
		icon = GFX_decision_generic_colonial_administration
		
		cost = 25
		
		allowed = {
			original_tag = ITA # Italy
		}
		
		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 660
		state = 775
		state = 774
		state = 773
		state = 772
		state = 539

		}
		}
		}
		
		visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        original_tag = ITA # Italy
		}
		
		available = {
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		660= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		775= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		774= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		773= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		772= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		539= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}
			complete_effect = {
			
			upgrade_italian_col_emp = yes
			
			CAR = {
			set_cosmetic_tag = CMR_italian_colony
			
			create_country_leader = {
			
			name = ITA_amedeo_guillet
			desc = ""
			picture = GFX_portrait_ITA_amedeo_guillet
			ideology = fascism_ideology
			traits = {leader_of_protectorate}
			}
			
			make_this_country_protectorate = yes
			
					set_party_name = {
						ideology = fascism
						long_name = CMR_italian_colony_IMG_LONG_NAME
						name = CMR_italian_colony_IMG_SHORT_NAME
						}
			
			}
			
		660= {transfer_state_to = CAR}
		775= {transfer_state_to = CAR}
		774= {transfer_state_to = CAR}
		773= {transfer_state_to = CAR}
		772= {transfer_state_to = CAR}
		539= {transfer_state_to = CAR}

		}
		
		fire_only_once = yes
		
			ai_will_do = {
				base = 200 #player only
			}
}

colonial_government_gold_coast= {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 779
				state = 777
				state = 776
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			779= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			777= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			776= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy

    }

	complete_effect = {
		set_global_flag = IVO_italian_colony

		upgrade_italian_col_emp = yes

		779= {transfer_state_to = IVO}
		777= {transfer_state_to = IVO}
		776= {transfer_state_to = IVO}

		IVO = {
		make_this_country_protectorate = yes

			set_party_name = {
				ideology = fascism
				long_name =  IVO_italian_colony_IMG_LONG_NAME
				name = IVO_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_sebastiano_visconti_prasca
				desc = ""
				picture = GFX_portrait_ITA_sebastiano_visconti_prasca
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = IVO_italian_colony
		}
	}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_central_africa = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 295
				state = 538
				state = 718
				state = 888
				state = 890
				state = 889
				state = 890
				state = 769
				state = 768
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			295= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			538= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			718= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			888= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			890= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			889= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			890= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			769= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			768= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}
	    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        original_tag = ITA # Italy
    }

	complete_effect = {
		set_global_flag = COG_italian_colony

	every_state = {
		limit = {
			OR = {
				state = 295
				state = 538
				state = 718
				state = 888
				state = 890
				state = 889
				state = 890
				state = 769
				state = 768
			}
		}
	transfer_state_to = KAT
	}
		
		
		KAT = {
		make_this_country_protectorate = yes

			set_party_name = {
				ideology = fascism
				long_name = COG_italian_colony_IMG_LONG_NAME
				name = COG_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_ugo_cavallero
				desc = ""
				picture = GFX_portrait_ITA_ugo_cavallero
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = COG_italian_colony
		}
	}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_in_south_africa = {
	
			icon = GFX_decision_generic_colonial_administration
			
			cost = 25
		
			allowed = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			}
			highlight_states ={
				highlight_states_trigger = {
		OR = {
		state = 681
		state = 719
		state = 275
		}
		}
	}
	
    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }
			available = {
				custom_trigger_tooltip = {
		        tooltip = controls_all_states_tt
				681= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                719= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                275= {state_is_fully_controlled_by_ROOT_or_subject = yes}

				}
			}
			complete_effect = {
				set_global_flag = SAF_italian_colony
				upgrade_italian_col_emp = yes
		
				681= {transfer_state_to = SAF}
                719= {transfer_state_to = SAF}
                275= {transfer_state_to = SAF}


				SAF = {
				make_this_country_protectorate = yes
					
					set_party_name = {
						ideology = fascism
						long_name = SAF_italian_colony_IMG_LONG_NAME
						name = SAF_italian_colony_IMG_SHORT_NAME
						}
					create_country_leader = {
						name = ITA_pietro_pintor
						desc = ""
						picture = GFX_portrait_ITA_pietro_pintor
						ideology = fascism_ideology
						traits = { leader_of_protectorate }
						}
				set_cosmetic_tag = SAF_italian_colony
				}
				
			}
			
			fire_only_once = yes
		
			ai_will_do = {
				base = 200 #player only
			}
		}

colonial_government_in_siam = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}
	
	visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 289
				state = 724
				state = 868
				state = 869
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			289= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			724= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			868= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			869= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = SIA_italian_colony
		upgrade_italian_col_emp = yes

		289= {transfer_state_to = SIA}
		724= {transfer_state_to = SIA}
		868= {transfer_state_to = SIA}
		869= {transfer_state_to = SIA}

        SIA = {
		
		make_this_country_protectorate = yes

			set_party_name = {
				ideology = fascism
				long_name = SIA_italian_colony_IMG_LONG_NAME
				name = SIA_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_ubaldo_soddu
				desc = ""
				picture = GFX_portrait_ITA_ubaldo_soddu
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = SIA_italian_colony
		}
		}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_in_india = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}
	
	visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 982
				state = 423
				state = 425
				state = 424
				state = 983
				state = 427
				state = 429
				state = 426
				state = 984
				state = 436
				state = 436
				state = 437
				state = 431
				state = 435
				state = 985
				state = 432
				state = 990
				state = 434
				state = 433
				state = 438
				state = 991
				state = 433
				state = 439
				state = 986
				state = 428
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			982= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			423= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			425= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			424= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			983= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			427= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			429= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			426= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			984= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			436= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			436= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			437= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			431= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			435= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			985= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			432= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			990= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			434= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			433= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			438= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			991= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			433= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			439= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			986= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			428= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = KHL_italian_colony
		upgrade_italian_col_emp = yes
			
			every_state = {
			limit = {
				OR = {
				state = 982
				state = 423
				state = 425
				state = 424
				state = 983
				state = 427
				state = 429
				state = 426
				state = 984
				state = 436
				state = 436
				state = 437
				state = 431
				state = 435
				state = 985
				state = 432
				state = 990
				state = 434
				state = 433
				state = 438
				state = 991
				state = 433
				state = 439
				state = 986
				state = 428
			}
			}
			transfer_state_to = KHL
			}
			
			KHL = {
			
			hidden_effect = {set_capital = {state = 439 remember_old_capital = no}}
			
			hidden_effect = {
			every_state = {
			limit = {is_core_of = RAJ}
			add_claim_by = KHL
			}
			}
			
			set_country_flag = ruled_by_ita_monarchy
			
			make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name = RAJ_italian_colony_IMG_LONG_NAME
				name = RAJ_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_prince_filiberto
				desc = ""
				picture = GFX_portrait_ITA_prince_filiberto
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = RAJ_italian_colony
		}
	}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_indochina = {

	icon = GFX_decision_generic_colonial_administration
	
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}
	
	visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 670
				state = 671
				state = 741
				state = 286
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			670 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			671 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			741 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			286 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
	}

	complete_effect = {
		set_global_flag = VIN_italian_colony
		upgrade_italian_col_emp = yes

		670 = { transfer_state_to = VIN }
		671 = { transfer_state_to = VIN }
		741 = { transfer_state_to = VIN }
		286 = { transfer_state_to = VIN }

		VIN = {
		
		make_this_country_protectorate = yes
		
			set_party_name = {
				ideology = fascism
				long_name = VIN_italian_colony_IMG_LONG_NAME
				name = VIN_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_giuseppe_fioravanzo
				desc = ""
				picture = GFX_portrait_ITA_giuseppe_fioravanzo
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = VIN_italian_colony
		}
	}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_in_indonesia = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
	}
	
	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 667
				state = 668
				state = 672
				state = 334
				state = 673
				state = 669
				state = 738
				state = 335
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			335= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			667= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			668= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			672= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			334= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			673= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			669= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			738= {state_is_fully_controlled_by_ROOT_or_subject = yes}

		}
	}

	complete_effect = {
		set_global_flag = INS_italian_colony
		upgrade_italian_col_emp = yes
			every_state = {
			limit = {
				OR = {
				state = 335
				state = 667
				state = 668
				state = 672
				state = 334
				state = 673
				state = 669
				state = 738
			}
			}
			transfer_state_to = INS
			}
		
		INS = {
		make_this_country_protectorate = yes
		set_cosmetic_tag = INS_italian_colony
		}

		INS = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				create_intelligence_agency = yes
			}

			set_party_name = {
				ideology = fascism
				long_name = INS_italian_colony_IMG_LONG_NAME
				name = INS_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_angelo_iachino
				desc = ""
				picture = GFX_portrait_ITA_angelo_iachino
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
		}
	}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_in_east_asia = {
	
			icon = GFX_decision_generic_colonial_administration
			
			cost = 25
		
			allowed = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			}
			
			highlight_states ={
			highlight_states_trigger = {
		OR = {
		state = 638
		state = 643
		state = 633
		state = 725
		state = 734
		state = 634
		state = 639
		state = 646
		state = 523
		state = 647
		state = 684
		state = 979
		state = 737
		}
		}
		}
		
			available = {
				custom_trigger_tooltip = {
		         tooltip = controls_all_states_tt
				638= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                643= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                633= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                725= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                734= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                634= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                639= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                646= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                523= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                647= {state_is_fully_controlled_by_ROOT_or_subject = yes}
                684= {state_is_fully_controlled_by_ROOT_or_subject = yes}
				979= {state_is_fully_controlled_by_ROOT_or_subject = yes}
				737= {state_is_fully_controlled_by_ROOT_or_subject = yes}
				}
			}
			complete_effect = {
				set_global_flag = PNG_italian_colony
				upgrade_italian_col_emp = yes


				every_state = {
				limit = {
		OR = {
		state = 638
		state = 643
		state = 633
		state = 725
		state = 734
		state = 634
		state = 639
		state = 646
		state = 523
		state = 647
		state = 684
		state = 979
		state = 737
		}
				}
				transfer_state_to = PNG
				}
				
				PNG = {
				
				make_this_country_protectorate = yes
				
					set_party_name = {
						ideology = fascism
						long_name = PNG_italian_colony_IMG_LONG_NAME
						name = PNG_italian_colony_IMG_SHORT_NAME
						}
					create_country_leader = {
						name = ITA_carlo_bergamini
						desc = ""
						picture = GFX_portrait_ITA_carlo_bergamini
						ideology = fascism_ideology
						traits = { leader_of_protectorate }
						}
		set_cosmetic_tag = PNG_italian_colony
				}
			}
			
			fire_only_once = yes
		
			ai_will_do = {
				base = 333 #player only
			}
		}

ITA_establish_china = {
	
			icon = GFX_decision_generic_colonial_administration
			
			cost = 25
		
			allowed = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			}
			
			highlight_states = {
			highlight_states_trigger = {
			OR = {
			state = 608
			}
			}
			}
		
			available = {
				custom_trigger_tooltip = {
		        tooltip = controls_all_states_tt
				608= {state_is_fully_controlled_by_ROOT_or_subject = yes}
				}
			}
			complete_effect = {
				upgrade_italian_col_emp = yes
				
				#country_event = ITA_protectorate_event.26

				set_victory_points = {
				province = 10068
				value = 25
				}

				every_state = {
				limit = {
				OR = {
				state = 608
				}
				}
				transfer_state_to = ITC
				add_compliance = 30
				}
				
				ITC = {
				
				make_this_country_protectorate = yes
				
				}
				
				hidden_effect = {
				every_state = {
				limit = {is_core_of = CHI}
				add_claim_by = ITC
				}
				}
			}
			
			fire_only_once = yes
		
			ai_will_do = {
				base = 333 #player only
			}
		}
		
ITA_establish_korea = {
	
			icon = GFX_decision_generic_colonial_administration
			
			cost = 25
		
			allowed = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			}
			
			highlight_states = {
			highlight_states_trigger = {
			OR = {
			state = 527
			state = 525
			}
			}
			}
		
			available = {
				custom_trigger_tooltip = {
		        tooltip = controls_all_states_tt
				525 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				527 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				}
			}
			
			complete_effect = {
				upgrade_italian_col_emp = yes

				every_state = {
				limit = {
				OR = {
				state = 527
				state = 525
				}
				}
				transfer_state_to = KOR
				}
				
				KOR = {
				
				set_cosmetic_tag = KOR_italian
				
				make_this_country_protectorate = yes
				
				establish_it_adm = yes
				
				}
			}
			
			fire_only_once = yes
		
			ai_will_do = {
				base = 333 #player only
			}
		}
		
ITA_establish_japan = {
	
			icon = GFX_decision_generic_colonial_administration
			
			cost = 25
		
			allowed = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			}
			
			highlight_states = {
			highlight_states_trigger = {
			OR = {
			state = 536
			state = 533
			state = 535
			state = 282
			state = 532
			state = 534
			state = 555
			}
			}
			}
		
			available = {
				custom_trigger_tooltip = {
		        tooltip = controls_all_states_tt
536 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
533 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
535 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
282 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
532 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
534 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
555 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				}
			}
			
			complete_effect = {
				upgrade_italian_col_emp = yes

				every_state = {
				limit = {
				OR = {
				state = 536
				state = 533
				state = 535
				state = 282
				state = 532
				state = 555
				state = 534
				}
				}
				transfer_state_to = ITJ
				add_compliance = 30
				}
				
				ITJ = {
				
				make_this_country_protectorate = yes
				
				}
				
				hidden_effect = {
				every_state = {
				limit = {is_core_of = JAP}
				add_claim_by = ITJ
				}
				}
			}
			
			fire_only_once = yes
		
			ai_will_do = {
				base = 333 #player only
			}
		}
		
colonial_government_australia = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 285
				state = 518
				state = 517
				state = 521
				state = 873
				state = 872
				state = 520
				state = 870
				state = 674
				state = 522
				state = 871
				state = 519
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			285= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			518= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			517= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			521= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			873= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			872= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			520= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			870= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			522= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			871= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			519= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		upgrade_italian_col_emp = yes

		set_global_flag = AST_italian_colony
		
		every_state = {
		limit = {
		OR = {
				state = 285
				state = 518
				state = 517
				state = 521
				state = 873
				state = 872
				state = 520
				state = 870
				state = 674
				state = 522
				state = 871
				state = 519
		}
		}
		transfer_state_to = AST
		}

		AST = {
		
		set_cosmetic_tag = AST_italian_colony
		
		create_country_leader = {
		name = "Padre Ildefonso"
		desc = ""
		picture = GFX_portrait_ITA_epaminonda_troya
		traits = { leader_of_protectorate }
		ideology = fascism_ideology
		}
		
		hidden_effect = {
		create_country_leader = {
		name = "Padre Ildefonso"
		desc = ""
		picture = GFX_portrait_ITA_epaminonda_troya
		traits = { leader_of_protectorate }
		ideology = moderatism
		}
		}
		
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  AST_italian_colony_IMG_LONG_NAME
				name = AST_italian_colony_IMG_SHORT_NAME
			}
			
			}
		}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}



ITA_establish_levant = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 454
		state = 455
		state = 553
		state = 554
		state = 680
		state = 677
		}
		}
		}
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		677= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		680= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		554= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		553= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		455	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		454	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		PAL = {
		
		set_cosmetic_tag = PAL_italian_colony
		
		make_this_country_protectorate = yes
		
		create_country_leader = {
			name = ITA_annibale_bergonzoli
			desc = ""
			picture = GFX_portrait_ITA_annibale_bergonzoli
			ideology = fascism_ideology
			traits = {leader_of_protectorate}
			}
			
		set_party_name = {
		ideology = fascism
		long_name = PAL_italian_colony_IMG_LONG_NAME
		name = PAL_italian_colony_IMG_SHORT_NAME
		}
			
		}
			PAL = {
			transfer_state = 454
			transfer_state = 455
			transfer_state = 554 
			transfer_state = 553
			transfer_state = 680
			transfer_state = 677
			}
		}

		ai_will_do = {
		factor = 20
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}

colonial_government_turkey = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
		always = no
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
								state = 343
				state = 49
				state = 356
				state = 346
				state = 798
				state = 355
				state = 348
				state = 349
				state = 354
				state = 345
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			343= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			49= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			356= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			346= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			798= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			355= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			348= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			349= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			354= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			345= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = TUR_italian_colony

		upgrade_italian_col_emp = yes
		
every_state = {
    limit = {
        OR = {
            state = 343
            state = 49
            state = 356
            state = 346
            state = 798
            state = 355
            state = 348
            state = 349
            state = 354
            state = 345
        }
    }
    transfer_state_to = ANA
	add_compliance = 30
}

		
		ANA = {
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  TUR_italian_colony_IMG_LONG_NAME
				name = TUR_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_carlo_geloso
				desc = ""
				picture = GFX_portrait_ITA_carlo_geloso
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_persia = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 419
				state = 1000
				state = 1001
				state = 421
				state = 413
				state = 420
				state = 417
				state = 411
				state = 412
				state = 266
				state = 418
				state = 1002
				state = 414
				state = 1004
				state = 416
				state = 1003
				state = 410
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			419= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1000= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1001= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			421= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			413= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			420= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			417= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			411= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			412= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			266= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			418= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1002= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			414= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1004= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			416= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1003= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			410= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
	
		upgrade_italian_col_emp = yes

		set_global_flag = PER_italian_colony
		
every_state = {
    limit = {
        OR = {
            state = 419
            state = 1000
            state = 1001
            state = 421
            state = 413
            state = 420
            state = 417
            state = 411
            state = 412
            state = 266
            state = 418
            state = 1002
            state = 414
            state = 1004
            state = 416
            state = 1003
            state = 410
        }
    }
    transfer_state_to = PER
}


		PER = {
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  PER_italian_colony_IMG_LONG_NAME
				name = PER_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_emilio_de_bono
				desc = ""
				picture = GFX_portrait_ITA_emilio_de_bono
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = PER_italian_colony
			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

    colonial_government_afghanistan = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 415
				state = 1009
				state = 1008
				state = 1007
				state = 267
				state = 1006
				state = 1005
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			415= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1009= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1008= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1007= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			267= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1006= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			1005= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
	
		upgrade_italian_col_emp = yes

		set_global_flag = AFG_italian_colony

		415= {transfer_state_to = AFG}
		1009= {transfer_state_to = AFG}
		1008= {transfer_state_to = AFG}
		1007= {transfer_state_to = AFG}
		267= {transfer_state_to = AFG}
		1006= {transfer_state_to = AFG}
		1005= {transfer_state_to = AFG}


		AFG = {
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  AFG_italian_colony_IMG_LONG_NAME
				name = AFG_italian_colony_IMG_SHORT_NAME
			}
			if = {
				limit = {
				NOT = {
				has_global_flag = graz_pbr
				}
				}
				create_country_leader = {
				name = ITA_alessandro_pirzio_biroli
				desc = ""
				picture = GFX_portrait_ITA_alessandro_pirzio_biroli
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			} 
		}
		else = {
				establish_it_adm = yes
			}
			
			set_cosmetic_tag = AFG_italian_colony
			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

	ITA_establish_central_asia = { #eastturkestan

		icon = GFX_decision_generic_colonial_administration

		available = {
		has_completed_focus = ITA_ministry_of_italian_africa
			
			custom_trigger_tooltip = {
			    tooltip = controls_all_states_tt
				618  = { is_controlled_by_ROOT_or_subject = yes }
				617  = { is_controlled_by_ROOT_or_subject = yes }
				619  = { is_controlled_by_ROOT_or_subject = yes }
				760  = { is_controlled_by_ROOT_or_subject = yes }
				759  = { is_controlled_by_ROOT_or_subject = yes }
				287  = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 589
				state = 586
				state = 590
				state = 583
				state = 402
				state = 406
				state = 407
				state = 587
				state = 881
				state = 404
				state = 823
				state = 831
				state = 742
				state = 732
				state = 830
				state = 584
				state = 832
				state = 585
				state = 405
			}
		}

		cost = 25
		
		
		ai_will_do = {
			base = 30
		}

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		fire_only_once = yes

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
			every_state = {
			limit = {
			OR = {
				state = 589
				state = 586
				state = 590
				state = 583
				state = 402
				state = 406
				state = 407
				state = 587
				state = 881
				state = 404
				state = 823
				state = 831
				state = 742
				state = 732
				state = 830
				state = 584
				state = 832
				state = 585
				state = 405
			}
			}
			transfer_state_to = KAZ
			}
			
			KAZ = {
			
			set_cosmetic_tag = KAZ_italian
			
			make_this_country_protectorate = yes
			
			establish_it_adm = yes
			
			}
			
		}
	}
	
ITA_establish_arabia = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 292
		state = 855
		state = 857
		state = 858
		state = 859
		state = 678
		state = 856
		state = 679
		state = 854
		}
		}
		}
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		679= {is_controlled_by_ROOT_or_subject = yes}
		856= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		292= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		855= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		857= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		858	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		859	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		854	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		SAU = {
		make_this_country_protectorate = yes
		set_cosmetic_tag = SAU_italian_colony
		
			create_country_leader = {
				name = ITA_giuseppe_tellera
				desc = ""
				picture = GFX_portrait_ITA_giuseppe_tellera
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
		}
		
		679= {transfer_state_to = SAU}
		856= {transfer_state_to = SAU}
		292= {transfer_state_to = SAU}
		855= {transfer_state_to = SAU}
		857= {transfer_state_to = SAU}
		858	= {transfer_state_to = SAU}
		859	= {transfer_state_to = SAU}
		854	= {transfer_state_to = SAU}
		}

		ai_will_do = {
		factor = 20
		modifier = {
		factor = 0
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}	
ITA_establish_gulf = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 765
		state = 1014
		state = 658
		state = 1013
		}
		}
		}
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		765	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1014= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		658	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1013= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		UAE = {
		
		make_this_country_protectorate = yes
		
		set_cosmetic_tag = gulf_italian
		
		create_country_leader = {
		name = ITA_alberto_da_zara
		picture = GFX_portrait_ITA_alberto_da_zara
		expire = "1965.1.1"
		ideology = fascism_ideology
		traits = {
		leader_of_protectorate
		}
		}
	}
		
		765	= {transfer_state_to = UAE}
		1014= {transfer_state_to = UAE}
		658	= {transfer_state_to = UAE}
		1013= {transfer_state_to = UAE}
		}

		ai_will_do = {
		factor = 20
		#modifier = {
		#factor = -100
		#has_completed_focus = ITA_mare_nostrum_bba
		#}
		}
	}
	
ITA_establish_usa = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 357
		state = 816
		state = 358
		state = 359
		state = 360
		state = 361
		state = 362
		state = 363
		state = 364
		}
		}
		}
		
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
357 = {is_controlled_by_ROOT_or_subject = yes}
816 = {is_controlled_by_ROOT_or_subject = yes}
358 = {is_controlled_by_ROOT_or_subject = yes}
359 = {is_controlled_by_ROOT_or_subject = yes}
360 = {is_controlled_by_ROOT_or_subject = yes}
361 = {is_controlled_by_ROOT_or_subject = yes}
362 = {is_controlled_by_ROOT_or_subject = yes}
363 = {is_controlled_by_ROOT_or_subject = yes}
364 = {is_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
		state = 357
		state = 816
		state = 358
		state = 359
		state = 360
		state = 361
		state = 362
		state = 363
		state = 364
		}
		}
		transfer_state_to = USI
		add_compliance = 30
		}
		
		hidden_effect = {
		#357 = {add_core_of = USI}
		#358 = {add_core_of = USI}
		
		every_state = {
		limit = {
		is_core_of = USA
		}
		add_claim_by = USI
		}
		
		}

		USI = {
		
		make_this_country_protectorate = yes
		
		if = {
		limit = {
		NOT = {has_government = fascism}
		}
		establish_it_adm = yes
		}
		
		}
		
		}

		ai_will_do = {
		factor = 20
		}
	}
	
ITA_establish_mexico = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 474
				state = 475
				state = 476
				state = 477
				state = 485
				state = 478
				state = 277
				state = 479
				state = 481
				state = 480
				state = 482
				state = 483
		}
		}
		}
		
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
357 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
816 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
358 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
359 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
360 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
361 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
362 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
363 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
364 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
				state = 474
				state = 475
				state = 476
				state = 477
				state = 485
				state = 478
				state = 277
				state = 479
				state = 481
				state = 480
				state = 482
				state = 483
		}
		}
		transfer_state_to = RIG
		add_compliance = 30
		}
		
		hidden_effect = {
		RIG = {set_capital = {state = 277 remember_old_capital = no}}
		
		every_state = {
		limit = {
		is_core_of = MEX
		}
		add_claim_by = RIG
		}
		
		}

		RIG = {
		
		set_country_flag = ruled_by_ita_monarchy
		
		set_cosmetic_tag = MEX_italian
		
		make_this_country_protectorate_alt = yes
		
		set_party_name = {
		ideology = fascism
		long_name = RAJ_italian_colony_IMG_LONG_NAME
		name = RAJ_italian_colony_IMG_SHORT_NAME
		}
		
			create_country_leader = {
				name = ITA_prince_umberto
				desc = ""
				picture = GFX_portrait_ITA_prince_umberto
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
		}		
		}
		
		}

		ai_will_do = {
		factor = 20
		}
	}

	
ITA_establish_canada = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 465
		state = 464
		state = 468
		state = 862
		state = 276
		state = 466
		state = 861
		state = 860
		state = 863
		}
		}
		}
		
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
465 = {is_controlled_by_ROOT_or_subject = yes}
464 = {is_controlled_by_ROOT_or_subject = yes}
468 = {is_controlled_by_ROOT_or_subject = yes}
862 = {is_controlled_by_ROOT_or_subject = yes}
276 = {is_controlled_by_ROOT_or_subject = yes}
466 = {is_controlled_by_ROOT_or_subject = yes}
861 = {is_controlled_by_ROOT_or_subject = yes}
860 = {is_controlled_by_ROOT_or_subject = yes}
863 = {is_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
		state = 465
		state = 464
		state = 468
		state = 862
		state = 276
		state = 466
		state = 861
		state = 860
		state = 863
		}
		}
		transfer_state_to = QUE
		}
		
		hidden_effect = {
		
		every_state = {
		limit = {
		is_core_of = CAN
		}
		add_claim_by = QUE
		}
		
		}

		QUE = {
		
		set_cosmetic_tag = CAN_italian
		
		make_this_country_protectorate = yes

		establish_it_adm = yes
		}
		
		}

		ai_will_do = {
		factor = 20
		}
	}

ITA_establish_caribean = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_generic_colonial_administration

		allowed = {
			original_tag = ITA # Italy
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 315
				state = 690
				state = 689
				state = 318
				state = 693
				state = 319
		}
		}
		}
		
		available = {
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
395 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
690 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
689 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
318 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
693 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
319 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		upgrade_italian_col_emp = yes
		
		every_state = {
		limit = {
		OR = {
				state = 315
				state = 690
				state = 689
				state = 318
				state = 693
				state = 319
		}
		}
		transfer_state_to = CUB
		}

		CUB	= {
		
		set_cosmetic_tag = KRB_italian
		
		make_this_country_protectorate = yes
		
		establish_it_adm = yes
		}
		
		}

		ai_will_do = {
		factor = 20
		}
	}

colonial_government_central_america = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 313
				state = 314
				state = 312
				state = 317
				state = 316
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			313= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			314= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			312= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			317= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			316= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = COS_italian_colony
		
		every_state = {
		limit = {
			OR = {
				state = 313
				state = 314
				state = 312
				state = 317
				state = 316
			}
		}
		transfer_state_to = COS
		}

		upgrade_italian_col_emp = yes
		COS = {
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  COS_italian_colony_IMG_LONG_NAME
				name = COS_italian_colony_IMG_SHORT_NAME
			}

            establish_it_adm = yes

			set_cosmetic_tag = COS_italian_colony
			}
		}

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_cayenne = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
		always = no
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 310
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			310 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = VEN_italian_colony

		310 = {transfer_state_to = CAY}

		upgrade_italian_col_emp = yes
		CAY = {
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  VEN_italian_colony_IMG_LONG_NAME
				name = VEN_italian_colony_IMG_SHORT_NAME
			}
			create_country_leader = {
				name = ITA_giuseppe_di_bartolo
				desc = ""
				picture = GFX_portrait_ITA_giuseppe_di_bartolo
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = VEN_italian_colony
			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_peru = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
		always = no
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 303
				state = 492
				state = 947
				state = 494
				state = 940
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			303= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			492= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			947= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			494= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			940= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = PRU_italian_colony
		upgrade_italian_col_emp = yes
		
every_state = {
    limit = {
        OR = {
            state = 303
            state = 492
            state = 947
            state = 494
            state = 940
        }
    }
    transfer_state_to = PRU
}
		
		PRU = {
		make_this_country_protectorate_alt = yes
		
		set_country_flag = ruled_by_ita_monarchy


			set_party_name = {
				ideology = fascism
				long_name = PRU_italian_colony_IMG_LONG_NAME
				name = PRU_italian_colony_IMG_SHORT_NAME
			}
			
			create_country_leader = {
				name = ITA_ferdinando_adalberto
				desc = ""
				picture = GFX_portrait_ITA_ferdinando_adalberto
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			set_cosmetic_tag = PRU_italian_colony
			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_brazil = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
		always = no
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 944
				state = 501
				state = 500
				state = 943
				state = 496
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			944= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			501= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			500= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			943= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			496= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = ITB_italian_colony
		
		every_state = {
		limit = {
			OR = {
				state = 944
				state = 501
				state = 500
				state = 943
				state = 496
			}
		}
		transfer_state_to = ITB
		add_compliance = 30
	}


		upgrade_italian_col_emp = yes
		ITB = {
		make_this_country_protectorate_alt = yes
		
		set_country_flag = ruled_by_ita_monarchy
		
		hidden_effect = {
		every_state = {
		limit = {is_core_of = BRA}
		add_claim_by = ITB
		}
		}

			set_party_name = {
				ideology = fascism
				long_name =  ITB_italian_colony_IMG_LONG_NAME
				name = ITB_italian_colony_IMG_SHORT_NAME
			}
			
			create_country_leader = {
				name = ITA_prince_adalberto
				desc = ""
				picture = GFX_portrait_ITA_prince_adalberto
				ideology = fascism_ideology
				traits = { leader_of_protectorate }
			}
			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

colonial_government_argentina = {
	
	icon = GFX_decision_generic_colonial_administration
	cost = 25

	allowed = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 278
				state = 510
				state = 956
				state = 509
				state = 957
				state = 959
				state = 508
				state = 960
				state = 511
				state = 958
				state = 960
			}
		}
	}

	available = {
		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			278= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			510= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			956= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			509= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			957= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			959= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			508= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			960= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			511= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			958= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			960= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	complete_effect = {
		set_global_flag = ARG_italian_colony

		upgrade_italian_col_emp = yes
		
every_state = {
    limit = {
        OR = {
            state = 278
            state = 510
            state = 956
            state = 509
            state = 957
            state = 959
            state = 508
            state = 960
            state = 511
            state = 958
        }
    }
    transfer_state_to = ARG
}

		ARG = {
		set_cosmetic_tag = ARG_italian_colony
		make_this_country_protectorate_alt = yes

			set_party_name = {
				ideology = fascism
				long_name =  ARG_italian_colony_IMG_LONG_NAME
				name = ARG_italian_colony_IMG_SHORT_NAME
			}
			
		create_country_leader = {
		name = "Carmelo Borg Pisani"
		desc = ""
		picture = GFX_portrait_ITA_carmelo_borg_pisani
		traits = { leader_of_protectorate }
		ideology = fascism_ideology
		}

			}
		}
	

	fire_only_once = yes

	ai_will_do = {
		base = 200 #player only
	}
}

}


ITA_transfer_dec_cat = {

ITA_occupy_marcel = {

		icon = GFX_decision_generic_confiscation

		allowed = {
			original_tag = ITA # Italy
		}
		cost = 10
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		state = 21
		}
		}
		
		fire_only_once = yes
		
		available = {
		
		OR = {
		has_global_flag = give_root_tulon
		FCO = {is_subject_of = ROOT}
		}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		21 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		
		if = {
		limit = {has_global_flag = give_root_tulon}
		21 = {set_state_flag = vichy_italian_conquest}
		21 = {transfer_state_to = ROOT}
		}
		else = {
		21 = {transfer_state_to = FCO}
		}

		ai_will_do = {
		base = 10
		}
	}
}
ITA_establish_south_french_occupation_zone = {

		icon = GFX_decision_generic_confiscation

		allowed = {
			original_tag = ITA # Italy
		}
		cost = 5
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		#state = 1
		#state = 735
		state = 1025
		#state = 1031
		#state = 1032
		
		#state = 21
		#state = 32 	
		#state = 851
		#state = 22
		#state = 25
		#state = 33
		#state = 26
		#state = 20
		#state = 31
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		#1 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		#735 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1025 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		#1031  = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		#1032 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		set_global_flag = take_menton
		every_state = {
		limit = {
		OR = {
		#state = 1
		#state = 735
		state = 1025
		#state = 1031
		#state = 1032
		}
		}
		set_state_flag = vichy_italian_conquest
		transfer_state_to = ROOT
		}
		}

		ai_will_do = {
		base = 30
		}
	}

ITA_take_corsica = {

		icon = GFX_decision_generic_confiscation

		allowed = {
			original_tag = ITA # Italy
		}
		cost = 5
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 1
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		1 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 1
		}
		}
		set_state_flag = vichy_italian_conquest
		transfer_state_to = ROOT
		}
		}

		ai_will_do = {
		base = 30
		}
	}
	

ITA_irredentist_in_nizza = {

		icon = GFX_decision_generic_confiscation

		allowed = {
			original_tag = ITA # Italy
		}
		cost = 5
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 735
		state = 1031
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_global_flag = take_menton
		
		has_completed_focus = ITA_ministry_of_italian_africa
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		735 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1031  = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 735
		state = 1031
		}
		}
		set_state_flag = vichy_italian_conquest
		transfer_state_to = ROOT
		}
		}

		ai_will_do = {
		base = 30
		}
	}

ITA_transfer_alsas_loraine = {

		icon = GFX_decision_infiltrate_state
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 28
		}
		}
		}
		
		fire_only_once = yes
		available = {
		FCO = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		28 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 28
		}
		}
		transfer_state_to = FCO
		}
		
		}

			ai_will_do = {
			base = 20
		}
	}

ITA_transfer_islands_to_iberia = {

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 10

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 698
				state = 178
				state = 697
				state = 702
		}
		}
		}
		fire_only_once = yes
		available = {
		CAT = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
				 702 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 697 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 178 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				 698 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
			every_state = {
			limit = {
			OR = {
				state = 698
				state = 178
				state = 697
				state = 702
			}
			}
			transfer_state_to = CAT
			add_compliance = 25
			}
		}

		ai_will_do = {
		base = 10
		modifier = {
		factor = -100
		has_completed_focus = ITA_mare_nostrum_bba
		}
		}
	}
	
ITA_transfer_east_prussia_to_ger = {

    cost = 20

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 909
				state = 85 #Danzig, hinting to the player they can develop this state too
				state = 807 #Gdynia, hinting to the player they can develop this state too
				state = 86 #Poznan, hinting to the player they can develop this state too
				state = 762 #Katowice, hinting to the player they can develop this state too
				state = 188 #Memel, hinting to the player they can develop this state too
            }
        }
    }

    available = {
        PRE = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
909 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
85 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
86 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
807 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
762 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
188 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 909
				state = 85 #Danzig, hinting to the player they can develop this state too
				state = 807 #Gdynia, hinting to the player they can develop this state too
				state = 86 #Poznan, hinting to the player they can develop this state too
				state = 762 #Katowice, hinting to the player they can develop this state too
				state = 188 #Memel, hinting to the player they can develop this state too
            }
        }
	transfer_state_to = PRE
    }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_islands_to_scand = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 337
				state = 100
				state = 914
				state = 101
            }
        }
    }

    available = {
        SMI = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
337 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
100 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
914 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
101 = { state_is_fully_controlled_by_ROOT_or_subject = yes }

        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 337
				state = 100
				state = 914
				state = 101
            }
        }
	transfer_state_to = SMI
    }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_scotland = {

		icon = GFX_decision_infiltrate_state
		
		cost = 15

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 121
				state = 133
				state = 136
				state = 120
		}
		}
		}
		
		fire_only_once = yes
		available = {
		
		PBR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
121 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
133 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
136 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
120 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
				state = 121
				state = 133
				state = 136
				state = 120
		}
		}
		transfer_state_to = PBR
		}
		
		}

			ai_will_do = {
			base = 10
			modifier = {
			factor = -100
			has_completed_focus = ITA_mare_nostrum_bba
			}
		}
	}
ITA_transfer_shetlands = {

		icon = GFX_decision_infiltrate_state
		
		cost = 5

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 933
		}
		}
		}
		
		fire_only_once = yes
		available = {
		
		PBR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		933 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
				state = 933
		}
		}
		transfer_state_to = PBR
		}
		
		}

			ai_will_do = {
			base = 10
			modifier = {
			factor = -100
			has_completed_focus = ITA_mare_nostrum_bba
			}
		}
	}

ITA_transfer_lvov = {

		icon = GFX_decision_infiltrate_state
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
				state = 91
				state = 93
				state = 89
		}
		}
		}
		fire_only_once = yes
		available = {
		
		UKR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
				89 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				93 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
				91 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
				
		every_state = {
		limit = {
		OR = {
				state = 91
				state = 93
				state = 89
		}
		}
		transfer_state_to = UKR
		}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_transfer_north_russia = {

		icon = GFX_decision_infiltrate_state
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {	
				state = 879 # Kargopol
				state = 880 # Kotlas
				state = 214 # Archangelsk
				state = 825 # Archangelsk
				state = 262 # Archangelsk
				state = 397 # Archangelsk
				state = 351 # Archangelsk
				
		}
		}
		}
		
		fire_only_once = yes
		
		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
879 = { is_controlled_by_ROOT_or_subject = yes } # Kargopol
880 = { is_controlled_by_ROOT_or_subject = yes } # Kotlas
214 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
825 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
262 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
351 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
397 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
				
		every_state = {
		limit = {
		OR = {
				state = 879 # Kargopol
				state = 880 # Kotlas
				state = 214 # Archangelsk
				state = 825 # Archangelsk
				state = 262 # Archangelsk
				state = 397 # Archangelsk
				state = 351 # Archangelsk
		}
		}
		transfer_state_to = PRR
		add_compliance = 20
		}
		
		}

		ai_will_do = {
		base = 10
		}
	}	
ITA_transfer_central_russia = {

		icon = GFX_decision_infiltrate_state
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {	
				state = 400 # Kargopol
				state = 249 # Archangelsk
				state = 251 # Archangelsk
				state = 652 # Archangelsk
				state = 651 # Archangelsk
				state = 398 # Archangelsk
				state = 256 # Archangelsk
				state = 833 # Archangelsk
				state = 399 # Archangelsk
				
		}
		}
		}
		
		fire_only_once = yes
		
		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
400 = { is_controlled_by_ROOT_or_subject = yes } # Kargopol
833 = { is_controlled_by_ROOT_or_subject = yes } # Kotlas
249 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
251 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
652 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
651 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
398 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
256 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
399 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
833 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
				
		every_state = {
		limit = {
		OR = {
				state = 400 # Kargopol
				state = 249 # Archangelsk
				state = 251 # Archangelsk
				state = 652 # Archangelsk
				state = 651 # Archangelsk
				state = 398 # Archangelsk
				state = 256 # Archangelsk
				state = 833 # Archangelsk
				state = 399 # Archangelsk
		}
		}
		transfer_state_to = PRR
		add_compliance = 20
		}
		
		}

		ai_will_do = {
		base = 10
		}
	}
ITA_transfer_ural_russia = {

		icon = GFX_decision_infiltrate_state
		
		cost = 15

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {	
				state = 581 # Kargopol
				state = 573 # Kotlas
				state = 582 # Archangelsk
		}
		}
		}
		
		fire_only_once = yes
		
		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
581 = { is_controlled_by_ROOT_or_subject = yes } # Kargopol
573 = { is_controlled_by_ROOT_or_subject = yes } # Kotlas
582 = { is_controlled_by_ROOT_or_subject = yes } # Archangelsk
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
				
		every_state = {
		limit = {
		OR = {
				state = 581 # Kargopol
				state = 573 # Kotlas
				state = 582 # Archangelsk
		}
		}
		transfer_state_to = PRR
		add_compliance = 20
		}
		
		}

		ai_will_do = {
		base = 10
		}
	}
	
	ITA_transfer_west_siberia_russia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}

		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				#tooltip = GER_reichskommissariat_highlighted_required_states
				tooltip = controls_all_states_tt
				570 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				571 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				403 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				572 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				653 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				580 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				577 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				578 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				579 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				824 = {
					is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 570 # Novosibirsk
				state = 571 # Omsk
				state = 403 # Tyumen
				state = 572 # Chelyabinsk
				state = 653 # Sverdlovsk
				state = 580 # Tobolsk
				state = 577 # Surgut
				state = 578 # Tomsk
				state = 579 # Salekhard
				state = 824 # Yamalia
			}
		}

		cost = 20

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 570 # Novosibirsk
				state = 571 # Omsk
				state = 403 # Tyumen
				state = 572 # Chelyabinsk
				state = 653 # Sverdlovsk
				state = 580 # Tobolsk
				state = 577 # Surgut
				state = 578 # Tomsk
				state = 579 # Salekhard
				state = 824 # Yamalia
			}
		}
	transfer_state_to = PRR
	add_compliance = 20
	}		
	}
	
}	
	ITA_transfer_south_siberia_russia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}

		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				#tooltip = GER_reichskommissariat_highlighted_required_states
				tooltip = controls_all_states_tt
				40 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				654 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				569 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				568 = {
					is_controlled_by_ROOT_or_subject = yes
				}
				567 = {
					is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 40 # Novosibirsk
				state = 654 # Omsk
				state = 569 # Tyumen
				state = 568 # Chelyabinsk
				state = 567 # Chelyabinsk
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 40 # Novosibirsk
				state = 654 # Omsk
				state = 569 # Tyumen
				state = 568 # Chelyabinsk
				state = 567 # Chelyabinsk
			}
		}
	transfer_state_to = PRR
	add_compliance = 20
	}		
	}
	
}
ITA_transfer_baikal_russia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 566 # Omsk
				state = 564 # Tyumen
				state = 565 # Chelyabinsk
				state = 563 # Sverdlovsk
			}
		}

		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				#tooltip = GER_reichskommissariat_highlighted_required_states
				tooltip = controls_all_states_tt
566 = {
    is_controlled_by_ROOT_or_subject = yes
}
564 = {
    is_controlled_by_ROOT_or_subject = yes
}
565 = {
    is_controlled_by_ROOT_or_subject = yes
}
563 = {
    is_controlled_by_ROOT_or_subject = yes
}

			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 566 # Omsk
				state = 564 # Tyumen
				state = 565 # Chelyabinsk
				state = 563 # Sverdlovsk
			}
		}
	transfer_state_to = PRR
	add_compliance = 20
	}		
	}
	
}

ITA_transfer_north_siberia_russia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 516 # Tyumen
				state = 576 # Novosibirsk
				state = 575 # Novosibirsk
				state = 878 # Novosibirsk
				state = 876 # Novosibirsk
				state = 574 # Novosibirsk
				state = 877 # Novosibirsk
				state = 644 # Novosibirsk
				state = 562 # Novosibirsk
				state = 874 # Novosibirsk
				state = 822 # Novosibirsk
				state = 637 # Novosibirsk
			}
		}

		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				#tooltip = GER_reichskommissariat_highlighted_required_states
				tooltip = controls_all_states_tt
516 = {
    is_controlled_by_ROOT_or_subject = yes
}
576 = {
    is_controlled_by_ROOT_or_subject = yes
}
575 = {
    is_controlled_by_ROOT_or_subject = yes
}
878 = {
    is_controlled_by_ROOT_or_subject = yes
}
876 = {
    is_controlled_by_ROOT_or_subject = yes
}
574 = {
    is_controlled_by_ROOT_or_subject = yes
}
877 = {
    is_controlled_by_ROOT_or_subject = yes
}
644 = {
    is_controlled_by_ROOT_or_subject = yes
}
562 = {
    is_controlled_by_ROOT_or_subject = yes
}
874 = {
    is_controlled_by_ROOT_or_subject = yes
}
822 = {
    is_controlled_by_ROOT_or_subject = yes
}
637 = {
    is_controlled_by_ROOT_or_subject = yes
}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 516 # Tyumen
				state = 576 # Novosibirsk
				state = 575 # Novosibirsk
				state = 878 # Novosibirsk
				state = 876 # Novosibirsk
				state = 574 # Novosibirsk
				state = 877 # Novosibirsk
				state = 644 # Novosibirsk
				state = 562 # Novosibirsk
				state = 874 # Novosibirsk
				state = 822 # Novosibirsk
				state = 637 # Novosibirsk
			}
		}
	transfer_state_to = PRR
	add_compliance = 20
	}		
	}
	
}
ITA_transfer_sahalin_russia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 655 # Tyumen
				state = 537 # Novosibirsk
			}
		}

		available = {
		has_global_flag = ITA_amur_fate
				
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				655 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				537 = {
				is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		cost = 10

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		
		if = {
		limit = {has_global_flag = amur_prr}
		every_state = {
			limit = {
			OR = {
				state = 655 # Tyumen
				state = 537 # Novosibirsk
			}
		}
	transfer_state_to = PRR
	add_compliance = 20
	}
	
	}
	else_if = {
	limit = {has_global_flag = amur_man}
		every_state = {
			limit = {
			OR = {
				state = 655 # Tyumen
				state = 537 # Novosibirsk
			}
		}
	transfer_state_to = MAN
	}
	}
	else = {
		every_state = {
			limit = {
			OR = {
				state = 655 # Tyumen
				state = 537 # Novosibirsk
			}
		}
	transfer_state_to = ITJ
	}
	}
	
	}
}
ITA_transfer_chukchi_russia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 875 # Tyumen
			}
		}

		available = {
		PRR = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				#tooltip = GER_reichskommissariat_highlighted_required_states
				tooltip = controls_all_states_tt
				875 = {
				is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 875 # Tyumen
			}
		}
	transfer_state_to = PRR
	add_compliance = 20
	}		
	}
	
}

ITA_transfer_east_china_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 598 # Tyumen
				state = 613 # Tyumen
				state = 607 # Tyumen
				state = 606 # Tyumen
				state = 749 # Tyumen
				state = 597 # Tyumen
				state = 614 # Tyumen
				state = 620 # Tyumen
			}
		}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				597 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				614 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				598 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				749 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				613 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				620 = {
				is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 598 # Tyumen
				state = 613 # Tyumen
				state = 607 # Tyumen
				state = 606 # Tyumen
				state = 749 # Tyumen
				state = 597 # Tyumen
				state = 614 # Tyumen
				state = 620 # Tyumen
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}
ITA_transfer_south_china_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 596 # Tyumen
				state = 595 # Tyumen
				state = 600 # Tyumen
				state = 602 # Tyumen
			}
		}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				595 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				600 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				596 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				602 = {
				is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 596 # Tyumen
				state = 595 # Tyumen
				state = 600 # Tyumen
				state = 602 # Tyumen
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}
ITA_transfer_chongchin_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 603 # Tyumen
				state = 605 # Tyumen
				state = 748 # Tyumen
				state = 751 # Tyumen
				state = 752 # Tyumen
				state = 750 # Tyumen
				state = 744 # Tyumen
			}
		}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				603 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				750 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				744 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				605 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				748 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				751 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				752 = {
				is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 603 # Tyumen
				state = 605 # Tyumen
				state = 748 # Tyumen
				state = 751 # Tyumen
				state = 750 # Tyumen
				state = 752 # Tyumen
				state = 744 # Tyumen
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}
ITA_transfer_shansi_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 746
				state = 615
				state = 622
			}
		}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				615 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				746 = {
				is_controlled_by_ROOT_or_subject = yes
				}
				622 = {
				is_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 746
				state = 615
				state = 622
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}
ITA_transfer_sibei_san_ma_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 753
				state = 754
				state = 604
				state = 755
				state = 756
				state = 616
				state = 283
			}
		}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
753 = {
    is_controlled_by_ROOT_or_subject = yes
}
754 = {
    is_controlled_by_ROOT_or_subject = yes
}
604 = {
    is_controlled_by_ROOT_or_subject = yes
}
755 = {
    is_controlled_by_ROOT_or_subject = yes
}
756 = {
    is_controlled_by_ROOT_or_subject = yes
}
616 = {
    is_controlled_by_ROOT_or_subject = yes
}
283 = {
    is_controlled_by_ROOT_or_subject = yes
}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 753
				state = 754
				state = 604
				state = 755
				state = 756
				state = 616
				state = 283
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}
ITA_transfer_yunnan_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 325
				state = 747
				}
			}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
747 = {
    is_controlled_by_ROOT_or_subject = yes
}
325 = {
    is_controlled_by_ROOT_or_subject = yes
}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 325
				state = 747
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}

ITA_transfer_guansi_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 594
				state = 599
				state = 593
				state = 592
				state = 591
				}
			}

		available = {
		ITC = {is_subject_of = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
594 = {
    is_controlled_by_ROOT_or_subject = yes
}
599 = {
    is_controlled_by_ROOT_or_subject = yes
}
593 = {
    is_controlled_by_ROOT_or_subject = yes
}
592 = {
    is_controlled_by_ROOT_or_subject = yes
}
591 = {
    is_controlled_by_ROOT_or_subject = yes
}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		every_state = {
			limit = {
			OR = {
				state = 594
				state = 599
				state = 593
				state = 592
				state = 591
				}
		}
		transfer_state_to = ITC
		add_compliance = 20
		}		
	}
}

ITA_this_state_china = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
				
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 609
			#state = 524
			}
			}
		}

		available = {
		
		ITC = {is_subject_of = ROOT}
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = ITC}
	}
}

ITA_take_concessions_cities = {

		icon = GFX_decision_jap_conquer_china

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
		
		target_root_trigger = { tag = ROOT}
		
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 728
			state = 729
			state = 326
			state = 743
			state = 745
			}
			}
		}

		available = {		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = ROOT}
	}
}

ITA_transfer_south_japan = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 531
				state = 529
				state = 530
				state = 528
            }
        }
    }

    available = {
        ITJ = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
531 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
529 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
530 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
528 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 531
				state = 529
				state = 530
				state = 528
            }
        }
	transfer_state_to = ITJ
	add_compliance = 20
    }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_this_state_japan = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
				
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 526
			state = 645
			state = 648
			}
			}
		}

		available = {
		
		ITJ = {is_subject_of = ROOT}
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = ITJ}
	}
}
ITA_this_state_australasia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
				
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 726
			state = 641
			state = 635
			state = 636
			}
			}
		}

		available = {
		
		AST = {is_subject_of = ROOT}
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = AST}
	}
}
ITA_this_state_ost_india = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
				
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 711
			state = 712
			}
			}
		}

		available = {
		
		INS = {is_subject_of = ROOT}
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = INS}
	}
}
ITA_this_state_raj = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
				
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 733
			state = 281
			}
			}
		}

		available = {
		
		KHL = {is_subject_of = ROOT}
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = INS}
	}
}
ITA_this_state_east_asia = {

		icon = GFX_decision_infiltrate_state

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
				
		on_map_mode = map_and_decisions_view
		
		target_trigger = {
			FROM = {
			OR = {
			state = 632
			state = 630
			state = 631
			state = 642
			state = 727
			}
			}
		}

		available = {
		
		PNG = {is_subject_of = ROOT}
		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		FROM = {transfer_state_to = PNG}
	}
}

ITA_transfer_new_zealand = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 723
				state = 284
            }
        }
    }

    available = {
        AST = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			723 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			284 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		AST = { transfer_state = 723 }
		AST = { transfer_state = 284 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_sahara_to_algeria = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 557
				state = 272
				state = 780
				state = 786
				state = 899
				state = 556
				state = 782
				state = 898
				state = 778
				state = 781
				state = 515
            }
        }
    }

    available = {
        ALG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			557 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			272 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			780 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			786 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			899 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			556 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			782 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			898 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			778 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			781 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			515 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		ALG = { transfer_state = 557 }
		ALG = { transfer_state = 272 }
		ALG = { transfer_state = 780 }
		ALG = { transfer_state = 786 }
		ALG = { transfer_state = 899 }
		ALG = { transfer_state = 556 }
		ALG = { transfer_state = 782 }
		ALG = { transfer_state = 898 }
		ALG = { transfer_state = 778 }
		ALG = { transfer_state = 781 }
		ALG = { transfer_state = 515 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_small_territories_to_algeria = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 701
				state = 296
				state = 700
            }
        }
    }

    available = {
        ALG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			701 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			296 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			700 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		ALG = { transfer_state = 701 }
		ALG = { transfer_state = 296 }
		ALG = { transfer_state = 700 }
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_spanish_guinea = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 297
				state = 705
            }
        }
    }

    available = {
        CAR = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			297 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			705 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		CAR = { transfer_state = 297 }
		CAR = { transfer_state = 705 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_sudan_to_egypt = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
			state =  551 
			state =  883
			state =  886
			state =  549 
			state =  885 
			state =  884 
			state =  887
			}
			}
			}
		available = {
		EGY = {is_subject_of = ROOT}
		
		#AOI = {
		#	OR = {
		#	NOT = { has_completed_focus = AOI_east_africa_formation 
		#	has_completed_focus = AOI_unite_the_colonies
		#	}
		#	}
		#}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		883= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		886= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		884= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		549= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		887= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		885	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		551	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#has_global_flag = divided_north_africa_prot_flag
		}

		complete_effect = {
		custom_effect_tooltip = ALL_can_be_later_integrated

		set_global_flag = ITA_transfer_sudan_to_egypt
			EGY = {
			transfer_state = 551
			transfer_state = 883
			transfer_state = 886
			transfer_state = 549
			transfer_state = 885
			transfer_state = 767
			transfer_state = 884
			transfer_state = 887
			}
		}

		ai_will_do = {
			factor = 20
		}
	}


ITA_give_oman_yemen_to_arabia = {

		cost = 15

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 293
		state = 992
		state = 659
		state = 1016
		state = 1015
		state = 294
		}
		}
		}

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
		SAU = {is_subject_of = ROOT}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		293= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		992= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		659= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1016= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1015= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		294= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#always = no
		}

		complete_effect = {
		293= {transfer_state_to = SAU}
		992= {transfer_state_to = SAU}
		659= {transfer_state_to = SAU}
		1016= {transfer_state_to = SAU}
		1015= {transfer_state_to = SAU}
		294= {transfer_state_to = SAU}
		}

		ai_will_do = {
			factor = 20
		}
	}

ITA_transfer_british_golden_coast = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 274
				state = 558
				state = 902
				state = 900
				state = 901
            }
        }
    }

    available = {
        IVO = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			274 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			558 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			902 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			900 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			901 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		IVO = { transfer_state = 274 }
		IVO = { transfer_state = 558 }
		IVO = { transfer_state = 902 }
		IVO = { transfer_state = 900 }
		IVO = { transfer_state = 901 }
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_liberia_golden_coast = {

    cost = 5

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 298
            }
        }
    }

    available = {
        IVO = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			298 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	298 = {transfer_state_to = IVO}
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_bristish_east_africa = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 548
				state = 904
				state = 546
            }
        }
    }

    available = {
        KAT = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			548 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			904 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			546 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		KAT = { transfer_state = 548 }
		KAT = { transfer_state = 904 }
		KAT = { transfer_state = 546 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_zambia = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 981
				state = 771
				state = 770
            }
        }
    }

    available = {
        KAT = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			981 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			771 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			770 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		KAT = { transfer_state = 981 }
		KAT = { transfer_state = 771 }
		KAT = { transfer_state = 770 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_angola = {

    cost = 20

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 796
				state = 540
				state = 892
				state = 891
            }
        }
    }

    available = {
        KAT = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			796 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			540 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			892 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			891 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		KAT = { transfer_state = 796 }
		KAT = { transfer_state = 540 }
		KAT = { transfer_state = 892 }
		KAT = { transfer_state = 891 }
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_seichels = {

    cost = 5

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 709
            }
        }
    }

    available = {
        KAT = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			709 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		KAT = { transfer_state = 709 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_zimbawe_and_botswana = {

    cost = 20

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 542
				state = 545
            }
        }
    }

    available = {
        SAF = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			542 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			545 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		SAF = { transfer_state = 542 }
		SAF = { transfer_state = 545 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_namimbia = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 893
				state = 541
				state = 894
				state = 895
            }
        }
    }

    available = {
        SAF = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			893 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			541 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			894 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			895 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		SAF = { transfer_state = 893 }
		SAF = { transfer_state = 541 }
		SAF = { transfer_state = 894 }
		SAF = { transfer_state = 895 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_mozambique = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 544
				state = 896
				state = 897
            }
        }
    }

    available = {
        SAF = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			544 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			896 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			897 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		SAF = { transfer_state = 544 }
		SAF = { transfer_state = 896 }
		SAF = { transfer_state = 897 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_this_state_saf = {

    cost = 5

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
		
		target_trigger = {
			FROM = {
			OR = {
			state = 713
			state = 704
			}
			}
		}

    available = {
        SAF = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			FROM = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	FROM = {transfer_state_to = SAF}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_french_madagascar = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 543
				state = 708
				state = 706
				state = 707
            }
        }
    }

    available = {
        SAF = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			543 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			708 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			706 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			707 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
        #SAF = { is_subject_of = ROOT }
        #has_global_flag = SAF_italian_colony
    }

    complete_effect = {
		SAF = { transfer_state = 543 }
		SAF = { transfer_state = 708 }
		SAF = { transfer_state = 707 }
		SAF = { transfer_state = 706 }
    }

    ai_will_do = {
        factor = 20
    }
}


ITA_naval_base_on_diego_garsia = {

    cost = 10

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 710
            }
        }
    }

    available = {
        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			710 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 710
            }
        }
	transfer_state_to = ROOT
    }
	}

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_pakistan_to_india = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 443
				state = 444
				state = 1012
				state = 988
				state = 445
				state = 987
				state = 440
				state = 442
				state = 787
				state = 441
				state = 430
				state = 989
            }
        }
    }

    available = {
        KHL = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			443 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			444 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			1012 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			988 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			445 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			987 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			440 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			442 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			787 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			441 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			430 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			989 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 443
				state = 444
				state = 1012
				state = 988
				state = 445
				state = 987
				state = 440
				state = 442
				state = 787
				state = 441
				state = 430
				state = 989
            }
        }
	transfer_state_to = KHL
    }
    }

    ai_will_do = {
        factor = 20
    }
}


ITA_transfer_burma_to_india = {

	cost = 25

	fire_only_once = yes

	icon = GFX_decision_infiltrate_state

	allowed = {
		original_tag = ITA # Italy
	}
	
	highlight_states = {
		highlight_states_trigger = {
			OR = {
				state = 993
				state = 994
				state = 995
				state = 996
				state = 997
				state = 998
				state = 999
				state = 288
				state = 640
			}
		}
	}

	available = {
		KHL = { is_subject_of = ROOT }

		custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			993= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			994= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			995= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			996= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			997= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			998= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			999= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			288= {state_is_fully_controlled_by_ROOT_or_subject = yes}
			640= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
	}

	visible = {
		has_completed_focus = ITA_ministry_of_italian_africa
		original_tag = ITA # Italy
	}

	complete_effect = {
		KHL = { transfer_state = 993 }
		KHL = { transfer_state = 994 }
		KHL = { transfer_state = 995 }
		KHL = { transfer_state = 996 }
		KHL = { transfer_state = 997 }
		KHL = { transfer_state = 998 }
		KHL = { transfer_state = 999 }
		KHL = { transfer_state = 288 }
		KHL = { transfer_state = 640 }
	}

	ai_will_do = {
		factor = 20
	}
}


ITA_transfer_colonies_to_raj = {

    cost = 20

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 422
				state = 320
				state = 321
            }
        }
    }

    available = {
        KHL = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			422 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			320 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			321 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 422
				state = 320
				state = 321
            }
        }
	transfer_state_to = KHL
    }
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_himalayas_to_raj = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 324
				state = 323
            }
        }
    }

    available = {
        KHL = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			323 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			324 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
    every_state = {
        limit = {
            OR = {
				state = 324
				state = 323
            }
        }
	transfer_state_to = KHL
    }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_malay_territories = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 336
				state = 333
            }
        }
    }

    available = {
        INS = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			336 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			333 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		INS = { transfer_state = 336 }
		INS = { transfer_state = 333 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_timor = {

    cost = 5

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 721
            }
        }
    }

    available = {
        INS = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			721 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		INS = { transfer_state = 721 }
    }

    ai_will_do = {
        factor = 20
    }
}
	ITA_give_philipines_ost_india = {

		icon = GFX_decision_infiltrate_state

		available = {
		INS = {is_subject_of = ROOT}
			
			custom_trigger_tooltip = { 
			    tooltip = controls_all_states_tt
				627 = { is_controlled_by_ROOT_or_subject = yes }
				628 = { is_controlled_by_ROOT_or_subject = yes }	
				625 = { is_controlled_by_ROOT_or_subject = yes }	
				624 = { is_controlled_by_ROOT_or_subject = yes }
				327 = { is_controlled_by_ROOT_or_subject = yes }	
				623 = { is_controlled_by_ROOT_or_subject = yes }
				626 = { is_controlled_by_ROOT_or_subject = yes }
			}
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 627
				state = 628
				state = 625
				state = 624
				state = 327
				state = 623
				state = 626
			}
		}

		cost = 15
		ai_will_do = {
			base = 10
		}

		visible = {
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		fire_only_once = yes

		complete_effect = {
		   
			every_state = {
			    limit = {
				    OR = {
					   	state = 627
						state = 628
						state = 625
						state = 624
						state = 327
						state = 623
						state = 626
				  }
			    }
			transfer_state_to = INS
		    }
		}
	}

ITA_transfer_hatai_levant = {

		cost = 10

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 799
		}
		}
		}
		available = {
		
		PAL = {is_subject_of = ROOT}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		799= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
			PAL = {transfer_state = 799 }
		}

		ai_will_do = {
		factor = 20
		}
	}
	
	ITA_transfer_crete_hellenic = {

		cost = 10

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 183
		}
		}
		}
		available = {
		HEL = {is_subject_of = ROOT}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		183= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
			HEL = {transfer_state = 183 }
		}

		ai_will_do = {
		factor = 20
		}
	}
ITA_transfer_bermuda_usa = {

		cost = 5

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		
		state_target = yes
		
		highlight_states = {
		highlight_states_trigger = {
		state = FROM
		}
		}
		
		target_trigger = {
			FROM = {
			OR = {
			state = 696
			state = 650
			}
			}
		}
		
		available = {
		USI = {is_subject_of = ROOT}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		696 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		FROM = {
		transfer_state_to = USI
		}
		}

		ai_will_do = {
		factor = 20
		}
	}
	
ITA_transfer_midwest_usa = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 394
		state = 393
		state = 395
		state = 396
		state = 261
		}
		}
		}
		available = {
		USI = {is_subject_of = ROOT}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
394 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
393 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
395 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
396 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
261 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 394
		state = 393
		state = 395
		state = 396
		state = 261
		}
		}
		transfer_state_to = USI
		}
		}

		ai_will_do = {
		factor = 20
		}
	}
ITA_transfer_mid_usa = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 391
		state = 389
		state = 390
		state = 384
		state = 383
		state = 373
		state = 392
		}
		}
		}
		available = {
		USI = {is_subject_of = ROOT}
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
391 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
389 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
390 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
384 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
383 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
373 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
392 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 391
		state = 389
		state = 390
		state = 384
		state = 383
		state = 373
		state = 392
		}
		}
		transfer_state_to = USI
		}
		}

		ai_will_do = {
		factor = 20
		}
	}		
ITA_transfer_west_usa = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 381
		state = 388
		state = 387
		state = 386
		state = 385
		}
		}
		}
		
		available = {
		USI = {is_subject_of = ROOT}

		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
381 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
388 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
387 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
386 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
385 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 381
		state = 388
		state = 387
		state = 386
		state = 385
		}
		}
		transfer_state_to = USI
		}
		}

		ai_will_do = {
		factor = 20
		}
	}	
ITA_transfer_south_usa = {

		cost = 25

		fire_only_once = yes

		icon = GFX_decision_infiltrate_state

		allowed = {
			original_tag = ITA # Italy
		}
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 365
		state = 367
		state = 366
		state = 370
		state = 371
		state = 372
		state = 369
		state = 368
		}
		}
		}
		available = {
		USI = {is_subject_of = ROOT}

		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		765	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1014= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		658	= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1013= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		every_state = {
		limit = {
		OR = {
		state = 365
		state = 367
		state = 366
		state = 370
		state = 371
		state = 372
		state = 369
		state = 368
		}
		}
		transfer_state_to = USI
		}
		}

		ai_will_do = {
		factor = 20
		}
	}
	
ITA_transfer_ontario = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 682
				state = 866
				state = 467
				state = 867
				state = 683
            }
        }
    }

    available = {
        QUE = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
682 = {is_controlled_by_ROOT_or_subject = yes}
866 = {is_controlled_by_ROOT_or_subject = yes}
467 = {is_controlled_by_ROOT_or_subject = yes}
867 = {is_controlled_by_ROOT_or_subject = yes}
683 = {is_controlled_by_ROOT_or_subject = yes}

        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
            OR = {
				state = 682
				state = 866
				state = 467
				state = 867
				state = 683
            }
	}
	transfer_state_to = QUE
	}
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_vancouver = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 469
				state = 865
				state = 472
				state = 470
				state = 864
				state = 471
				state = 473
            }
        }
    }

    available = {
        QUE = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
469 = {is_controlled_by_ROOT_or_subject = yes}
865 = {is_controlled_by_ROOT_or_subject = yes}
472 = {is_controlled_by_ROOT_or_subject = yes}
470 = {is_controlled_by_ROOT_or_subject = yes}
864 = {is_controlled_by_ROOT_or_subject = yes}
471 = {is_controlled_by_ROOT_or_subject = yes}
473 = {is_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
            OR = {
				state = 469
				state = 865
				state = 472
				state = 470
				state = 864
				state = 471
				state = 473
            }
	}
	transfer_state_to = QUE
	}
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_islands_to_que = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 739
				state = 740
            }
        }
    }

    available = {
        QUE = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
739 = {is_controlled_by_ROOT_or_subject = yes}
740 = {is_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
            OR = {
				state = 739
				state = 740
            }
	}
	transfer_state_to = QUE
	}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_newfoundland = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 332
				state = 331
				state = 730
            }
        }
    }

    available = {
        QUE = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
332 = {is_controlled_by_ROOT_or_subject = yes}
331 = {is_controlled_by_ROOT_or_subject = yes}
730 = {is_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
            OR = {
				state = 332
				state = 331
				state = 730
            }
	}
	transfer_state_to = QUE
	}
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_caribean_to_cuba = {

    cost = 25

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 686
				state = 694
				state = 308
				state = 692
				state = 691
				state = 695
            }
        }
    }

    available = {
        CUB = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
686 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
694 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
308 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
692 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
691 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
695 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
	OR = {
				state = 686
				state = 694
				state = 308
				state = 692
				state = 691
				state = 695	
	}
	}
	transfer_state_to = CUB
	}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_upper_panama_to_cos = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 304
            }
        }
    }

    available = {
        COS = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			304 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		COS = { transfer_state = 304 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_belize_to_cos = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 311
            }
        }
    }

    available = {
        COS = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			311 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		COS = { transfer_state = 311 }
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_suriname_to_cay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 309
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			309 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		CAY = { transfer_state = 309 }
		309 = {add_compliance = 20}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_british_guyana_to_cay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 687
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			687 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		CAY = { transfer_state = 687 }
		687 = {add_compliance = 20}

    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_rio_branco_to_cay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 969
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			969 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		CAY = { transfer_state = 969 }
		969 = { add_compliance = 20 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_venezuela_to_cay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 489
				state = 307
				state = 488
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			489 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			307 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			488 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
every_state = {
    limit = {
        OR = {
            state = 489
            state = 307
            state = 488
        }
    }
    transfer_state_to = CAY
    add_compliance = 20
}

    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_colombia_to_cay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 493
				state = 306
				state = 486
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			493 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			306 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			486 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
every_state = {
    limit = {
        OR = {
            state = 493
            state = 306
            state = 486
        }
    }
    transfer_state_to = CAY
    add_compliance = 20
}
		CAY = {set_capital = {state = 306}}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_ecuador = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 305
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			305 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		CAY = { transfer_state = 305 }
		305 = {add_compliance = 20}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_outer_ecaudor_to_cay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 490
				state = 491
				state = 649
            }
        }
    }

    available = {
        CAY = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			490 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			491 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			649 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
every_state = {
    limit = {
        OR = {
            state = 490
            state = 491
            state = 649
        }
    }
    transfer_state_to = CAY
    add_compliance = 20
}

    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_bolivia_to_pru = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 302
				state = 487
            }
        }
    }

    available = {
        PRU = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			302 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			487 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		PRU = { transfer_state = 302 }
		PRU = { transfer_state = 487 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_chilean_northern_coast_to_pru = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 951
				state = 506
            }
        }
    }

    available = {
        PRU = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			951 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			506 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		PRU = { transfer_state = 951 }
		PRU = { transfer_state = 506 }
    }

    ai_will_do = {
        factor = 20
    }
}ITA_transfer_chilean_northern_coast_to_pru = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 951
				state = 506
            }
        }
    }

    available = {
        PRU = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			951 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			506 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		PRU = { transfer_state = 951 }
		PRU = { transfer_state = 506 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_fire_land = {

    cost = 10

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 950
				state = 949
				state = 507
            }
        }
    }

    available = {
	has_global_flag = ITA_patagonia_question
	
	OR = {
	WLA = {is_subject_of = ROOT}
	ARG = {is_subject_of = ROOT}
	}

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			950 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			949 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			507 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	if = {
	limit = {
	has_global_flag = WGL_italian_colony
	}
	
    every_state = {
        limit = {
            OR = {
				state = 950
				state = 949
				state = 507
            }
        }
	transfer_state_to = WLA
    }
	}
	else = {
    every_state = {
        limit = {
            OR = {
				state = 950
				state = 949
				state = 507
            }
        }
	transfer_state_to = ARG
    }	
	}
	
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_north_brazil = {

    cost = 20

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 499
				state = 936
				state = 498
				state = 935
				state = 937
				state = 497
				state = 941
            }
        }
    }

    available = {
        ITB = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			499 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			936 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			498 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			935 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			937 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			497 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			941 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
every_state = {
    limit = {
        OR = {
            state = 499
            state = 936
            state = 498
            state = 935
            state = 937
            state = 497
            state = 941
        }
    }
    transfer_state_to = ITB
    add_compliance = 20
}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_amazon = {

    cost = 20

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 504
				state = 280
				state = 505
				state = 942
				state = 965
				state = 938
				state = 939
				state = 968
				state = 966
				state = 495
				state = 963
				state = 962
				state = 964
				state = 961
				state = 967
            }
        }
    }

    available = {
        ITB = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			504 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			280 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			505 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			942 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			965 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			938 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			939 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			968 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			966 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			495 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			963 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			962 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			964 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			961 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			967 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
every_state = {
    limit = {
        OR = {
            state = 504
            state = 280
            state = 505
            state = 942
            state = 965
            state = 938
            state = 939
            state = 968
            state = 966
            state = 495
            state = 963
            state = 962
            state = 964
            state = 961
            state = 967
        }
    }
    transfer_state_to = ITB
    add_compliance = 20
}
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_uruguay_to_arg = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 300
				state = 945
				state = 946
            }
        }
    }

    available = {
        ARG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			300 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			945 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			946 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		ARG = { transfer_state = 300 }
		ARG = { transfer_state = 945 }
		ARG = { transfer_state = 946 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_southern_brazil_to_arg = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 502
				state = 503
            }
        }
    }

    available = {
        ARG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			502 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			503 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		ARG = { transfer_state = 502 }
		ARG = { transfer_state = 503 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_middle_chile_to_arg = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 952
				state = 279
            }
        }
    }

    available = {
        ARG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			952 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			279 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		ARG = { transfer_state = 952 }
		ARG = { transfer_state = 279 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_paraguay = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 688
				state = 301
            }
        }
    }

    available = {
        ARG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			688 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			301 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		ARG = { transfer_state = 688 }
		ARG = { transfer_state = 301 }
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_transfer_falklands_geogria_arg = {

    cost = 10

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 299
				state = 720
            }
        }
    }

    available = {
	ARG = {is_subject_of = ROOT}
        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
		299 = {is_controlled_by_ROOT_or_subject = yes}
		720 = {is_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
            OR = {
				state = 720
            }
	}
	transfer_state_to = ARG
	}
	
	if = {
	limit = {
	WLA = {is_subject_of = ROOT}
	}
	WLA = {transfer_state = 299}
	}
	else = {
	ARG = {transfer_state = 299}
	}
	
    }

    ai_will_do = {
        factor = 20
    }
}
ITA_transfer_easter_arg = {

    cost = 5

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}

		state_target = yes
		
		target_trigger = {
			FROM = {
			OR = {
			state = 270
			state = 948
			}
			}
		}

    available = {
	ARG = {is_subject_of = ROOT}
        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
		948 = {is_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	FROM = {
	transfer_state_to = ARG
	}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_occupy_panama = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_infiltrate_state

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 685
            }
        }
    }

    available = {
        custom_trigger_tooltip = {
        tooltip = controls_all_states_tt
		685 = {is_controlled_by_ROOT_or_subject = yes}
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
	every_state = {
	limit = {
            OR = {
				state = 685
            }
	}
	transfer_state_to = ROOT
	}
    }

    ai_will_do = {
        factor = 20
    }
}

}



ITA_question_dec_cat = {
ITA_increase_french_occ_zone = {

		name = ITA_protectorate_event.25.t

		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			original_tag = ITA # Italy
		}
		cost = 10
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 32 	
		state = 851
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		32 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		851 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = ITA_protectorate_event.25
		}

		ai_will_do = {
		base = 10
		}
	}
ITA_question_alps = {

		name = ITA_protectorate_event.24.t

		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			original_tag = ITA # Italy
		}
		cost = 10
		
		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 1032
		}
		}
		}
		fire_only_once = yes
		available = {
		
		1025 = {is_owned_and_controlled_by = ROOT}
		1031 = {is_owned_and_controlled_by = ROOT}
		735 = {is_owned_and_controlled_by = ROOT}
		
		has_completed_focus = ITA_ministry_of_italian_africa
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		1032  = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = ITA_protectorate_event.24
		}

		ai_will_do = {
		base = 30
		}
	}
ITA_calais_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		state = 29
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		29 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			OR = {
			LUX = {
			is_subject_of = ROOT
			}
			FCO = {
			is_subject_of = ROOT
			}
			}
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.17}
		}

		ai_will_do = {
		base = 15
		}
	}
	ITA_gibraltar_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		state = 118
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		118 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			NOT = {has_country_flag = gibraltar_q_f}
		}

		complete_effect = {
		add_war_support = 0.05
		hidden_effect = {set_country_flag = gibraltar_q_f}
		country_event = {id = ITA_protectorate_event.6}
		}

		ai_will_do = {
		base = 15
		}
	}
	ITA_south_germany_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 20

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 978
		state = 50
		state = 54
		state = 53 	
		state = 52
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		978 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		50 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		53 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		52 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		54 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.2}
		}

		ai_will_do = {
		base = 10
		}
	}
	
ITA_irish_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 134
		state = 113
		state = 135
		state = 119
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		134 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		113 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		135 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		119 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.8}
		}

		ai_will_do = {
		base = 10
		}
	}	
ITA_aland_fate = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 145
		}
		}
		}
				
		available = {
		
		OR = {
		KAR = {is_subject_of = ROOT}
		SMI = {is_subject_of = ROOT}
		}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		145 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.38}
		}

		ai_will_do = {
		base = 10
		}
	}
	ITA_slovakian_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 70
		state = 71
		state = 73
		state = 664
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		70 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		71 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		73 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		664 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.4}
		}

		ai_will_do = {
		base = 10
		}
	}
	ITA_transilvanian_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 76
		state = 83
		state = 84
		state = 82
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		76 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		84 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		82 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		83 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.5}
		}

		ai_will_do = {
		base = 10
		}
	}
ITA_this_state_ukraine = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		state_target = yes
		
		highlight_states = {
		 	highlight_state_targets = {
					state = FROM
				}
		}
		
		target_trigger = {
			FROM = {
			OR = {
			state = 80
			state = 766
			}
			}
		}

		available = {
		OR = {
		UKR = {is_subject_of = ROOT}
		ROM = {is_subject_of = ROOT}
		}
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		country_event = ITA_protectorate_event.36
	}
}
ITA_this_state_bul_rom = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
				
		highlight_states = {
		 	highlight_state_targets = {
					state = 77
					state = 971
				}
		}

		available = {
		OR = {
		BUL = {is_subject_of = ROOT}
		ROM = {is_subject_of = ROOT}
		}
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
				FROM = {state_is_fully_controlled_by_ROOT_or_subject = yes}
			}
		}

		cost = 5

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		country_event = ITA_protectorate_event.37
	}
}
	
ITA_the_kurdish_question = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_eng_trade_unions_support
	
    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 344
				state = 350
				state = 353
				state = 352
				state = 800
            }
        }
    }

    available = {

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			344 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			350 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			353 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			352 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			800 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
		OR = {
			TUR = {is_subject_of = ROOT}
			PAL = {is_subject_of = ROOT}
		}
    }

    complete_effect = {
		country_event = {id = ITA_protectorate_event.22}
    }

    ai_will_do = {
        factor = 20
    }
}

ITA_cossacks_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
				
		highlight_states = {
		 	highlight_state_targets = {
				state = 218
				state = 236
				state = 237
				state = 238
				state = 235
				state = 234
				}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
184 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
218 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
236 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
237 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
238 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
235 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
234 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			}
		}

		cost = 10

		ai_will_do = {
			base = 30
		}

		complete_effect = {
		country_event = ITA_protectorate_event.40
	}
}

ITA_iraq_question = {

		cost = 10

		fire_only_once = yes

		icon = GFX_decision_eng_trade_unions_support
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 656
		state = 1010
		state = 291
		state = 1011
		state = 676
		state = 675
		}
		}
		}

		allowed = {
			original_tag = ITA # Italy
		}

		available = {
		OR = {
		PAL = {is_subject_of = ROOT}
		SAU = {is_subject_of = ROOT}
		}
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt
		656= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1010= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		291= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		1011= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		676= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		675= {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			#always = no
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.3}
		}

		ai_will_do = {
			factor = 20
		}
	}
ITA_baja_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 10

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 484
		}
		}
		}
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		484 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			OR = {
			USI = {is_subject_of = ROOT}
			RIG = {is_subject_of = ROOT}
			}
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.19}
		}

		ai_will_do = {
		base = 10
		}
	}

ITA_southwest_usa_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 35

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
						state = 375
						state = 376
						state = 377
						state = 378
						state = 379
						state = 380
						state = 382
						state = 374
		}
		}
		}
		
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
375 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
376 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
377 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
378 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
379 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
380 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
382 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
374 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
			OR = {
			USI = {is_subject_of = ROOT}
			RIG = {is_subject_of = ROOT}
			}
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.20}
		}

		ai_will_do = {
		base = 30
		}
	}	
ITA_alaska_question = {

		icon = GFX_decision_eng_trade_unions_support
		
		cost = 15

		allowed = {
			original_tag = ITA # Italy
		}

		fire_only_once = yes
		
		highlight_states = {
		highlight_states_trigger = {
		OR = {
		state = 463
		}
		}
		}
		
		fire_only_once = yes
		available = {
		
		has_completed_focus = ITA_ministry_of_italian_africa
		
		custom_trigger_tooltip = {
		tooltip = controls_all_states_tt		
		463 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		}
		}

		visible = {
			has_completed_focus = ITA_ministry_of_italian_africa
			original_tag = ITA # Italy
		}

		complete_effect = {
		country_event = {id = ITA_protectorate_event.21}
		}

		ai_will_do = {
		base = 10
		}
	}
ITA_patagonia_question = {

    cost = 15

    fire_only_once = yes

    icon = GFX_decision_eng_trade_unions_support

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 512
				state = 955
				state = 954
				state = 953
            }
        }
    }

    available = {
        #ARG = { is_subject_of = ROOT }

        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			512 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			955 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			954 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			953 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
		#ARG = { is_subject_of = ROOT }
        #has_global_flag = ARG_italian_colony
    }

    complete_effect = {
		country_event = ITA_protectorate_event.23

    }

    ai_will_do = {
        factor = 20
    }
}

ITA_pavlodar_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 588 # Tyumen
				state = 882 # Novosibirsk
			}
		}

		available = {
		
		OR = {
		PRR = {is_subject_of = ROOT}
		KAZ = {is_subject_of = ROOT}
		}
		
			custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
			882 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tyumen
			588 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
			}
		}

		cost = 15

		ai_will_do = {
			base = 30
		}

		complete_effect = {
		country_event = ITA_protectorate_event.39
	}	
}


ITA_amur_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 560 # Tyumen
				state = 657 # Novosibirsk
				state = 561 # Omsk
				state = 409 # Tyumen
				state = 408 # Novosibirsk
			}
		}

		available = {
		OR = {
		PRR = {is_subject_of = ROOT}
		ITC = {is_subject_of = ROOT}
		MAN = {is_subject_of = ROOT}
		}		
			custom_trigger_tooltip = {
				tooltip = controls_all_states_tt
560 = {
    is_controlled_by_ROOT_or_subject = yes
}
657 = {
    is_controlled_by_ROOT_or_subject = yes
}
561 = {
    is_controlled_by_ROOT_or_subject = yes
}
408 = {
    is_controlled_by_ROOT_or_subject = yes
}
409 = {
    is_controlled_by_ROOT_or_subject = yes
}
			}
		}

		cost = 15

		ai_will_do = {
			base = 30
		}

		complete_effect = {
		
		country_event = ITA_protectorate_event.31
	}	
}

ITA_mongolia_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 329 # Tyumen
				state = 330 # Novosibirsk
				state = 818 # Omsk
				state = 817 # Tyumen
				state = 819 # Novosibirsk
				state = 820 # Novosibirsk
			}
		}

		available = {
			custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
329 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tyumen
330 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
818 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Omsk
817 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tyumen
819 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
820 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
			}
		}

		cost = 15

		ai_will_do = {
			base = 30
		}

		complete_effect = {
		
		country_event = ITA_protectorate_event.33		
	}	
}
ITA_outer_mongolia_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 621 # Tyumen
				state = 612 # Novosibirsk
				state = 611 # Omsks
			}
		}

		available = {
		has_global_flag = ITA_mongolia_fate
			custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
621 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tyumen
612 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
611 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Omsk
			}
		}

		cost = 15

		ai_will_do = {
			base = 30
		}

		complete_effect = {
		
		country_event = ITA_protectorate_event.34
	}	
}

ITA_manchu_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 610 # Tyumen
				state = 715 # Novosibirsk
				state = 761 # Omsk
				state = 714 # Tyumen
				state = 328 # Novosibirsk
				state = 717 # Novosibirsk
				state = 716 # Novosibirsk
			}
		}

		available = {
			custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
610 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tyumen
715 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
761 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Omsk
714 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Tyumen
328 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
717 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
716 = { state_is_fully_controlled_by_ROOT_or_subject = yes } # Novosibirsk
			}
		}

		cost = 15

		ai_will_do = {
			base = 30
		}

		complete_effect = {
		
		country_event = ITA_protectorate_event.32		
	}	
}

ITA_sinkiang_fate = {

		icon = GFX_decision_eng_trade_unions_support

		fire_only_once = yes

		visible = {
		original_tag = ITA
		has_completed_focus = ITA_ministry_of_italian_africa
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 617
				state = 287
				state = 759
				state = 760
				state = 618
				state = 287
				state = 619
				}
			}

		available = {
			custom_trigger_tooltip = {
			tooltip = controls_all_states_tt
617 = {
    is_controlled_by_ROOT_or_subject = yes
}
287 = {
    is_controlled_by_ROOT_or_subject = yes
}
760 = {
    is_controlled_by_ROOT_or_subject = yes
}
618 = {
    is_controlled_by_ROOT_or_subject = yes
}
287 = {
    is_controlled_by_ROOT_or_subject = yes
}
759 = {
    is_controlled_by_ROOT_or_subject = yes
}
619 = {
    is_controlled_by_ROOT_or_subject = yes
}
			}
		}

		cost = 15

		ai_will_do = {
			base = 10
		}

		complete_effect = {
		country_event = ITA_protectorate_event.29
		}
	}
ITA_taiwan_fate = {

    cost = 10

    fire_only_once = yes

    icon = GFX_decision_eng_trade_unions_support

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 524
            }
        }
    }

    available = {
        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			524 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		country_event = ITA_protectorate_event.28

    }

    ai_will_do = {
        factor = 20
    }
}
ITA_tibet_fate = {

    cost = 10

    fire_only_once = yes

    icon = GFX_decision_eng_trade_unions_support

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 601
				state = 322
				state = 758
				state = 757
            }
        }
    }

    available = {
        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
601 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
322 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
758 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
757 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		country_event = ITA_protectorate_event.30

    }

    ai_will_do = {
        factor = 20
    }
}
ITA_honolulu_fate = {

    cost = 10

    fire_only_once = yes

    icon = GFX_decision_eng_trade_unions_support

    allowed = {
        original_tag = ITA # Italy
    }
    
    highlight_states = {
        highlight_states_trigger = {
            OR = {
				state = 629
            }
        }
    }

    available = {
        custom_trigger_tooltip = {
            tooltip = controls_all_states_tt
			629 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
        }
    }

    visible = {
        has_completed_focus = ITA_ministry_of_italian_africa
        
        original_tag = ITA # Italy
    }

    complete_effect = {
		country_event = ITA_protectorate_event.27

    }

    ai_will_do = {
        factor = 20
    }
}	
		
}


ITA_special_projects_dec_cat = {

ITA_make_rome_capital_of_europe = {

		icon = GFX_decision_generic_form_nation

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 100

		available = {
		is_subject = no
		surrender_progress < 0.01
		is_faction_leader = yes
		
		2 = {is_owned_and_controlled_by = ROOT}
		
		#OR = {
		#has_completed_focus = ITA_the_italian_republic
		#has_completed_focus = ITA_towards_new_world_order
		#}
		
		126 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		16 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		64 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		219 = {state_is_fully_controlled_by_ROOT_or_subject = yes}
		
		}
		
		fire_only_once = yes
		
		visible = {
		}

		complete_effect = {
		
		hidden_effect = {
		
		country_event = {id = ITA_other_event.4}
		
		set_capital = {state = 2 remember_old_capital = yes}
		}
		
		effect_tooltip = {
		add_stability = 0.1
		add_war_support = 0.1
		ITA_bop_low_increase_effect = yes
		2 = {
		add_victory_points = {province = 9904 value = 25}
		custom_effect_tooltip = generic_skip_one_line_tt
		add_building_construction = {
			type = infrastructure
			level = 5
			instant_build = yes
		}
		add_building_construction = {
			type = radar_station
			level = 5
			instant_build = yes
		}
		add_building_construction = {
			type = anti_air_building
			level = 5
			instant_build = yes
		}
		add_extra_state_shared_building_slots = 3
		}
		}
		
		}

		ai_will_do = {
		base = 100
		}
	}

}

ITA_integrade_puppets_dec_cat = {
	ITA_integrate_italian_africa = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}
		
		visible = {
		has_country_flag = ITA_italian_africa_plan_completed
		}

		available = {
		
		has_global_flag = ITA_italian_africa_integrate_lands
		
		custom_trigger_tooltip = {
		tooltip = is_italian_africa_focus_tt
		
		if = {
		limit = {
		EGY = {has_country_flag = is_italian_africa}
		}
		EGY = {has_completed_focus = PROT_italian_hegemony}
		}		
		else_if = {
		limit = {
		LBA = {has_country_flag = is_italian_africa}
		}
		LBA = {has_completed_focus = PROT_italian_hegemony}
		}		
		else_if = {
		limit = {
		AOI = {has_country_flag = is_italian_africa}
		}
		AOI = {has_completed_focus = AOI_faithful_colony}
		}
		
		}
		
		}

		cost = 200

		days_remove = 365
		fire_only_once = yes
		
		complete_effect = {
		
		every_country = {
		
		limit = {
		has_country_flag = is_italian_africa
		}
		
		add_timed_idea = {idea = PROT_cannot_go_independent days = 365}
		}
		}
		
		remove_effect = {

		every_country = {
		
		limit = {
		has_country_flag = is_italian_africa
		}
		ROOT = {end_puppet = PREV}
		}

		every_country = {
		
		limit = {
		has_country_flag = is_italian_africa
		}
		ROOT = {
		annex_country = {
		target = PREV
		transfer_troops = yes
		}
		}
		}
		
		every_state = {
		limit = {
		OR = {
			state =  551 
			state =  883
			state =  886
			state =  549 
			state =  885 
			state =  884 
			state =  887
			state =  767
		state = 453
		state = 452
		state = 447
		state = 446
		state = 907
		state = 456
		state = 457
		state = 552
            state = 271
            state = 835
            state = 836
            state = 837
            state = 838
            state = 839
            state = 840
            state = 841
            state = 842
            state = 843
            state = 908
            state = 550
            state = 268
            state = 269
            state = 559
            state = 844
            state = 903
            state = 547
            state = 905
            state = 448
            state = 661
            state = 662
            state = 663
            state = 273
            state = 449
            state = 450
            state = 451
            state = 458
            state = 665
            state = 906
			}
		}
		transfer_state_to = ROOT
		add_core_of = ROOT
		}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	ITA_integrate_mnt = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		MNT = {
		is_subject_of = ROOT
		has_completed_focus = PROT_italian_hegemony
		}
		}
		fire_only_once = yes

		cost = 100

		days_remove = 365

		complete_effect = {
		
		MNT = {
		add_timed_idea = {idea = PROT_cannot_go_independent days = 365}

		hidden_effect = {
		set_cosmetic_tag = italian_protectorate
		}
		}
		
		}
		
		remove_effect = {
		ROOT = {end_puppet = MNT}
		
		annex_country = {
		target = MNT
		transfer_troops = yes
		}
		
		every_state = {
		limit = {
		OR = {
		state = 1037
		state = 105
		}
		}
		add_core_of = ROOT
		}
		
		}

		ai_will_do = {
			base = 100
		}
	}
	ITA_integrate_alb = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		ALB = {
		is_subject_of = ROOT
		has_completed_focus = PROT_italian_hegemony
		}
		}
		fire_only_once = yes

		cost = 150

		days_remove = 365
		
		complete_effect = {
		
		ALB = {
		add_timed_idea = {idea = PROT_cannot_go_independent days = 365}

		hidden_effect = {
		set_cosmetic_tag = italian_protectorate
		}
		}
		
		}
		
		remove_effect = {
		ALB = {end_puppet = HEL}
		
		annex_country = {
		target = ALB
		transfer_troops = yes
		}
		
		every_state = {
		limit = {
		OR = {
		state = 802
		state = 44
		state = 970
		state = 934
		state = 805
		state = 1035
		}
		}
		add_core_of = ROOT
		}
		
		}

		ai_will_do = {
			base = 100
		}
	}
	
	ITA_integrate_cro = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		CRO = {
		is_subject_of = ROOT
		has_completed_focus = PROT_italian_hegemony
		}
		}
		
		fire_only_once = yes

		cost = 150

		days_remove = 365
		
		complete_effect = {
		
		CRO = {
		add_timed_idea = {idea = PROT_cannot_go_independent days = 365}

		hidden_effect = {
		set_cosmetic_tag = italian_protectorate
		}
		}
		
		}
		remove_effect = {
		ROOT = {end_puppet = CRO}
		
		annex_country = {
		target = CRO
		transfer_troops = yes
		}
		
		every_state = {
		limit = {
		OR = {
		state = 103
		state = 1018
		state = 1019
		state = 1036
		state = 109
		state = 1030
		state = 104
		state = 804
		}
		}
		add_core_of = ROOT
		}
		
		}

		ai_will_do = {
			base = 100
		}
	}	
	ITA_integrate_hel = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		HEL = {
		is_subject_of = ROOT
		has_completed_focus = PROT_italian_hegemony
		}
		}
		
		fire_only_once = yes

		cost = 150

		days_remove = 365
		
		complete_effect = {
		
		HEL = {
		add_timed_idea = {idea = PROT_cannot_go_independent days = 365}

		hidden_effect = {
		set_cosmetic_tag = italian_protectorate
		}
		}
		
		}

		remove_effect = {
		
		ROOT = {end_puppet = HEL}
		
		annex_country = {
		target = HEL
		transfer_troops = yes
		}
		
		every_state = {
		limit = {
		OR = {
				state = 47
				state = 185
				state = 182
				state = 186
				state = 1017
				state = 731
				state = 187
				state = 1024
				state = 184
		}
		}
		add_core_of = ROOT
		}
		
		}

		ai_will_do = {
			base = 100
		}
	}	
	ITA_integrate_gibraltar = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		118 = {is_owned_and_controlled_by = ROOT}
		}
		
		fire_only_once = yes

		cost = 35

		days_remove = 50

		remove_effect = {
		
		118 = {add_core_of = ROOT}
		
		}

		ai_will_do = {
			base = 50
		}
	}	
	ITA_integrate_ceuta = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		1034 = {is_owned_and_controlled_by = ROOT}
		}
		
		fire_only_once = yes

		cost = 35

		days_remove = 50

		remove_effect = {
		
		1034 = {add_core_of = ROOT}
		
		}

		ai_will_do = {
			base = 100
		}
	}	
	ITA_integrate_baleara = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		177 = {is_owned_and_controlled_by = ROOT}
		}
		
		fire_only_once = yes

		cost = 35

		days_remove = 50

		remove_effect = {
		
		177 = {add_core_of = ROOT}
		
		}

		ai_will_do = {
			base = 50
		}
	}
		
	ITA_integrate_swiss_territories = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}

		available = {
		151 = {is_owned_and_controlled_by = ROOT}
		847 = {is_owned_and_controlled_by = ROOT}
		}
		
		fire_only_once = yes

		cost = 50

		days_remove = 50

		remove_effect = {
		
		151 = {add_core_of = ROOT}
		847 = {add_core_of = ROOT}
		
		}

		ai_will_do = {
			base = 50
		}
	}
	
	ITA_integrate_french_territories = {
		icon = GFX_decision_ITA_italian_east_africa
		allowed = {
			tag = ITA
		}
		fire_only_once = yes

		available = {
		851 = {is_owned_and_controlled_by = ROOT}
		32  = {is_owned_and_controlled_by = ROOT}
		21  = {is_owned_and_controlled_by = ROOT}
		
		has_global_flag = give_root_tulon
		}

		cost = 100

		days_remove = 100

		remove_effect = {
		
		21 = {add_core_of = ROOT}
		32 = {add_core_of = ROOT}
		851 = {add_core_of = ROOT}
		
		}

		ai_will_do = {
			base = 50
		}
	}

}

war_measures = {
	ITA_mobilize_massaie_rurali = {

		icon = GFX_decision_POL_looming_peasants_strike

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 25

		available = {
		is_subject = no
		has_war_with_major = yes
		has_government = fascism
		}
		
		fire_only_once = yes
		
		visible = {
		has_completed_focus = ITA_women_and_fascism
		}
		
		days_remove = 30

		remove_effect = {
		add_manpower = 5000
		add_ideas = ITA_massaie_rurali
		}

		ai_will_do = {
		base = 5
		}
	}
	ITA_mobilize_sold = {

		icon = GFX_decision_category_generic_industry

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 25

		available = {
		is_subject = no
		has_war_with_major = yes
		has_government = fascism
		}
		
		fire_only_once = yes
		
		visible = {
		has_completed_focus = ITA_women_and_fascism
		}
		
		days_remove = 40

		remove_effect = {
		add_manpower = 5000
		add_ideas = ITA_sold_females
		}

		ai_will_do = {
		base = 5
		}
	}	
	ITA_create_saf = {

		icon = GFX_decision_generic_military

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 25

		available = {
		has_war_with_major = yes
		has_government = fascism
		ITA_is_rsi = yes
		}
		
		fire_only_once = yes
		
		visible = {
		has_completed_focus = ITA_women_and_fascism
		}
		
		days_remove = 40

		remove_effect = {
		
		set_country_flag = ITA_saf_created
		
		set_rule = {can_generate_female_aces = yes}
		show_unit_leaders_tooltip = ITA_piera_fondelli
		add_ideas = ITA_service_female_ns
		add_manpower = 5000
		}

		ai_will_do = {
		base = 15
		}
	}
}


ITA_consolidate_the_balkans_dec_cat = {

	ITA_establish_trade_customs = {

		icon = GFX_decision_gre_investment_decisions

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 15
		
		target_trigger = {
			FROM = {
			
			NOT = {
			has_idea = ITA_trade_customs_idea
			}
			
			BUL_is_balkan_nation = yes
			is_in_faction_with = ROOT
			NOT = {is_subject_of = ROOT}
			}
		}
		
		available = {
		}
		
		complete_effect = {
		
		FROM = {
		country_event = {id = ITA_consolidation_event.1 days = 1}
		}
		
		custom_effect_tooltip = if_they_accept_tt
		
		effect_tooltip = {
		
		FROM = {add_ideas = ITA_trade_customs_idea}
		}
		}

		ai_will_do = {
			base = 2
			modifier = {
				factor = 2
				any_enemy_country = {
					has_war_with = FROM
				}
			}
			modifier = {
				factor = 0.5
				FROM = {
					is_enemy_ideology = yes
				}
			}
			modifier = {
				factor = 2
				FROM = {
					has_government = ROOT
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
				    tag = FROM
				    ratio < 0.75
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
				    tag = FROM
				    ratio < 0.5
				}
			}
		}
	}
	
	ITA_establish_military_cooperation = {

		icon = GFX_decision_generic_military

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 15
		
		target_trigger = {
			FROM = {
			
			NOT = {
			has_idea = ITA_militarys_cooperation_idea
			}
			
			BUL_is_balkan_nation = yes
			is_in_faction_with = ROOT
			NOT = {is_subject_of = ROOT}
			}
		}
		
		available = {
		FROM = {
		has_idea = ITA_trade_customs_idea
		}
		}
		
		complete_effect = {
		
		FROM = {
		country_event = {id = ITA_consolidation_event.3 days = 1}
		}
		
		custom_effect_tooltip = if_they_accept_tt
		effect_tooltip = {
		FROM = {
		add_ideas = ITA_militarys_cooperation_idea
		}
		}
		
		}

		ai_will_do = {
			base = 3
			modifier = {
				factor = 2
				any_enemy_country = {
					has_war_with = FROM
				}
			}
			modifier = {
				factor = 0.5
				FROM = {
					is_enemy_ideology = yes
				}
			}
			modifier = {
				factor = 2
				FROM = {
					has_government = ROOT
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
				    tag = FROM
				    ratio < 0.75
				}
			}
			modifier = {
				factor = 2
				strength_ratio = {
				    tag = FROM
				    ratio < 0.5
				}
			}
		}
	}
	
	ITA_increase_dependency_of_our_allies = {

		icon = GFX_decision_SWI_dismiss_council

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 50
		
		days_remove = 30
		
		target_trigger = {
			FROM = {
			BUL_is_balkan_nation = yes
			is_in_faction_with = ROOT
			NOT = {is_subject_of = ROOT}
			}
		}
		
		available = {
		FROM = {
		has_idea = ITA_trade_customs_idea
		has_idea = ITA_militarys_cooperation_idea
		}
		}
		
		remove_effect = {
		
		FROM = {
		country_event = {id = ITA_consolidation_event.6 days = 1}
		}
			
		custom_effect_tooltip = if_they_accept_tt
		effect_tooltip = {
		
		upgrade_italian_col_emp = yes
		
		ROOT = {
		puppet = FROM
		}
		
		if = {
		limit = {
		FROM = {owns_state = 853}
		}
		853 = {transfer_state_to = ROOT}
		}
		
		if = {
		limit = {
		FROM = {owns_state = 1019}
		}
		1019 = {transfer_state_to = ROOT}
		}
		
		if = {
		limit = {
		FROM = {owns_state = 1018}
		}
		1018 = {transfer_state_to = ROOT}
		}
		
		if = {
		limit = {
		FROM = {owns_state = 1036}
		}
		1036 = {transfer_state_to = ROOT}
		}
		
		}
		
		}

		ai_will_do = {
			base = 35
		}
	}
	
	ITA_annex_integrated_puppet_decision = {

		icon = GFX_decision_eng_trade_unions_support

		allowed = {
			original_tag = ITA # Italy
		}
		
		cost = 75
		
		days_remove = 35
		
		target_trigger = {
			FROM = {
			has_country_flag = agreed_to_integrate_flag
			BUL_is_balkan_nation = yes
			is_in_faction_with = ROOT
			#NOT = {is_subject_of = ROOT}
			}
		}
		
		available = {
		FROM = {
		has_country_flag = agreed_to_integrate_flag
		}
		}
		
		remove_effect = {
		
		FROM = {
		country_event = {id = ITA_consolidation_event.9 days = 1}
		}
		
		custom_effect_tooltip = if_they_accept_tt
		effect_tooltip = {
		
		ROOT = {
		annex_country = {
		target = FROM
		transfer_troops = yes
		}
		}
		
		every_state = {
		limit = {
		is_controlled_by = FROM
		is_core_of = FROM
		}
		add_compliance = 50
		add_extra_state_shared_building_slots = 1
		}
		
		}
		
		}

		ai_will_do = {
			base = 50
		}
	}
}

