I'd like to mod the Religious defense CB so that you can defend heretics against heathens.
For example, the orthodox Byzantines defending monophysite Abyssinia against the shia Caliphate. Or Catholic HRE defending the orthodox Byzantines against the sunni Seljuks. Etc.
Personally, I'm sick of seeing Ethiopia go down without a fight.
So, here, I think, is the relevant code:
Now, if I'm reading this right (and I haven't quite gotten the hang of the FROM and ROOT in CK2 files), if I were to edit the defender section like so, it would work the way I want, right?
Religion group woud allow it to apply for catholics defending orthodox, heresy would allow it to apply for orthodox defending bogomilists, and parent religion would allow it to apply for cathars defending catholic. Correct?
Or am I totally lost here?
For example, the orthodox Byzantines defending monophysite Abyssinia against the shia Caliphate. Or Catholic HRE defending the orthodox Byzantines against the sunni Seljuks. Etc.
Personally, I'm sick of seeing Ethiopia go down without a fight.
So, here, I think, is the relevant code:
Code:
can_use = {
FROM = {
any_war = {
using_cb = religious
attacker = {
character = PREVPREV
}
defender = {
religion = ROOT
}
}
}
ROOT = {
OR = {
NOT = { religion_group = FROM }
is_heresy_of = FROM
is_parent_religion = FROM
}
}
}
Now, if I'm reading this right (and I haven't quite gotten the hang of the FROM and ROOT in CK2 files), if I were to edit the defender section like so, it would work the way I want, right?
Code:
defender = {
OR = {
religion_group = ROOT
is_heresy_of = ROOT
is_parent_religion = ROOT
}
}
Religion group woud allow it to apply for catholics defending orthodox, heresy would allow it to apply for orthodox defending bogomilists, and parent religion would allow it to apply for cathars defending catholic. Correct?
Or am I totally lost here?
Last edited: