diff --git a/common/religion/doctrine_group_types/00_doctrine_group_types.txt b/common/religion/doctrine_group_types/00_doctrine_group_types.txt deleted file mode 100644 index b1377776..00000000 --- a/common/religion/doctrine_group_types/00_doctrine_group_types.txt +++ /dev/null @@ -1,817 +0,0 @@ -hostility_group = { - category = "not_creatable" - - doctrine_types = { - abrahamic_hostility_doctrine - pagan_hostility_doctrine - eastern_hostility_doctrine - sinitic_hostility_doctrine - antediluvianist_hostility_doctrine - } -} - -doctrine_marriage_type = { - category = "marriage" - - doctrine_types = { - doctrine_monogamy - doctrine_polygamy - doctrine_concubines - } -} - -doctrine_divorce = { - category = "marriage" - - doctrine_types = { - doctrine_divorce_disallowed - doctrine_divorce_approval - doctrine_divorce_allowed - } -} - -doctrine_bastardry = { - category = "marriage" - - doctrine_types = { - doctrine_bastardry_none - doctrine_bastardry_legitimization - doctrine_bastardry_all - } -} - -doctrine_homosexuality = { - category = "crimes" - - doctrine_types = { - doctrine_homosexuality_crime - doctrine_homosexuality_shunned - doctrine_homosexuality_accepted - } -} - -doctrine_deviancy = { - category = "crimes" - - doctrine_types = { - doctrine_deviancy_crime - doctrine_deviancy_shunned - doctrine_deviancy_accepted - doctrine_deviancy_virtuous - } -} - -doctrine_adultery_men = { - category = "crimes" - - doctrine_types = { - doctrine_adultery_men_crime - doctrine_adultery_men_shunned - doctrine_adultery_men_accepted - } -} - -doctrine_adultery_women = { - category = "crimes" - - doctrine_types = { - doctrine_adultery_women_crime - doctrine_adultery_women_shunned - doctrine_adultery_women_accepted - } -} - -doctrine_kinslaying = { - category = "crimes" - - doctrine_types = { - doctrine_kinslaying_any_dynasty_member_crime - doctrine_kinslaying_extended_family_crime - doctrine_kinslaying_close_kin_crime - doctrine_kinslaying_shunned - doctrine_kinslaying_accepted - } -} - -doctrine_witchcraft = { - category = "crimes" - - doctrine_types = { - doctrine_witchcraft_crime - doctrine_witchcraft_shunned - doctrine_witchcraft_accepted - doctrine_witchcraft_virtuous - } -} - -doctrine_gender = { - category = "main_group" - - doctrine_types = { - doctrine_gender_male_dominated - doctrine_gender_equal - doctrine_gender_female_dominated - } -} - -doctrine_consanguinity = { - category = "marriage" - - doctrine_types = { - doctrine_consanguinity_dynastic - doctrine_consanguinity_restricted - doctrine_consanguinity_cousins - doctrine_consanguinity_aunt_nephew_and_uncle_niece - doctrine_consanguinity_unrestricted - } -} - -doctrine_pluralism = { - category = "main_group" - - doctrine_types = { - doctrine_pluralism_fundamentalist - doctrine_pluralism_righteous - doctrine_pluralism_pluralistic - } -} - -doctrine_theocracy = { - category = "main_group" - - doctrine_types = { - doctrine_theocracy_temporal - doctrine_theocracy_lay_clergy - } -} - -doctrine_head_of_faith = { - category = "main_group" - - doctrine_types = { - doctrine_no_head - doctrine_spiritual_head - doctrine_temporal_head - } -} - -doctrine_clerical_function = { - category = "clergy" - - doctrine_types = { - doctrine_clerical_function_taxation - doctrine_clerical_function_alms_and_pacification - doctrine_clerical_function_recruitment - } -} - -doctrine_clerical_gender = { - category = "clergy" - - doctrine_types = { - doctrine_clerical_gender_male_only - doctrine_clerical_gender_female_only - doctrine_clerical_gender_either - } -} - -doctrine_clerical_marriage = { - category = "clergy" - - doctrine_types = { - doctrine_clerical_marriage_allowed - doctrine_clerical_marriage_disallowed - } -} - -doctrine_clerical_succession = { - category = "clergy" - - doctrine_types = { - doctrine_clerical_succession_temporal_appointment - doctrine_clerical_succession_spiritual_appointment - doctrine_clerical_succession_temporal_fixed_appointment - doctrine_clerical_succession_spiritual_fixed_appointment - } -} - -doctrine_pilgrimage = { - category = "main_group" - - doctrine_types = { - doctrine_pilgrimage_forbidden - doctrine_pilgrimage_encouraged - doctrine_pilgrimage_local_rites - doctrine_pilgrimage_mandatory - doctrine_pilgrimage_mandatory_hajj - } -} - -doctrine_funeral = { - category = "clergy" - - doctrine_types = { - doctrine_funeral_stoic - doctrine_funeral_bewailment - doctrine_funeral_cremation - doctrine_funeral_sky_burial - doctrine_funeral_mummification - doctrine_family_rites - } -} - -doctrine_coronation = { - category = "clergy" - - is_available_on_create = { - has_ach_dlc_trigger = yes - } - - doctrine_types = { - doctrine_no_anointment - doctrine_anointment_permitted - doctrine_imperial_anointment - } -} - -doctrine_theism = { - category = "main_group" - - doctrine_types = { - doctrine_monotheist - doctrine_polytheist - doctrine_pantheist - } -} - -doctrine_muhammad_succession = { - category = "main_group" - - is_available_on_create = { - religion_tag = islam_religion - } - - doctrine_types = { - muhammad_succession_sunni_doctrine - muhammad_succession_shia_doctrine - muhammad_succession_muhakkima_doctrine - muhammad_succession_zandaqa_doctrine - } -} - -doctrine_temple_authority = { - category = "main_group" - - is_available_on_create = { - religion_tag = judaism_religion - } - - doctrine_types = { - temple_authority_rabbinic_doctrine - temple_authority_toric_doctrine - temple_authority_kohanim_doctrine - temple_authority_samaritan_torah_doctrine - } -} - -doctrine_zoroastrian_branches = { - category = "main_group" - - is_available_on_create = { - religion_tag = zoroastrianism_religion - } - - doctrine_types = { - doctrine_major_branch_behdin - doctrine_heretic_branch_zandik - } -} -doctrine_universal_tolerance_cath = { - category = "main_group" - - is_available_on_create = { - religion_tag = catholic_religion - } - doctrine_types = { - special_doctrine_roman_rite - special_doctrine_sevillian_rite - special_doctrine_independent_catholic - special_doctrine_via_media - special_doctrine_incorruptible_dogma - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_nov = { - category = "main_group" - - is_available_on_create = { - religion_tag = novelist_religion - } - doctrine_types = { - special_doctrine_fantastical_kinship - special_doctrine_academic_kinship - special_doctrine_christian_kinship - special_doctrine_islamic_kinship - special_doctrine_singular_interpretation - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_fre = { - category = "main_group" - - is_available_on_create = { - religion_tag = french_pantheon_religion - } - doctrine_types = { - special_doctrine_populares - special_doctrine_optimates - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_prot = { - category = "main_group" - - is_available_on_create = { - religion_tag = protestant_religion - } - doctrine_types = { - special_doctrine_established_church - special_doctrine_reformation_roots - special_doctrine_via_media - special_doctrine_radical_reform - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_thel = { - category = "main_group" - - is_available_on_create = { - OR = { - religion_tag = druidic_religion - religion_tag = wicca_religion - religion_tag = thelema_religion - } - } - doctrine_types = { - special_doctrine_fae_and_folklore - special_doctrine_might_and_magick - special_doctrine_goddesses_and_glory - special_doctrine_crowleyan_magic - special_doctrine_loyal_servants_of_the_queen - special_doctrine_servants_of_the_regency - special_doctrine_regicidal - special_doctrine_truest_servants_of_the_queen - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_brit = { - category = "main_group" - - is_available_on_create = { - religion_tag = britannic_religion - } - doctrine_types = { - special_doctrine_regicidal - special_doctrine_truest_servants_of_the_queen - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_ger = { - category = "main_group" - - is_available_on_create = { - OR = { - religion_tag = folkgerman_religion - religion_tag = oceanic_religion - } - } - doctrine_types = { - special_doctrine_cult_of_saints - special_doctrine_old_lore - special_doctrine_heathen_revanchism - special_doctrine_religion_fallback - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_chron = { - category = "main_group" - - is_available_on_create = { - religion_tag = chronicler_religion - } - doctrine_types = { - special_doctrine_hermetic - special_doctrine_religion_fallback - } - -} -doctrine_universal_tolerance_euro = { - category = "main_group" - - is_available_on_create = { - religion_tag = europeanist_religion - } - doctrine_types = { - special_doctrine_apollonian - special_doctrine_dionysian - special_doctrine_religion_fallback - } - -} -doctrine_core_tenets = { - category = "core_tenets" - - number_of_picks = 3 - - doctrine_types = { - # Christian Faith Tenets - tenet_aniconism - tenet_alexandrian_catechism - tenet_armed_pilgrimages - tenet_carnal_exaltation - tenet_communal_identity - tenet_communion - tenet_consolamentum - tenet_divine_marriage - tenet_gnosticism - tenet_mendicant_preachers - tenet_monasticism - tenet_pacifism - tenet_pentarchy - tenet_unrelenting_faith - tenet_vows_of_poverty - tenet_pastoral_isolation - tenet_rite - # Muslim Faith Tenets - tenet_adaptive - tenet_esotericism - tenet_legalism - tenet_literalism - tenet_reincarnation - tenet_religious_legal_pronouncements - tenet_struggle_submission - tenet_false_conversion_sanction - tenet_tax_nonbelievers - # Eastern Faith Tenets - tenet_asceticism - tenet_bhakti - tenet_dharmic_pacifism - tenet_inner_journey - tenet_ritual_hospitality - # Pagan Faith Tenets - tenet_adorcism - tenet_ancestor_worship - tenet_astrology - tenet_hedonistic - tenet_human_sacrifice - tenet_mystical_birthright - tenet_ritual_celebrations - tenet_sacred_childbirth - tenet_sanctity_of_nature - tenet_sun_worship - tenet_warmonger - tenet_gruesome_festivals - tenet_cthonic_redoubts - tenet_household_gods - # Syncretic Faith Tenets - tenet_sinitic_syncretism - tenet_eastern_syncretism - tenet_unreformed_syncretism - tenet_christian_syncretism - tenet_islamic_syncretism - tenet_jewish_syncretism - # Custom Faith Tenets - tenet_exaltation_of_pain - tenet_natural_primitivism - tenet_pursuit_of_power - tenet_ritual_cannibalism - tenet_sacred_shadows - tenet_polyamory - tenet_sacrificial_ceremonies - tenet_megaliths - # FP3 Tenets - tenet_fp3_fedayeen - tenet_communal_possessions - # TGP Tenets - tenet_pure_land - tenet_no_mind - tenet_mountain_worship - tenet_extinction_of_dharma - tenet_cranial_trophies - tenet_pursuit_of_knowledge - tenet_benevolent_governance - tenet_filial_piety - tenet_harmonious_society - tenet_sacred_destruction - tenet_preservation - tenet_takamin - # NEOW Tenets - tenet_divine_opulence - king_of_winter - tenet_armed_resistance - tenet_rule_the_waves - tenet_terror_of_the_seas - tenet_true_will - tenet_love_under_will - tenet_do_what_thou_wilt - core_tenet_belle_epoque - tenet_righteous_fury - core_tenet_peacekeeping - tenet_let_the_poppies_grow - tenet_druidry - tenet_liberte - tenet_egalite - tenet_fraternite - tenet_universal_scripture - tenet_people_of_the_book - one_king_to_rule_them_all - tenet_restore_the_crown - tenet_chivalric_ideals - tenet_letranger - tenet_the_search_for_a_meaning - tenet_catholic_communion - tenet_scientific_discourse - tenet_wandering_bards - tenet_divine_progress - tenet_five_points - tenet_theomonarchy - - - - - - - - - - - } -} - -is_christian_faith = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_is_christian_faith - } - - doctrine_types = { - special_doctrine_is_christian_faith - } -} - -is_islamic_faith = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_is_islamic_faith - } - - doctrine_types = { - special_doctrine_is_islamic_faith - } -} - -is_jewish_faith = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_is_jewish_faith - } - - doctrine_types = { - special_doctrine_is_jewish_faith - } -} - -is_eastern_faith = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_is_eastern_faith - } - - doctrine_types = { - special_doctrine_is_eastern_faith - } -} - -is_sinitic_faith = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_is_sinitic_faith - } - - doctrine_types = { - special_doctrine_is_sinitic_faith - } -} - -is_hostile_to_maitreya = { - category = "not_creatable" - - doctrine_types = { - special_doctrine_maitreya_hostility - special_doctrine_is_maitreya - } -} - -is_gnostic_faith = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_is_gnostic_faith - } - - doctrine_types = { - special_doctrine_is_gnostic_faith - } -} - -special_tolerance = { - category = "main_group" - - is_available_on_create = { - always = no # Goes away when creating a new Faith - } - - doctrine_types = { - special_doctrine_ecumenical_christian - } -} - -heresy_hostility = { - category = "not_creatable" - - is_available_on_create = { - has_doctrine = heresy_hostility_doctrine - } - - doctrine_types = { - heresy_hostility_doctrine - } -} - -nudity_doctrine = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_naked_priests - } - - doctrine_types = { - special_doctrine_naked_priests - } -} - -unreformed_faith = { - category = "not_creatable" - - is_available_on_create = { - # Goes away on reformation - always = no - } - - doctrine_types = { - unreformed_faith_doctrine - west_african_unreformed_faith_doctrine - } -} - -divine_destiny = { - category = "special" - - is_available_on_create = { - has_doctrine = divine_destiny_doctrine - } - - doctrine_types = { - divine_destiny_doctrine - } -} - -adoptionist_school = { - category = "special" - - is_available_on_create = { - # Removed on reformation. - always = no - } - - doctrine_types = { - special_doctrine_adoptionist_school_elipandic_doctrine - special_doctrine_adoptionist_school_felicitous_doctrine - special_doctrine_adoptionist_school_radical_doctrine - } -} - -not_allowed_to_hof = { - category = "special" - - is_available_on_create = { - # Removed on reformation. - always = no - } - - doctrine_types = { - special_doctrine_not_allowed_to_hof - } -} - -#Game rule only -full_tolerance = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_full_tolerance - } - - doctrine_types = { - special_doctrine_full_tolerance - } -} - -has_jizya_doctrine = { - category = "special" - - is_available_on_create = { - OR = { - has_doctrine = special_doctrine_jizya - has_doctrine = special_doctrine_is_islamic_faith - } - } - - doctrine_types = { - special_doctrine_jizya - } -} - -immaterial_harmony = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_immaterial_harmony - } - - doctrine_types = { - special_doctrine_immaterial_harmony - } -} - -custom_virtues = { - category = "special" - - is_available_on_create = { - has_doctrine = special_doctrine_english_anglican - has_doctrine = special_doctrine_british_royalty - has_doctrine = special_doctrine_british_admiralty - has_doctrine = special_doctrine_british_unity - has_doctrine = special_doctrine_liberty - has_doctrine = special_doctrine_equality - has_doctrine = special_doctrine_fraternity - has_doctrine = special_doctrine_aslan - has_doctrine = special_doctrine_numenor - has_doctrine = special_doctrine_charlemagne - has_doctrine = special_doctrine_dracula - has_doctrine = special_doctrine_reason_and_progress - has_doctrine = special_doctrine_simurghi - has_doctrine = special_doctrine_rocambolist - has_doctrine = special_doctrine_absurdist - has_doctrine = special_doctrine_base_thelema - has_doctrine = special_doctrine_old_thelema - has_doctrine = special_doctrine_king_arthurs_bravery - has_doctrine = special_doctrine_horned_lords_law - has_doctrine = special_doctrine_helvetic - } - - doctrine_types = { - special_doctrine_english_anglican - special_doctrine_british_royalty - special_doctrine_british_admiralty - special_doctrine_british_unity - special_doctrine_liberty - special_doctrine_equality - special_doctrine_fraternity - special_doctrine_aslan - special_doctrine_numenor - special_doctrine_charlemagne - special_doctrine_dracula - special_doctrine_reason_and_progress - special_doctrine_simurghi - special_doctrine_rocambolist - special_doctrine_absurdist - special_doctrine_base_thelema - special_doctrine_old_thelema - special_doctrine_king_arthurs_bravery - special_doctrine_horned_lords_law - special_doctrine_helvetic - } -} \ No newline at end of file diff --git a/common/religion/doctrine_group_types/_doctrine_group_types.info b/common/religion/doctrine_group_types/_doctrine_group_types.info deleted file mode 100644 index 6caddc04..00000000 --- a/common/religion/doctrine_group_types/_doctrine_group_types.info +++ /dev/null @@ -1,34 +0,0 @@ -### Brief: key ( database key ) -# Name of 'doctrine_group' -# The key will be used for the doctrine icon, combined with the path in the define FAITH_DOCTRINE_ICON_PATH -# Localization is selected by: + "_name" -# -key = { - ### Brief: category ( string ) - # How the group is categorized in the UI - # - category = "string" - - ### Brief: number_of_picks ( integer ) - # How many unique doctrines within the group does the player get to choose? - # Default is 1. - # - number_of_picks = 1 - - ### Brief: is_available_on_create ( trigger ) - # When should this doctrine group be shown when choosing doctrines? - # If not shown, the group will go away entirely on create if present on the old faith. - # - # Supported scopes: - # root ( Faith ) - # - is_available_on_create = { ... } - - ### Brief: doctrine_types ( list of database key ) - # List the doctrine types to be associated with this group. - # - doctrine_types = { - - - } -} diff --git a/common/religion/doctrine_types/10_doctrines_religions.txt b/common/religion/doctrine_types/10_doctrines_religions.txt deleted file mode 100644 index 58eef41b..00000000 --- a/common/religion/doctrine_types/10_doctrines_religions.txt +++ /dev/null @@ -1,41 +0,0 @@ -abrahamic_hostility_doctrine = { - parameters = { - hostility_same_religion = 2 - hostility_same_family = 3 - hostility_others = 3 - } -} - -pagan_hostility_doctrine = { - visible = no - - parameters = { - hostility_same_religion = 1 - hostility_same_family = 2 - hostility_others = 3 - } -} - -eastern_hostility_doctrine = { - parameters = { - hostility_same_religion = 1 - hostility_same_family = 1 - hostility_others = 2 - } -} - -sinitic_hostility_doctrine = { - parameters = { - hostility_same_religion = 1 - hostility_same_family = 1 - hostility_others = 2 - } -} - -antediluvianist_hostility_doctrine = { - parameters = { - hostility_same_religion = 2 - hostility_same_family = 2 - hostility_others = 3 - } -} \ No newline at end of file diff --git a/common/religion/doctrine_types/20_doctrines.txt b/common/religion/doctrine_types/20_doctrines.txt deleted file mode 100644 index 888013fd..00000000 --- a/common/religion/doctrine_types/20_doctrines.txt +++ /dev/null @@ -1,2166 +0,0 @@ -doctrine_monogamy = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_monogamy } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - number_of_spouses = 1 - marriage_event = yes - } -} - -doctrine_polygamy = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_polygamy } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - number_of_spouses = 4 - spouse_piety_loss = yes - } -} - -doctrine_concubines = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_concubines } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - number_of_spouses = 1 - number_of_consorts = 3 - } -} - -doctrine_divorce_disallowed = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_divorce_disallowed } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_divorce_allowed } - multiply = faith_changed_doctrine_cost_mult_two_step - } - - } - parameters = { - divorce_disallowed = yes - } -} - -doctrine_divorce_approval = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_divorce_approval } - multiply = faith_unchanged_doctrine_cost_mult - } - - } - parameters = { - divorce_approval = yes - } -} - -doctrine_divorce_allowed = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_divorce_allowed } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_divorce_disallowed } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - divorce_allowed = yes - } -} - -doctrine_bastardry_none = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_bastardry_none } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_bastardry_all } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - bastards_none = yes - } -} - -doctrine_bastardry_legitimization = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_bastardry_legitimization } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - bastards_legitimize = yes - } -} - -doctrine_bastardry_all = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_bastardry_all } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_bastardry_none } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - bastards_always = yes - } -} - -doctrine_homosexuality_crime = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_homosexuality_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_homosexuality_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - homosexuality_illegal = yes - } -} - -doctrine_homosexuality_shunned = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_homosexuality_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - homosexuality_shunned = yes - } -} - -doctrine_homosexuality_accepted = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_homosexuality_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_homosexuality_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - homosexuality_accepted = yes - } -} - -doctrine_deviancy_crime = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_deviancy_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_deviancy_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_deviancy_virtuous } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - deviancy_illegal = yes - } -} - -doctrine_deviancy_shunned = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_deviancy_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_deviancy_virtuous } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - deviancy_shunned = yes - } -} - -doctrine_deviancy_accepted = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_deviancy_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_deviancy_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - deviancy_accepted = yes - } -} - -doctrine_deviancy_virtuous = { - can_pick = { - custom_description = { - text = must_select_carnal_exaltation - doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } - } - } - - piety_cost = { - value = faith_doctrine_cost_massive - if = { - limit = { has_doctrine = doctrine_deviancy_virtuous } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_deviancy_shunned } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_deviancy_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - traits = { - virtues = { deviant } - } - - parameters = { - deviancy_accepted = yes - } -} - -doctrine_adultery_men_crime = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_adultery_men_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_adultery_men_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - adultery_male_crime = yes - } -} - -doctrine_adultery_men_shunned = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_adultery_men_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - adultery_male_shunned = yes - } -} - -doctrine_adultery_men_accepted = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_adultery_men_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_adultery_men_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - adultery_male_accepted = yes - } -} - -doctrine_adultery_women_crime = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_adultery_women_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_adultery_women_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - adultery_female_crime = yes - } -} - -doctrine_adultery_women_shunned = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_adultery_women_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - adultery_female_shunned = yes - } -} - -doctrine_adultery_women_accepted = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_adultery_women_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_adultery_women_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - adultery_female_accepted = yes - } -} - -doctrine_kinslaying_any_dynasty_member_crime = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_close_kin_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_shunned } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_accepted } - multiply = faith_changed_doctrine_cost_mult_four_step - } - } - - parameters = { - kinslaying_any_dynasty_member_crime = yes - } -} - -doctrine_kinslaying_extended_family_crime = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_kinslaying_extended_family_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_shunned } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_accepted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - kinslaying_extended_family_crime = yes - } -} - -doctrine_kinslaying_close_kin_crime = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_kinslaying_close_kin_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { - OR = { - has_doctrine = doctrine_kinslaying_accepted - has_doctrine = doctrine_kinslaying_any_dynasty_member_crime - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - kinslaying_close_kin_crime = yes - } -} - -doctrine_kinslaying_shunned = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_kinslaying_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_extended_family_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - kinslaying_shunned = yes - } -} - -doctrine_kinslaying_accepted = { - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_kinslaying_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_close_kin_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_extended_family_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } - multiply = faith_changed_doctrine_cost_mult_four_step - } - - } - - parameters = { - kinslaying_accepted = yes - } -} - -doctrine_witchcraft_crime = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_witchcraft_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_witchcraft_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_witchcraft_virtuous } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - witchcraft_illegal = yes - } -} - -doctrine_witchcraft_shunned = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_witchcraft_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_witchcraft_virtuous } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - witchcraft_shunned = yes - } -} - -doctrine_witchcraft_accepted = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_witchcraft_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_witchcraft_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - witchcraft_accepted = yes - } -} - -doctrine_witchcraft_virtuous = { - piety_cost = { - value = faith_tenet_cost_massive - if = { - limit = { has_doctrine = doctrine_witchcraft_virtuous } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_witchcraft_shunned } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_witchcraft_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - traits = { - virtues = { witch } - } - - parameters = { - witchcraft_accepted = yes - } -} - -doctrine_gender_male_dominated = { - icon = "doctrine_gender_male_dominated" - - is_shown = { - NOT = { has_game_rule = full_gender_equality } - } - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_gender_male_dominated } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_gender_female_dominated } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - male_dominated_law = yes - female_claims_are_weak = yes - women_cannot_inherit_implicit_claims = yes - women_cannot_be_granted_titles = yes - male_dominated_council = yes - combatant_must_be_male_if_no_roco = yes - } - - character_modifier = { - name = female_ruler_male_dominant - opinion_of_female_rulers = -10 - } - - can_pick = { - NAND = { - exists = religious_head - religious_head.culture = { has_cultural_parameter = female_only_inheritance } - } - } -} - -doctrine_gender_equal = { - icon = "doctrine_gender_equal" - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_gender_equal } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - gender_equal_law = yes - combatant_can_be_either_gender_if_no_roco = yes - } -} - -doctrine_gender_female_dominated = { - icon = "doctrine_gender_female_dominated" - - is_shown = { - NOT = { has_game_rule = full_gender_equality } - } - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_gender_female_dominated } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_gender_male_dominated } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - female_dominated_law = yes - male_claims_are_weak = yes - men_cannot_inherit_implicit_claims = yes - men_cannot_be_granted_titles = yes - female_dominated_council = yes - combatant_must_be_female_if_no_roco = yes - } - - character_modifier = { - name = male_ruler_female_dominant - opinion_of_male_rulers = -10 - } - - can_pick = { - NAND = { - exists = religious_head - religious_head.culture = { has_cultural_parameter = male_only_inheritance } - } - } -} - -doctrine_consanguinity_dynastic = { - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - consanguinity_restricted_dynastic_marriage = yes - consanguinity_restricted_marriage = yes - consanguinity_restricted_close_kin_incest = yes - } -} - -doctrine_consanguinity_restricted = { - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - consanguinity_restricted_marriage = yes - consanguinity_restricted_close_kin_incest = yes - } -} - -doctrine_consanguinity_cousins = { - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_consanguinity_cousins } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - consanguinity_cousins_marriage = yes - consanguinity_cousins_incest = yes - allows_cousin_marriage = yes - } -} - -doctrine_consanguinity_aunt_nephew_and_uncle_niece = { - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - consanguinity_aunt_nephew_and_uncle_niece_marriage = yes - consanguinity_aunt_nephew_and_uncle_niece_incest = yes - allows_cousin_marriage = yes - allows_aunt_nephew_and_uncle_niece_marriage = yes - } -} - -doctrine_consanguinity_unrestricted = { - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_cousins } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - consanguinity_unrestricted_marriage = yes - consanguinity_unrestricted_incest = yes - allows_cousin_marriage = yes - allows_aunt_nephew_and_uncle_niece_marriage = yes - allows_unrestricted_marriage = yes - } -} - -doctrine_pluralism_fundamentalist = { - icon = "doctrine_pluralism_fundamentalist" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pluralism_fundamentalist } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_pluralism_pluralistic } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - hostility_towards_us_mult = 2 - - pluralism_fundamentalist_proselytization_bonus = yes - pluralism_fundamentalist_faction_join_chance = yes - pluralism_fundamentalist_vulnerable_to_heresy = yes - pluralism_fundamentalist_revocation_tyranny_minimal = yes - } - - character_modifier = { - minority_different_faith_opinion = -20 - } -} - -doctrine_pluralism_righteous = { - icon = "doctrine_pluralism_righteous" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pluralism_righteous } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - hostility_towards_us_mult = 1 - pluralism_righteous_revocation_tyranny_reduced = yes - } - - character_modifier = { - minority_different_faith_opinion = -10 - } -} - -doctrine_pluralism_pluralistic = { - icon = "doctrine_pluralism_pluralistic" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pluralism_pluralistic } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_pluralism_fundamentalist } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - can_pick = { - custom_description = { - text = incompatible_tenet_pentarchy_trigger - NOT = { doctrine:tenet_pentarchy = { is_in_list = selected_doctrines } } - } - } - - parameters = { - hostility_towards_us_mult = 0.5 - pluralism_pluralistic_proselytization_penalty = yes - pluralism_pluralistic_faction_join_chance = yes - pluralism_pluralistic_resistant_to_heresy = yes - pluralism_pluralistic_holy_wars_preserve_vassals = yes - - } -} - -doctrine_theocracy_temporal = { - icon = "doctrine_theocracy_temporal" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_theocracy_temporal } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_theocracy_lay_clergy } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - can_pick = { - custom_description = { - text = incompatible_doctrine_theocracy_temporal_trigger - NOT = { doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } } - } - } - - parameters = { - theocracy_temple_lease = yes - } -} - -doctrine_theocracy_lay_clergy = { - icon = "doctrine_theocracy_lay_clergy" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_theocracy_lay_clergy } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_theocracy_temporal } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - theocracy_temple_ownership = yes - lay_clergy = yes - allowed_holding_type_church_holding = yes - } -} - -doctrine_no_head = { - icon = "doctrine_no_head" - - visible = no - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_no_head } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - no_head_of_faith = yes - minimum_fervor = 25 - } -} - -doctrine_spiritual_head = { - icon = "doctrine_spiritual_head" - - visible = no - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_spiritual_head } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - spiritual_head_of_faith = yes - spiritual_head_of_faith_claims = yes - spiritual_head_of_faith_gold = yes - } -} - -doctrine_temporal_head = { - icon = "doctrine_temporal_head" - - visible = no - - piety_cost = { - value = faith_doctrine_cost_massive - if = { - limit = { has_doctrine = doctrine_temporal_head } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - can_pick = { - custom_description = { - text = incompatible_doctrine_theocracy_temporal_trigger - NOT = { doctrine:doctrine_theocracy_temporal = { is_in_list = selected_doctrines } } - } - custom_description = { - text = incompatible_doctrine_spiritual_appointment_temporal_trigger - NOR = { - doctrine:doctrine_clerical_succession_spiritual_appointment = { is_in_list = selected_doctrines } - doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { is_in_list = selected_doctrines } - } - } - } - - parameters = { - temporal_head_of_faith = yes - temporal_head_of_faith_directed_holy_wars = yes - } -} - -doctrine_clerical_function_taxation = { - clergy_modifier = { - #monthly_county_control_growth_add_even_if_baron = 0.2 - monthly_county_control_growth_factor_even_if_baron = 0.2 - } - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_function_taxation } - multiply = faith_unchanged_doctrine_cost_mult - } - } -} - -doctrine_clerical_function_alms_and_pacification = { - clergy_modifier = { - county_opinion_add_even_if_baron = 10 - domain_tax_mult_even_if_baron = -0.05 - } - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_function_alms_and_pacification } - multiply = faith_unchanged_doctrine_cost_mult - } - } -} - -doctrine_clerical_function_recruitment = { - clergy_modifier = { - domain_tax_same_faith_mult_even_if_baron = -0.03 - levy_reinforcement_rate_same_faith_even_if_baron = 0.3 - prowess = 4 - } - - parameters = { - clergy_can_fight = yes - } - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_function_recruitment } - multiply = faith_unchanged_doctrine_cost_mult - } - } -} - -doctrine_clerical_gender_male_only = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_gender_male_only } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_clerical_gender_female_only } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - clergy_must_be_male = yes - } -} - -doctrine_clerical_gender_female_only = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_gender_female_only } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_clerical_gender_male_only } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - clergy_must_be_female = yes - } -} - -doctrine_clerical_gender_either = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_gender_either } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - clergy_can_be_either_gender = yes - } -} - -doctrine_clerical_marriage_allowed = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_marriage_allowed } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_clerical_marriage_disallowed } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - clergy_can_marry = yes - } -} - -doctrine_clerical_marriage_disallowed = { - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { has_doctrine = doctrine_clerical_marriage_disallowed } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { has_doctrine = doctrine_clerical_marriage_allowed } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - clergy_can_marry = no - } -} - -doctrine_clerical_succession_temporal_appointment = { # Temporal, Free - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_clerical_succession_temporal_appointment } - multiply = faith_unchanged_doctrine_cost_mult - } - else = { - if = { - limit = { - OR = { # Was Spiritual - has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment - has_doctrine = doctrine_clerical_succession_spiritual_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - if = { - limit = { - OR = { # Was Fixed - has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment - has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - # Round up to the nearest multiple of 25 - divide = 25 - ceiling = yes - multiply = 25 - } - - parameters = { - clerical_appointment_ruler = yes - clerical_appointment_fixed = no - } -} - -doctrine_clerical_succession_spiritual_appointment = { # Spiritual, Free - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_clerical_succession_spiritual_appointment } - multiply = faith_unchanged_doctrine_cost_mult - } - else = { - if = { - limit = { - OR = { # Was Temporal - has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment - has_doctrine = doctrine_clerical_succession_temporal_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - if = { - limit = { - OR = { # Was Fixed - has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment - has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - # Round up to the nearest multiple of 25 - divide = 25 - ceiling = yes - multiply = 25 - } - - can_pick = { - custom_description = { - text = incompatible_doctrine_spiritual_appointment_temporal_trigger - NOT = { doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } } - } - } - - parameters = { - clerical_appointment_head_of_faith = yes - clerical_appointment_fixed = no - } -} - -doctrine_clerical_succession_temporal_fixed_appointment = { # Temporal, Fixed - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment } - multiply = faith_unchanged_doctrine_cost_mult - } - else = { - if = { - limit = { - OR = { # Was Spiritual - has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment - has_doctrine = doctrine_clerical_succession_spiritual_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - if = { - limit = { - OR = { # Was free - has_doctrine = doctrine_clerical_succession_spiritual_appointment - has_doctrine = doctrine_clerical_succession_temporal_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - # Round up to the nearest multiple of 25 - divide = 25 - ceiling = yes - multiply = 25 - } - - parameters = { - clerical_appointment_ruler = yes - clerical_appointment_fixed = yes - } -} - -doctrine_clerical_succession_spiritual_fixed_appointment = { # Spiritual, Fixed - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment } - multiply = faith_unchanged_doctrine_cost_mult - } - else = { - if = { - limit = { - OR = { # Was Temporal - has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment - has_doctrine = doctrine_clerical_succession_temporal_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - if = { - limit = { - OR = { # Was Free - has_doctrine = doctrine_clerical_succession_spiritual_appointment - has_doctrine = doctrine_clerical_succession_temporal_appointment - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - # Round up to the nearest multiple of 25 - divide = 25 - ceiling = yes - multiply = 25 - } - - can_pick = { - custom_description = { - text = incompatible_doctrine_spiritual_appointment_temporal_trigger - NOT = { doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } } - } - } - - parameters = { - clerical_appointment_head_of_faith = yes - clerical_appointment_fixed = yes - } -} - -doctrine_pilgrimage_forbidden = { - icon = "doctrine_pilgrimage_forbidden" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pilgrimage_forbidden } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - character_modifier = { - monthly_piety_gain_mult = 0.2 - advantage_against_coreligionists = 5 - } - - parameters = { - forbidden_from_pilgrimage = yes - } - - traits = { - sins = { hajjaj pilgrim } - } -} - -doctrine_pilgrimage_encouraged = { - icon = "doctrine_pilgrimage_encouraged" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pilgrimage_encouraged } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - can_go_on_pilgrimage = yes - basic_pilgrimage_rewards = yes - } -} - -doctrine_pilgrimage_local_rites = { - icon = "doctrine_pilgrimage_local_rites" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pilgrimage_local_rites } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - local_shrine_offering = yes - can_go_on_pilgrimage = yes - basic_pilgrimage_rewards = yes - } -} - -doctrine_pilgrimage_mandatory = { - icon = "doctrine_pilgrimage_mandatory" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pilgrimage_mandatory } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - is_shown = { - NOT = { religion_tag = islam_religion } - } - - character_modifier = { - monthly_piety_gain_mult = -0.25 - same_faith_opinion = -5 - } - - parameters = { - can_go_on_pilgrimage = yes - mandatory_pilgrimage = yes - basic_pilgrimage_rewards = yes - } -} - -doctrine_pilgrimage_mandatory_hajj = { - icon = "doctrine_pilgrimage_mandatory_hajj" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_pilgrimage_mandatory_hajj } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - is_shown = { - religion_tag = islam_religion - } - - character_modifier = { - monthly_piety_gain_mult = -0.25 - same_faith_opinion = -5 - } - - parameters = { - can_go_on_pilgrimage = yes - mandatory_hajj = yes - basic_pilgrimage_rewards = yes - } -} - -doctrine_funeral_stoic = { # Abrahamic funerals, stand around and try not to cry too much before the body is humbly buried - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_funeral_stoic } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - burial_funeral = yes - stoic_funeral = yes - } -} - -doctrine_funeral_bewailment = { # West African funerals, strongly encouraged to show emotion before the body is humbly buried - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_funeral_bewailment } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - burial_funeral = yes - bewailment_funeral = yes - } -} -doctrine_funeral_cremation = { # Catch-all cremations, burn or otherwise dissolve the body - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_funeral_cremation } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - cremation_funeral = yes - } -} - -doctrine_funeral_sky_burial = { # Have the body fed to scavenging animals and birds - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { has_doctrine = doctrine_funeral_sky_burial } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - sky_burials_active = yes - can_build_towers_of_silence_active = yes - } - - character_modifier = { - negate_health_penalty_add = 0.25 - } -} - -doctrine_funeral_mummification = { # Fanatically preserve the body, very expensive - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_funeral_mummification } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - mummification_funeral = yes - } - - can_pick = { - custom_description = { - text = incompatible_tenet_aniconism_trigger - NOT = { doctrine:tenet_aniconism = { is_in_list = selected_doctrines } } - } - } -} - -doctrine_family_rites = { # Solemn veneration - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = doctrine_family_rites } - multiply = faith_unchanged_doctrine_cost_mult - } - if = { - limit = { has_doctrine = tenet_filial_piety } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - burial_funeral = yes - family_rites = yes - } -} - -doctrine_no_anointment = { - piety_cost = { - value = faith_doctrine_cost_mid - } - - parameters = { - no_anointment = yes - coronation_artifact = yes - } - - is_shown = { - has_ach_dlc_trigger = yes - } -} - -doctrine_anointment_permitted = { - piety_cost = { - value = faith_doctrine_cost_mid - } - - parameters = { - theocratic_coronation = yes - coronation_artifact = yes - } - - can_pick = { - custom_description = { - text = doctrine_requires_theocratic_head_of_faith_trigger - NOR = { - doctrine:doctrine_no_head = { is_in_list = selected_doctrines } - doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } - } - } - } - - is_shown = { - has_ach_dlc_trigger = yes - } -} - -doctrine_imperial_anointment = { - piety_cost = { - value = faith_doctrine_cost_mid - } - - parameters = { - imperial_anointment = yes - coronation_artifact = yes - } - - can_pick = { - custom_description = { - text = doctrine_requires_theocratic_head_of_faith_trigger - NOR = { - doctrine:doctrine_no_head = { is_in_list = selected_doctrines } - doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } - } - } - } - - is_shown = { - has_ach_dlc_trigger = yes - } -} - -doctrine_monotheist = { - icon = "doctrine_monotheist" - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { - OR = { - has_doctrine = abrahamic_hostility_doctrine - has_doctrine = doctrine_monotheist - } - } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - hostility_others = 3 - } -} - -doctrine_polytheist = { - icon = "doctrine_polytheist" - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = abrahamic_hostility_doctrine } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { has_doctrine = doctrine_polytheist } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - hostility_others = 2 - } -} - - doctrine_pantheist = { - icon = "doctrine_pantheist" - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { has_doctrine = abrahamic_hostility_doctrine } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { has_doctrine = doctrine_pantheist } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - hostility_same_family = 1 - hostility_others = 1 - } - } - doctrine_sevillian_dominion_1 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.05 - domain_tax_mult = -0.05 - levy_size = -0.1 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.1 - theocracy_government_levy_contribution_mult = -0.1 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_2 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.075 - domain_tax_mult = -0.075 - levy_size = -0.125 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.125 - theocracy_government_levy_contribution_mult = -0.125 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_3 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.1 - domain_tax_mult = -0.1 - levy_size = -0.15 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.15 - theocracy_government_levy_contribution_mult = -0.15 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_4 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.125 - domain_tax_mult = -0.125 - levy_size = -0.175 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.175 - theocracy_government_levy_contribution_mult = -0.175 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_5 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.15 - domain_tax_mult = -0.15 - levy_size = -0.175 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.2 - theocracy_government_levy_contribution_mult = -0.2 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_6 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.175 - domain_tax_mult = -0.175 - levy_size = -0.2 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.225 - theocracy_government_levy_contribution_mult = -0.225 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_7 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.2 - domain_tax_mult = -0.2 - levy_size = -0.225 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.25 - theocracy_government_levy_contribution_mult = -0.25 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_8 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.225 - domain_tax_mult = -0.225 - levy_size = -0.25 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.275 - theocracy_government_levy_contribution_mult = -0.275 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_sevillian_dominion_9 = { - - is_shown = { - OR = { - - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.25 - domain_tax_mult = -0.25 - levy_size = -0.275 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.3 - theocracy_government_levy_contribution_mult = -0.3 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - - doctrine_roman_dominion_1 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.05 - domain_tax_mult = -0.05 - levy_size = -0.1 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.1 - theocracy_government_levy_contribution_mult = -0.1 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_2 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.075 - domain_tax_mult = -0.075 - levy_size = -0.125 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.125 - theocracy_government_levy_contribution_mult = -0.125 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_3 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.1 - domain_tax_mult = -0.1 - levy_size = -0.15 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.15 - theocracy_government_levy_contribution_mult = -0.15 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_4 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.125 - domain_tax_mult = -0.125 - levy_size = -0.175 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.175 - theocracy_government_levy_contribution_mult = -0.175 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_5 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.15 - domain_tax_mult = -0.15 - levy_size = -0.175 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.2 - theocracy_government_levy_contribution_mult = -0.2 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_6 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.175 - domain_tax_mult = -0.175 - levy_size = -0.2 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.225 - theocracy_government_levy_contribution_mult = -0.225 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_7 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.2 - domain_tax_mult = -0.2 - levy_size = -0.225 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.25 - theocracy_government_levy_contribution_mult = -0.25 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_8 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.225 - domain_tax_mult = -0.225 - levy_size = -0.25 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.275 - theocracy_government_levy_contribution_mult = -0.275 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } - doctrine_roman_dominion_9 = { - - is_shown = { - OR = { - religion = religion:roman_catholic - religion = religion:sevillian - } - } - can_pick = { - always = no - } - piety_cost = { - value = faith_doctrine_cost_high - } - clergy_modifier = { - monthly_income_mult = 0.25 - domain_tax_mult = -0.25 - levy_size = -0.275 - } - character_modifier = { - theocracy_government_tax_contribution_mult = -0.3 - theocracy_government_levy_contribution_mult = -0.3 - } - parameters = { - param_bureaucracy_exp_1 = yes - param_bureaucracy_exp_2 = yes - param_bureaucracy_exp_3 = yes - } - } diff --git a/common/religion/doctrine_types/00_1_neow_universal_tolerance_doctrines.txt b/common/religion/doctrines/00_1_neow_universal_tolerance_doctrines.txt similarity index 96% rename from common/religion/doctrine_types/00_1_neow_universal_tolerance_doctrines.txt rename to common/religion/doctrines/00_1_neow_universal_tolerance_doctrines.txt index 25662718..353d4d15 100644 --- a/common/religion/doctrine_types/00_1_neow_universal_tolerance_doctrines.txt +++ b/common/religion/doctrines/00_1_neow_universal_tolerance_doctrines.txt @@ -1,4 +1,41 @@ - +universal_tolerance = { #This is a complicated set of doctrines that determine the hostility levels of every faith in the mod + group = "main_group" + is_available_on_create = { + OR = { #list of religions currently within the universal tolerance set. This should eventually include every religion. Please keep this updated and organized. + ### Abrahamics + #Catholics + religion_tag = catholic_religion + #Novelist + religion_tag = novelist_religion + #Protestant + religion_tag = protestant_religion + + ### Esoterics + #Wiccans + religion_tag = wicca_religion + #Thelema + religion_tag = thelema_religion + #Britannic + religion_tag = britannic_religion + + ### Pagans + #Druidics + religion_tag = druidic_religion + #Germanics + religion_tag = folkgerman_religion + + #Hermetic + religion_tag = chronicler_religion + #Europeanist + religion_tag = europeanist_religion + + # Temp measure before religion doctrines set up for religions w/ PotB access + has_doctrine = special_doctrine_people_of_the_book + } + } + + #Catholic Doctrines + special_doctrine_roman_rite = { is_shown = { religion_tag = catholic_religion @@ -1069,4 +1106,5 @@ same_faith_opinion = 5 } } - \ No newline at end of file + +} \ No newline at end of file diff --git a/common/religion/doctrines/10_doctrines_religions.txt b/common/religion/doctrines/10_doctrines_religions.txt new file mode 100644 index 00000000..5ad1727c --- /dev/null +++ b/common/religion/doctrines/10_doctrines_religions.txt @@ -0,0 +1,40 @@ +# Defined early so tenets / other doctrines can override these +hostility_group = { + group = "not_creatable" + abrahamic_hostility_doctrine = { + parameters = { + hostility_same_religion = 2 + hostility_same_family = 3 + hostility_others = 3 + } + } + pagan_hostility_doctrine = { + visible = no + parameters = { + hostility_same_religion = 1 + hostility_same_family = 2 + hostility_others = 3 + } + } + eastern_hostility_doctrine = { + parameters = { + hostility_same_religion = 1 + hostility_same_family = 1 + hostility_others = 2 + } + } + sinitic_hostility_doctrine = { + parameters = { + hostility_same_religion = 1 + hostility_same_family = 1 + hostility_others = 2 + } + } + antediluvianist_hostility_doctrine = { + parameters = { + hostility_same_religion = 2 + hostility_same_family = 2 + hostility_others = 3 + } + } +} diff --git a/common/religion/doctrines/20_doctrines.txt b/common/religion/doctrines/20_doctrines.txt new file mode 100644 index 00000000..efc7f883 --- /dev/null +++ b/common/religion/doctrines/20_doctrines.txt @@ -0,0 +1,2088 @@ +#Needs to be used in order to remove theism doctrines + +doctrine_marriage_type = { + group = "marriage" + doctrine_monogamy = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_monogamy } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + number_of_spouses = 1 + marriage_event = yes + } + } + + doctrine_polygamy = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_polygamy } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + number_of_spouses = 4 + spouse_piety_loss = yes + } + } + + doctrine_concubines = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_concubines } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + number_of_spouses = 1 + number_of_consorts = 3 + } + } +} + +doctrine_divorce = { + group = "marriage" + doctrine_divorce_disallowed = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_divorce_disallowed } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_divorce_allowed } + multiply = faith_changed_doctrine_cost_mult_two_step + } + + } + parameters = { + divorce_disallowed = yes + } + } + doctrine_divorce_approval = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_divorce_approval } + multiply = faith_unchanged_doctrine_cost_mult + } + + } + parameters = { + divorce_approval = yes + } + } + doctrine_divorce_allowed = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_divorce_allowed } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_divorce_disallowed } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + divorce_allowed = yes + } + } +} + +doctrine_bastardry = { + group = "marriage" + doctrine_bastardry_none = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_bastardry_none } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_bastardry_all } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + bastards_none = yes + } + } + doctrine_bastardry_legitimization = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_bastardry_legitimization } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + bastards_legitimize = yes + } + } + doctrine_bastardry_all = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_bastardry_all } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_bastardry_none } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + bastards_always = yes + } + } +} + +doctrine_homosexuality = { + group = "crimes" + doctrine_homosexuality_crime = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_homosexuality_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_homosexuality_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + homosexuality_illegal = yes + } + } + doctrine_homosexuality_shunned = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_homosexuality_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + homosexuality_shunned = yes + } + } + doctrine_homosexuality_accepted = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_homosexuality_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_homosexuality_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + homosexuality_accepted = yes + } + } +} + +doctrine_deviancy = { + group = "crimes" + doctrine_deviancy_crime = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_deviancy_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_deviancy_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_deviancy_virtuous } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + deviancy_illegal = yes + } + } + doctrine_deviancy_shunned = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_deviancy_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_deviancy_virtuous } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + deviancy_shunned = yes + } + } + doctrine_deviancy_accepted = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_deviancy_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_deviancy_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + deviancy_accepted = yes + } + } + doctrine_deviancy_virtuous = { + can_pick = { + OR = { + custom_description = { + text = must_select_carnal_exaltation + doctrine:tenet_carnal_exaltation = { is_in_list = selected_doctrines } + } + custom_description = { + text = must_select_love_under_will + doctrine:tenet_love_under_will = { is_in_list = selected_doctrines } + } + } + } + piety_cost = { + value = faith_doctrine_cost_massive + if = { + limit = { has_doctrine = doctrine_deviancy_virtuous } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_deviancy_shunned } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_deviancy_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + traits = { + virtues = { deviant } + } + parameters = { + deviancy_accepted = yes + } + } +} + +doctrine_adultery_men = { + group = "crimes" + doctrine_adultery_men_crime = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_adultery_men_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_adultery_men_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + adultery_male_crime = yes + } + } + doctrine_adultery_men_shunned = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_adultery_men_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + adultery_male_shunned = yes + } + } + doctrine_adultery_men_accepted = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_adultery_men_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_adultery_men_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + adultery_male_accepted = yes + } + } +} + +doctrine_adultery_women = { + group = "crimes" + doctrine_adultery_women_crime = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_adultery_women_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_adultery_women_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + adultery_female_crime = yes + } + } + doctrine_adultery_women_shunned = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_adultery_women_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + adultery_female_shunned = yes + } + } + doctrine_adultery_women_accepted = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_adultery_women_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_adultery_women_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + adultery_female_accepted = yes + } + } +} + +doctrine_kinslaying = { + group = "crimes" + doctrine_kinslaying_any_dynasty_member_crime = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_close_kin_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_shunned } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_accepted } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + parameters = { + kinslaying_any_dynasty_member_crime = yes + } + } + doctrine_kinslaying_extended_family_crime = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_kinslaying_extended_family_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_shunned } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_accepted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + kinslaying_extended_family_crime = yes + } + } + doctrine_kinslaying_close_kin_crime = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_kinslaying_close_kin_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + has_doctrine = doctrine_kinslaying_accepted + has_doctrine = doctrine_kinslaying_any_dynasty_member_crime + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + kinslaying_close_kin_crime = yes + } + } + doctrine_kinslaying_shunned = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_kinslaying_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_extended_family_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + kinslaying_shunned = yes + } + } + doctrine_kinslaying_accepted = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_kinslaying_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_close_kin_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_extended_family_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } + multiply = faith_changed_doctrine_cost_mult_four_step + } + + } + parameters = { + kinslaying_accepted = yes + } + } +} + +doctrine_witchcraft = { + group = "crimes" + doctrine_witchcraft_crime = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_witchcraft_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_witchcraft_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_witchcraft_virtuous } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + witchcraft_illegal = yes + } + } + doctrine_witchcraft_shunned = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_witchcraft_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_witchcraft_virtuous } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + witchcraft_shunned = yes + } + } + doctrine_witchcraft_accepted = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_witchcraft_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_witchcraft_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + witchcraft_accepted = yes + } + } + doctrine_witchcraft_virtuous = { + piety_cost = { + value = faith_tenet_cost_massive + if = { + limit = { has_doctrine = doctrine_witchcraft_virtuous } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_witchcraft_shunned } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_witchcraft_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + traits = { + virtues = { witch } + } + parameters = { + witchcraft_accepted = yes + } + } +} + + +doctrine_gender = { + group = "main_group" + + doctrine_gender_male_dominated = { + is_shown = { + NOT = { has_game_rule = full_gender_equality } + } + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_gender_male_dominated } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_gender_female_dominated } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + male_dominated_law = yes + female_claims_are_weak = yes + women_cannot_inherit_implicit_claims = yes + women_cannot_be_granted_titles = yes + male_dominated_council = yes + combatant_must_be_male_if_no_roco = yes + } + character_modifier = { + name = female_ruler_male_dominant + opinion_of_female_rulers = -10 + } + + can_pick = { + NAND = { + exists = religious_head + religious_head.culture = { has_cultural_parameter = female_only_inheritance } + } + } + } + doctrine_gender_equal = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_gender_equal } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + gender_equal_law = yes + combatant_can_be_either_gender_if_no_roco = yes + } + } + doctrine_gender_female_dominated = { + is_shown = { + NOT = { has_game_rule = full_gender_equality } + } + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_gender_female_dominated } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_gender_male_dominated } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + female_dominated_law = yes + male_claims_are_weak = yes + men_cannot_inherit_implicit_claims = yes + men_cannot_be_granted_titles = yes + female_dominated_council = yes + combatant_must_be_female_if_no_roco = yes + } + character_modifier = { + name = male_ruler_female_dominant + opinion_of_male_rulers = -10 + } + + can_pick = { + NAND = { + exists = religious_head + religious_head.culture = { has_cultural_parameter = male_only_inheritance } + } + } + } +} + +doctrine_consanguinity = { + group = "marriage" + doctrine_consanguinity_dynastic = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + consanguinity_restricted_dynastic_marriage = yes + consanguinity_restricted_marriage = yes + consanguinity_restricted_close_kin_incest = yes + } + } + doctrine_consanguinity_restricted = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + consanguinity_restricted_marriage = yes + consanguinity_restricted_close_kin_incest = yes + } + } + doctrine_consanguinity_cousins = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_consanguinity_cousins } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + consanguinity_cousins_marriage = yes + consanguinity_cousins_incest = yes + allows_cousin_marriage = yes + } + } + doctrine_consanguinity_aunt_nephew_and_uncle_niece = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + consanguinity_aunt_nephew_and_uncle_niece_marriage = yes + consanguinity_aunt_nephew_and_uncle_niece_incest = yes + allows_cousin_marriage = yes + allows_aunt_nephew_and_uncle_niece_marriage = yes + } + } + doctrine_consanguinity_unrestricted = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_cousins } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + parameters = { + consanguinity_unrestricted_marriage = yes + consanguinity_unrestricted_incest = yes + allows_cousin_marriage = yes + allows_aunt_nephew_and_uncle_niece_marriage = yes + allows_unrestricted_marriage = yes + } + } +} + +doctrine_pluralism = { + group = "main_group" + + doctrine_pluralism_fundamentalist = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pluralism_fundamentalist } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_pluralism_pluralistic } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + hostility_towards_us_mult = 2 + + pluralism_fundamentalist_proselytization_bonus = yes + pluralism_fundamentalist_faction_join_chance = yes + pluralism_fundamentalist_vulnerable_to_heresy = yes + pluralism_fundamentalist_revocation_tyranny_minimal = yes + } + character_modifier = { + minority_different_faith_opinion = -20 + } + } + doctrine_pluralism_righteous = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pluralism_righteous } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + hostility_towards_us_mult = 1 + pluralism_righteous_revocation_tyranny_reduced = yes + } + character_modifier = { + minority_different_faith_opinion = -10 + } + } + doctrine_pluralism_pluralistic = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pluralism_pluralistic } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_pluralism_fundamentalist } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + can_pick = { + custom_description = { + text = incompatible_tenet_pentarchy_trigger + NOT = { doctrine:tenet_pentarchy = { is_in_list = selected_doctrines } } + } + } + + parameters = { + hostility_towards_us_mult = 0.5 + pluralism_pluralistic_proselytization_penalty = yes + pluralism_pluralistic_faction_join_chance = yes + pluralism_pluralistic_resistant_to_heresy = yes + pluralism_pluralistic_holy_wars_preserve_vassals = yes + + } + } +} + +doctrine_theocracy = { + group = "main_group" + doctrine_theocracy_temporal = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_theocracy_temporal } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_theocracy_lay_clergy } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + can_pick = { + custom_description = { + text = incompatible_doctrine_theocracy_temporal_trigger + NOT = { doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } } + } + } + + parameters = { + theocracy_temple_lease = yes + } + } + doctrine_theocracy_lay_clergy = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_theocracy_lay_clergy } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_theocracy_temporal } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + theocracy_temple_ownership = yes + lay_clergy = yes + allowed_holding_type_church_holding = yes + } + } +} + +doctrine_head_of_faith = { + group = "main_group" + + doctrine_no_head = { + visible = no + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_no_head } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + no_head_of_faith = yes + minimum_fervor = 25 + } + } + doctrine_spiritual_head = { + visible = no + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_spiritual_head } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + spiritual_head_of_faith = yes + spiritual_head_of_faith_claims = yes + spiritual_head_of_faith_gold = yes + } + } + doctrine_temporal_head = { + visible = no + piety_cost = { + value = faith_doctrine_cost_massive + if = { + limit = { has_doctrine = doctrine_temporal_head } + multiply = faith_unchanged_doctrine_cost_mult + } + } + can_pick = { + custom_description = { + text = incompatible_doctrine_theocracy_temporal_trigger + NOT = { doctrine:doctrine_theocracy_temporal = { is_in_list = selected_doctrines } } + } + custom_description = { + text = incompatible_doctrine_spiritual_appointment_temporal_trigger + NOR = { + doctrine:doctrine_clerical_succession_spiritual_appointment = { is_in_list = selected_doctrines } + doctrine:doctrine_clerical_succession_spiritual_fixed_appointment = { is_in_list = selected_doctrines } + } + } + } + + parameters = { + temporal_head_of_faith = yes + temporal_head_of_faith_directed_holy_wars = yes + } + } +} + +doctrine_clerical_function = { + group = "clergy" + doctrine_clerical_function_taxation = { + clergy_modifier = { + #monthly_county_control_growth_add_even_if_baron = 0.2 + monthly_county_control_growth_factor_even_if_baron = 0.2 + } + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_function_taxation } + multiply = faith_unchanged_doctrine_cost_mult + } + } + } + doctrine_clerical_function_alms_and_pacification = { + clergy_modifier = { + county_opinion_add_even_if_baron = 10 + domain_tax_mult_even_if_baron = -0.05 + } + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_function_alms_and_pacification } + multiply = faith_unchanged_doctrine_cost_mult + } + } + } + doctrine_clerical_function_recruitment = { + clergy_modifier = { + domain_tax_same_faith_mult_even_if_baron = -0.03 + levy_reinforcement_rate_same_faith_even_if_baron = 0.3 + prowess = 4 + } + parameters = { + clergy_can_fight = yes + } + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_function_recruitment } + multiply = faith_unchanged_doctrine_cost_mult + } + } + } +} + +doctrine_clerical_gender = { + group = "clergy" + doctrine_clerical_gender_male_only = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_gender_male_only } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_clerical_gender_female_only } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + clergy_must_be_male = yes + } + } + doctrine_clerical_gender_female_only = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_gender_female_only } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_clerical_gender_male_only } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + clergy_must_be_female = yes + } + } + doctrine_clerical_gender_either = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_gender_either } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + parameters = { + clergy_can_be_either_gender = yes + } + } +} + +doctrine_clerical_marriage = { + group = "clergy" + doctrine_clerical_marriage_allowed = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_marriage_allowed } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_clerical_marriage_disallowed } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + clergy_can_marry = yes + } + } + doctrine_clerical_marriage_disallowed = { + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { has_doctrine = doctrine_clerical_marriage_disallowed } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { has_doctrine = doctrine_clerical_marriage_allowed } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + clergy_can_marry = no + } + } +} + +doctrine_clerical_succession = { + group = "clergy" + doctrine_clerical_succession_temporal_appointment = { # Temporal, Free + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_clerical_succession_temporal_appointment } + multiply = faith_unchanged_doctrine_cost_mult + } + else = { + if = { + limit = { + OR = { # Was Spiritual + has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment + has_doctrine = doctrine_clerical_succession_spiritual_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + if = { + limit = { + OR = { # Was Fixed + has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment + has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + # Round up to the nearest multiple of 25 + divide = 25 + ceiling = yes + multiply = 25 + } + + parameters = { + clerical_appointment_ruler = yes + clerical_appointment_fixed = no + } + } + doctrine_clerical_succession_spiritual_appointment = { # Spiritual, Free + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_clerical_succession_spiritual_appointment } + multiply = faith_unchanged_doctrine_cost_mult + } + else = { + if = { + limit = { + OR = { # Was Temporal + has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment + has_doctrine = doctrine_clerical_succession_temporal_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + if = { + limit = { + OR = { # Was Fixed + has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment + has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + # Round up to the nearest multiple of 25 + divide = 25 + ceiling = yes + multiply = 25 + } + + can_pick = { + custom_description = { + text = incompatible_doctrine_spiritual_appointment_temporal_trigger + NOT = { doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } } + } + } + + parameters = { + clerical_appointment_head_of_faith = yes + clerical_appointment_fixed = no + } + } + doctrine_clerical_succession_temporal_fixed_appointment = { # Temporal, Fixed + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment } + multiply = faith_unchanged_doctrine_cost_mult + } + else = { + if = { + limit = { + OR = { # Was Spiritual + has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment + has_doctrine = doctrine_clerical_succession_spiritual_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + if = { + limit = { + OR = { # Was free + has_doctrine = doctrine_clerical_succession_spiritual_appointment + has_doctrine = doctrine_clerical_succession_temporal_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + # Round up to the nearest multiple of 25 + divide = 25 + ceiling = yes + multiply = 25 + } + parameters = { + clerical_appointment_ruler = yes + clerical_appointment_fixed = yes + } + } + doctrine_clerical_succession_spiritual_fixed_appointment = { # Spiritual, Fixed + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_clerical_succession_spiritual_fixed_appointment } + multiply = faith_unchanged_doctrine_cost_mult + } + else = { + if = { + limit = { + OR = { # Was Temporal + has_doctrine = doctrine_clerical_succession_temporal_fixed_appointment + has_doctrine = doctrine_clerical_succession_temporal_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + if = { + limit = { + OR = { # Was Free + has_doctrine = doctrine_clerical_succession_spiritual_appointment + has_doctrine = doctrine_clerical_succession_temporal_appointment + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + # Round up to the nearest multiple of 25 + divide = 25 + ceiling = yes + multiply = 25 + } + + can_pick = { + custom_description = { + text = incompatible_doctrine_spiritual_appointment_temporal_trigger + NOT = { doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } } + } + } + + parameters = { + clerical_appointment_head_of_faith = yes + clerical_appointment_fixed = yes + } + } +} + +doctrine_pilgrimage = { + group = "main_group" + doctrine_pilgrimage_forbidden = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pilgrimage_forbidden } + multiply = faith_unchanged_doctrine_cost_mult + } + } + character_modifier = { + monthly_piety_gain_mult = 0.2 + advantage_against_coreligionists = 5 + } + parameters = { + forbidden_from_pilgrimage = yes + } + traits = { + sins = { hajjaj pilgrim } + } + } + + doctrine_pilgrimage_encouraged = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pilgrimage_encouraged } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + can_go_on_pilgrimage = yes + basic_pilgrimage_rewards = yes + } + } + + doctrine_pilgrimage_local_rites = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pilgrimage_local_rites } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + local_shrine_offering = yes + can_go_on_pilgrimage = yes + basic_pilgrimage_rewards = yes + } + } + + doctrine_pilgrimage_mandatory = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pilgrimage_mandatory } + multiply = faith_unchanged_doctrine_cost_mult + } + } + is_shown = { + NOT = { religion_tag = islam_religion } + } + character_modifier = { + monthly_piety_gain_mult = -0.25 + same_faith_opinion = -5 + } + parameters = { + can_go_on_pilgrimage = yes + mandatory_pilgrimage = yes + basic_pilgrimage_rewards = yes + } + } + + doctrine_pilgrimage_mandatory_hajj = { + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_pilgrimage_mandatory_hajj } + multiply = faith_unchanged_doctrine_cost_mult + } + } + is_shown = { + religion_tag = islam_religion + } + character_modifier = { + monthly_piety_gain_mult = -0.25 + same_faith_opinion = -5 + } + parameters = { + can_go_on_pilgrimage = yes + mandatory_hajj = yes + basic_pilgrimage_rewards = yes + } + } +} + +doctrine_funeral = { + group = "clergy" + doctrine_funeral_stoic = { # Abrahamic funerals, stand around and try not to cry too much before the body is humbly buried + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_funeral_stoic } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + burial_funeral = yes + stoic_funeral = yes + } + } + doctrine_funeral_bewailment = { # West African funerals, strongly encouraged to show emotion before the body is humbly buried + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_funeral_bewailment } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + burial_funeral = yes + bewailment_funeral = yes + } + } + doctrine_funeral_cremation = { # Catch-all cremations, burn or otherwise dissolve the body + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_funeral_cremation } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + cremation_funeral = yes + } + } + doctrine_funeral_sky_burial = { # Have the body fed to scavenging animals and birds + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { has_doctrine = doctrine_funeral_sky_burial } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + sky_burials_active = yes + can_build_towers_of_silence_active = yes + } + + character_modifier = { + negate_health_penalty_add = 0.25 + } + } + doctrine_funeral_mummification = { # Fanatically preserve the body, very expensive + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_funeral_mummification } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + mummification_funeral = yes + } + + can_pick = { + custom_description = { + text = incompatible_tenet_aniconism_trigger + NOT = { doctrine:tenet_aniconism = { is_in_list = selected_doctrines } } + } + } + } + + doctrine_family_rites = { # Solemn veneration + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = doctrine_family_rites } + multiply = faith_unchanged_doctrine_cost_mult + } + if = { + limit = { has_doctrine = tenet_filial_piety } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + burial_funeral = yes + family_rites = yes + } + } +} + +doctrine_coronation = { + group = "clergy" + is_available_on_create = { + has_ach_dlc_trigger = yes + } + doctrine_no_anointment = { + piety_cost = { + value = faith_doctrine_cost_mid + } + parameters = { + no_anointment = yes + } + is_shown = { + has_ach_dlc_trigger = yes + } + } + doctrine_anointment_permitted = { + piety_cost = { + value = faith_doctrine_cost_mid + } + parameters = { + theocratic_coronation = yes + } + can_pick = { + custom_description = { + text = doctrine_requires_theocratic_head_of_faith_trigger + NOR = { + doctrine:doctrine_no_head = { is_in_list = selected_doctrines } + doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } + } + } + } + is_shown = { + has_ach_dlc_trigger = yes + } + } + doctrine_imperial_anointment = { + piety_cost = { + value = faith_doctrine_cost_mid + } + parameters = { + imperial_anointment = yes + } + can_pick = { + custom_description = { + text = doctrine_requires_theocratic_head_of_faith_trigger + NOR = { + doctrine:doctrine_no_head = { is_in_list = selected_doctrines } + doctrine:doctrine_temporal_head = { is_in_list = selected_doctrines } + } + } + } + is_shown = { + has_ach_dlc_trigger = yes + } + } +} + + +doctrine_theism = { + group = "main_group" + doctrine_monotheist = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { + OR = { + has_doctrine = abrahamic_hostility_doctrine + has_doctrine = doctrine_monotheist + } + } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + hostility_others = 3 + } + } + doctrine_polytheist = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = abrahamic_hostility_doctrine } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { has_doctrine = doctrine_polytheist } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + hostility_others = 2 + } + } + doctrine_pantheist = { + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { has_doctrine = abrahamic_hostility_doctrine } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { has_doctrine = doctrine_pantheist } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + hostility_same_family = 1 + hostility_others = 1 + } + } +} +doctrine_special_sevillian_dominion = { + group = "clergy" + doctrine_sevillian_dominion_1 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.05 + domain_tax_mult = -0.05 + levy_size = -0.1 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.1 + theocracy_government_levy_contribution_mult = -0.1 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_2 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.075 + domain_tax_mult = -0.075 + levy_size = -0.125 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.125 + theocracy_government_levy_contribution_mult = -0.125 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_3 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.1 + domain_tax_mult = -0.1 + levy_size = -0.15 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.15 + theocracy_government_levy_contribution_mult = -0.15 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_4 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.125 + domain_tax_mult = -0.125 + levy_size = -0.175 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.175 + theocracy_government_levy_contribution_mult = -0.175 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_5 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.15 + domain_tax_mult = -0.15 + levy_size = -0.175 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.2 + theocracy_government_levy_contribution_mult = -0.2 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_6 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.175 + domain_tax_mult = -0.175 + levy_size = -0.2 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.225 + theocracy_government_levy_contribution_mult = -0.225 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_7 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.2 + domain_tax_mult = -0.2 + levy_size = -0.225 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.25 + theocracy_government_levy_contribution_mult = -0.25 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_8 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.225 + domain_tax_mult = -0.225 + levy_size = -0.25 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.275 + theocracy_government_levy_contribution_mult = -0.275 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_sevillian_dominion_9 = { + + is_shown = { + OR = { + + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.25 + domain_tax_mult = -0.25 + levy_size = -0.275 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.3 + theocracy_government_levy_contribution_mult = -0.3 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } +} + +doctrine_special_roman_dominion = { + group = "clergy" + doctrine_roman_dominion_1 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.05 + domain_tax_mult = -0.05 + levy_size = -0.1 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.1 + theocracy_government_levy_contribution_mult = -0.1 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_2 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.075 + domain_tax_mult = -0.075 + levy_size = -0.125 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.125 + theocracy_government_levy_contribution_mult = -0.125 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_3 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.1 + domain_tax_mult = -0.1 + levy_size = -0.15 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.15 + theocracy_government_levy_contribution_mult = -0.15 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_4 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.125 + domain_tax_mult = -0.125 + levy_size = -0.175 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.175 + theocracy_government_levy_contribution_mult = -0.175 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_5 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.15 + domain_tax_mult = -0.15 + levy_size = -0.175 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.2 + theocracy_government_levy_contribution_mult = -0.2 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_6 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.175 + domain_tax_mult = -0.175 + levy_size = -0.2 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.225 + theocracy_government_levy_contribution_mult = -0.225 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_7 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.2 + domain_tax_mult = -0.2 + levy_size = -0.225 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.25 + theocracy_government_levy_contribution_mult = -0.25 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_8 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.225 + domain_tax_mult = -0.225 + levy_size = -0.25 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.275 + theocracy_government_levy_contribution_mult = -0.275 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } + doctrine_roman_dominion_9 = { + + is_shown = { + OR = { + religion = religion:roman_catholic + religion = religion:sevillian + } + } + can_pick = { + always = no + } + piety_cost = { + value = faith_doctrine_cost_high + } + clergy_modifier = { + monthly_income_mult = 0.25 + domain_tax_mult = -0.25 + levy_size = -0.275 + } + character_modifier = { + theocracy_government_tax_contribution_mult = -0.3 + theocracy_government_levy_contribution_mult = -0.3 + } + parameters = { + param_bureaucracy_exp_1 = yes + param_bureaucracy_exp_2 = yes + param_bureaucracy_exp_3 = yes + } + } +} \ No newline at end of file diff --git a/common/religion/doctrine_types/30_core_tenets.txt b/common/religion/doctrines/30_core_tenets.txt similarity index 99% rename from common/religion/doctrine_types/30_core_tenets.txt rename to common/religion/doctrines/30_core_tenets.txt index 202b858f..4dc2ffbb 100644 --- a/common/religion/doctrine_types/30_core_tenets.txt +++ b/common/religion/doctrines/30_core_tenets.txt @@ -1,4 +1,7 @@ - +doctrine_core_tenets = { + group = "core_tenets" + number_of_picks = 3 + ###### NEOW TENETS ###### ###WICCA### @@ -5638,6 +5641,7 @@ virtues = { lifestyle_hunter } } } +} ############################# # Empty Template Tenet # diff --git a/common/religion/doctrine_types/NEOW_virtue_doctrines.txt b/common/religion/doctrines/NEOW_virtue_doctrines.txt similarity index 100% rename from common/religion/doctrine_types/NEOW_virtue_doctrines.txt rename to common/religion/doctrines/NEOW_virtue_doctrines.txt diff --git a/common/religion/doctrine_types/_doctrine_types.info b/common/religion/doctrines/_doctrines.info similarity index 61% rename from common/religion/doctrine_types/_doctrine_types.info rename to common/religion/doctrines/_doctrines.info index a7abbfef..bb214f20 100644 --- a/common/religion/doctrine_types/_doctrine_types.info +++ b/common/religion/doctrines/_doctrines.info @@ -1,103 +1,42 @@ -### Brief: key ( database key ) -# Name of 'doctrine_type' -# Faith doctrines are what defines how a faith works. All unique faith mechanics are tied to doctrines, rather than involving hardcoding or special parameters on the religion itself. -# -key = { - ### Brief: icon ( optional string ) - # To override which icon is used, set its filename here (without file ending). - # Required path = DOCTRINE_TYPE_ICON_PATH - # Default: Will look for icon in the path with the same name as key - # - icon = "filename" +Faith doctrines are what defines how a faith works. All unique faith mechanics are tied to doctrines, rather than involving hardcoding or special parameters on the religion itself. - ### brief: name ( optional dynamic description ) - # Dynamic description selecting name of doctrine. - # Defaults to: + "_name" - # - # Supported scope: - # root ( Faith ) - # - name = { ... } +== Structure == +doctrine_group_key = { # The key will be used for the doctrine icon, combined with the path in the define FAITH_DOCTRINE_ICON_PATH + name = dynamic description # Optional. If not specified, the loc key "doctrine_group_key_name" will be used + grouping = "key" # GUI grouping + + is_available_on_create = {} # When should this doctrine group be shown when choosing doctrines? If not shown, the group will go away entirely on create if present on the old faith + number_of_picks = 3 # How many doctrines within the group does the player get to choose? Defaults to 1. The UI will ensure no duplicates + + doctrine_key = { + name = dynamic description # Optional. If not specified, the loc key "doctrine_key_name" will be used + desc = dynamic description # Optional. If not specified, the loc key "doctrine_key_desc" will be used + visible = yes/no # Should be shown on the religion interface + parameters = { + param_name = yes/no # Parameters can take bools + param_name = 0.5 # Or fixed point numbers + } + piety_cost = script value # How much piety will it cost? + + is_shown = {} # When should this doctrine be shown when choosing doctrines? + can_pick = {} # When can this doctrine be picked when choosing doctrines? + # When doctrines should refer to other selected doctrines when creating a new faith (e.g. for mutually exclusive doctrines), use: + # flag:required_doctrine = { is_in_list = selected_doctrines } + # The "selected_doctrines" list is the list of doctrines currently selected in the UI. (It might be different from the doctrines in + # the faith, since the player can change multiple doctrines when creating a faith.) + + character_modifier = {} # All characters of this faith get this modifier + doctrine_character_modifier = { # All characters of this faith get this modifier if the faith also has the specified doctrine + doctrine = ... + ... + } - ### brief: desc ( optional dynamic description ) - # Dynamic description selecting description of doctrine. - # Defaults to: + "_desc" - # - # Supported scopes: - # root ( Faith ) - # - desc = { ... } - - ### brief: visible ( bool ) - # Will this doctrine show up in gui views? - # Defaults to: yes - # - visible = yes/no - - ### Brief: parameters ( parameter list ) - # Arbitrary parameters where bool types can be checked with the trigger: 'has_doctrine_parameter' - # - # Note: The above trigger just checks for existence, so it does not - # matter if the value is set to 'yes' or 'no'. - # - parameters = { - param_name = yes/no # Parameters can take bools - param_name = 0.5 # Or fixed point numbers + traits = { ... } # Adds additional sins/virtues. See traits in _religions.info. If a trait is already a sin or virtue in the religion, the doctrine takes precedence. } - - ### Brief: piety_cost ( optional scripted cost ) - # How much does this doctrine cost? - # - piety_cost = { - - } - - ### Brief: is_shown ( trigger ) - # When should this doctrine be shown when choosing doctrines? - # - # Supported scopes: - # root ( Faith ) - # - is_shown = { - - } - - ### Brief: can_pick ( trigger ) - # When can this doctrine be picked when choosing doctrines? - # When doctrines should refer to other selected doctrines when creating a new faith (e.g. for mutually exclusive doctrines), use: - # flag:required_doctrine = { is_in_list = selected_doctrines } - # The "selected_doctrines" list is the list of doctrines currently selected in the UI. (It might be different from the doctrines in - # the faith, since the player can change multiple doctrines when creating a faith.) - # - # Supported scopes: - # root ( Faith ) - # - can_pick = { - - } - - ### Brief: character_modifier ( modifiers ) - # All characters of this faith get this modifier. - # Ex: { monthly_piety_gain_mult = -0.25, same_faith_opinion = -5 } - # - character_modifier = { - - } - - ### Brief: doctrine_character_modifier ( modifiers ) - # All characters of this faith get this modifier if the faith also has the specified doctrine. - # - doctrine_character_modifier = { - doctrine = ... - ... - } - - ### Brief: traits ( database keys ) - # Adds additional sins/virtues. See traits in _religions.info. If a trait is already a sin or virtue in the religion, the doctrine takes precedence. - # - traits = { ... } } +All scopes have the player's faith as root + == Special parameters == Many parameters interact directly with the code. This is a list of all such parameters. @@ -136,8 +75,9 @@ The name of each hostility level is defined by the define HOSTILITY_LEVEL_NAMES Hostility level can be accessed in script. E.G., faith_hostility_level = { target = scope:some_faith value >= 1 }. You can also compare to see which faith you're most hostile to. E.G., faith_hostility_level_comparison = { scope:some_faith > scope:some_other_faith } + == Precedence == -Order of definition; later definition, higher precedence. +Order of definition; earlier definition, higher precedence. == Localisation == Effects are localized based on the parameter name. "doctrine_parameter_" plus the name. If the value is "no", that plus "_disabled" will be used. If an integer is used, the game will try to append that integer (E.G., "_1"), and use that loc key. If the key doesn't exist, then the int does not get appended. diff --git a/common/religion/great_holy_wars.info b/common/religion/great_holy_wars.info deleted file mode 100644 index d4a3a6ec..00000000 --- a/common/religion/great_holy_wars.info +++ /dev/null @@ -1,35 +0,0 @@ -The Great Holy War system is for the most part pretty similar to the one introduced in CK2: Holy Fury. - -The biggest difference is that all faiths use the system, rather than only Catholics. - -== Concepts == -Target character: The person who the war will be declared on -Target title: The dejure kingdom being targeted -Official recipient: Who the religious head wants installed as king -Countdown timer: How long it'll take before the war is declared -Pledged participants: Characters who have said they'll join when the war begins. Will be forced to join -War chest: Gold, piety, and prestige that can be divided between participants -Beneficiaries: Who the pledged attackers want to install as rulers in the target kingdom - -== Undirected GHW == -The fanciest form of GHW is the "undirected" form, where the religious head declares that a war will be launched in a while, and that everyone of the faith should help out in some way. - -The progression is as follows: -1. The effect start_great_holy_war starts the GHW preparation, determinining the initial target, and the delay before the war should start -2. Attackers and defenders pledge using pledge_attacker/pledge_defender -3. Alternatively, provide things to the warchest using change_war_chest_gold/piety/prestige -4. When the timer runs out, on_great_holy_war_countdown_end is called -5. Script has to call start_ghw_war = cb_to_use. If not called, the GHW will be cancelled and on_great_holy_war_invalidation will be called -6. You can give out some of the war chest using divide_war_chest -7. A war unfolds as normal -8. War contribution gives GHW contribution, based on ghw_score_mult and ghw_max_score_percentage -9. War concludes as normal. As part of this, you can divvy up the war chest (will be divided based on contribution, as long as they have at least MINIMUM_CONTRIBUTION_FOR_REWARD contribution) -10. Titles are given out using do_ghw_title_handout. This does *not* give out the kingdom, just everything below it in the defenders' realms. You need to ensure the winner has a kingdom-tier title. Preferably, make it part of the same title and vassal change - -== Directed GHW == -As above, but steps 1 through 4 are skipped. -Declared via regular CB. Tied to a GHW by starting the GHW with a reference to the war. -When a GHW is set to directed, the only code difference is that the top contributor will act as their own beneficiary, and designated winners are not used. In vanilla, we also disable the war chest - -== Various == -is_great_holy_war = yes - Putting this on the GHW CB(s) will ensure that the counties that'll be given to the participants get correctly highlighted during war declaration diff --git a/common/religion/holy_site_types/_holy_site_types.info b/common/religion/holy_site_types/_holy_site_types.info deleted file mode 100644 index a1e20b65..00000000 --- a/common/religion/holy_site_types/_holy_site_types.info +++ /dev/null @@ -1,38 +0,0 @@ -### Brief: key ( database key ) -# Name of 'holy_site_type' -# Faiths can have holy sites, giving various effects (mostly through references elsewhere in script). -# Localization is selected by: "holy_site__name" -# Effect loc is applied in addition to character modifiers (if exists): "holy_site__effects" -# -key = { - ### brief: barony ( database key ) - # Define barony override. - # - barony = - - ### brief: county ( database key ) - # Define county. - # - county = - - ### Brief: parameters ( parameter list ) - # Arbitrary parameters to be checked in applying various effects. - # Localization: "holy_site_parameter_" where $PARAMETER_NAME$ inserts localized named of parameter - # Trigger (barony scope): 'has_holy_site_parameter' where $TITLE$ inserts localized named of barony - # Trigger (faith scope): 'controls_holy_site_with_parameter' where $FAITH$ inserts localized named of faith - # - # Note: The above trigger just checks for existence, so it does not - # matter if the value is set to 'yes' or 'no'. - # - parameters = { - some_parameter = yes - } - - ### Brief: character_modifier ( modifiers ) - # Modifiers applied to all characters of any faith with this holy site when the holder of the barony is of their faith. - # Ex: { development_growth_factor = 0.1, church_holding_build_gold_cost = -0.1 } - # - character_modifier = { - - } -} diff --git a/common/religion/holy_site_types/00_holy_site_types.txt b/common/religion/holy_sites/00_holy_sites.txt similarity index 100% rename from common/religion/holy_site_types/00_holy_site_types.txt rename to common/religion/holy_sites/00_holy_sites.txt diff --git a/common/religion/holy_sites/_holy_sites.info b/common/religion/holy_sites/_holy_sites.info new file mode 100644 index 00000000..9ae41860 --- /dev/null +++ b/common/religion/holy_sites/_holy_sites.info @@ -0,0 +1,17 @@ +Faiths can have holy sites, giving various effects (mostly through references elsewhere in script). + +== Structure == +holy_site_name = { + county = c_somewhere + + flag = flag1 + flag = flag2 + + character_modifier = { # Optional. Applied to all characters of any faith with this holy site when the holder of the barony is of their faith + some effects + } +} + +== Localisation == +The name of the holy site will be "holy_site__name". +The custom effect description will be "holy_site__ effects". It'll be used in addition to the character modifier (if any). diff --git a/common/religion/religion_families/NEOW_antediluvianist.txt b/common/religion/religion_families/NEOW_antediluvianist.txt new file mode 100644 index 00000000..d0b1a0b4 --- /dev/null +++ b/common/religion/religion_families/NEOW_antediluvianist.txt @@ -0,0 +1,6 @@ +rf_antediluvianist = { + piety_icon_group = "pagan" + graphical_faith = "pagan_gfx" + hostility_doctrine = pagan_hostility_doctrine + doctrine_background_icon = core_tenet_banner_pagan.dds +} diff --git a/common/religion/religion_families/NEOW_esoteric.txt b/common/religion/religion_families/NEOW_esoteric.txt new file mode 100644 index 00000000..90c597e5 --- /dev/null +++ b/common/religion/religion_families/NEOW_esoteric.txt @@ -0,0 +1,7 @@ +rf_esoteric = { + is_pagan = yes + piety_icon_group = "pagan" + graphical_faith = "pagan_gfx" + hostility_doctrine = pagan_hostility_doctrine + doctrine_background_icon = core_tenet_banner_pagan.dds +} diff --git a/common/religion/religion_family_types/00_religion_family_types.txt b/common/religion/religion_family_types/00_religion_family_types.txt deleted file mode 100644 index 1217220b..00000000 --- a/common/religion/religion_family_types/00_religion_family_types.txt +++ /dev/null @@ -1,41 +0,0 @@ -rf_abrahamic = { - graphical_faith = "orthodox_gfx" - hostility_doctrine = abrahamic_hostility_doctrine - doctrine_background_icon = core_tenet_banner_christian.dds -} - -rf_eastern = { #Dharmic - piety_icon_group = "eastern" - graphical_faith = "dharmic_gfx" - hostility_doctrine = eastern_hostility_doctrine - doctrine_background_icon = core_tenet_banner_eastern.dds -} - -rf_sinitic = { - piety_icon_group = "taoism" - graphical_faith = "dharmic_gfx" - hostility_doctrine = eastern_hostility_doctrine - doctrine_background_icon = core_tenet_banner_eastern.dds -} - -rf_pagan = { - piety_icon_group = "pagan" - graphical_faith = "pagan_gfx" - hostility_doctrine = pagan_hostility_doctrine - doctrine_background_icon = core_tenet_banner_pagan.dds -} - -rf_antediluvianist = { - piety_icon_group = "pagan" - graphical_faith = "pagan_gfx" - hostility_doctrine = pagan_hostility_doctrine - doctrine_background_icon = core_tenet_banner_pagan.dds -} - -rf_esoteric = { - is_pagan = yes - piety_icon_group = "pagan" - graphical_faith = "pagan_gfx" - hostility_doctrine = pagan_hostility_doctrine - doctrine_background_icon = core_tenet_banner_pagan.dds -} diff --git a/common/religion/religion_family_types/_religion_family_types.info b/common/religion/religion_family_types/_religion_family_types.info deleted file mode 100644 index 01a887d5..00000000 --- a/common/religion/religion_family_types/_religion_family_types.info +++ /dev/null @@ -1,35 +0,0 @@ -### Brief: key ( database key ) -# Name of 'religion_family_type' -# -key = { - ### Brief: name ( optional string ) - # Optionally override what localization key will be used. - # Default: Localization key is same as database key. - # - name = "loc_key" - - ### Brief: hostility_doctrine ( optional database key ) - # Use this doctrine for displaying hostility levels toward other religious families. - # Keys describing levels are: faith_righteous, faith_astray, faith_hostile, faith_evil. - # Default: Will not display hostility levels in tooltips. - # - hostility_doctrine = - - ### Brief: piety_icon_group ( string ) - # This is the final fallback in picking piety icon. Otherwise overridden by: faith > religion > family. - # Text icon format: "PIETY_TEXT_ICON_" + piety_icon_group - # - piety_icon_group = pagan - - ### Brief: doctrine_background_icon ( string ) - # This is the final fallback in picking tenet background. Otherwise overridden by: faith > religion > family. - # Note: This is the banner shown behind picked tenets. - # - doctrine_background_icon = "core_tenet_banner_pagan.dds" - - ### Brief: graphical_faith ( string ) - # This is the final fallback in picking 3D model. Otherwise overridden by: faith > religion > family. - # Note: Currently used for temple assets. - # - graphical_faith = "orthodox_gfx" -} diff --git a/common/religion/religion_types/00_judaism.txt b/common/religion/religions/00_judaism.txt similarity index 100% rename from common/religion/religion_types/00_judaism.txt rename to common/religion/religions/00_judaism.txt diff --git a/common/religion/religion_types/00_zoroastrianism.txt b/common/religion/religions/00_zoroastrianism.txt similarity index 100% rename from common/religion/religion_types/00_zoroastrianism.txt rename to common/religion/religions/00_zoroastrianism.txt diff --git a/common/religion/religion_types/NEOW_adonist.txt b/common/religion/religions/NEOW_adonist.txt similarity index 100% rename from common/religion/religion_types/NEOW_adonist.txt rename to common/religion/religions/NEOW_adonist.txt diff --git a/common/religion/religion_types/NEOW_britannic.txt b/common/religion/religions/NEOW_britannic.txt similarity index 100% rename from common/religion/religion_types/NEOW_britannic.txt rename to common/religion/religions/NEOW_britannic.txt diff --git a/common/religion/religion_types/NEOW_catholic.txt b/common/religion/religions/NEOW_catholic.txt similarity index 100% rename from common/religion/religion_types/NEOW_catholic.txt rename to common/religion/religions/NEOW_catholic.txt diff --git a/common/religion/religion_types/NEOW_chronicler.txt b/common/religion/religions/NEOW_chronicler.txt similarity index 100% rename from common/religion/religion_types/NEOW_chronicler.txt rename to common/religion/religions/NEOW_chronicler.txt diff --git a/common/religion/religion_types/NEOW_druidic.txt b/common/religion/religions/NEOW_druidic.txt similarity index 100% rename from common/religion/religion_types/NEOW_druidic.txt rename to common/religion/religions/NEOW_druidic.txt diff --git a/common/religion/religion_types/NEOW_europeanist.txt b/common/religion/religions/NEOW_europeanist.txt similarity index 100% rename from common/religion/religion_types/NEOW_europeanist.txt rename to common/religion/religions/NEOW_europeanist.txt diff --git a/common/religion/religion_types/NEOW_folkgerman.txt b/common/religion/religions/NEOW_folkgerman.txt similarity index 100% rename from common/religion/religion_types/NEOW_folkgerman.txt rename to common/religion/religions/NEOW_folkgerman.txt diff --git a/common/religion/religion_types/NEOW_novelist.txt b/common/religion/religions/NEOW_novelist.txt similarity index 100% rename from common/religion/religion_types/NEOW_novelist.txt rename to common/religion/religions/NEOW_novelist.txt diff --git a/common/religion/religion_types/NEOW_orthodox.txt b/common/religion/religions/NEOW_orthodox.txt similarity index 100% rename from common/religion/religion_types/NEOW_orthodox.txt rename to common/religion/religions/NEOW_orthodox.txt diff --git a/common/religion/religion_types/NEOW_pantheonic.txt b/common/religion/religions/NEOW_pantheonic.txt similarity index 100% rename from common/religion/religion_types/NEOW_pantheonic.txt rename to common/religion/religions/NEOW_pantheonic.txt diff --git a/common/religion/religion_types/NEOW_protestant.txt b/common/religion/religions/NEOW_protestant.txt similarity index 100% rename from common/religion/religion_types/NEOW_protestant.txt rename to common/religion/religions/NEOW_protestant.txt diff --git a/common/religion/religion_types/NEOW_resurgentist.txt b/common/religion/religions/NEOW_resurgentist.txt similarity index 100% rename from common/religion/religion_types/NEOW_resurgentist.txt rename to common/religion/religions/NEOW_resurgentist.txt diff --git a/common/religion/religion_types/NEOW_sikh.txt b/common/religion/religions/NEOW_sikh.txt similarity index 100% rename from common/religion/religion_types/NEOW_sikh.txt rename to common/religion/religions/NEOW_sikh.txt diff --git a/common/religion/religion_types/NEOW_thelema.txt b/common/religion/religions/NEOW_thelema.txt similarity index 100% rename from common/religion/religion_types/NEOW_thelema.txt rename to common/religion/religions/NEOW_thelema.txt diff --git a/common/religion/religion_types/NEOW_wicca.txt b/common/religion/religions/NEOW_wicca.txt similarity index 100% rename from common/religion/religion_types/NEOW_wicca.txt rename to common/religion/religions/NEOW_wicca.txt diff --git a/common/religion/religion_types/NEOW_xenology.txt b/common/religion/religions/NEOW_xenology.txt similarity index 100% rename from common/religion/religion_types/NEOW_xenology.txt rename to common/religion/religions/NEOW_xenology.txt diff --git a/common/religion/religion_types/_religion_types.info b/common/religion/religions/_religions.info similarity index 96% rename from common/religion/religion_types/_religion_types.info rename to common/religion/religions/_religions.info index 9910b3a1..3cd79d13 100644 --- a/common/religion/religion_types/_religion_types.info +++ b/common/religion/religions/_religions.info @@ -1,4 +1,4 @@ -At game start, the religions and faiths defined in this folder will exist. +At game start, the religions and faiths defined in this folder will exist. == structure == religion_name = { @@ -25,9 +25,10 @@ religion_name = { # Holders of the traits will also get the virtue_owner_modifier/sin_owner_modifier for each matching trait. # Virtues and sins can optionally have a multiplier to scale the effects (default is 1): virtues = { brave = 0.5 } # scales both the opinion effect and the modifier + # And they can specify a custom modifier (default is virtue_owner_modifier/sin_owner_modifier): # Scale is optional defaults to 1 # Weight is optional defaults to 1. If there are two (or more) the same traits then the weight will be taken into account and is used to decide what and how a trait should be used - sins = { stubborn = { scale = 2 weight = 2 } } + sins = { stubborn = { modifier = modifier_key scale = 2 weight = 2 } } } reserved_male_names = { ... } # Names listed here will be applied to all faiths that don't define reserved_male_names themselves.