• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Beastro

Sergeant
22 Badges
May 17, 2012
88
5
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Crusader Kings II
  • Leviathan: Warships
  • Pillars of Eternity
  • Victoria 2
  • Cities: Skylines Deluxe Edition
  • Shadowrun Returns
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Have conducted two Holy Wars and converted a province and still no rise, the only bonus' I have are organized religion and holding Canterbury under my MA number.

Are these gained disabled for Lollardry and Waldensians (since they're so similar and unlike the other Catholic heresy's)? If so how I can enable it?

I switched back to Catholic quick to check and their MA list is working. Same bouncing around to other religions with the console.

Side question: I'm also planning down the line to change Fratricelli into Anglican with my monarch as head religious leader as well. What is needed to do that? I've peeked around the religious file and don't see anything standing out in it that would do that unless creating the Frat-Pope is equivalent to reforming a Pagan religion, which i doubt.

If I just create the Frat-Pope is there anyway to make the Papal-ship hereditary after I console rip it to me?

Edit: Messed around with console converting provinces and noticed on the Catholic list that their MA isn't being reduced...
 
Last edited:
For some reasons, MA gain and loss from Holy Wars and Crusades has been disabled for all heresies in CK+, though your Lollard Holy Wars against Catholics should still reduce their MA by 3%. As for your side question, I'm not really profficient with title modding, so can't help you with that, sorry.
 
For some reasons, MA gain and loss from Holy Wars and Crusades has been disabled for all heresies in CK+, though your Lollard Holy Wars against Catholics should still reduce their MA by 3%. As for your side question, I'm not really profficient with title modding, so can't help you with that, sorry.

Wonder how that can be reenabled... I play a fairly tight game, RPing and keeping many places historical using the console and save editing. Map painting and wanting Catholicism tanking isn't what I'm after.

Next holy war I'll keep an eye on Catholic MA and see what happens. Could be a previous HW effect wore off around the same time mine got added on.

Thx!
 
Wonder how that can be reenabled... I play a fairly tight game, RPing and keeping many places historical using the console and save editing. Map painting and wanting Catholicism tanking isn't what I'm after.

Next holy war I'll keep an eye on Catholic MA and see what happens. Could be a previous HW effect wore off around the same time mine got added on.

