decisions = {
	make_wyzima_capital = {
		is_high_prio = yes
		
		only_rulers = yes
		
		potential = {
			NOT = { culture = wilderness }
			has_landed_title = k_temeria
			capital_scope = {
				NOT = { province_id = 5 }
			}
			any_realm_lord = { 
				ai = yes
				has_landed_title = c_wyzima
			}
			any_realm_lord = { 
				ai = yes
				has_landed_title = b_wyzima_castle
			}
		}
		allow = {
			has_landed_title = k_temeria
			any_realm_lord = { has_landed_title = c_wyzima }
		}
		effect = {
			custom_tooltip = {
				text = wyzima_capital
				hidden_tooltip = {
					b_wyzima_castle = { province_capital = yes }
					ROOT = {
						b_wyzima_castle = {
							usurp_title = PREV
						}
					}
					b_wyzima_castle = { 
						ROOT = { capital = PREV }
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	make_tretogor_capital = {
		is_high_prio = yes
		
		only_rulers = yes
		
		potential = {
			NOT = { culture = wilderness }
			has_landed_title = k_redania
			capital_scope = {
				NOT = { province_id = 5 }
			}
			any_realm_lord = { 
				ai = yes
				has_landed_title = c_tretogor
			}
			any_realm_lord = { 
				ai = yes
				has_landed_title = b_radkow
			}
		}
		allow = {
			has_landed_title = k_redania
			any_realm_lord = { has_landed_title = c_tretogor }
		}
		effect = {
			custom_tooltip = {
				text = tretogor_capital
				hidden_tooltip = {
					b_radkow = { province_capital = yes }
					ROOT = {
						b_radkow = {
							usurp_title = PREV
						}
					}
					b_radkow = { 
						ROOT = { capital = PREV }
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	make_nilfgaard_capital = {
		is_high_prio = yes
		
		only_rulers = yes
		
		potential = {
			NOT = { culture = wilderness }
			OR = {
				has_landed_title = k_nilfgaard
				has_landed_title = e_nilfgaard
			}
			capital_scope = {
				NOT = { province_id = 165 }
			}
			any_realm_lord = { 
				ai = yes
				has_landed_title = c_nilfgaard
			}
			any_realm_lord = { 
				ai = yes
				has_landed_title = b_imperial_palace
			}
		}
		allow = {
			OR = {
				has_landed_title = k_nilfgaard
				has_landed_title = e_nilfgaard
			}
			any_realm_lord = { has_landed_title = c_nilfgaard }
		}
		effect = {
			custom_tooltip = { text = nilfgaard_capital
				hidden_tooltip = {
					b_imperial_palace = { province_capital = yes }
					ROOT = {
						b_imperial_palace = {
							usurp_title = PREV
						}
					}
					b_imperial_palace = { 
						ROOT = { capital = PREV }
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
}