lets_making_horsies = {
	enable = {
		tag = DKR
		has_government = neutrality
	}
	abort = {
		always = no
	}

	ai_strategy = {
		type = role_ratio
		id = cavalry
		value = 400
	}		
}

build_anarchy_intelligence_agency = {
	enable = {
		tag = DKR
		has_completed_focus = DKR_left_side
	}
	abort = {
		always = no
	}

	ai_strategy = {
		type = intelligence_agency_usable_factories
		value = 5
	}

}

upgrade_anarchy_intelligence_agency = {
	enable = {
		tag = DKR
		num_of_civilian_factories > 20
	}
	abort = {
		always = no
	}

	ai_strategy = {
		type = intelligence_agency_usable_factories
		value = 5
	}
}

DKR_go_anarchy_seeding = {
	allowed = {
		tag = DKR
	}
	
	enable = {
		tag = DKR
		has_completed_focus = DKR_anarchy_seeding
		num_of_operatives > 1
		country_exists = ROM
	}
	abort_when_not_enabled = yes

	ai_strategy = {
		type = operative_operation
		operation = DKR_anarchy_on_export
		value = 2500
		operation_target = ROM
	}
	
	ai_strategy = {
		type = operative_mission
		mission = build_intel_network
		value = 1000
		mission_target = ROM
		num_operatives = 1
		state = 46 # Muntenia
	}
}

DKR_go_anarchy_war_to_ROM = {
	enable = {
		tag = DKR
		has_government = neutrality
		has_completed_focus = DKR_unlimited_anarchy
		has_army_manpower = { size > 249999 }
		country_exists = ROM
		ROM = {
			is_puppet = no
			has_capitulated = no		
		}
	}
	
	abort = {
		OR = {
			NOT = { country_exists = ROM }
			ROM = {	is_puppet = yes }
			ROM = {	has_capitulated = yes }		
		}
	}
	
	ai_strategy = {
		type = conquer
		id = "ROM"
		value = 200
	}
	ai_strategy = {
		type = antagonize
		id = "ROM"
		value = 200
	}
	ai_strategy = {
		type = declare_war
		id = "ROM"
		value = 200
	}
}

DKR_go_anarchy_war_to_POL = {
	enable = {
		tag = DKR
		has_government = neutrality
		has_completed_focus = DKR_unlimited_anarchy
		has_army_manpower = { size > 249999 }
		country_exists = POL
		POL = {
			is_puppet = no
			has_capitulated = no		
		}
		OR = {
			NOT = { country_exists = ROM }
			ROM = {	is_puppet = yes }
			ROM = {	has_capitulated = yes }		
		}
	}
	
	abort = {
		OR = {
			NOT = { country_exists = POL }
			POL = {	is_puppet = yes }
			POL = { has_capitulated = yes }		
		}
	}
	
	ai_strategy = {
		type = conquer
		id = "POL"
		value = 200
	}
	ai_strategy = {
		type = antagonize
		id = "POL"
		value = 200
	}
	ai_strategy = {
		type = declare_war
		id = "POL"
		value = 200
	}
}