
@correct_culture_primary_score = 100
@better_than_the_alternatives_score = 50
@always_primary_score = 1000
@never_primary_score = -1000


e_italy = {
	color = { 0 140 69 }
	#can_be_named_after_dynasty = no

	capital = c_roma # Rome

	can_create = {
		rule_title_creation_imperial_power_projection_title_creation_trigger = yes
	}

	ai_primary_priority = {
		if = {
			limit = {
				culture = culture:italian
			}
			add = @correct_culture_primary_score
		}
	}

	k_italy = {
		color = { 40 153 30 }
			#can_be_named_after_dynasty = no

		capital = c_lombardia # Milan

		can_create = {
			trigger_if = {
				limit = {
					is_ai = yes
				}
				faith = { religion_tag = christianity_religion }
			}
		}

		ai_primary_priority = {
			if = {
				limit = {
					culture = culture:italian
				}
				add = @correct_culture_primary_score
			}
		}

		d_piedmonte = {
			color = { 84 211 116 }
			#can_be_named_after_dynasty = no

			capital = c_turin 

			c_monferrato = {
				color = { 102 204 125 }
				#can_be_named_after_dynasty = no

				b_chieri = {
					province = 2045

					color = { 195 115 135 }
				}
				b_asti = {
					province = 2469

					color = { 195 160 160 }
				}
				b_acqui = {
					province = 2468

					color = { 195 160 160 }
				}
				b_pombia = {
					province = 2472

					color = { 240 175 255 }
				}	
			}
			c_aosta = {
				color = { 114 229 141 }

				b_santhia = {
					province = 2040

					color = { 195 115 135 }
				}	
			}

			c_turin = {
				color = { 89 178 110 }
				#can_be_named_after_dynasty = no

				b_turin = {
					province = 2041

					color = { 195 115 135 }
				}
				b_pinerolo = {
					province = 2042

					color = { 115 25 45 }
				}
				b_canavese = {
					province = 2456

					color = { 115 25 45 }
				}
				b_ivrea = {
					province = 8764

					color = { 115 25 45 }
				}
				b_moncalieri = {
					province = 8805

					color = { 115 25 45 }
				}
			}

			c_novara = {
				color = { 127 255 157 }
				#can_be_named_after_dynasty = no

				b_novara = {
					province = 2471

					color = { 195 140 130 }
				}	
				b_ugano = {
					province = 9713

					color = { 139 30 10 }
				}			
				b_vercelli = {
					province = 2470

					color = { 195 140 130 }
				}				
				b_biella = {
					province = 2473

					color = { 195 140 130 }
				}		
			}
			c_cuneo = {
				color = { 63 127 78 }
				#can_be_named_after_dynasty = no

				b_cuneo = {
					province = 2043

					color = { 195 130 145 }
				}
				b_saluzzo = {
					province = 2044

					color = { 195 130 145 }
				}
				b_mondovi = {
					province = 8763

					color = { 195 130 145 }
				}
				b_alba_di_monferrato = {
					province = 2467

					color = { 195 160 160 }
				}
				b_tende = {
					province = 8720
					color = { 175 104 37 }
					
					cultural_names = {
						name_list_NEOW_provencal=cn_tendo
						name_list_occitan=cn_tenda
					}
				}

			}
		}

		d_lombardia = {
			color = { 21 140 28 }
			#can_be_named_after_dynasty = no

			capital = c_lombardia # Lombardia

			c_lombardia = {
				color = { 19 127 26 }
				#can_be_named_after_dynasty = no

				b_milano = {
					province = 2482

					color = { 185 120 205 }
				}
				b_gallarate = {
					province = 2480

					color = { 185 120 205 }
				}
			}
			c_brianza = {
				color = { 22 119 30 }
				#can_be_named_after_dynasty = no

				b_monza = {
					province = 2481

					color = { 185 120 205 }
				}
				b_varese = {
					province = 2479

					color = { 185 120 205 }
				}		
				b_como = {
					province = 2477

					color = { 240 175 255 }
				}
			}
			c_sondrio = {
				color = { 15 102 21 }
				#can_be_named_after_dynasty = no

				b_sondrio = {
					province = 9702

					color = { 170 150 190 }
				}		
				b_bormio = {
					province = 9703

					color = { 170 150 190 }
				}
			}
			c_pavia = {
				color = { 22 153 31 }
				#can_be_named_after_dynasty = no

				b_pavia = {
					province = 2475

					color = { 200 155 255 }
				}
				b_vigevano = {
					province = 2474

					color = { 200 155 255 }
				}
				b_voghera = {
					province = 2487

					color = { 170 105 195 }
				}
				b_tortona = {
					province = 2483

					color = { 170 105 195 }
				}
				b_lodi = {
					province = 2476

					color = { 200 155 255 }
				}
			}
			c_brescia = {
				color = { 26 178 36 }
				#can_be_named_after_dynasty = no
				b_brescia = {
					province = 8762

					color = { 170 150 190 }
				}				

				b_chiari = {
					province = 2494

					color = { 170 150 190 }
				}
				b_edolo = {
					province = 9710

					color = { 170 150 190 }
				}			
				b_bergamo = {
					province = 2493

					color = { 170 150 190 }
				}			
			}

			c_cremona = {
				color = { 30 204 42 }
				#can_be_named_after_dynasty = no
				b_mantua = {
					province = 2497

					color = { 215 175 205 }
				}
				b_cremona = {
					province = 2491

					color = { 220 160 210 }
				}
				b_crema = {
					province = 2492

					color = { 220 160 210 }
				}
				b_garda = {
					province = 2496

					color = { 150 245 210 }
				}
			}		
		}
		d_emilia = {
			color = { 83 191 47 }
			#can_be_named_after_dynasty = no

			capital = c_bologna# Modena
			c_bologna = {
				color = { 78 178 44 }
				#can_be_named_after_dynasty = no

				b_bologna = {
					province = 2542

					color = { 209 145 95 }
				}
				b_cento = {
					province = 2541

					color = { 230 185 185 }
				}
				b_imola = {
					province = 2550

					color = { 229 165 115 }
				}	
			}
			c_reggio_emilia = {
				color = { 89 204 51 }
				#can_be_named_after_dynasty = no
				b_reggio_emilia = {
					province = 2534

					color = { 230 185 185 }
				}
				b_canossa = {
					province = 2535

					color = { 230 185 185 }
				}
			}
			c_modena = {
				color = { 66 153 38 }
				#can_be_named_after_dynasty = no

				b_modena = {
					province = 2540

					color = { 230 185 185 }
				}
				b_guastalla = {
					province = 2530

					color = { 215 175 205 }
				}


			}						
			c_parma = {
				color = { 100 229 57 }
				#can_be_named_after_dynasty = no


				b_parma = {
					province = 2532

					color = { 255 160 195 }
				}
				b_brescello = {
					province = 2533

					color = { 215 175 205 }
				}
				b_florentiola = {
					province = 2490

					color = { 255 160 195 }
				}	
			}
			c_ferrara = {
				color = { 44 102 25 }
				#can_be_named_after_dynasty = no

				b_ferrara = {
					province = 2527

					color = { 219 125 85 }
				}
				b_pomposa = {
					province = 2526

					color = { 219 125 85 }
				}
				b_comacchio = {
					province = 2528

					color = { 219 125 85 }
				}
				b_cona = {
					province = 2529

					color = { 209 145 95 }
				}
			}				
			c_piacenza = {
				color = { 111 255 63 }
				#can_be_named_after_dynasty = no

			
				b_piacenza = {
					province = 2488

					color = { 255 160 195 }
				}
				b_roncaglia = {
					province = 2489

					color = { 220 160 210 }
				}			
			}					
		}

		d_genoa = {
			color = { 153 239 83 }
			#can_be_named_after_dynasty = no

			capital = c_genoa # Genoa

			c_genoa = {
				color = { 154 229 80 }
				#can_be_named_after_dynasty = no

				b_genoa = {
					province = 2466

					color = { 244 141 120 }
				}
				b_chiavari = {
					province = 2485

					color = { 215 120 130 }
				}
				b_luni = {
					province = 2531

					color = { 215 120 130 }
				}	

			}

			c_luni = {
				color = { 172 255 89 }
				#can_be_named_after_dynasty = no
				b_savona = {
					province = 2465

					color = { 244 141 120 }
				}
				b_imperia = {
					province = 2022

					color = { 244 141 120 }
				}
				b_albenga = {
					province = 8804

					color = { 244 141 120 }
				}
			}
		}
	}
	k_sardinia_and_corsica = { # Tyrrhenia
		color = { 0 84 84 }
		#can_be_named_after_dynasty = no
		
		capital = c_cagliari_it
		cultural_names = {
			name_list_catalan=cn_tirr_e_grv_nia
			name_list_corsican=cn_tirrenia
			name_list_italian=cn_tirrenia
			name_list_cisalpine=cn_tirrenia
			name_list_sicilian=cn_tirrenia
			name_list_sardinian=cn_tirrenia
			name_list_NEOW_french=cn_tyrrh_e_act_nie
		}
		
		d_palermo = {
			color = { 57 114 45 }
			#can_be_named_after_dynasty = no

			capital = c_palermo # Palermo

			cultural_names = {
				#name_list_bedouin = cn_siqilliya
				#name_list_levantine = cn_siqilliya
				#name_list_egyptian = cn_siqilliya
				#name_list_maghrebi = cn_siqilliya
				#name_list_andalusian = cn_siqilliya
				#name_list_yemeni = cn_siqilliya
			}

			c_palermo = {
				color = { 52 102 40 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_bedouin = cn_balarm
					name_list_levantine = cn_balarm
					name_list_egyptian = cn_balarm
					name_list_maghrebi = cn_balarm
					name_list_andalusian = cn_balarm
					name_list_yemeni = cn_balarm
				}

				b_palermo = {
					province = 2635

					color = { 155 254 86 }

					cultural_names = {
						name_list_bedouin = cn_balarm
						name_list_levantine = cn_balarm
						name_list_egyptian = cn_balarm
						name_list_maghrebi = cn_balarm
						name_list_andalusian = cn_balarm
						name_list_yemeni = cn_balarm
					}
				}
				b_castrogiovanni = { # Castrogiovanni
					province = 2640

					color = { 125 230 110 }

					cultural_names = {
						name_list_bedouin = cn_qasriyana
						name_list_levantine = cn_qasriyana
						name_list_egyptian = cn_qasriyana
						name_list_maghrebi = cn_qasriyana
						name_list_andalusian = cn_qasriyana
						name_list_yemeni = cn_qasriyana
						name_list_greek = cn_enna
					}
				}
				b_cefalu = {
					province = 2634

					color = { 160 210 100 }
				}
				b_calatafimi = {
					province = 2645

					color = { 155 254 86 }
				}
			}
			c_enna = {
				color = { 65 127 51 }
				#can_be_named_after_dynasty = no

				b_enna = {
					province = 9752

					color = { 160 220 120 }
				}		
				b_caltanisetta = { #Caltanissetta
					province = 2641

					color = { 125 230 110 }
				}	
			}
			c_agrigento = {
				color = { 39 76 30 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_bedouin = cn_qasriyana
					name_list_levantine = cn_qasriyana
					name_list_egyptian = cn_qasriyana
					name_list_maghrebi = cn_qasriyana
					name_list_andalusian = cn_qasriyana
					name_list_yemeni = cn_qasriyana
					name_list_greek = cn_enna
				}
				b_agricento = { # Grigenti
					province = 2637

					color = { 125 230 110 }
				}
				b_trapani = {
					province = 2636

					color = { 155 254 86 }
				}				
				b_mazara = {
					province = 2644

					color = { 155 254 86 }
				}
			}
		}
		d_siracusa= {
			color = { 99 153 70 }
			#can_be_named_after_dynasty = no

			capital = c_siracusa # Palermo
				
			c_siracusa = {
				color = { 82 127 58 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_bedouin = cn_sarqusa
					name_list_levantine = cn_sarqusa
					name_list_egyptian = cn_sarqusa
					name_list_maghrebi = cn_sarqusa
					name_list_andalusian = cn_sarqusa
					name_list_yemeni = cn_sarqusa
				}

				b_syracusa = {
					province = 2638

					color = { 115 195 85 }

					cultural_names = {
						name_list_bedouin = cn_sarqusa
						name_list_levantine = cn_sarqusa
						name_list_egyptian = cn_sarqusa
						name_list_maghrebi = cn_sarqusa
						name_list_andalusian = cn_sarqusa
						name_list_yemeni = cn_sarqusa
					}
				}
				b_lentini = {
					province = 2643

					color = { 115 195 85 }
				}

				b_ragusa_italy = {
					province = 9748

					color = { 135 63 74 }
				}
			}	
			c_messina = {
				color = { 115 178 82 }
				#can_be_named_after_dynasty = no

				b_messina = {
					province = 2633

					color = { 160 210 100 }
				}

				b_capo_d_orlando = {
					province = 9755

					color = { 160 210 100 }
				}
				b_eolie = {
					province = 9757

					color = { 160 210 100 }
				}
			}
			c_catania = {
				color = { 66 102 46 }
				#can_be_named_after_dynasty = no
				
				b_catania = {
					province = 2639

					color = { 160 210 100 }
				}		

				b_caltagirone = {
					province = 2642

					color = { 115 195 85 }
				}	
				b_bronte = {
					province = 9753

					color = { 160 220 120 }
				}			
			}
		}	
		d_malta= {
			color = { 121 178 64 }
			#can_be_named_after_dynasty = no

			capital = c_siracusa # Palermo
						
			c_malta = {
				color = { 104 153 55 }
				#can_be_named_after_dynasty = no

				b_malta = {
					province = 2646

					color = { 120 255 60 }
				}
				b_gozo = {
					province = 9756

					color = { 140 255 60 }
				}
			}
		}
		
		d_mallorca = {
			color = { 24 124 58 }

			capital = c_mallorca # Mallorca
			#can_be_named_after_dynasty = no

			cultural_names = {
				name_list_bedouin = cn_mayurqa
				name_list_baranis = cn_mayurqa
				name_list_butr = cn_mayurqa
				name_list_zaghawa = cn_mayurqa
				name_list_levantine = cn_mayurqa
				name_list_egyptian = cn_mayurqa
				name_list_maghrebi = cn_mayurqa
				name_list_andalusian = cn_mayurqa
				name_list_yemeni = cn_mayurqa
			}

			c_mallorca = {
				color = { 20 102 47 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_bedouin = cn_mayurqa
					name_list_baranis = cn_mayurqa
					name_list_butr = cn_mayurqa
					name_list_zaghawa = cn_mayurqa
					name_list_levantine = cn_mayurqa
					name_list_egyptian = cn_mayurqa
					name_list_maghrebi = cn_mayurqa
					name_list_andalusian = cn_mayurqa
					name_list_yemeni = cn_mayurqa
				}

				b_palma = {
					province = 8735

					color = { 20 222 84 }

					cultural_names = {
						name_list_bedouin = cn_madinat_mayurqa
						name_list_baranis = cn_madinat_mayurqa
						name_list_butr = cn_madinat_mayurqa
						name_list_zaghawa = cn_madinat_mayurqa
						name_list_levantine = cn_madinat_mayurqa
						name_list_egyptian = cn_madinat_mayurqa
						name_list_maghrebi = cn_madinat_mayurqa
						name_list_andalusian = cn_madinat_mayurqa
						name_list_yemeni = cn_madinat_mayurqa
					}
				}
				b_alcudia = {
					province = 2001

					color = { 20 222 84 }
				}
			}
			c_menorca = {
				color = { 30 153 71 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_bedouin = cn_manurqa
					name_list_baranis = cn_manurqa
					name_list_butr = cn_manurqa
					name_list_zaghawa = cn_manurqa
					name_list_levantine = cn_manurqa
					name_list_egyptian = cn_manurqa
					name_list_maghrebi = cn_manurqa
					name_list_andalusian = cn_manurqa
					name_list_yemeni = cn_manurqa
				}

				b_menorca = {
					province = 2002

					color = { 40 250 80 }
				}
			}
			c_iviza = {
				color = { 15 76 35 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_bedouin = cn_yabisa
					name_list_baranis = cn_yabisa
					name_list_butr = cn_yabisa
					name_list_zaghawa = cn_yabisa
					name_list_levantine = cn_yabisa
					name_list_egyptian = cn_yabisa
					name_list_maghrebi = cn_yabisa
					name_list_andalusian = cn_yabisa
					name_list_yemeni = cn_yabisa
				}

				b_iviza = {
					province = 2000

					color = { 60 205 50 }
				}
			}
		}
		d_calari = {
			color = { 5 112 94 }
			#can_be_named_after_dynasty = no
			
			capital = c_cagliari_it
			cultural_names = {
				#name_list_catalan=cn_sardenya
				#name_list_corsican=cn_sardegna
				#name_list_NEOW_french=cn_sardaigne
				#name_list_italian=cn_sardegna
				#name_list_cisalpine=cn_sardegna
				#name_list_sardinian=cn_sardigna
			}
			
			c_cagliari_it = {
				color = { 5 102 84 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_c_a_grv_ller
					name_list_corsican=cn_c_a_grv_gliari
					name_list_sardinian=cn_casteddu
				}
				
				b_cagliari = {
					province = 2653
					color = { 154 116 193 }
					cultural_names = {
						name_list_catalan=cn_c_a_grv_ller
						name_list_corsican=cn_c_a_grv_gliari
						name_list_sardinian=cn_casteddu
					}
				}
				b_carbonia = {
					province = 2654
					color = { 154 116 193 }
					cultural_names = {
						name_list_catalan=cn_carb_o_grv_nia
						name_list_sardinian=cn_carb_o_grv_nia
					}
				}
				b_muravera = {
					province = 2657
					color = { 154 116 193 }
					cultural_names = {
						name_list_sardinian=cn_murera
					}
				}
			
			}
			c_tortoli = {
					color = { 6 127 105 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_tortol_i_act_
				}			
				b_tortoli = {
					province = 2663
					color = { 185 157 213 }
					cultural_names = {
						name_list_catalan=cn_tortol_i_act_
					}
				}
				b_dolianova = {
					province = 2656
					color = { 154 116 193 }
					cultural_names = {
						name_list_sardinian=cn_patiolla
					}
				}
			}
		}
		d_torres = {
			color = { 21 140 130 }
			c_sassari = {
				color = { 19 127 116 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_s_a_grv_sser
					name_list_sardinian=cn_t_a_grv_tari
				}
				
				b_sassari = {
					province = 2665
					color = { 137 83 191 }
					cultural_names = {
						name_list_catalan=cn_s_a_grv_sser
						name_list_sardinian=cn_t_a_grv_tari
					}
				}
				b_alghero = {
					province = 13271
					color = { 137 83 191 }
					cultural_names = {
						name_list_catalan=cn_l_pst_alguer
						name_list_sardinian=cn_s_pst_aligh_e_grv_ra
					}
				}

				b_ozieri = {
					province = 13273
					color = { 137 83 191 }
					cultural_names = {
						name_list_catalan=cn_ocier
						name_list_sardinian=cn_otieri
					}
				}
			}			
			c_nuoro = {
				color = { 22 153 139 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_n_u_grv_goro
					name_list_corsican=cn_nuaru
					name_list_sardinian=cn_n_u_grv_goro
				}
				
				b_nuoro = {
					province = 2661
					color = { 185 157 213 }
					cultural_names = {
						name_list_catalan=cn_n_u_grv_goro
						name_list_corsican=cn_nuaru
						name_list_sardinian=cn_n_u_grv_goro
					}
				}
				b_macomer = {
					province = 2664
					color = { 185 157 213 }
					cultural_names = {
						name_list_sardinian=cn_macumere
					}
				}
			}
		}
		d_gallura = {
			color = { 47 191 191 }		
			c_olbia = {
				color = { 44 178 178 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn__o_grv_lbia
					name_list_sardinian=cn_terranoa
				}
				b_olbia = {
					province = 13270
					color = { 137 83 191 }
					cultural_names = {
						name_list_catalan=cn__o_grv_lbia
						name_list_sardinian=cn_terranoa
					}
				}
				b_arzachena = {
					province = 13272
					color = { 137 83 191 }
					cultural_names = {
						name_list_catalan=cn_altzagh_e_grv_na
						name_list_corsican=cn_alzachena
						name_list_sardinian=cn_altzagh_e_grv_na
					}
				}
			}		
			c_siniscola = {
				color = { 51 204 204 }
				#can_be_named_after_dynasty = no	
				cultural_names = {
					name_list_sardinian=cn_thiniscole
				}				
				b_siniscola = {
					province = 2662
					color = { 185 157 213 }
					cultural_names = {
						name_list_sardinian=cn_thiniscole
					}
				}
			}
		}	
		d_arborea = {
			color = { 16 150 163 }		
			c_iglesias = {
				color = { 15 141 153 }
				#can_be_named_after_dynasty = no			
				b_iglesias = {
					province = 2655
					color = { 154 116 193 }
					cultural_names = {
						name_list_catalan=cn_esgl_e_act_sies
						name_list_sardinian=cn_igr_e_grv_sias
					}
				}
				b_terralba = {
					province = 2659
					color = { 121 103 139 }
					cultural_names = {
						name_list_sardinian=cn_terraba
					}
				}		
			}
			c_oristano = {
				color = { 17 165 178 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_oristany
					name_list_sardinian=cn_aristanis
				}
				
				b_oristano = {
					province = 2658
					color = { 121 103 139 }
					cultural_names = {
						name_list_catalan=cn_oristany
						name_list_sardinian=cn_aristanis
					}
				}

				b_bosa = {
					province = 2660
					color = { 121 103 139 }
				}
			}			
		}	
		d_southern_corsica = {
			color = { 6 127 87 }
			#can_be_named_after_dynasty = no
			
			capital = c_southern_corsica
			cultural_names = {
					name_list_catalan=cn_c_o_grv_rsega_del_sud
					name_list_corsican=cn_pumonti
					name_list_NEOW_french=cn_corse_du_sud
					name_list_italian=cn_corsica_del_sud
					name_list_cisalpine=cn_corsica_del_sud
					name_list_sardinian=cn_c_o_grv_ssiga_de_su_sud
			}
			
			c_ajaccio = {
				color = { 7 153 104 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_aiacciu
					name_list_corsican=cn_aiacciu
					name_list_sardinian=cn_ajacciu
				}
				b_ajaccio = {
					province = 2647
					color = { 148 148 148 }
					cultural_names = {
						name_list_catalan=cn_aiacciu
						name_list_corsican=cn_aiacciu
						name_list_sardinian=cn_ajacciu
					}
				}
				b_sartene = {
					province = 2649
					color = { 148 148 148 }
					cultural_names = {
						name_list_corsican=cn_sart_e_grv_
						name_list_italian=cn_sartena
						name_list_cisalpine=cn_sartena
					}
				}
			}
			c_porto_vecchio = {
				color = { 5 102 69 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_catalan=cn_port_vell
					name_list_corsican=cn_portivechju
				}				
				b_porto_vecchio = {
					province = 2648
					color = { 148 148 148 }
					cultural_names = {
						name_list_catalan=cn_port_vell
						name_list_corsican=cn_portivechju
					}
				}
				b_bonifacio = {
					province = 2650
					color = { 148 148 148 }
					cultural_names = {
						name_list_catalan=cn_bunifaziu
						name_list_corsican=cn_bunifaziu
						name_list_sardinian=cn_bonif_a_grv_tziu
					}
				}
			}
		}	
		d_north_corsica = {
			color = { 8 165 87 }
			#can_be_named_after_dynasty = no
			cultural_names = {
				name_list_catalan=cn_alta_c_o_grv_rsega
				name_list_corsican=cn_cismonte
				name_list_NEOW_french=cn_haute_corse
				name_list_italian=cn_alta_corsica
				name_list_cisalpine=cn_alta_corsica
				name_list_sardinian=cn_c_o_grv_ssiga_arta
			}
			c_bastia= {
				color = { 7 153 80 }
				#can_be_named_after_dynasty = no
				cultural_names = {
					name_list_corsican=cn_bast_i_grv_a
				}	
				b_bastia = {
					province = 2651
					color = { 33 95 23 }
					cultural_names = {
						name_list_corsican=cn_bast_i_grv_a
					}
				}
				b_calvi = {
					province = 13274
					color = { 33 95 23 }
				}
			}	
			c_corte= {
				color = { 8 178 93 }
				#can_be_named_after_dynasty = no				
				b_corte = {
					province = 2652
					color = { 33 95 23 }
					cultural_names = {
						name_list_catalan=cn_corti
						name_list_corsican=cn_corti
					}
				}

				b_ghisonaccia = {
					province = 13275
					color = { 33 95 23 }
					cultural_names = {
						name_list_corsican=cn_ghisunaccia
					}
				}
			}
		}
	}

	k_san_marino = {
		color = { 242 205 130 }
		#can_be_named_after_dynasty = no

		capital = c_roma
		
		d_romagna = {
			color = { 216 171 108 }
			#can_be_named_after_dynasty = no

			capital = c_ravenna  # Ravenna		
			c_ravenna = {
				color = { 204 161 102 }
				#can_be_named_after_dynasty = no
				
				b_ravenna = {
					province = 2546

					color = { 229 165 115 }
				}
				b_monte_sole = {
					province = 2549

					color = { 209 145 95 }
				}		
			}
			c_casentino = {
				color = { 229 181 114 }
				#can_be_named_after_dynasty = no

				b_forli = {
					province = 2553

					color = { 229 165 115 }
				}
				b_casentino = {
					province = 2548

					color = { 209 125 105 }
				}
				b_rimini = {
					province = 2547

					color = { 229 165 115 }
				}	
			}			
		}
		d_sanmarino = {
			color = { 44 167 224 }		
			c_montefeltro = {
				color = { 50 190 255 }
				#can_be_named_after_dynasty = no
				b_montefeltro = {
					province = 2552

					color = { 209 125 105 }
				}				
			}	
		}
		
#		d_pisa = {
#			color = { 180 186 30 }
#			#can_be_named_after_dynasty = no
#
#			capital = c_pisa #Pisa
#
#
#		}

		d_toscana = {
			color = { 242 169 145 }
			#can_be_named_after_dynasty = no

			capital = c_firenze # Firenze

			c_firenze = {
				color = { 229 159 137 }
				#can_be_named_after_dynasty = no

				b_firenze = {
					province = 2543

					color = { 232 190 25 }
				}
				b_impruneta = {
					province = 2559

					color = { 232 190 25 }
				}
				b_camaldoli = {
					province = 2551

					color = { 209 125 105 }
				}
				b_empoli = {
					province = 2563

					color = { 232 190 25 }
				}		
			}
			c_lucca = {
				color = { 255 176 153 }
				#can_be_named_after_dynasty = no

				b_lucca = {
					province = 2537

					color = { 235 210 65 }
				}
				b_piombino = {
					province = 2561

					color = { 180 186 30 }
				}			
			}
			c_arezzo = {
				color = { 204 141 122 }
				#can_be_named_after_dynasty = no

				b_arezzo = {
					province = 2554

					color = { 230 155 15 }
				}
				b_cortona = {
					province = 2564

					color = { 230 155 15 }
				}
				b_civitas_castelli = {
					province = 2584

					color = { 240 225 150 }
				}	
				b_vallombrosa = {
					province = 2544

					color = { 230 155 15 }
				}	
			}
			c_siena = {
				color = { 255 213 201 }
				#can_be_named_after_dynasty = no

				b_siena = {
					province = 2560

					color = { 205 175 25 }
				}
				b_chiusi = {
					province = 2565

					color = { 205 175 25 }
				}
				b_asciano = {
					province = 8760

					color = { 205 175 25 }
				}
				b_volterra = {
					province = 2558

					color = { 232 190 25 }
				}
			}
			c_pisa = {
				b_livorno = {
					province = 2557

					color = { 180 186 30 }
				}
				b_pisa = {
					province = 2536

					color = { 180 186 30 }
				}	
			}	
			c_prato = {
				color = { 255 196 178 }
				#can_be_named_after_dynasty = no	

				b_pistorja = { #Pistoia
					province = 2538

					color = { 235 210 65 }
				}	
				b_prato = {
					province = 2545

					color = { 235 210 65 }
				}
			}
			c_orbetello = {
				color = { 153 106 91 }
				#can_be_named_after_dynasty = no

				b_grosseto = {
					province = 2569

					color = { 250 210 5 }
				}
				b_orbetello = {
					province = 2562

					color = { 250 210 5 }
				}
				b_soana = {
					province = 2570

					color = { 250 210 5 }
				}
				b_montalcino = {
					province = 2567

					color = { 205 175 25 }
				}
			}			
		}		
		d_ancona = {
			color = { 204 138 91 }
			#can_be_named_after_dynasty = no

			capital = c_ancona # Ancona
			c_ancona = {
				color = { 229 155 103 }
				#can_be_named_after_dynasty = no

				b_ancona = {
					province = 2594

					color = { 245 245 195 }
				}
				b_cagli = {
					province = 2583

					color = { 245 245 195 }
				}
			}
			c_macerata = {
				color = { 178 121 80 }
				#can_be_named_after_dynasty = no
				b_macerata = {
					province = 2599

					color = { 210 210 175 }
				}			
				b_camerino = {
					province = 2587

					color = { 245 245 195 }
				}
			}	
			c_urbino = {
				color = { 255 173 114 }
				#can_be_named_after_dynasty = no

				b_urbino = {
					province = 2555

					color = { 240 225 150 }
				}
				b_pesaro = {
					province = 2556

					color = { 240 225 150 }
				}
			}
			c_fermo = {
				color = { 153 103 68 }
				#can_be_named_after_dynasty = no

				b_fermo = {
					province = 2598

					color = { 210 210 175 }
				}
				b_ascoli_piceno = {
					province = 2597

					color = { 210 210 175 }
				}

			}			
		}
		d_latium = {
			color = { 239 219 160 }
			#can_be_named_after_dynasty = no

			capital = c_roma # Rome

			c_roma = {
				#can_be_named_after_dynasty = no
				color = { 229 210 153 }

				b_roma = {
					province = 2575

					color = { 242 233 156 }
				}
				b_ostia = {
					province = 2576

					color = { 242 233 156 }
				}
				b_vaticano = {
					province = 2577

					color = { 242 233 156 }
				}
				b_palo = {
					province = 2578

					color = { 242 233 156 }
				}
				b_farfa = {
					province = 2579

					color = { 242 233 156 }
				}
			}
			c_capua = {
				color = { 255 233 170 }
				#can_be_named_after_dynasty = no
				b_terracina = {
					province = 2592

					color = { 242 253 136 }
				}
				b_gaeta = {
					province = 2593

					color = { 240 209 100 }
				}
				b_velletri = {
					province = 2590

					color = { 242 253 136 }
				}
			}
			c_rieti = {
				color = { 255 233 170 }			
				b_paterno = {
					province = 2574

					color = { 242 233 156 }
				}
			}	
			c_viterbo = {
				#can_be_named_after_dynasty = no
				color = { 255 243 209 }
				b_viterbo = {
					province = 2572

					color = { 212 203 116 }
				}
				b_sutri = {
					province = 2573

					color = { 212 203 116 }
				}
				b_civitavecchia = {
					province = 2571

					color = { 212 203 116 }
				}
			}

			c_tivoli = {
				#can_be_named_after_dynasty = no
				color = { 181 166 121 }

				b_tivoli = {
					province = 2589

					color = { 242 253 136 }
				}
				b_segni = {
					province = 2591

					color = { 242 253 136 }
				}
				b_cassino = {
					province = 2602

					color = { 240 209 100 }
				}
			}
		}
		d_spoleto = {
			color = { 229 210 114 }

			capital = c_spoleto # Spoleto

			c_spoleto = {
				color = { 204 187 102 }

				b_spoleto = {
					province = 2585

					color = { 197 162 133 }
				}
				b_perugia = {
					province = 2566

					color = { 197 172 163 }
				}
				b_assissi = { #Assisi
					province = 2581

					color = { 197 162 133 }
				}
				b_gubbio = {
					province = 2582

					color = { 245 245 195 }
				}		
			}
			c_orvieto = {
				color = { 255 233 127 }

				b_orvieto = {
					province = 2568

					color = { 197 172 163 }
				}
				b_terni = {
					province = 2586

					color = { 197 162 133 }
				}
			}
		}
	}
	
	k_sicily = {
		color = { 114 210 229 }
		#can_be_named_after_dynasty = no

		capital = c_napoli #	Palermo

		cultural_names = {
			name_list_albanian = cn_sicilise
		}

		ai_primary_priority = {
			if = {
				limit = {
					OR = {
						culture = culture:italian
						culture = culture:norman
					}
				}
				add = @correct_culture_primary_score
			}
		}

		d_napoli = {
			color = { 47 179 191 }
			#can_be_named_after_dynasty = no

			capital = c_napoli # Capua
	
			c_napoli = {
				color = { 51 191 204 }
				#can_be_named_after_dynasty = no

				b_napoli = {
					province = 2608

					color = { 230 225 90 }
				}
				b_amalfi = {
					province = 2611

					color = { 230 225 90 }
				}

			}
			c_caserta = {
				color = { 44 167 178 }
				#can_be_named_after_dynasty = no
				b_aversa = {
					province = 8756

					color = { 230 225 90 }
				}
				b_capua = {
					province = 2606

					color = { 240 209 100 }
				}
			}	
			c_benevento = {
				color = { 57 215 229 }
				#can_be_named_after_dynasty = no
				b_benevento = {
					province = 2609

					color = { 189 150 55 }
				}
				b_alife = {
					province = 2669

					color = { 189 150 55 }
				}
				b_ariano = {
					province = 8757

					color = { 189 150 55 }
				}
			}
			c_salerno = {
				color = { 38 143 153 }
				#can_be_named_after_dynasty = no
				b_salerno = {
					province = 2612

					color = { 245 194 199 }
				}
				b_policastro = {
					province = 8754

					color = { 245 194 199 }
				}
				b_battipaglia = {
					province = 9758

					color = { 245 194 199 }
				}
			}
		}

		d_abruzzo = {
			color = { 133 214 242 }
			#can_be_named_after_dynasty = no

			capital = c_lanciano

			c_lanciano = {
				color = { 126 203 229 }
				#can_be_named_after_dynasty = no
				
				b_cluieli = { #Chieti
					province = 2603

					color = { 167 102 103 }
				}
				b_lanciano = {
					province = 2604

					color = { 167 102 103 }
				}
				b_agnone = {
					province = 8759

					color = { 167 102 103 }
				}
			}

			c_abruzzi = {
				#can_be_named_after_dynasty = no
				color = { 133 214 242 }
				b_avezzano = {
					province = 2600

					color = { 157 132 123 }
				}				
				b_rieti = {
					province = 2588

					color = { 157 132 123 }
				}
			}
			c_teramo = {
				color = { 140 226 255 }
				#can_be_named_after_dynasty = no
				b_teramo = {
					province = 2596

					color = { 227 152 133 }
				}
				b_atri = {
					province = 2595

					color = { 227 152 133 }
				}
			}
			c_molise = {
				color = { 112 181 204 }
				#can_be_named_after_dynasty = no

				b_isernia = {
					province = 2607

					color = { 189 150 55 }
				}
				b_larino = {
					province = 2605

					color = { 169 150 45 }
				}
			}		
		}
		d_apulia = {
			color = { 108 180 216 }
			#can_be_named_after_dynasty = no

			capital = c_bari

			c_foggia = {
				color = { 102 170 204 }
				#can_be_named_after_dynasty = no

				b_lucera = {
					province = 2610

					color = { 169 150 45 }
				}
				b_vieste = {
					province = 8758

					color = { 169 150 45 }
				}
				b_siponto = {
					province = 2614

					color = { 152 157 48 }
				}
				b_troia = {
					province = 9760

					color = { 189 150 55 }
				}
			}
			c_bari = {
				color = { 114 191 229 }
				#can_be_named_after_dynasty = no

				b_bari = {
					province = 2619

					color = { 167 182 83 }
				}
				b_venosa = {
					province = 2618

					color = { 152 157 48 }
				}	
				b_trani = {
					province = 2623

					color = { 152 157 48 }
				}
				b_barletta = {
					province = 9761

					color = { 152 157 48 }
				}			
			}
			c_taranto = {
				color = { 89 148 178 }
				#can_be_named_after_dynasty = no
				b_taranto = {
					province = 2621

					color = { 167 182 83 }
				}
				b_matera = {
					province = 2624

					color = { 167 182 83 }

					cultural_names = {
						name_list_albanian = cn_materes
					}
				}
			}
			c_lecce = {
				color = { 127 212 255 }
				#can_be_named_after_dynasty = no

				b_lecce = {
					province = 8755

					color = { 187 172 83 }
				}
				b_brindisi = {
					province = 2622

					color = { 187 172 83 }
				}
				b_orlanto = {
					province = 2620

					color = { 187 172 83 }
				}
			}
		}	
		d_lucania = {
			color = { 66 139 191 }
			#can_be_named_after_dynasty = no

			capital = c_potenza

			cultural_names = {
				name_list_albanian = cn_bazilikata
			}

			c_potenza  = {
				color = { 71 148 204 }
				#can_be_named_after_dynasty = no
				
				cultural_names = {
					name_list_albanian = cn_potences
				}

				b_potenza = {
					province = 2616

					color = { 245 194 199 }

					cultural_names = {
						name_list_albanian = cn_potences
					}
				}
				b_melfi = {
					province = 2615

					color = { 189 150 55 }
				}
				b_stigliano = {
					province = 2632

					color = { 250 215 205 }
				}
				b_calvello = {
					province = 9767

					color = { 250 215 205 }
				}
				b_sapri = {
					province = 9765

					color = { 245 194 199 }
				}
			}
			c_matera = {
				color = { 62 130 178 }

				cultural_names = {
					name_list_albanian = cn_materes
				}
				b_camarda = {
					province = 2631

					color = { 250 215 205 }
				}
				b_tricario = {
					province = 9766

					color = { 250 215 205 }
				}
				b_acerenza = {
					province = 2617

					color = { 152 157 48 }
				}
			}	
		}

		d_calabria = {
			color = { 145 193 242 }
			#can_be_named_after_dynasty = no

			capital = c_reggio_calabria # Reggio

			cultural_names = {
				name_list_albanian = cn_kalabrise
			}
			c_reggio_calabria = {
				color = { 137 183 229 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_albanian = cn_rexhio_kalabrise
				}

				b_reggio_calabria = {
					province = 2627

					color = { 165 150 95 }
				}
				b_tropea = {
					province = 8751

					color = { 165 150 95 }
				}
			}
			c_cosenza = {
				color = { 153 204 255 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_albanian = cn_kozences
				}
				b_cosenza = {
					province = 2628

					color = { 170 132 80 }

					cultural_names = {
						name_list_albanian = cn_kozences
					}
				}
				b_castrovillari = {
					province = 2630

					color = { 170 132 80 }
				}
				b_belvedere = {
					province = 8752

					color = { 170 132 80 }
				}
				b_rossano = {
					province = 2629

					color = { 150 125 80 }
				}
				b_maratea = {
					province = 2613

					color = { 245 194 199 }
				}
			}
			c_catanzaro = {
				color = { 122 163 204 }
				#can_be_named_after_dynasty = no

				cultural_names = {
					name_list_albanian = cn_katanxaro
				}
				b_catanzaro = {
					province = 8753

					color = { 150 125 80 }

					cultural_names = {
						name_list_albanian = cn_katanxaro
					}
				}
				b_cotrone = { #Crotone
					province = 2625

					color = { 150 125 80 }

					cultural_names = {
						name_list_albanian = cn_krotones
					}
				}
				b_squilluce = {
					province = 2626

					color = { 165 150 95 }
				}
			}
		}
	}

	k_venice = {
		color = { 54 167 156 }
		capital = c_venezia # Venice
		#can_be_named_after_dynasty = no

		ai_primary_priority = {
			if = {
				limit = {
					culture = culture:italian
				}
				add = @correct_culture_primary_score
			}
		}

		d_venice = {
			color = { 38 153 133 }
			#can_be_named_after_dynasty = no

			capital = c_venezia # Venice

			c_venezia = {
				color = { 31 127 109 }
				#can_be_named_after_dynasty = no

				b_venezia = {
					province = 2517

					color = { 40 143 132 }
				}
				b_malamacco = {
					province = 8767

					color = { 40 143 132 }
				}
				b_caorle = {
					province = 2512

					color = { 155 255 175 }
				}
				b_mestre = {
					province = 2506

					color = { 40 143 132 }
				}
				b_chioggia = {
					province = 2504

					color = { 40 143 132 }
				}
			}	
		}
		d_eugenia = {
			color = { 57 191 146 }
			#can_be_named_after_dynasty = no

			capital = c_padua

			ai_primary_priority = {
				if = {
					limit = {
						culture = { has_cultural_pillar = heritage_central_germanic } # Unruoch of Friuli
					}
					add = @correct_culture_primary_score
				}
			}
			c_treviso = {
				color = { 53 178 134 }
				#can_be_named_after_dynasty = no

				b_treviso = {
					province = 2505

					color = { 160 225 210 }
				}
				b_ceneta = { # Conegliano
					province = 2511

					color = { 160 225 210 }
				}
				b_pieve = { # Belluno
					province = 9707

					color = { 55 55 70 }
				}
			}
			c_padua = {
				color = { 61 204 154 }
				#can_be_named_after_dynasty = no

				b_padua = {
					province = 2503

					color = { 130 215 190 }
				}
				b_este = {
					province = 8765

					color = { 130 215 190 }
				}
			}

			c_polesine = {
				color = { 45 153 115 }
				#can_be_named_after_dynasty = no

				b_rovigo = {
					province = 2525

					color = { 145 230 225 }
				}
				b_adria = {
					province = 2524

					color = { 145 230 225 }
				}
			}				
		}	
		d_friuli = {
			color = { 20 204 204 }
			#can_be_named_after_dynasty = no

			capital = c_aquileia

			ai_primary_priority = {
				if = {
					limit = {
						culture = { has_cultural_pillar = heritage_central_germanic } # Unruoch of Friuli
					}
					add = @correct_culture_primary_score
				}
			}

			c_aquileia = {
				color = { 17 178 178 }
				#can_be_named_after_dynasty = no

				b_trieste = {
					province = 2514

					color = { 170 255 170 }
				}
				b_aquileia = {
					province = 2508

					color = { 170 255 170 }
				}
				b_udine = {
					province = 2510

					color = { 170 255 170 }
				}
				b_grado = {
					province = 2507

					color = { 170 255 170 }
				}
				b_tolmezz = {
					province = 9708

					color = { 55 55 70 }
				}
			}

			c_friuli = {
				color = { 22 229 229 }
				#can_be_named_after_dynasty = no
				b_portogruaro = {
					province = 8766

					color = { 155 255 175 }
				}
				b_pordenone = {
					province = 2513

					color = { 155 255 175 }
				}
			}
		}

		d_verona = {
			color = { 28 140 84 }
			#can_be_named_after_dynasty = no

			capital = c_vicenza # Verona

			c_verona = {
				color = { 25 127 76 }
				#can_be_named_after_dynasty = no

				b_verona = {
					province = 2501

					color = { 150 245 210 }
				}
				b_lessinia = {
					province = 2502

					color = { 150 245 210 }
				}

				b_montagnana = {
					province = 2666

					color = { 130 215 190 }
				}
			}
			c_trent = {
				color = { 30 153 91 }

				b_trento = {
					province = 2499

					color = { 250 150 220 }
				}
				b_val_camonica = {	#Riva AKA Riva del Garda
					province = 2495

					color = { 250 150 220 }
				}
				b_vestone = {
					province = 8761

					color = { 250 150 220 }
				}	
			}
			c_vicenza = {
				color = { 20 102 61 }	
				#can_be_named_after_dynasty = no		
				b_vicenza = {
					province = 2509

					color = { 160 225 210 }
				}
				b_lonigo = {
					province = 2500

					color = { 130 215 190 }
				}
			}	
		}		
	}
}