PEM_rome_ally = {
	allowed = {
		original_tag = PEM
	}
	enable = {
	    ERE = { has_completed_focus = ERE_turntoouroldally }
		country_exists = ERE
	}
	abort = {
		NOT = { country_exists = ERE }
	}

	ai_strategy = {
		type = befriend
		id = ERE
		value = 200
	}
	ai_strategy = {
		type = alliance
		id = ERE
		value = 200
	}
}

PEM_i_hate_the_kaiserpakt = {
	allowed = {
		original_tag = PEM
	}
	enable = {
		country_exists = GEM
	}
	abort = {
		NOT = { country_exists = GEM }
	}

	ai_strategy = {
		type = ignore
		id = GEM
		value = 200
	}
	
	ai_strategy = {
		type = ignore
		id = GBB
		value = 200
	}
	
	ai_strategy = {
		type = ignore
		id = FAC
		value = 200
	}
}

PEM_what_is_eastrome_doing = {
	allowed = {
		original_tag = PEM
	}
	enable = {
		ERE = { focus_progress = {
			focus = ERE_ambition
			progress > 0.1
		}
     }
		country_exists = ERE
	}

	ai_strategy = {
		type = prepare_for_war
		id = ERE
		value = 100
	}

	ai_strategy = {
		type = force_concentration_front_factor
		tag = ERE
		value = 200
	}
}

PEM_what_is_eastrome_doing_2 = {
	allowed = {
		original_tag = PEM
	}
	enable = {
		ERE = { has_war_with_wargoal_against = {
    target = PEM
}
     }
		country_exists = ERE
	}

	ai_strategy = {
		type = prepare_for_war
		id = ERE
		value = 100
	}

	ai_strategy = {
		type = force_concentration_front_factor
		tag = ERE
		value = 200
	}
}

PEM_destroy_islam_once_and_for_all = {
	allowed = {
		original_tag = PEM
	}
	enable = {
	    ERE = { has_completed_focus = ERE_rectifythealliance }
		country_exists = AAC
	}
	abort = {
		NOT = { country_exists = AAC }
	}

	ai_strategy = {
		type = antagonize
		id = AAC
		value = 200
	}
	
	ai_strategy = {
		type = consider_weak
		id = AAC
		value = 200
	}
	
	ai_strategy = {
		type = conquer
		id = AAC
		value = 500
	}

}


