e_baltic = {
    color = { 90 10 0 }

    capital = c_konigsberg

	k_lithuania = {
		color = { 90 10 0 }

		capital = c_kernave # Kernave

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

		d_lithuanians = {
			color = { 81 0 0 }

			capital = c_kernave # Kernave

			c_kernave = {
				color = { 140 28 28 }

				b_kernave = {
					province = 154

					color = { 140 28 28 }
				}
				b_vilnius = {
					province = 155

					color = { 140 28 28 }
				}
				b_vilkmerge = {
					province = 149

					color = { 140 28 28 }
				}
				b_utena = {
					province = 151

					color = { 90 10 10 }
				}
			}
			c_trakai = {
				color = { 100 28 28 }

				b_trakai = {
					province = 153

					color = { 100 28 28 }
				}
				b_kaunas = {
					province = 130

					color = { 100 28 28 }
				}
				b_merkine = {
					province = 160

					color = { 100 28 28 }
				}
				b_aliten = {
					province = 162

					color = { 100 28 28 }
				}
				b_valkininkai = {
					province = 159

					color = { 100 28 28 }
				}
			}
			c_yatvyagi = {
				color = { 115 45 45 }

				b_panemune = {
					province = 156

					color = { 115 45 45 }
				}
				b_vilkaviskis = {
					province = 158

					color = { 115 45 45 }
				}
				b_suvalkai = {
					province = 157

					color = { 115 45 45 }
				}
				b_sejny = {
					province = 163

					color = { 115 45 45 }
				}
			}
		}

		d_prussia = {
			color = { 200 100 100 }

			capital = c_malbork # Truso

			c_malbork = {		#c_pomesania
				color = { 205 105 105 }

				b_elblag = {	#b_truso
					province = 2835

					color = { 205 105 105 }

					cultural_names = {
						name_list_franconian = cn_elbing
						name_list_saxon = cn_elbing
						name_list_swabian = cn_elbing
						name_list_bavarian = cn_elbing
						name_list_polish = cn_elblag
						name_list_pommeranian = cn_elblag
						name_list_polabian = cn_elblag
						name_list_lithuanian = cn_elbingas
					}
				}
				b_marienburg = {	#b_malbork
					province = 2834

					color = { 205 105 105 }

					cultural_names = {
						name_list_franconian = cn_marienburg
						name_list_saxon = cn_marienburg
						name_list_swabian = cn_marienburg
						name_list_bavarian = cn_marienburg
					}
				}
				b_graudenz = {	#b_kwedis
					province = 3197

					color = { 205 105 105 }

					cultural_names = {
						name_list_franconian = cn_marienwerder
						name_list_saxon = cn_marienwerder
						name_list_swabian = cn_marienwerder
						name_list_bavarian = cn_marienwerder
						name_list_polish = cn_kwidzyn
						name_list_pommeranian = cn_kwidzyn
						name_list_polabian = cn_kwidzyn
						name_list_lithuanian = cn_kvidzynas
					}
				}
				b_wislana = {	#b_weiksla
					province = 2831

					color = { 205 105 105 }

					cultural_names = {
						name_list_franconian = cn_stuttof
						name_list_saxon = cn_stuttof
						name_list_swabian = cn_stuttof
						name_list_bavarian = cn_stuttof
						name_list_polish = cn_sztutowo
						name_list_pommeranian = cn_sztutowo
						name_list_polabian = cn_sztutowo
					}
				}
			}
			c_wormditt = {	#c_warmia
				color = { 255 110 155 }

				b_wormditt = {	#b_wormedeten
					province = 3220

					color = { 255 110 155 }

					cultural_names = {
						name_list_franconian = cn_wormditt
						name_list_saxon = cn_wormditt
						name_list_swabian = cn_wormditt
						name_list_bavarian = cn_wormditt
						name_list_polish = cn_orneta
						name_list_pommeranian = cn_orneta
						name_list_polabian = cn_orneta
					}
				}
				b_mohrungen = {	#b_maurin
					province = 3201

					color = { 255 110 155 }

					cultural_names = {
						name_list_franconian = cn_mohrungen
						name_list_saxon = cn_mohrungen
						name_list_swabian = cn_mohrungen
						name_list_bavarian = cn_mohrungen
						name_list_polish = cn_morag
						name_list_pommeranian = cn_morag
						name_list_polabian = cn_morag
						name_list_lithuanian = cn_morongas
					}
				}
				b_braunsberg = {	#b_brus
					province = 3217

					color = { 255 110 155 }

					cultural_names = {
						name_list_franconian = cn_braunberg
						name_list_saxon = cn_braunberg
						name_list_swabian = cn_braunberg
						name_list_bavarian = cn_braunberg
						name_list_polish = cn_braniewo
						name_list_pommeranian = cn_braniewo
						name_list_polabian = cn_braniewo
						name_list_lithuanian = cn_prusa
					}
				}
			}
			c_natangia = {
				color = { 225 125 125 }

				b_laukitten = {	#b_pokarwis
					province = 3218

					color = { 225 125 125 }

					cultural_names = {
						name_list_franconian = cn_brandenburg_PRUS
						name_list_saxon = cn_brandenburg_PRUS
						name_list_swabian = cn_brandenburg_PRUS
						name_list_bavarian = cn_brandenburg_PRUS
						name_list_polish = cn_pokarmin
						name_list_pommeranian = cn_pokarmin
						name_list_polabian = cn_pokarmin
						name_list_lithuanian = cn_pokariviai
					}
				}
				b_paterswalde = {	#b_tapiau
					province = 3203

					color = { 225 125 125 }

				}
				b_ostlandsberg = {	#b_velowe
					province = 3219

					color = { 225 125 125 }

					cultural_names = {
						name_list_franconian = cn_wehlau
						name_list_saxon = cn_wehlau
						name_list_swabian = cn_wehlau
						name_list_bavarian = cn_wehlau
						name_list_polish = cn_welawa
						name_list_pommeranian = cn_welawa
						name_list_polabian = cn_welawa
						name_list_lithuanian = cn_veluva
					}
				}
			}
			c_konigsberg = {	#c_sambia
				color = { 200 105 130 }

				b_konigsberg = {	#b_twangste
					province = 3216

					color = { 200 105 130 }

					cultural_names = {
						name_list_franconian = cn_konigsberg
						name_list_saxon = cn_konigsberg
						name_list_swabian = cn_konigsberg
						name_list_bavarian = cn_konigsberg
						name_list_polish = cn_krolewiec
						name_list_pommeranian = cn_krolewiec
						name_list_polabian = cn_krolewiec
						name_list_lithuanian = cn_karaliaucius
					}
				}
				b_labiau = {	#b_kaup
					province = 122

					color = { 200 105 130 }
				}
			}
			c_bartenstein = {	#c_bartia
				color = { 230 165 165 }

				b_lautenburg = {	#b_lecbarg
					province = 3204

					color = { 230 165 165 }

					cultural_names = {
						name_list_franconian = cn_heilsberg
						name_list_saxon = cn_heilsberg
						name_list_swabian = cn_heilsberg
						name_list_bavarian = cn_heilsberg
						name_list_polish = cn_lidzbark
						name_list_pommeranian = cn_lidzbark
						name_list_polabian = cn_lidzbark
						name_list_lithuanian = cn_lidzbarkas
					}
				}
				b_bartenstein = {	#b_lyna
					province = 3205

					color = { 230 165 165 }

					cultural_names = {
						name_list_franconian = cn_bartenstein
						name_list_saxon = cn_bartenstein
						name_list_swabian = cn_bartenstein
						name_list_bavarian = cn_bartenstein
						name_list_polish = cn_bartoszyce
						name_list_pommeranian = cn_bartoszyce
						name_list_polabian = cn_bartoszyce
						name_list_lithuanian = cn_barstynas
					}
				}
				b_insterburg = {	#b_isrutis
					province = 3206

					color = { 230 165 165 }

					cultural_names = {
						name_list_franconian = cn_insterburg
						name_list_saxon = cn_insterburg
						name_list_swabian = cn_insterburg
						name_list_bavarian = cn_insterburg
						name_list_polish = cn_wystruc
						name_list_pommeranian = cn_wystruc
						name_list_polabian = cn_wystruc
					}
				}
				b_rastenburg = {	#b_aestia
					province = 3207

					color = { 230 165 165 }

					cultural_names = {
						name_list_franconian = cn_rastenburg
						name_list_saxon = cn_rastenburg
						name_list_swabian = cn_rastenburg
						name_list_bavarian = cn_rastenburg
						name_list_polish = cn_rastembork
						name_list_pommeranian = cn_rastembork
						name_list_polabian = cn_rastembork
						name_list_lithuanian = cn_kentsynas
					}
				}
			}
		}

		d_masuria = {
			color = { 160 95 105 }

			capital = c_torun # Chelmno

			c_torun = {		#c_chelmno
				color = { 150 85 95 }

				b_kulm = {	#b_chelmno
					province = 3198

					color = { 150 85 95 }

					cultural_names = {
						name_list_lithuanian = cn_kulmas
						name_list_franconian = cn_kulm
						name_list_saxon = cn_kulm
						name_list_swabian = cn_kulm
						name_list_bavarian = cn_kulm
					}
				}
				b_torun = {
					province = 3199

					color = { 150 85 95 }

					cultural_names = {
						name_list_lithuanian = cn_torune
						name_list_franconian = cn_thorn
						name_list_saxon = cn_thorn
						name_list_swabian = cn_thorn
						name_list_bavarian = cn_thorn
					}
				}
				b_briesen = {	#b_wabrzezno
					province = 3202

					color = { 150 85 95 }

					cultural_names = {
						name_list_franconian = cn_briesen_PRUS
						name_list_saxon = cn_briesen_PRUS
						name_list_swabian = cn_briesen_PRUS
						name_list_bavarian = cn_briesen_PRUS
					}
				}
			}
			c_osterode = {		#c_sasna
				color = { 165 85 85 }

				b_eylau = {		#b_ylavia
					province = 3214

					color = { 165 85 85 }

					cultural_names = {
						name_list_polish = cn_ilawa
						name_list_pommeranian = cn_ilawa
						name_list_polabian = cn_ilawa
						name_list_lithuanian = cn_ylava
						name_list_franconian = cn_eylau
						name_list_saxon = cn_eylau
						name_list_swabian = cn_eylau
						name_list_bavarian = cn_eylau
					}
				}
				b_brodnica = {	#b_lubavia
					province = 3200

					color = { 165 85 85 }

					cultural_names = {
						name_list_polish = cn_brodnica
						name_list_pommeranian = cn_brodnica
						name_list_polabian = cn_brodnica
						name_list_lithuanian = cn_brodnica
						name_list_franconian = cn_brodnica_strasburg
						name_list_saxon = cn_brodnica_strasburg
						name_list_swabian = cn_brodnica_strasburg
						name_list_bavarian = cn_brodnica_strasburg
					}
				}
				b_osterode = {	#b_drweca
					province = 3213

					color = { 165 85 85 }

					cultural_names = {
						name_list_polish = cn_ostroda
						name_list_pommeranian = cn_ostroda
						name_list_polabian = cn_ostroda
						name_list_lithuanian = cn_ostruda
						name_list_franconian = cn_osterode
						name_list_saxon = cn_osterode
						name_list_swabian = cn_osterode
						name_list_bavarian = cn_osterode
					}
				}
			}
			c_allenstein = {	#c_galindia
				color = { 155 100 130 }

				b_allenstein = {	#b_alnasteini
					province = 3212

					color = { 155 100 130 }

					cultural_names = {
						name_list_polish = cn_holstin
						name_list_pommeranian = cn_holstin
						name_list_polabian = cn_holstin
						name_list_lithuanian = cn_olstynas
						name_list_franconian = cn_allenstein
						name_list_saxon = cn_allenstein
						name_list_swabian = cn_allenstein
						name_list_bavarian = cn_allenstein
					}
				}
				b_ortelsburg = {	#b_sctino
					province = 3211

					color = { 155 100 130 }

					cultural_names = {
						name_list_polish = cn_szczytno
						name_list_pommeranian = cn_szczytno
						name_list_polabian = cn_szczytno
						name_list_lithuanian = cn_sctnas
						name_list_franconian = cn_ortulfsburg
						name_list_saxon = cn_ortulfsburg
						name_list_swabian = cn_ortulfsburg
						name_list_bavarian = cn_ortulfsburg
					}
				}
				b_niedenburg = {	#b_nidzia
					province = 3215

					color = { 155 100 130 }

					cultural_names = {
						name_list_polish = cn_nibork
						name_list_pommeranian = cn_nibork
						name_list_polabian = cn_nibork
						name_list_lithuanian = cn_nidzica
						name_list_franconian = cn_neidenburg
						name_list_saxon = cn_neidenburg
						name_list_swabian = cn_neidenburg
						name_list_bavarian = cn_neidenburg
					}
				}
			}
			c_angerburg = {	#c_sudovia
				color = { 175 85 105 }

				b_lotzen = {	#b_rins
					province = 3208

					color = { 175 85 105 }

					cultural_names = {
						name_list_polish = cn_lec
						name_list_pommeranian = cn_lec
						name_list_polabian = cn_lec
						name_list_lithuanian = cn_leiciu_pilis
						name_list_franconian = cn_lotzen
						name_list_saxon = cn_lotzen
						name_list_swabian = cn_lotzen
						name_list_bavarian = cn_lotzen
					}
				}
				b_lyck = {	#b_luks
					province = 3210

					color = { 175 85 105 }

					cultural_names = {
						name_list_polish = cn_lek
						name_list_pommeranian = cn_lek
						name_list_polabian = cn_lek
						name_list_lithuanian = cn_lukas
						name_list_franconian = cn_lyck
						name_list_saxon = cn_lyck
						name_list_swabian = cn_lyck
						name_list_bavarian = cn_lyck
					}
				}
				b_angerburg = {	#b_anger
					province = 3209

					color = { 175 85 105 }

					cultural_names = {
						name_list_polish = cn_wegobork
						name_list_pommeranian = cn_wegobork
						name_list_polabian = cn_wegobork
						name_list_lithuanian = cn_ungura
						name_list_franconian = cn_angirburg
						name_list_saxon = cn_angirburg
						name_list_swabian = cn_angirburg
						name_list_bavarian = cn_angirburg
					}
				}
			}
		}

		d_samogitia = {
			color = { 150 70 70 }

			capital = c_raseiniai # Samogitia

			c_raseiniai = { # Samogitia
				color = { 166 81 81 }

				b_raseiniai = {
					province = 124

					color = { 166 81 81 }

					cultural_names = {
						name_list_franconian = cn_raseinen
						name_list_saxon = cn_raseinen
						name_list_swabian = cn_raseinen
						name_list_bavarian = cn_raseinen
						name_list_swedish = cn_raseinen
						name_list_norse = cn_raseinen
						name_list_danish = cn_raseinen
						name_list_norwegian = cn_raseinen
					}
				}
				b_jurbarkas = {
					province = 123

					color = { 166 81 81 }

					cultural_names = {
						name_list_franconian = cn_georgenburg
						name_list_saxon = cn_georgenburg
						name_list_swabian = cn_georgenburg
						name_list_bavarian = cn_georgenburg
						name_list_swedish = cn_georgsborg
						name_list_norse = cn_georgsborg
						name_list_danish = cn_georgsborg
						name_list_norwegian = cn_georgsborg
					}
				}
				b_veliuona = {
					province = 129

					color = { 166 81 81 }
				}
				b_kedainiai = {
					province = 131

					color = { 166 81 81 }
				}
			}

			c_scalovia = {
				color = { 190 85 85 }

				b_ragnit = {
					province = 120

					color = { 190 85 85 }

					cultural_names = {
						name_list_pommeranian = cn_ragneta
						name_list_polish = cn_ragneta
						name_list_czech = cn_ragneta
						name_list_russian = cn_ragneta
						name_list_prussian = cn_ragnita
						name_list_lithuanian = cn_ragaine
						name_list_latgalian = cn_ragaine
					}
				}
				b_tilsit = {
					province = 119

					color = { 190 85 85 }
				}
			}
			c_memel = {
				color = { 166 85 85 }

				b_memel = {
					province = 118

					color = { 166 85 85 }
				}
				b_taurage = {
					province = 125

					color = { 166 85 85 }
				}
			}
			c_palanga = {
				color = { 150 95 95 }

				b_palanga = {
					province = 115

					color = { 150 95 95 }
				}
				b_medeniken = {
					province = 126

					color = { 150 95 95 }
				}
				b_telsiai = {
					province = 128

					color = { 150 95 95 }
				}
			}
			c_siauliai = {
				color = { 165 105 105 }

				b_siauliai = {
					province = 127

					color = { 165 105 105 }
				}
				b_upyte = {
					province = 132

					color = { 165 105 105 }
				}
				b_birzai = {
					province = 152

					color = { 165 105 105 }
				}
			}
		}
	}
	
	k_latvia = {
		color = { 110 35 35 }

		capital = c_vidzeme
		d_courland = {
			color = { 182 16 16 }

			capital = c_zemigalians # Kurzeme

			cultural_names = {
				name_list_prussian = cn_curonia
				name_list_lithuanian = cn_curonia
				name_list_latgalian = cn_curonia
				name_list_estonian = cn_curonia
				name_list_franconian = cn_kurland
				name_list_saxon = cn_kurland
				name_list_swabian = cn_kurland
				name_list_bavarian = cn_kurland
				name_list_swedish = cn_kurland
				name_list_norse = cn_kurland
				name_list_danish = cn_kurland
				name_list_norwegian = cn_kurland
			}

			c_zemigalians = {
				color = { 200 40 40 }

				cultural_names = {
					name_list_latgalian = cn_zemgale
					name_list_lithuanian = cn_ziemgala
					name_list_franconian = cn_semgallen
					name_list_saxon = cn_semgallen
					name_list_swabian = cn_semgallen
					name_list_bavarian = cn_semgallen
				}

				#b_riga = {
				#}
				#b_bauska = {
				#}
				#b_skaistkalne = {
				#}
				#b_mezotne = {
				#}
				#b_cruczeborch = {
				#}
				#b_selpils = {
				#}
				#b_remigala = {
				#}
				#b_jelgava = {
				#}
				b_uxkull = { # actually Jurmala b_jurmala
					province = 104

					color = { 125 50 50 }
				}
				b_dobele = {
					province = 106

					color = { 200 40 40 }

					cultural_names = {
						name_list_franconian = cn_dobeln
						name_list_saxon = cn_dobeln
						name_list_swabian = cn_dobeln
						name_list_bavarian = cn_dobeln
					}
				}
				b_mitau = {
					province = 107

					color = { 200 40 40 }
				}
				b_bauska = {
					province = 105

					color = { 200 40 40 }
				}
				b_neuenburg = {
					province = 121

					color = { 200 40 40 }
				}
			}
			c_vanemane = {
				color = { 182 24 24 }

				b_piltene = {
					province = 110

					color = { 182 24 24 }
				}
				b_dundaga = {
					province = 117

					color = { 182 24 24 }
				}
				b_kandava = {
					province = 112

					color = { 182 24 24 }
				}
			}
			c_grobin = {
				color = { 160 35 35 }

				b_grobin = {
					province = 114

					color = { 160 35 35 }
				}
				b_bandava = {
					province = 113

					color = { 160 35 35 }
				}
				b_duvzare = {
					province = 116

					color = { 160 35 35 }
				}
				b_ceklis = {
					province = 111

					color = { 160 35 35 }
				}
			}
			c_selpils = {
				color = { 192 14 14 }

				b_selpils = {
					province = 133

					color = { 192 14 14 }
				}
				b_oknist = {
					province = 150

					color = { 192 14 14 }
				}
			}
		}
		d_latgalians = {
			color = { 110 35 35 }

			capital = c_vidzeme
			c_vidzeme = {
				color = { 125 50 50 }

				b_riga = {
					province = 108

					color = { 200 40 40 }
				}

				b_lemisele = {
					province = 101

					color = { 125 50 50 }

					cultural_names = {
						name_list_franconian = cn_lemsal
						name_list_saxon = cn_lemsal
						name_list_swabian = cn_lemsal
						name_list_bavarian = cn_lemsal
						name_list_swedish = cn_lemsal
						name_list_norse = cn_lemsal
						name_list_danish = cn_lemsal
						name_list_norwegian = cn_lemsal
					}
				}
				b_salacgriva = {
					province = 148

					color = { 125 50 50 }

					cultural_names = {
						name_list_franconian = cn_salismunde
						name_list_saxon = cn_salismunde
						name_list_swabian = cn_salismunde
						name_list_bavarian = cn_salismunde
					}
				}
			}
			c_talava = {
				color = { 100 30 40 }

				b_valmiera = {
					province = 102

					color = { 100 35 40 }

					cultural_names = {
						name_list_franconian = cn_wolmar
						name_list_saxon = cn_wolmar
						name_list_swabian = cn_wolmar
						name_list_bavarian = cn_wolmar
					}
				}
				b_venden = {
					province = 109

					color = { 100 35 40 }

					cultural_names = {
						name_list_franconian = cn_wenden
						name_list_saxon = cn_wenden
						name_list_swabian = cn_wenden
						name_list_bavarian = cn_wenden
					}
				}
				b_rauna = {
					province = 142

					color = { 100 35 40 }

					cultural_names = {
						name_list_franconian = cn_ronneburg
						name_list_saxon = cn_ronneburg
						name_list_swabian = cn_ronneburg
						name_list_bavarian = cn_ronneburg
					}
				}
			}
			c_kokenois = {
				color = { 100 50 50 }

				cultural_names = {
					name_list_franconian = cn_kokenhusen
					name_list_saxon = cn_kokenhusen
					name_list_swabian = cn_kokenhusen
					name_list_bavarian = cn_kokenhusen
					name_list_russian = cn_kukeinos
					name_list_polish = cn_koknese
					name_list_lithuanian = cn_koknese
				}

				b_kokenois = {
					province = 103

					color = { 100 50 50 }

					cultural_names = {
						name_list_franconian = cn_kokenhusen
						name_list_saxon = cn_kokenhusen
						name_list_swabian = cn_kokenhusen
						name_list_bavarian = cn_kokenhusen
						name_list_russian = cn_kukeinos
						name_list_polish = cn_koknese
						name_list_lithuanian = cn_koknese
					}
				}
				b_cesvaine = {
					province = 139

					color = { 100 50 50 }

					cultural_names = {
						name_list_franconian = cn_sesswegen
						name_list_saxon = cn_sesswegen
						name_list_swabian = cn_sesswegen
						name_list_bavarian = cn_sesswegen
					}
				}
				b_lennewarden = {
					province = 134

					color = { 100 50 50 }
				}
			}
			c_jersika = {
				color = { 90 35 35 }

				cultural_names = {
					name_list_franconian = cn_gerzika
					name_list_saxon = cn_gerzika
					name_list_swabian = cn_gerzika
					name_list_bavarian = cn_gerzika
				}

				b_jersika = {
					province = 136

					color = { 90 35 35 }

					cultural_names = {
						name_list_franconian = cn_gerzika
						name_list_saxon = cn_gerzika
						name_list_swabian = cn_gerzika
						name_list_bavarian = cn_gerzika
					}
				}
				b_jekabpils = {
					province = 135

					color = { 90 35 35 }

					cultural_names = {
						name_list_franconian = cn_jakobstadt
						name_list_saxon = cn_jakobstadt
						name_list_swabian = cn_jakobstadt
						name_list_bavarian = cn_jakobstadt
					}
				}
				b_daugavpils = {
					province = 137

					color = { 90 35 35 }

					cultural_names = {
						name_list_franconian = cn_dunaburg
						name_list_saxon = cn_dunaburg
						name_list_swabian = cn_dunaburg
						name_list_bavarian = cn_dunaburg
					}
				}
				b_rezekne = {
					province = 138

					color = { 90 35 35 }

					cultural_names = {
						name_list_franconian = cn_rositten
						name_list_saxon = cn_rositten
						name_list_swabian = cn_rositten
						name_list_bavarian = cn_rositten
					}
				}
			}
			c_aluksne = {
				color = { 110 45 50 }

				b_aluksne = {
					province = 141

					color = { 110 45 50 }

					cultural_names = {
						name_list_franconian = cn_marienburg
						name_list_saxon = cn_marienburg
						name_list_swabian = cn_marienburg
						name_list_bavarian = cn_marienburg
					}
				}
				b_gulbene = {
					province = 140

					color = { 110 45 50 }

					cultural_names = {
						name_list_franconian = cn_schwanenburg
						name_list_saxon = cn_schwanenburg
						name_list_swabian = cn_schwanenburg
						name_list_bavarian = cn_schwanenburg
					}
				}
			}
		}
	}

	k_esthonia = {
		color = { 130 73 45 }

		capital = c_reval

		can_create = {
			trigger_if = {
				limit = {
					is_ai = yes
				}
				culture = { has_cultural_pillar = heritage_balto_finnic }
			}
		}

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

		d_esthonia = {
			color = { 150 75 75 }

			capital = c_reval # Kalevan

			c_reval = {
				color = { 160 85 85 }

				cultural_names = {
					name_list_swedish = cn_reval
					name_list_danish = cn_reval
					name_list_norwegian = cn_reval
					name_list_norse = cn_rafala
					name_list_franconian = cn_reval
					name_list_saxon = cn_reval
					name_list_swabian = cn_reval
					name_list_bavarian = cn_reval
				}

				b_reval = {
					province = 94

					color = { 160 85 85 }

					cultural_names = {
						name_list_swedish = cn_rafala
						name_list_danish = cn_rafala
						name_list_norwegian = cn_rafala
						name_list_norse = cn_rafala
						name_list_franconian = cn_reval
						name_list_saxon = cn_reval
						name_list_swabian = cn_reval
						name_list_bavarian = cn_reval
					}
				}
				b_harjumaa = {
					province = 95

					color = { 160 85 85 }
				}
				b_jarva = {
					province = 96

					color = { 160 85 85 }
				}
			}
			c_narva = {
				color = { 175 55 55 }

				cultural_names = {
					name_list_swedish = cn_narva
					name_list_danish = cn_narva
					name_list_norwegian = cn_narva
					name_list_norse = cn_narva
					name_list_franconian = cn_narva
					name_list_saxon = cn_narva
					name_list_swabian = cn_narva
					name_list_bavarian = cn_narva
				}

				b_narva = {
					province = 98

					color = { 175 55 55 }
				}
				b_wesenburg = {
					province = 97

					color = { 175 55 55 }

					cultural_names = {
						name_list_franconian = cn_wesenburg
						name_list_saxon = cn_wesenburg
						name_list_swabian = cn_wesenburg
						name_list_bavarian = cn_wesenburg
					}
				}
				b_poltsamaa = {
					province = 146

					color = { 115 5 5 }

					cultural_names = {
						name_list_estonian = cn_mohu
					}
				}
			}
			c_osel = {
				color = { 101 48 48 }

				cultural_names = {
					name_list_swedish = cn_osel
					name_list_norse = cn_osel
					name_list_danish = cn_osel
					name_list_norwegian = cn_osel
					name_list_franconian = cn_osel
					name_list_saxon = cn_osel
					name_list_swabian = cn_osel
					name_list_bavarian = cn_osel
				}

				b_kuressare = {
					province = 88

					color = { 101 48 48 }

					cultural_names = {
						name_list_swedish = cn_arensborg
						name_list_norse = cn_arensborg
						name_list_danish = cn_arensborg
						name_list_norwegian = cn_arensborg
						name_list_franconian = cn_arensburg
						name_list_saxon = cn_arensburg
						name_list_swabian = cn_arensburg
						name_list_bavarian = cn_arensburg
					}
				}
				b_maasilinna = {
					province = 89

					color = { 101 48 48 }

					cultural_names = {
						name_list_estonian = cn_poide
					}
				}
				b_muhu = {
					province = 90

					color = { 101 48 48 }

					cultural_names = {
						name_list_swedish = cn_moon
						name_list_norse = cn_moon
						name_list_danish = cn_moon
						name_list_norwegian = cn_moon
						name_list_franconian = cn_moon
						name_list_saxon = cn_moon
						name_list_swabian = cn_moon
						name_list_bavarian = cn_moon
					}
				}
				b_hiiumaa = {
					province = 91

					color = { 101 48 48 }
				}
			}
			c_wiek = {
				color = { 140 55 55 }

				cultural_names = {
					name_list_estonian = cn_laanemaa
				}

				b_hapsal = {
					province = 92

					color = { 140 55 55 }
				}
				b_leal = {
					province = 93

					color = { 140 55 55 }
				}
			}
			c_livs = {
				color = { 170 50 50 }

				b_parnu = {
					province = 99

					color = { 170 50 50 }

					cultural_names = {
						name_list_franconian = cn_pernau
						name_list_saxon = cn_pernau
						name_list_swabian = cn_pernau
						name_list_bavarian = cn_pernau
						name_list_polish = cn_parnawa
						name_list_lithuanian = cn_pernu
					}
				}
				b_viljandi = {
					province = 100

					color = { 170 50 50 }

					cultural_names = {
						name_list_franconian = cn_fellin
						name_list_saxon = cn_fellin
						name_list_swabian = cn_fellin
						name_list_bavarian = cn_fellin
					}
				}
				b_alistegunde = {
					province = 147

					color = { 170 50 50 }

					cultural_names = {
						name_list_franconian = cn_karkus
						name_list_saxon = cn_karkus
						name_list_swabian = cn_karkus
						name_list_bavarian = cn_karkus
					}
				}
			}
			c_dorpat = {
				color = { 115 5 5 }

				cultural_names = {
					name_list_norse = cn_dorpat
					name_list_swedish = cn_dorpat
					name_list_danish = cn_dorpat
					name_list_norwegian = cn_dorpat
					name_list_franconian = cn_dorpat
					name_list_saxon = cn_dorpat
					name_list_swabian = cn_dorpat
					name_list_bavarian = cn_dorpat
				}

				b_tartu = {
					province = 145

					color = { 115 5 5 }

					cultural_names = {
						name_list_norse = cn_dorpat
						name_list_swedish = cn_dorpat
						name_list_danish = cn_dorpat
						name_list_norwegian = cn_dorpat
						name_list_franconian = cn_dorpat
						name_list_saxon = cn_dorpat
						name_list_swabian = cn_dorpat
						name_list_bavarian = cn_dorpat
					}
				}
				b_vastseliina = {
					province = 143

					color = { 115 5 5 }

					cultural_names = {
						name_list_estonian = cn_voro
					}
				}
				b_valga = {
					province = 144

					color = { 115 5 5 }
				}
			}
		}

		#d_livonia = {
		#	color = { 110 50 50 }
		#
		#	capital = c_vidzeme
		#}
	}
}	