Thx!
Actually, it is quite easy to reenable MA changes for heretics, atleast when it comes to HW's and Crusades. It's one of the changes I do every CK+ update. Feel free to copy and paste the following over crusade and
crusade = {
name = CB_NAME_CRUSADE
war_name = WAR_NAME_CRUSADE
sprite = 9
truce_days = 3650
is_permanent = yes
is_holy_war = yes
battle_warscore_mult = 0.5
check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes

allowed_to_target_tributaries = no
allowed_to_target_suzerains = no

can_use_gui = {
ROOT = { NOT = { has_character_modifier = holy_truce_timer } }
FROM = {
NOR = {
has_character_modifier = holy_truce_timer
has_character_modifier = crusade_block_timer
}
}
ROOT = { # The Religious Head
has_called_crusade = no
religion_authority = 0.4
NOT = {
has_character_modifier = crusade_timer
AND = {
trait = bad_priest_christian
NOT = { has_global_flag = fourth_crusade_happened }
}
}
OR = {
religion_group = zoroastrian_group
religion_group = jewish_group
AND = {
religion_group = pagan_group
custom_tooltip = {
text = CTT_PAGAN_GHWS_UNLOCKED
has_global_flag = pagan_ghws_unlocked
}
}
AND = {
religion_group = christian
custom_tooltip = {
text = CTT_CHRISTIAN_CRUSADES_UNLOCKED
has_global_flag = christian_crusades_unlocked
}
}
AND = {
religion_group = muslim
custom_tooltip = {
text = CTT_MUSLIM_JIHADS_UNLOCKED
has_global_flag = muslim_jihads_unlocked
}
}
}
mercenary = no
}
}

can_use = {
ROOT = { ai_not_busy_trigger = yes }
ROOT = { NOT = { has_character_modifier = holy_truce_timer } }
FROM = { NOT = { has_character_modifier = holy_truce_timer } }
ROOT = {
can_call_crusade = yes
any_demesne_title = { NOT = { controls_religion = yes } }
OR = {
NOT = { religion = cathar }
has_global_flag = cathar_war
}
}

FROM = {
OR = {
NOT = { religion_group = ROOT }
is_heresy_of = ROOT
is_parent_religion = ROOT
AND = {
religion_group = pagan_group
NOT = { religion = ROOT }
}
AND = {
ROOT = { religion = paulician }
NOT = { religion = ROOT }
}
AND = {
ROOT = { religion = kharijite }
NOT = { religion = ROOT }
}
AND = {
ROOT = {
OR = {
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
}
has_global_flag = fourth_crusade_ongoing
}
}
}
}

can_use_title = {
FROM = {
any_realm_title = {
de_jure_liege_or_above = PREVPREV
}

independent = yes
in_revolt = no # Don't declare Crusades on revolters - chances are high the war will invalidate

num_of_realm_counties = {
value = 6
title = PREV
}
}

OR = {
# religion head is a player
ROOT = { ai = no }
# the target owns a holy site within that kingdom title
FROM = {
any_realm_title = {
de_jure_liege_or_above = PREVPREV
is_holy_site = ROOT
}
}
# the target owns a province of the religion within that kingdom title
FROM = {
any_realm_title = {
tier = COUNT
de_jure_liege_or_above = PREVPREV
location = { religion = ROOT }
}
}
# a ruler of the religion either owns a province in that kingdom or is neighboring
any_direct_de_jure_vassal_title = {
any_direct_de_jure_vassal_title = {
location = {
OR = {
owner = { religion = ROOT }
any_neighbor_province = { owner = { religion = ROOT } }
}
}
}
}
}
}

on_add = {
ROOT = {
add_character_modifier = {
name = "crusade_timer"
duration = 14600
hidden = no
inherit = yes
}
}
}

is_valid = {
ROOT = {
can_call_crusade = yes
}
FROM = {
OR = {
NOT = { religion_group = ROOT }
is_heresy_of = ROOT
is_parent_religion = ROOT
AND = {
religion_group = pagan_group
NOT = { religion = ROOT }
}
AND = {
ROOT = { religion = paulician }
NOT = { religion = ROOT }
}
AND = {
ROOT = { religion = kharijite }
NOT = { religion = ROOT }
}
AND = {
ROOT = {
OR = {
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
}
has_global_flag = fourth_crusade_ongoing
}
}
}
}

is_valid_title = {
FROM = {
any_realm_title = {
de_jure_liege_or_above = PREVPREV
}
}
}

on_success_title = {
log = "[Root.GetBestName] (ID: [Root.GetID]) succeeded with their crusade for the [This.GetFullName] against [From.GetBestName] (ID: [From.GetID])"
#change imperial decadence
ROOT = { imperial_decadence_minus_2_effect = yes }
FROM = { imperial_decadence_plus_2_effect = yes }

hidden_tooltip = {
any_attacker = {
add_character_modifier = { name = victory_timer duration = 1 hidden = yes }
}
ROOT = {
if = {
limit = {
OR = {
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
OR = {
has_global_flag = catholic_crusade_failed
has_global_flag = fourth_crusade_ongoing
}
}
clr_global_flag = catholic_crusade_failed
clr_global_flag = fourth_crusade_ongoing
}
}
}

pf_liege_change_under_title_begin_effect = yes

#first give the target kingdom to its current holder, if the holder is the same religion
if = {
limit = {
has_holder = yes
holder_scope = {
religion = ROOT
NOT = { same_realm = FROM }
}
}
holder_scope = {
add_character_modifier = { name = new_land_timer duration = 1 hidden = yes }
gain_settlements_under_title = {
title = PREV
enemy = FROM
is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants
type = holy_war
}
}
}
#then give the target kingdom to its de jure liege, if the holder is the same religion
if = {
limit = {
OR = {
has_holder = no
holder_scope = { NOT = { religion = ROOT } }
holder_scope = { same_realm = FROM }
}
dejure_liege_title = {
has_holder = yes
holder_scope = {
religion = ROOT
NOT = { same_realm = FROM }
}
}
}
dejure_liege_title = {
holder_scope = {
add_character_modifier = { name = new_land_timer duration = 1 hidden = yes }
gain_settlements_under_title = {
title = PREVPREV
enemy = FROM
is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants
type = holy_war
}
}
}
}
#then give the target kingdom to the most participating attacker
if = {
limit = {
OR = {
has_holder = no
holder_scope = { NOT = { religion = ROOT } }
holder_scope = { same_realm = FROM }
}
NOT = {
dejure_liege_title = {
has_holder = yes
holder_scope = {
religion = ROOT
NOT = { same_realm = FROM }
}
}
}
}
hidden_tooltip = {
most_participating_crusader = {
set_character_flag = crusade_victor
}
#other crusaders will request fiefs
any_attacker = {
limit = {
NOT = { has_character_flag = crusade_victor }
is_feudal = yes
higher_tier_than = BARON
demesne_size = 1
NOT = { religion_group = muslim }
}
character_event = { id = Plus.401 }
}
#add a strong claim to the best_crusade_claimant if not also the most_participating_attacker
if = {
limit = {
best_crusade_claimant = {
NOT = { has_character_flag = crusade_victor }
is_alive = yes
}
}
best_crusade_claimant = { PREV = { add_pressed_claim = PREV } }
}
most_participating_crusader = {
clr_character_flag = crusade_victor
}
}
most_participating_crusader = {
any_demesne_title = { set_title_flag = previous_holding }
any_vassal = { set_character_flag = previous_vassal }
primary_title = { save_event_target_as = current_title }
PREV = {
any_de_jure_vassal_title = {
limit = {
tier = COUNT
holder_scope = { same_realm = FROM }
location = {
NOT = { any_province_holding = { NOT = { holding_type = nomad } } }
NOT = { culture = PREVPREVPREV }
}
}
location = {
build_holding = { type = tribal }
any_province_holding = {
limit = { NOT = { holding_type = nomad } }
make_capital_holding = yes
}
}
}
}
gain_settlements_under_title = {
title = PREV
enemy = FROM
is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants
type = holy_war
}
#who to give crusade gains to?
hidden_tooltip = {
character_event = { id = Plus.400 }
}
if = {
limit = { NOT = { culture = PREV } }
hidden_tooltip = {
save_event_target_as = winning_crusader
PREV = { conquest_culture = event_target:winning_crusader }
}
}
hidden_tooltip = {
if = {
limit = { has_nickname = no }
random_list = {
10 = {
modifier = {
factor = 0
NOT = { religion_group = christian }
}
give_nickname = nick_the_crusader
}
10 = { give_nickname = nick_the_holy }
10 = { give_nickname = nick_the_glorious }
10 = { give_nickname = nick_the_lionheart }
10 = { give_nickname = nick_the_great }
10 = { give_nickname = nick_the_hammer }
10 = { give_nickname = nick_the_pilgrim }
40 = {
modifier = {
factor = 0
religion_group = christian
}
give_nickname = nick_the_sword_of_god
}
}
}
}
}
}

pf_liege_change_under_title_end_effect = yes

any_attacker = {
limit = { character = ROOT }
participation_scaled_piety = 1000
participation_scaled_prestige = 500
dynasty_head = {
if = {
limit = { uses_decadence = yes }
participation_scaled_decadence = -100
}
}
#faction mood boost
pf_tradition_plus4_effect = yes
pf_glory_plus2_effect = yes
}
any_attacker = {
limit = { NOT = { character = ROOT } }
hidden_tooltip = {
participation_scaled_piety = 1000
participation_scaled_prestige = 500
dynasty_head = {
if = {
limit = { uses_decadence = yes }
participation_scaled_decadence = -100
}
}
pf_tradition_plus4_effect = yes
pf_glory_plus2_effect = yes
}
}
any_attacker = {
limit = {
ai = no
NOT = { has_character_flag = achievement_crusader }
}
set_character_flag = achievement_crusader
}

FROM = {
prestige = -500
pf_glory_minus2_effect = yes
pf_tradition_minus4_effect = yes
}
hidden_tooltip = {
any_defender = {
limit = { NOT = { character = FROM } }
prestige = -250
}
}

ROOT = {
religion_authority = {
modifier = won_crusade
years = 20
}

}

FROM = {
religion_authority = {
modifier = lost_crusade
years = 20
}

}
#maintenance - shatter FROM empire if it's become too small (NYR)
hidden_tooltip = { FROM = { character_event = { id = Plus.303 } } }
}

on_fail = {
hidden_tooltip = {
if = {
limit = {
ROOT = {
OR = {
religion = chalcedonian
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
}
}
set_global_flag = catholic_crusade_failed
}
if = {
limit = {
ROOT = {
OR = {
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
}
has_global_flag = fourth_crusade_ongoing
}
clr_global_flag = fourth_crusade_ongoing
}
}
ROOT = {
prestige = -200
}
any_attacker = {
limit = { NOT = { character = ROOT } }
prestige = -100
}
FROM = {
participation_scaled_prestige = 100
participation_scaled_piety = 200
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -50
}
}
pf_tradition_minus4_effect = yes
}
any_defender = {
limit = { NOT = { character = FROM } }
hidden_tooltip = {
participation_scaled_prestige = 100
participation_scaled_piety = 200
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -50
}
}
}
pf_tradition_minus2_effect = yes
}
}

on_reverse_demand = {
#change imperial decadence
FROM = { imperial_decadence_minus_2_effect = yes }
ROOT = { imperial_decadence_plus_2_effect = yes }

FROM = {
add_character_modifier = { name = victory_timer duration = 1 hidden = yes }
pf_glory_plus2_effect = yes
pf_tradition_plus4_effect = yes
}
hidden_tooltip = {
if = {
limit = {
ROOT = {
OR = {
religion = chalcedonian
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
}
}
set_global_flag = catholic_crusade_failed
}
if = {
limit = {
ROOT = {
OR = {
religion = catholic
religion = cathar
religion = fraticelli
religion = waldensian
religion = lollard
religion = adoptionist
}
is_heretic = no
}
has_global_flag = fourth_crusade_ongoing
}
clr_global_flag = fourth_crusade_ongoing
}
}
ROOT = {
prestige = -500
pf_glory_minus2_effect = yes
pf_tradition_minus4_effect = yes
}
FROM = {
participation_scaled_prestige = 1000
participation_scaled_piety = 500
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -100
}
}
hidden_tooltip = {
if = {
limit = {
has_nickname = no
}
random_list = {
10 = { give_nickname = nick_the_holy }
10 = { give_nickname = nick_the_glorious }
10 = { give_nickname = nick_the_lionheart }
10 = { give_nickname = nick_the_great }
10 = { give_nickname = nick_the_hammer }
20 = {
modifier = {
factor = 0
religion_group = christian
}
give_nickname = nick_the_sword_of_god
}
}
}
}
}
hidden_tooltip = {
any_attacker = {
limit = { NOT = { character = ROOT } }
prestige = -250
}
any_defender = {
limit = { NOT = { character = FROM } }
hidden_tooltip = {
pf_glory_plus2_effect = yes
pf_tradition_plus4_effect = yes
participation_scaled_prestige = 1000
participation_scaled_piety = 500
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -100
}
}
}
}
}

