federation_empire = {
	strategy_weight = {
		modifier = {
			has_federation = yes
			weight = 10
		}
	}

	network_weight = {
		modifier = {
			target = {
				has_crisis_level = crisis_level_2 # Using second level here just to get some delay for getting targetted.
			}
			weight = 10
		}

		modifier = {
			# Rivals are we consider more of a threat than crisis, it is likely that crisis empires will become rivals in the end anyways if they matter.
			owner = {
				has_rival = root.target
			}
			weight = 10
		}

		modifier = {
			owner = {
				OR = {
					NOT = { is_neighbor_of = root.target }
					is_in_federation_with = root.target
				}
			}
			factor = -1 # Only spy on neighbours and not own federation members. Conserve envoys for federation duty!
		}
	}

	operation_selector = weighted_random_available

	operations = {
		operation_acquire_asset = {
			operation_policy = until_max_network_cap_policy

			target_value = {
				min = 1
			}
		}

		operation_steal_technology = {
			operation_policy = fix_chance_10

			target_value = {
				min = 1
			}
		}

		operation_gather_information = {
			operation_policy = fix_chance_10

			target_value = {
				min = 1
			}
		}
	}
}