Inside the mod, locate common\policies\afe_policies.txt (it's the only file, really)
Then, in that file, scroll all the way to the bottom. There are two relevant fields; potential and AI_weight. Potential dictates who can use the policy; as you'll see I've enabled it for militarists and xenophobes, and I threw in devouring swarms too for good measure. The AI_weight one tells the AI which is best, and the "factor = 10" means the weight (goodness) of armageddon is multiplied by 10 for anything inside the following OR bracket.
In short, if you want fanatic militarist AI to use armageddon bombing, add has_ethic = "ethic_fanatic_militarist" to the civics already in the AI_weight brackets.
If you don't want regular militarists to be able to use it at all, remove has_ethic = "ethic_militarist" from the potential bracket.
Code:
option = {
name = "orbital_bombardment_armageddon"
potential = {
OR = {
has_ethic = "ethic_militarist" # Everything in here can use armageddon bombardment
has_ethic = "ethic_fanatic_militarist"
has_ethic = "ethic_xenophobe"
has_ethic = "ethic_fanatic_xenophobe"
has_valid_civic = civic_hive_devouring_swarm
has_valid_civic = civic_fanatic_purifiers
has_valid_civic = civic_machine_terminator
}
}
policy_flags = {
orbital_bombardment_armageddon
}
modifier = {}
AI_weight = {
modifier = {
factor = 10
OR = {
has_valid_civic = civic_fanatic_purifiers # Only AI empires matching at least one of
has_valid_civic = civic_machine_terminator # these conditions will actually use it
}
}
}
}