FROM = {
religion_authority = {
modifier = won_crusade
years = 20
}

}

ROOT = {
religion_authority = {
modifier = lost_crusade
years = 20
}

}
}

attacker_ai_victory_worth = {
factor = -1 # always accept
}

attacker_ai_defeat_worth = {
factor = 100
}

defender_ai_victory_worth = {
factor = -1 # always accept
}

defender_ai_defeat_worth = {
factor = 100
}

ai_will_do = {
factor = 1
modifier = {
factor = 0.1
ROOT = {
religion_group = muslim
NOT = { religion = kharijite }
}
FROM = { religion = ibadi }
}
modifier = {
factor = 0.1
FROM = {
religion_group = muslim
NOT = { religion = kharijite }
}
ROOT = { religion = ibadi }
}
modifier = {
factor = 0
ROOT = {
religion = ibadi
NOT = { trait = zealous }
}
}
}
}
and over holy_war, both in 00_cb_types in CK2Plus/common/cb_types
#Holy War (renamed from vanilla "religious" CB, consolidated vanilla "religious" and "pagan_holy_war" CBs)
holy_war = {
name = CB_NAME_RELIGIOUS
war_name = WAR_NAME_RELIGIOUS
sprite = 9
truce_days = 3650
is_permanent = yes
can_ask_to_join_war = yes
is_holy_war = yes
check_de_jure_tier = DUKE

allowed_to_target_tributaries = no
allowed_to_target_suzerains = no

can_use_gui = {
ROOT = {
OR = {
custom_tooltip = {
text = HOLY_WAR_REGULAR
hidden_tooltip = {
piety = 100
NOT = { has_character_modifier = holy_war_timer }
}
}
custom_tooltip = {
text = HOLY_WAR_KHARIJITE
hidden_tooltip = {
piety = 100
religion = kharijite
}
}
piety = 250
custom_tooltip = {
text = HOLY_WAR_SANCTIONED
hidden_tooltip = {
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
}
}
controls_religion = yes
}
}
}

can_use_title = {
FROM = {
#neighbours or close
OR = {
any_realm_province = {
duchy = { title = PREVPREVPREV }
any_neighbor_province = {
owner = {
OR = {
is_liege_or_above = ROOT
character = ROOT
}
}
}
}
any_realm_province = {
duchy = { title = PREVPREVPREV }
ROOT = {
any_realm_province = {
NOT = { distance = { where = PREVPREV value = 75 } }
owner = {
OR = {
is_liege_or_above = PREVPREV
character = PREVPREV
}
}
}
}
}
}
}

#use reconquista instead
NAND = {
capital_scope = { region = world_europe_west_iberia }
ROOT = {
capital_scope = { region = world_europe_west_iberia }
independent = yes
religion_group = christian
is_heretic = no
}
FROM = {
independent = yes
religion_group = muslim
}
}

ROOT = {
num_of_count_titles = 1
is_nomadic = no
mercenary = no
#slow down holy wars between pagans and christians/muslims
OR = {
ai = no
FROM = { NOT = { religion_group = pagan_group } }
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
piety = 200
AND = {
religion_group = christian
has_global_flag = christian_crusades_unlocked
}
AND = {
religion_group = muslim
has_global_flag = muslim_jihads_unlocked
}
AND = {
religion_group = pagan_group
is_reformed_religion = yes
has_global_flag = pagan_ghws_unlocked
}
}
OR = {
ai = no
NOT = { religion_group = pagan_group }
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
piety = 200
AND = {
FROM = { religion_group = christian }
has_global_flag = christian_crusades_unlocked
}
AND = {
FROM = { religion_group = muslim }
has_global_flag = muslim_jihads_unlocked
}
AND = {
FROM = { religion_group = pagan_group }
has_global_flag = pagan_ghws_unlocked
}
}
#big grey blobs
OR = {
ai = no
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
NOR = {
has_landed_title = e_hre
has_landed_title = e_karling
any_liege = { has_landed_title = e_hre }
any_liege = { has_landed_title = e_karling }
}
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
piety = 300
}
#avoid invading west africa
OR = {
ai = no
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
AND = {
culture_group = west_african
FROM = { culture_group = west_african }
}
AND = {
NOT = { culture_group = west_african }
FROM = { NOT = { culture_group = west_african } }
}
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
piety = 300
}
#avoid invading east africa
OR = {
ai = no
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
AND = {
culture_group = east_african
FROM = { culture_group = east_african }
}
AND = {
NOT = { culture_group = east_african }
FROM = { NOT = { culture_group = east_african } }
}
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
piety = 300
}
#slow down Indian expansion outside of India
OR = {
ai = no
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
NOT = { religion_group = indian_group }
PREV = {
capital_scope = {
OR = {
region = world_india_deccan
region = world_india_bengal
region = world_india_rajastan
}
}
}
piety = 300
}
#orthodox AI should avoid holy wars for the most part
OR = {
ai = no
NOR = {
religion = orthodox
religion = bogomilist
religion = nestorian
religion = monothelite
religion = iconoclast
}
FROM = { religion_group = muslim }
PREV = { kingdom = { ROOT = { capital_scope = { kingdom = { title = PREVPREVPREV} } } } }
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
piety = 400
}
#christians should leave tengris alone
OR = {
ai = no
NOT = { religion_group = christian }
FROM = { NOT = { religion = tengri_pagan } }
has_global_flag = mongol_horde_arrival
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
piety = 400
}
#jewish AI should avoid holy wars for the most part
OR = {
ai = no
NOT = { religion_group = jewish_group }
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
piety = 400
}
#AI will usually only use the CB once every 5 years
OR = {
ai = no
NOT = { has_character_modifier = holy_war_timer }
PREV = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
}
}
}

can_use = {
ROOT = { ai_not_busy_trigger = yes }
ROOT = { NOT = { has_character_modifier = holy_truce_timer } }
FROM = {
NOR = {
has_character_modifier = holy_truce_timer
has_character_modifier = crusade_block_timer
}
}
ROOT = {
top_liege = { religion_group = PREV }
OR = {
NOT = { religion_group = pagan_group }
is_reformed_religion = yes
}
OR = {
is_patrician = no
independent = yes
}
OR = {
NOR = {
religion = hindu
religion = buddhist
}
FROM = { NOT = { religion_group = indian_group } }
}
OR = {
NOT = { religion = cathar }
has_global_flag = cathar_war
}
OR = {
NOT = { religion_group = FROM }
is_heresy_of = FROM
is_parent_religion = FROM
AND = {
OR = {
religion_group = muslim
religion_group = pagan_group
religion = paulician
}
NOT = { religion = FROM }
}
}
NOR = {
pacifist = yes
same_realm = FROM
}
}
}

is_valid = {
ROOT = {
NOT = { same_realm = FROM }
NOT = { pacifist = yes }
OR = {
NOT = { religion_group = FROM }
is_heresy_of = FROM
is_parent_religion = FROM
AND = {
OR = {
religion_group = muslim
religion_group = pagan_group
religion = paulician
}
NOT = { religion = FROM }
}
}
}
}

on_add_title = {
if = {
limit = {
any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } }
}
ROOT = { custom_tooltip = { text = NO_PIETY_COST_HOLY } }
}
if = {
limit = {
NOT = { any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } } }
ROOT = { has_opinion_modifier = { who = FROM modifier = holy_war_sanction } }
}
ROOT = { custom_tooltip = { text = NO_PIETY_COST_SANCTION } }
}
if = {
limit = {
NOT = {
any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } }
ROOT = { has_opinion_modifier = { who = FROM modifier = holy_war_sanction } }
}
ROOT = {
OR = {
NOT = { has_character_modifier = holy_war_timer }
controls_religion = yes
religion = kharijite
}
}
}
ROOT = { piety = -100 }
}
if = {
limit = {
NOR = {
any_direct_de_jure_vassal_title = { any_direct_de_jure_vassal_title = { is_holy_site = ROOT } }
ROOT = { has_opinion_modifier = { who = FROM modifier = holy_war_sanction } }
}
ROOT = {
has_character_modifier = holy_war_timer
controls_religion = no
NOT = { religion = kharijite }
}
}
ROOT = { piety = -250 }
}
if = {
limit = {
ROOT = { has_opinion_modifier = { who = FROM modifier = holy_war_sanction } }
}
hidden_tooltip = {
ROOT = { remove_opinion = { who = FROM modifier = holy_war_sanction } }
}
}
}

