############################################################################################################
#	Expert AI mod - generic
############################################################################################################

### PP priorities

EAI_MISC_default_pp_spend_amount = {
	enable = {
		always = yes
	}
	abort = { always = no }
	
	ai_strategy = {
		type = pp_spend_amount
		id = idea
		value = 100
	}
	
	ai_strategy = {
		type = pp_spend_amount
		id = decision
		value = 100
	}
}

EAI_MISC_PP_relation_prio = {
	enable = {
		has_political_power < 300
	}
	abort = {
		NOT = { has_political_power < 300 }
	}

	ai_strategy = {
		type = pp_spend_priority
		id = relation
		value = -9999
	}
}

###

EAI_MISC_tank_variant_creation = { # Mod manages land variant creation without NSB
	enable = {
		NOT = { has_dlc = "No Step Back" }
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = land_xp_spend_priority
		id = upgrade_xp_cutoff
		value = 999
	}
}

EAI_MISC_land_variant_creation = { # Mod manages land variant creation without NSB
	enable = {
		has_dlc = "No Step Back"
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = land_xp_spend_priority
		id = upgrade_xp_cutoff
		value = 210
	}
}

EAI_MISC_air_variant_creation = { # Mod manages air variant creation without BBA
	enable = {
		NOT = { has_dlc = "By Blood Alone" }
	}

	abort_when_not_enabled = yes

	ai_strategy = {
		type = air_xp_spend_priority
		id = upgrade_xp_cutoff
		value = 999
	}
}