Religion cleanup

This commit is contained in:
Heidesommer 2026-05-23 01:01:32 -04:00
parent 9fb98a6f4c
commit cd1a09e2c1
5 changed files with 194 additions and 520 deletions

View file

@ -998,10 +998,10 @@ dismantle_papacy_decision = { #For Muslims and Pagans.
is_shown = {
is_ruler = yes
is_playable_character = yes
faith:catholic = {
faith:roman_catholic = {
has_doctrine = doctrine_spiritual_head
}
faith:catholic = {
faith:roman_catholic = {
faith_hostility_level = {
target = root.faith
value >= faith_hostile_level

View file

@ -58,7 +58,7 @@ head_of_faith_pope = {
top_liege = no
}
governments = { theocracy_government }
faith = catholic
faith = roman_catholic
}
head_of_faith_female = {

View file

@ -832,7 +832,7 @@ restore_papacy_scripted_effect = {
}
}
resolve_title_and_vassal_change = scope:change
faith:catholic = {
faith:roman_catholic = {
change_fervor = {
value = 15
desc = fervor_gain_papacy_restored
@ -914,7 +914,7 @@ destroy_papacy_scripted_effect = {
}
# Catholicism is now sad.
faith:catholic = {
faith:roman_catholic = {
change_fervor = {
value = -100
desc = fervor_loss_papacy_destroyed

View file

@ -65,35 +65,26 @@ is_christian_trigger = {
not_non_catholic_standard_christian_faith_trigger = {
NOR = {
this = faith:orthodox
this = faith:iconoclast
this = faith:coptic
this = faith:armenian_apostolic
}
}
not_non_orthodox_standard_christian_faith_trigger = {
NOR = {
this = faith:catholic
this = faith:coptic
this = faith:armenian_apostolic
this = faith:roman_catholic
}
}
not_non_coptic_standard_christian_faith_trigger = {
NOR = {
this = faith:catholic
this = faith:roman_catholic
this = faith:orthodox
this = faith:iconoclast
this = faith:armenian_apostolic
}
}
not_non_armenian_standard_christian_faith_trigger = {
NOR = {
this = faith:catholic
this = faith:roman_catholic
this = faith:orthodox
this = faith:iconoclast
this = faith:coptic
}
}
@ -776,42 +767,42 @@ is_preferred_heresy = {
HERETICAL_FAITH = $HERETICAL_FAITH$
}
OR = {
#If we're Chistian, pick a heretical faiths which is in the same regional group as our origin faith (i.e., Lollards for Catholics, Iconoclasts for Orthodox, etc.)
AND = {
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
OR = {
faiths_are_in_western_christianity_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$ }
faiths_are_in_orthodox_christianity_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$ }
faiths_are_in_eastern_christianity_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$ }
}
}
#If we're Muslim, we want to stay within our 'branch' of Islam:
AND = {
religion_tag = islam_religion
OR = {
faiths_are_in_sunni_islam_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
faiths_are_in_shia_islam_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
faiths_are_in_muhakkima_islam_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
}
}
#If we're Zoroastrian, we don't want Sogdian faith in Armenia and vice versa
AND = {
religion_tag = zoroastrianism_religion
OR = {
faiths_are_eastern_zoroastrian = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
faiths_are_western_zoroastrian = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
}
}
#Otherwise, we don't have any special preferences.
NOT = {
religion_tag = islam_religion
OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
religion_tag = zoroastrianism_religion
}
}
# OR = {
# #If we're Chistian, pick a heretical faiths which is in the same regional group as our origin faith (i.e., Lollards for Catholics, Iconoclasts for Orthodox, etc.)
# AND = {
# OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
# OR = {
# faiths_are_in_western_christianity_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$ }
# faiths_are_in_orthodox_christianity_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$ }
# faiths_are_in_eastern_christianity_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$ }
# }
# }
#
# #If we're Muslim, we want to stay within our 'branch' of Islam:
# AND = {
# religion_tag = islam_religion
# OR = {
# faiths_are_in_sunni_islam_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
# faiths_are_in_shia_islam_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
# faiths_are_in_muhakkima_islam_group = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
# }
# }
# #If we're Zoroastrian, we don't want Sogdian faith in Armenia and vice versa
# AND = {
# religion_tag = zoroastrianism_religion
# OR = {
# faiths_are_eastern_zoroastrian = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
# faiths_are_western_zoroastrian = { FAITH_1 = $ORIGIN_FAITH$ FAITH_2 = $HERETICAL_FAITH$}
# }
# }
#
# #Otherwise, we don't have any special preferences.
# NOT = {
# religion_tag = islam_religion
# OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
# religion_tag = zoroastrianism_religion
# }
# }
}
is_valid_heresy = {
@ -828,48 +819,28 @@ is_valid_heresy = {
}
#Depending on the origin faith's religion/religion group, there may have additional requirements for a heresy to be considered valid.
OR = {
#For Christian Faiths, the origin and heretical faiths must not both be Ecumenical (excepting the faiths which aren't technically ecumenical).
# AND = {
# OR = { religion_tag = eastern_orthodox_religion religion_tag = catholic_religion religion_tag = protestant_religion }
# NAND = {
# $ORIGIN_FAITH$ = {
# has_doctrine = special_doctrine_ecumenical_christian
# OR = {
# this = faith:insular_celtic
# this = faith:bosnian_church
# this = faith:mozarabic_church
# }
# }
# $HERETICAL_FAITH$ = {
# has_doctrine = special_doctrine_ecumenical_christian
# OR = {
# this = faith:insular_celtic
# this = faith:bosnian_church
# this = faith:mozarabic_church
# }
# }
# }
# }
AND = { #FP3: for Zoroastrianism, Bedhin faiths are never heresies of each other
religion_tag = zoroastrianism_religion
#Roman rites are identical, just split for gameplay reasons until BGA
AND = {
religion_tag = catholic_religion
NAND = {
$ORIGIN_FAITH$ = {
has_doctrine = doctrine_major_branch_behdin
has_doctrine = special_doctrine_roman_rite
}
$HERETICAL_FAITH$ = {
has_doctrine = doctrine_major_branch_behdin
has_doctrine = special_doctrine_roman_rite
}
}
}
#No special requirements for Muslims, Jews, or Yazidis
religion_tag = eastern_orthodox_religion
religion_tag = protestant_religion
religion_tag = islam_religion
religion_tag = judaism_religion
#Eastern Faiths can shift and spread amongst each other.
OR = {
religion_tag = buddhism_religion
religion_tag = hinduism_religion
religion_tag = jainism_religion
religion_tag = dualism_religion
# religion_tag = hinduism_religion
# religion_tag = jainism_religion
# religion_tag = dualism_religion
}
#No special requirements for Pagan religions.
has_doctrine = pagan_hostility_doctrine
@ -907,176 +878,137 @@ no_heretical_hof_faith_trigger = { #Head of Faith shouldn't convert.
}
}
#Christian Heresy Groups
faiths_are_in_western_christianity_group = {
OR = {
$FAITH_1$ = faith:catholic
$FAITH_1$ = faith:cathar
$FAITH_1$ = faith:waldensian
$FAITH_1$ = faith:lollard
AND = {
$FAITH_1$ = faith:insular_celtic
scope:heretic_capital.title_province = { geographical_region = world_europe_west_britannia }
}
AND = {
$FAITH_1$ = faith:mozarabic_church
scope:heretic_capital.title_province = { geographical_region = world_europe_west_iberia }
}
}
OR = {
$FAITH_2$ = faith:catholic
$FAITH_2$ = faith:cathar
$FAITH_2$ = faith:waldensian
$FAITH_2$ = faith:lollard
$FAITH_2$ = faith:priscillianism
AND = {
$FAITH_2$ = faith:insular_celtic
scope:heretic_capital.title_province = { geographical_region = world_europe_west_britannia }
}
AND = {
$FAITH_2$ = faith:mozarabic_church
scope:heretic_capital.title_province = { geographical_region = world_europe_west_iberia }
}
}
}
faiths_are_in_orthodox_christianity_group = {
OR = {
$FAITH_1$ = faith:orthodox
$FAITH_1$ = faith:iconoclast
$FAITH_1$ = faith:bogomilist
$FAITH_1$ = faith:paulician
AND = {
$FAITH_1$ = faith:bosnian_church
scope:heretic_capital.title_province = { geographical_region = world_europe_south_east }
}
}
OR = {
$FAITH_2$ = faith:orthodox
$FAITH_2$ = faith:iconoclast
$FAITH_2$ = faith:bogomilist
$FAITH_2$ = faith:paulician
$FAITH_2$ = faith:bosnian_church
$FAITH_2$ = faith:cainitism
AND = {
$FAITH_1$ = faith:bosnian_church
scope:heretic_capital.title_province = { geographical_region = world_europe_south_east }
}
}
}
faiths_are_in_eastern_christianity_group = {
OR = {
$FAITH_1$ = faith:coptic
$FAITH_1$ = faith:armenian_apostolic
$FAITH_1$ = faith:nestorian
$FAITH_1$ = faith:messalian
$FAITH_1$ = faith:paulician
}
OR = {
$FAITH_2$ = faith:coptic
$FAITH_2$ = faith:armenian_apostolic
$FAITH_2$ = faith:nestorian
$FAITH_2$ = faith:messalian
$FAITH_2$ = faith:paulician
$FAITH_2$ = faith:mandeaism
}
}
faiths_are_shia_zandaqa_sub_group = {
OR = {
this = faith:quranist
this = faith:qarmatian
this = faith:ghulat
this = faith:alawite
this = faith:alevi
this = faith:druze
}
}
faiths_are_in_sunni_islam_group = {
$FAITH_1$ = {
has_doctrine = muhammad_succession_sunni_doctrine
}
$FAITH_2$ = {
OR = {
has_doctrine = muhammad_succession_sunni_doctrine
has_doctrine = muhammad_succession_muhakkima_doctrine
this = faith:sabianism
this = faith:manichean
this = faith:quranist
}
}
}
faiths_are_in_shia_islam_group = {
$FAITH_1$ = {
OR = {
has_doctrine = muhammad_succession_shia_doctrine
faiths_are_shia_zandaqa_sub_group = yes
}
}
$FAITH_2$ = {
OR = {
has_doctrine = muhammad_succession_shia_doctrine
has_doctrine = muhammad_succession_muhakkima_doctrine
faiths_are_shia_zandaqa_sub_group = yes
this = faith:valentinianism
this = faith:sabianism
}
}
}
faiths_are_in_muhakkima_islam_group = {
$FAITH_1$ = {
has_doctrine = muhammad_succession_muhakkima_doctrine
}
$FAITH_2$ = {
OR = {
has_doctrine = muhammad_succession_muhakkima_doctrine
this = faith:manichean
this = faith:valentinianism
}
}
}
faiths_are_eastern_zoroastrian = { #FP3 update - so that Armenian faith (Arewordik) don't appear as a heresy in Sogdia
OR = {
$FAITH_1$ = faith:mazdayasna
$FAITH_1$ = faith:khurmazta
$FAITH_1$ = faith:gayomarthianism
$FAITH_2$ = faith:zurvanism
$FAITH_2$ = faith:mazdakism
$FAITH_2$ = faith:khurramism
}
OR = {
$FAITH_1$ = faith:mazdayasna
$FAITH_1$ = faith:khurmazta
$FAITH_1$ = faith:gayomarthianism
$FAITH_2$ = faith:zurvanism
$FAITH_2$ = faith:mazdakism
$FAITH_2$ = faith:khurramism
}
}
faiths_are_western_zoroastrian = { #FP3 update - so that Sogdian faith (Khurmazta) don't appear as a heresy in Armenia
OR = {
$FAITH_1$ = faith:mazdayasna
$FAITH_1$ = faith:gayomarthianism
$FAITH_2$ = faith:zurvanism
$FAITH_2$ = faith:mazdakism
$FAITH_2$ = faith:khurramism
$FAITH_2$ = faith:urartuism
}
OR = {
$FAITH_1$ = faith:mazdayasna
$FAITH_1$ = faith:gayomarthianism
$FAITH_2$ = faith:zurvanism
$FAITH_2$ = faith:mazdakism
$FAITH_2$ = faith:khurramism
$FAITH_2$ = faith:urartuism
}
}
##Christian Heresy Groups
#faiths_are_in_western_christianity_group = {
# OR = {
# $FAITH_1$.religion = religion:catholic_religion
# }
# OR = {
# $FAITH_2$.religion = religion:catholic_religion
# }
#}
#
#faiths_are_in_orthodox_christianity_group = {
# OR = {
# $FAITH_1$.religion = religion:orthodox_religion
# }
# OR = {
# $FAITH_2$.religion = religion:orthodox_religion
# }
#}
#
#faiths_are_in_eastern_christianity_group = {
# OR = {
# $FAITH_1$ = faith:coptic
# $FAITH_1$ = faith:armenian_apostolic
# $FAITH_1$ = faith:nestorian
# $FAITH_1$ = faith:messalian
# $FAITH_1$ = faith:paulician
# }
# OR = {
# $FAITH_2$ = faith:coptic
# $FAITH_2$ = faith:armenian_apostolic
# $FAITH_2$ = faith:nestorian
# $FAITH_2$ = faith:messalian
# $FAITH_2$ = faith:paulician
# $FAITH_2$ = faith:mandeaism
# }
#}
#
#faiths_are_shia_zandaqa_sub_group = {
# OR = {
# this = faith:quranist
# this = faith:qarmatian
# this = faith:ghulat
# this = faith:alawite
# this = faith:alevi
# this = faith:druze
# }
#}
#
#faiths_are_in_sunni_islam_group = {
# $FAITH_1$ = {
# has_doctrine = muhammad_succession_sunni_doctrine
# }
# $FAITH_2$ = {
# OR = {
# has_doctrine = muhammad_succession_sunni_doctrine
# has_doctrine = muhammad_succession_muhakkima_doctrine
# this = faith:sabianism
# this = faith:manichean
# this = faith:quranist
# }
# }
#}
#
#faiths_are_in_shia_islam_group = {
# $FAITH_1$ = {
# OR = {
# has_doctrine = muhammad_succession_shia_doctrine
# faiths_are_shia_zandaqa_sub_group = yes
# }
# }
# $FAITH_2$ = {
# OR = {
# has_doctrine = muhammad_succession_shia_doctrine
# has_doctrine = muhammad_succession_muhakkima_doctrine
# faiths_are_shia_zandaqa_sub_group = yes
# this = faith:valentinianism
# this = faith:sabianism
# }
# }
#}
#
#faiths_are_in_muhakkima_islam_group = {
# $FAITH_1$ = {
# has_doctrine = muhammad_succession_muhakkima_doctrine
# }
# $FAITH_2$ = {
# OR = {
# has_doctrine = muhammad_succession_muhakkima_doctrine
# this = faith:manichean
# this = faith:valentinianism
# }
# }
#}
#
#faiths_are_eastern_zoroastrian = { #FP3 update - so that Armenian faith (Arewordik) don't appear as a heresy in Sogdia
# OR = {
# $FAITH_1$ = faith:mazdayasna
# $FAITH_1$ = faith:khurmazta
# $FAITH_1$ = faith:gayomarthianism
# $FAITH_2$ = faith:zurvanism
# $FAITH_2$ = faith:mazdakism
# $FAITH_2$ = faith:khurramism
# }
# OR = {
# $FAITH_1$ = faith:mazdayasna
# $FAITH_1$ = faith:khurmazta
# $FAITH_1$ = faith:gayomarthianism
# $FAITH_2$ = faith:zurvanism
# $FAITH_2$ = faith:mazdakism
# $FAITH_2$ = faith:khurramism
# }
#}
#
#faiths_are_western_zoroastrian = { #FP3 update - so that Sogdian faith (Khurmazta) don't appear as a heresy in Armenia
# OR = {
# $FAITH_1$ = faith:mazdayasna
# $FAITH_1$ = faith:gayomarthianism
# $FAITH_2$ = faith:zurvanism
# $FAITH_2$ = faith:mazdakism
# $FAITH_2$ = faith:khurramism
# $FAITH_2$ = faith:urartuism
# }
# OR = {
# $FAITH_1$ = faith:mazdayasna
# $FAITH_1$ = faith:gayomarthianism
# $FAITH_2$ = faith:zurvanism
# $FAITH_2$ = faith:mazdakism
# $FAITH_2$ = faith:khurramism
# $FAITH_2$ = faith:urartuism
# }
#}
refusing_conversion_is_crime_trigger = {
faith = {
@ -1164,11 +1096,17 @@ religion_has_angels_trigger = {
religion = religion:eastern_orthodox_religion
religion = religion:catholic_religion
religion = religion:protestant_religion
religion = religion:french_pantheon_religion
religion = religion:thelema_religion
religion = religion:islam_religion
religion = religion:zoroastrianism_religion
religion = religion:dualism_religion
religion = religion:judaism_religion
religion = religion:yazidi_religion
# religion = religion:yazidi_religion
faith = faith:orleaniste
faith = faith:aslanite
faith = faith:kozachina
faith = faith:romanofuturist
}
}