on_success = {
ROOT = {
imperial_decadence_minus_1_effect = yes
add_character_modifier = { name = victory_timer duration = 1 hidden = yes }
pf_glory_plus2_effect = yes
pf_tradition_plus4_effect = yes
}
FROM = {
imperial_decadence_plus_1_effect = yes
pf_glory_minus2_effect = yes
pf_tradition_minus4_effect = yes
}
any_attacker = {
limit = { character = ROOT }
participation_scaled_piety = 200
participation_scaled_prestige = 200
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -10
}
}
}
any_attacker = {
limit = { NOT = { character = ROOT } }
hidden_tooltip = {
participation_scaled_piety = 200
participation_scaled_prestige = 200
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -10
}
}
}
}

ROOT = {
religion_authority = {
modifier = won_holy_war
years = 20
}
hidden_tooltip = {
if = {
limit = {
has_nickname = no
religion_group = pagan_group
}
random_list = {
10 = { give_nickname = nick_the_dragon }
10 = { give_nickname = nick_the_holy }
10 = { give_nickname = nick_bloodaxe }
10 = { give_nickname = nick_the_great }
40 = { give_nickname = nick_the_sword_of_god }
}
}

}
}

FROM = {
religion_authority = {
modifier = lost_holy_war
years = 20
}

}
}

