country_decisions = {
	
	# Form Italia
	form_italia = {
		
		potential = {
			num_of_cities >= 1
			country_culture_group = latin
			NOR = { #timeline extension edit
				tag = WRE #TE Western Roman Empire
				tag = ROM
				tag = ETR
			}			
			OR = {
				is_ai = no
				num_of_cities >= 12
			}
			NOT = {
				is_endgame_tag_trigger = yes
			}
		}
		
		highlight = {
			scope:province = {
				OR = {
					is_in_region = central_italy_region
					is_in_region = magna_graecia_region			
				}
			}
		}
		
		allow = {
			custom_tooltip = {
				text = italia_not_exists
				NOT = {
					any_country = {
						tag = ITL
					}
				}
			}
			can_form_nation_trigger = yes
			owns_or_subject_owns = 1
			owns_percent_of_region = {
                PROVINCE = "p:1"
                PERCENT = "0.65"
            }
			owns_percent_of_region = {
                PROVINCE = "p:66"
                PERCENT = "0.65"
            }
		}
		
		effect = {
			custom_tooltip = "tier_3_formable_tooltip"
			change_country_name = "ITALIA_NAME"
			if = {
				limit = { is_tribal = yes }
				add_country_modifier = {
					name = civilized_tribe
					duration = 5475
				}
				change_government = tribal_federation
				switch_government_type_event_clearup_effect = yes
			}
			hidden_effect = {
				change_country_adjective = "ITALIA_ADJECTIVE"
				change_country_color =  "italia_color"
				change_country_tag = ITL
				#change_country_flag = ITALIA_FLAG									
			}
			capital_scope = {
				capital_formable_medium_effect = yes
				formable_capital_modifier_large_effect = yes
			}
			custom_tooltip = "form_italia_claims_tooltip"
			hidden_effect = {
				region:magna_graecia_region = { formable_region_province_effect = yes }
				region:central_italy_region = { formable_region_province_effect = yes }
				region:cisalpine_gaul_region = { formable_region_province_effect = yes }						
			}			
			add_3_free_province_investments = yes
			#Unlocks the Italian missions
		}
		
		ai_will_do = {
			base = 1
		}
	}

} 

