xorme_ai_estate = {
	icon = 5

	# If true, country will get estate
	trigger = {
		NOT = { is_subject_of_type = xorme_moh_administrative_district }
		ROOT = {
			ai = yes
			has_any_estates = yes
			num_of_provinces_in_states = 2
		}
	}

	# These scale with loyalty & power
	country_modifier_happy = {
	}
	country_modifier_neutral = {
	}	
	country_modifier_angry = {
	}
	land_ownership_modifier = {
	}

	province_independence_weight = {
		factor = 1
	}

	# Influence modifiers
	base_influence = 0

	loyalty_modifier = {
		desc = "NONE"
		trigger = {
			always = yes
		}
		loyalty = 30
	}

	color = { 200 150 0 }

	privileges = {
		estate_xorme_ai_supremacy_over_crown
	}

	agendas = {
		xorme_ai_agenda_conquer_core_province
		xorme_ai_agenda_recover_stability_in_country
		xorme_ai_agenda_prepare_to_war_with_country
		xorme_ai_agenda_conquer_neighbouring_province
		xorme_ai_agenda_build_production_building_in_province
		xorme_ai_agenda_build_tax_building_in_province
	}
	influence_from_dev_modifier = 0.01
}