on_success_title = {
log = "[Root.GetBestName] (ID: [Root.GetID]) succeeded with their holy war for the [This.GetFullName] against [From.GetBestName] (ID: [From.GetID])"
hidden_tooltip = {
if = {
limit = {
has_holder = yes
holder_scope = {
OR = {
character = FROM
is_liege_or_above = FROM
}
}
}
set_global_flag = usurp_duchy
}
}
empty_province_effect = yes
pf_liege_change_under_title_begin_effect = yes

ROOT = {
hidden_tooltip = { add_character_modifier = { name = "holy_war_timer" duration = 1825 } }
vassalize_or_take_under_title = {
title = PREV
enemy = FROM
same_religion = yes # Only vassalize rulers of my religion
is_religious = yes
type = holy_war
}
}

hidden_tooltip = {
if = {
limit = {
has_global_flag = usurp_duchy
}
destroy_landed_title = yes
usurp_title = ROOT
clr_global_flag = usurp_duchy
}
#pick temple to grant if ruler has promised one
ROOT = {
if = {
limit = { has_character_flag = pledged_temple }
random_demesne_title = {
limit = {
tier = BARON
holding_type = temple
location = { duchy = { title = PREVPREVPREVPREV } }
}
save_event_target_as = granted_temple
ROOT = { character_event = { id = Plus.1659 } }
}
clr_character_flag = pledged_temple
}
}
}

pf_liege_change_under_title_end_effect = yes
}

