decisions = {
	make_earth_capital = {
		is_high_prio = yes
		potential = {
			independent = yes
			has_landed_title = e_terran_confederation
			capital_scope = {
				NOT = { province_id = 202 }
			}
			any_realm_lord = {
				ai = yes
				has_landed_title = c_sol
			}
			any_realm_lord = {
				ai = yes
				has_landed_title = b_earth
			}
		}
		allow = {
			has_landed_title = e_terran_confederation
			any_realm_lord = { has_landed_title = c_sol }
		}
		effect = {
			custom_tooltip = {
				text = earth_capital
				hidden_tooltip = {
					ROOT = {
					    c_sol = {
						usurp_title_plus_barony_if_unlanded_and_vassals = PREV
						}
						b_earth = {
							usurp_title = PREV
						}
					}
					b_earth = {
						ROOT = { capital = PREV }
					}
					b_earth = { province_capital = yes }
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
}