on_fail = {
ROOT = {
clr_character_flag = pledged_temple
hidden_tooltip = { add_character_modifier = { name = "holy_war_timer" duration = 1825 } }
piety = -100
prestige = -100
}
}

on_reverse_demand = {
FROM = {
imperial_decadence_minus_1_effect = yes
add_character_modifier = { name = victory_timer duration = 1 hidden = yes }
pf_glory_plus2_effect = yes
pf_tradition_plus4_effect = yes
}
ROOT = {
imperial_decadence_plus_1_effect = yes
hidden_tooltip = { add_character_modifier = { name = "holy_war_timer" duration = 1825 } }
clr_character_flag = pledged_temple
piety = -200
prestige = -200
transfer_scaled_wealth = {
to = FROM
value = 4.0
}
pf_glory_minus2_effect = yes
pf_tradition_minus4_effect = yes
}
any_defender = {
limit = { character = FROM }
participation_scaled_prestige = 200
participation_scaled_piety = 200
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -10
}
}
}
any_defender = {
limit = { NOT = { character = FROM } }
hidden_tooltip = {
participation_scaled_prestige = 200
participation_scaled_piety = 200
dynasty_head = {
if = {
limit = {
uses_decadence = yes
}
participation_scaled_decadence = -10
}
}
}
}

FROM = {
religion_authority = {
modifier = won_holy_war
years = 20
}

}

ROOT = {
religion_authority = {
modifier = lost_holy_war
years = 20
}

}
}

attacker_ai_victory_worth = {
factor = -1 # always accept
}

attacker_ai_defeat_worth = {
factor = 100
}

defender_ai_victory_worth = {
factor = -1 # always accept
}

defender_ai_defeat_worth = {
factor = 100
}

ai_will_do = {
factor = 1
modifier = {
factor = 0
FROM = {
NOT = {
any_realm_province = {
duchy = { title = PREVPREVPREV }
any_neighbor_province = { owner = { same_realm = ROOT } }
}
}
}
ROOT = {
NOT = {
any_realm_province = {
TECH_NAVAL = 1
port = yes
}
}
}
}
modifier = {
factor = 1.2
FROM = {
independent = yes
NOT = { any_realm_title = { tier = COUNT count = 4 } }
}
}
modifier = {
factor = 1.2
any_direct_de_jure_vassal_title = {
location = { religion = ROOT }
}
}
modifier = {
factor = 25.0
ROOT = {
has_opinion_modifier = { who = FROM modifier = holy_war_sanction }
}
}
modifier = {
factor = 1.2
ROOT = {
trait = zealous
}
}
modifier = {
factor = 0.8
ROOT = {
trait = cynical
}
}
modifier = {
factor = 1.2
any_direct_de_jure_vassal_title = {
any_direct_de_jure_vassal_title = {
is_holy_site = ROOT
}
}
}
modifier = {
factor = 1.1
NOT = {
any_direct_de_jure_vassal_title = {
any_direct_de_jure_vassal_title = {
is_holy_site = ROOT
}
}
}
kingdom = {
any_direct_de_jure_vassal_title = {
any_direct_de_jure_vassal_title = {
any_direct_de_jure_vassal_title = {
is_holy_site = ROOT
}
}
}
}
}
# Try to guide the Hordes in the right direction
modifier = {
factor = 0.1
ROOT = {
OR = {
dynasty = 613 # Seljuks
dynasty = 800 # Timurids
primary_title = { title = e_il-khanate }
}
}
OR = {
capital_scope = {
OR = {
region = custom_bulgaria
region = custom_croatia
region = custom_serbia
region = custom_wallachia
region = custom_crimea
region = custom_cuman
region = custom_perm
region = custom_volga
region = custom_rus
region = world_india_bengal
region = world_india_deccan
region = world_india_rajastan
}
}
FROM = {
primary_title = { title = e_golden_horde }
NOT = { year = 1300 }
}
FROM = {
primary_title = { title = e_chagatai }
NOT = { year = 1300 }
}
}
}
modifier = {
factor = 0.1
ROOT = { primary_title = { title = e_golden_horde } }
OR = {
capital_scope = {
OR = {
region = custom_persia
region = custom_baluchistan
region = custom_afghanistan
region = custom_mesopotamia
region = custom_azerbaijan
region = custom_armenia
region = custom_trebizond
region = custom_nikaea
region = custom_byzantium
region = custom_norway
region = custom_sweden
region = custom_syria
region = custom_arabia
region = custom_jerusalem
region = custom_egypt
region = custom_africa
region = world_india_bengal
region = world_india_deccan
region = world_india_rajastan
}
}
FROM = {
primary_title = { title = e_il-khanate }
NOT = { year = 1300 }
}
FROM = {
primary_title = { title = e_chagatai }
NOT = { year = 1300 }
}
}
}
modifier = {
factor = 0.1
ROOT = {
primary_title = { title = e_chagatai }
}
OR = {
capital_scope = {
NOR = {
region = custom_baluchistan
region = custom_afghanistan
region = world_india_bengal
region = world_india_deccan
region = world_india_rajastan
}
}
FROM = {
primary_title = { title = e_il-khanate }
NOT = { year = 1300 }
}
FROM = {
primary_title = { title = e_chagatai }
NOT = { year = 1300 }
}
}
}
modifier = {
factor = 2.0
ROOT = {
OR = {
culture = persian
culture = baloch
culture = afghan
culture = turkish
}
}
capital_scope = {
OR = {
#Persian Empire
region = custom_persia
region = custom_afghanistan
region = custom_mesopotamia
region = custom_azerbaijan
}
}
}
modifier = {
factor = 0.1
ROOT = { religion_group = indian_group }
capital_scope = {
OR = {
region = custom_persia
region = custom_khwarizm
}
}
}
modifier = {
factor = 0.1
ROOT = {
OR = {
has_landed_title = e_byzantium
any_liege = { has_landed_title = e_byzantium }
}
}
capital_scope = {
OR = {
region = custom_cuman
region = custom_alania
region = custom_volga
region = custom_rus
}
}
}
modifier = {
factor = 0.5
ROOT = {
OR = {
has_landed_title = e_hre
has_landed_title = e_karling
any_liege = { has_landed_title = e_hre }
any_liege = { has_landed_title = e_karling }
}
}
capital_scope = {
OR = {
region = custom_denmark
region = custom_england
}
}
}
modifier = {
factor = 2.0
ROOT = {
OR = {
has_character_flag = is_charlemagne
has_landed_title = e_karling
any_liege = { has_landed_title = e_karling }
has_landed_title = e_hre
any_liege = { has_landed_title = e_hre }
}
}
capital_scope = {
OR = {
region = custom_germany
region = custom_pomerania
}
}
}
modifier = {
factor = 0.1
ROOT = { culture = hungarian }
capital_scope = {
OR = {
region = custom_cuman
region = custom_volga
region = custom_alania
region = custom_novgorod
region = custom_muscovy
region = custom_rus
region = custom_byzantium
}
}
}
modifier = {
factor = 0.1
ROOT = { culture = khazar }
capital_scope = {
OR = {
region = world_steppe_tarim
region = world_steppe_east
region = custom_cuman
region = custom_perm
region = custom_volga
}
}
}
modifier = {
factor = 1.5
ROOT = { culture = hungarian }
capital_scope = {
OR = {
region = custom_bulgaria
region = custom_carpathia
region = custom_croatia
}
}
}
modifier = {
factor = 0.1
ROOT = {
religion_group = muslim
NOT = { religion = kharijite }
}
FROM = { religion = ibadi }
}
modifier = {
factor = 0.1
FROM = {
religion_group = muslim
NOT = { religion = kharijite }
}
ROOT = { religion = ibadi }
}
modifier = {
factor = 0
ROOT = {
religion = ibadi
NOT = { trait = zealous }
}
}
}
}
 
Thanks.

Trying to learn the language to better tweak things. Is this what's setting it off?

limit = {
FROM = { is_heretic = no }
}

Edit: Looks like it is, put a fresh CKplus file back in and then removed those bits to test it and it works! Figure I should pick up bits to better understand the files while I'm at it. ;)

Edit Edit: Just hit me, where do I change the MA changes for province conversions?
 
Last edited:
  • 1
Reactions:
we'll discuss the CB in the team.

province conversion by lord spiritual is event 900, it adds the modifiers to both religions.
"heresy appears" event does not alter MA. having that would probably cause a chain reaction (more heresies appear, lower MA would be casing even more heresies to appear)