diff --git a/common/religion/doctrine_types/20_doctrines.txt b/common/religion/doctrine_types/20_doctrines.txt index 97234a561..d96f0ccd3 100644 --- a/common/religion/doctrine_types/20_doctrines.txt +++ b/common/religion/doctrine_types/20_doctrines.txt @@ -1,4 +1,842 @@ -doctrine_gender_male_dominated = { +doctrine_monogamy = { + doctrine_group_type = doctrine_marriage_type + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_monogamy } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + doctrine_monogamy + marriage_event + } + special_parameters = { + number_of_spouses = 1 + } +} + +doctrine_polygamy = { + doctrine_group_type = doctrine_marriage_type + index = 1 + divergence = 30 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_polygamy } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + doctrine_polygamy + spouse_piety_loss + } + + special_parameters = { + number_of_spouses = 4 + } +} + +doctrine_concubines = { + doctrine_group_type = doctrine_marriage_type + index = 2 + divergence = 20 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_concubines } + multiply = faith_unchanged_doctrine_cost_mult + } + } + parameters = { + doctrine_concubines + } + + special_parameters = { + number_of_spouses = 1 + number_of_consorts = 3 + } +} + +doctrine_divorce_disallowed = { + doctrine_group_type = doctrine_divorce + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_divorce_disallowed } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_divorce_allowed } + multiply = faith_changed_doctrine_cost_mult_two_step + } + + } + parameters = { + divorce_disallowed + } +} + +doctrine_divorce_approval = { + doctrine_group_type = doctrine_divorce + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_divorce_approval } + multiply = faith_unchanged_doctrine_cost_mult + } + + } + parameters = { + divorce_approval + } +} + +doctrine_divorce_allowed = { + doctrine_group_type = doctrine_divorce + index = 2 + divergence = 15 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_divorce_allowed } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_divorce_disallowed } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + divorce_allowed + } +} + +doctrine_bastardry_none = { + doctrine_group_type = doctrine_bastardry + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_bastardry_none } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_bastardry_all } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + bastards_none + } +} + +doctrine_bastardry_legitimization = { + doctrine_group_type = doctrine_bastardry + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_bastardry_legitimization } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + parameters = { + bastards_legitimize + } +} + +doctrine_bastardry_all = { + doctrine_group_type = doctrine_bastardry + index = 2 + divergence = 10 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_bastardry_all } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_bastardry_none } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + bastards_always + } +} + +doctrine_homosexuality_crime = { + doctrine_group_type = doctrine_homosexuality + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_homosexuality_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_homosexuality_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + } + + parameters = { + homosexuality_illegal + } + + traits = { + sins = { + sodomite = { weight = 60 scale = 2 } + } + } + +} + +doctrine_homosexuality_shunned = { + doctrine_group_type = doctrine_homosexuality + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_homosexuality_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + parameters = { + homosexuality_shunned + } +} + +doctrine_homosexuality_accepted = { + doctrine_group_type = doctrine_homosexuality + index = 2 + divergence = 15 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_homosexuality_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_homosexuality_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + homosexuality_accepted + } +} + +doctrine_deviancy_crime = { + doctrine_group_type = doctrine_deviancy + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_deviancy_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_deviancy_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_deviancy_virtuous } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + } + + parameters = { + deviancy_illegal + } + + traits = { + sins = { + deviant = { weight = 80 scale = 2 } + } + } + +} + +doctrine_deviancy_shunned = { + doctrine_group_type = doctrine_deviancy + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_deviancy_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_deviancy_virtuous } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + deviancy_shunned + } +} + +doctrine_deviancy_accepted = { + doctrine_group_type = doctrine_deviancy + index = 2 + divergence = 15 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_deviancy_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_deviancy_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + deviancy_accepted + } +} + +doctrine_deviancy_virtuous = { + doctrine_group_type = doctrine_deviancy + index = 3 + divergence = 20 + + can_pick = { + # A rite that already lost Carnal Exaltation keeps the doctrine + trigger_if = { + limit = { + NOT = { + scope:actor.rite ?= { + rite_has_doctrine = doctrine_deviancy_virtuous + NOT = { rite_has_tenet = tenet_carnal_exaltation } + } + } + } + custom_description = { + text = must_select_carnal_exaltation + tenet:tenet_carnal_exaltation = { is_in_list = selected_doctrines } + } + } + } + + piety_cost = { + value = faith_doctrine_cost_massive + if = { + limit = { rite_has_doctrine = doctrine_deviancy_virtuous } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_deviancy_shunned } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_deviancy_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + traits = { + virtues = { + deviant = { weight = 100 scale = 2 } + } + } + + parameters = { + deviancy_accepted + } +} + +doctrine_adultery_men_crime = { + doctrine_group_type = doctrine_adultery_men + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_adultery_men_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_adultery_men_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + custom_description = { + text = incompatible_tenet_polyamory_trigger + NOT = { tenet:tenet_polyamory = { is_in_list = selected_doctrines } } + } + } + parameters = { + adultery_male_crime + } +} + +doctrine_adultery_men_shunned = { + doctrine_group_type = doctrine_adultery_men + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_adultery_men_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_polyamory_trigger + NOT = { tenet:tenet_polyamory = { is_in_list = selected_doctrines } } + } + } + parameters = { + adultery_male_shunned + } +} + +doctrine_adultery_men_accepted = { + doctrine_group_type = doctrine_adultery_men + index = 2 + divergence = 10 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_adultery_men_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_adultery_men_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + parameters = { + adultery_male_accepted + } +} + +doctrine_adultery_women_crime = { + doctrine_group_type = doctrine_adultery_women + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_adultery_women_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_adultery_women_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + custom_description = { + text = incompatible_tenet_polyamory_trigger + NOT = { tenet:tenet_polyamory = { is_in_list = selected_doctrines } } + } + } + + parameters = { + adultery_female_crime + } +} + +doctrine_adultery_women_shunned = { + doctrine_group_type = doctrine_adultery_women + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_adultery_women_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_polyamory_trigger + NOT = { tenet:tenet_polyamory = { is_in_list = selected_doctrines } } + } + } + + parameters = { + adultery_female_shunned + } +} + +doctrine_adultery_women_accepted = { + doctrine_group_type = doctrine_adultery_women + index = 2 + divergence = 10 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_adultery_women_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_adultery_women_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + adultery_female_accepted + } +} + +doctrine_kinslaying_any_dynasty_member_crime = { + doctrine_group_type = doctrine_kinslaying + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_close_kin_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_shunned } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_accepted } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + } + + parameters = { + kinslaying_any_dynasty_member_crime + } + + traits = { + sins = { + kinslayer_1 = { weight = 50 scale = 2 } + } + } +} + +doctrine_kinslaying_extended_family_crime = { + doctrine_group_type = doctrine_kinslaying + index = 1 + divergence = 2.5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_kinslaying_extended_family_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_shunned } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_accepted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + } + + parameters = { + kinslaying_extended_family_crime + } + + traits = { + sins = { + kinslayer_2 = { weight = 50 scale = 2 } + } + } +} + +doctrine_kinslaying_close_kin_crime = { + doctrine_group_type = doctrine_kinslaying + index = 2 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_kinslaying_close_kin_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + rite_has_doctrine = doctrine_kinslaying_accepted + rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + } + + parameters = { + kinslaying_close_kin_crime + } + + traits = { + sins = { + kinslayer_3 = { weight = 50 scale = 2 } + } + } +} + +doctrine_kinslaying_shunned = { + doctrine_group_type = doctrine_kinslaying + index = 3 + divergence = 7.5 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_kinslaying_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_extended_family_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + parameters = { + kinslaying_shunned + } +} + +doctrine_kinslaying_accepted = { + doctrine_group_type = doctrine_kinslaying + index = 4 + divergence = 10 + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_kinslaying_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_close_kin_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_extended_family_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } + multiply = faith_changed_doctrine_cost_mult_four_step + } + + } + + parameters = { + kinslaying_accepted + } +} + +doctrine_witchcraft_crime = { + doctrine_group_type = doctrine_witchcraft + index = 0 + divergence = 0 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_witchcraft_crime } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_witchcraft_accepted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_witchcraft_virtuous } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_natural_primitivism_trigger + NOT = { tenet:tenet_natural_primitivism = { is_in_list = selected_doctrines } } + } + } + + parameters = { + witchcraft_illegal + } + + traits = { + sins = { + witch = { weight = 80 scale = 2 } + } + } +} + +doctrine_witchcraft_shunned = { + doctrine_group_type = doctrine_witchcraft + index = 1 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_witchcraft_shunned } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_witchcraft_virtuous } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + witchcraft_shunned + } +} + +doctrine_witchcraft_accepted = { + doctrine_group_type = doctrine_witchcraft + index = 2 + divergence = 15 + + piety_cost = { + value = faith_doctrine_cost_low + if = { + limit = { rite_has_doctrine = doctrine_witchcraft_accepted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_witchcraft_crime } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + witchcraft_accepted + } +} + +doctrine_witchcraft_virtuous = { + doctrine_group_type = doctrine_witchcraft + index = 3 + divergence = 20 + + piety_cost = { + value = faith_tenet_cost_massive + if = { + limit = { rite_has_doctrine = doctrine_witchcraft_virtuous } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_witchcraft_shunned } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_witchcraft_crime } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + traits = { + virtues = { + witch = { weight = 100 scale = 2 } + } + } + + parameters = { + witchcraft_accepted + } +} + +doctrine_gender_male_dominated = { doctrine_group_type = doctrine_gender index = 0 divergence = 0 @@ -46,7 +884,7 @@ doctrine_gender_equal = { doctrine_group_type = doctrine_gender index = 1 - divergence = 60 + divergence = 20 icon = "doctrine_gender_equal" @@ -67,7 +905,7 @@ doctrine_gender_equal = { doctrine_gender_female_dominated = { doctrine_group_type = doctrine_gender index = 2 - divergence = 120 + divergence = 40 icon = "doctrine_gender_female_dominated" @@ -109,6 +947,163 @@ doctrine_gender_female_dominated = { } } +doctrine_consanguinity_dynastic = { + doctrine_group_type = doctrine_consanguinity + index = 0 + divergence = 0 + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_divine_marriage_trigger + NOT = { tenet:tenet_divine_marriage = { is_in_list = selected_doctrines } } + } + } + + parameters = { + consanguinity_restricted_dynastic_marriage + consanguinity_restricted_marriage + consanguinity_restricted_close_kin_incest + } +} + +doctrine_consanguinity_restricted = { + doctrine_group_type = doctrine_consanguinity + index = 1 + divergence = 1.5 + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_divine_marriage_trigger + NOT = { tenet:tenet_divine_marriage = { is_in_list = selected_doctrines } } + } + } + + parameters = { + consanguinity_restricted_marriage + consanguinity_restricted_close_kin_incest + } +} + +doctrine_consanguinity_cousins = { + doctrine_group_type = doctrine_consanguinity + index = 2 + divergence = 3 + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_consanguinity_cousins } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_divine_marriage_trigger + NOT = { tenet:tenet_divine_marriage = { is_in_list = selected_doctrines } } + } + } + + parameters = { + consanguinity_cousins_marriage + consanguinity_cousins_incest + allows_cousin_marriage + } +} + +doctrine_consanguinity_aunt_nephew_and_uncle_niece = { + doctrine_group_type = doctrine_consanguinity + index = 3 + divergence = 5 + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_divine_marriage_trigger + NOT = { tenet:tenet_divine_marriage = { is_in_list = selected_doctrines } } + } + } + + parameters = { + consanguinity_aunt_nephew_and_uncle_niece_marriage + consanguinity_aunt_nephew_and_uncle_niece_incest + allows_cousin_marriage + allows_aunt_nephew_and_uncle_niece_marriage + } +} + +doctrine_consanguinity_unrestricted = { + doctrine_group_type = doctrine_consanguinity + index = 4 + divergence = 40 + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_cousins } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_consanguinity_restricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + parameters = { + consanguinity_unrestricted_marriage + consanguinity_unrestricted_incest + allows_cousin_marriage + allows_aunt_nephew_and_uncle_niece_marriage + allows_unrestricted_marriage + } +} + doctrine_pluralism_fundamentalist = { doctrine_group_type = doctrine_pluralism index = 0 @@ -128,6 +1123,21 @@ doctrine_pluralism_fundamentalist = { } } + can_pick = { + custom_description = { + text = incompatible_tenet_pentarchy_trigger + NOT = { tenet:tenet_pentarchy = { is_in_list = selected_doctrines } } + } + custom_description = { + text = incompatible_tenet_alexandrian_catechism_trigger + NOT = { tenet:tenet_alexandrian_catechism = { is_in_list = selected_doctrines } } + } + custom_description = { + text = incompatible_tenet_adaptive_trigger + NOT = { tenet:tenet_adaptive = { is_in_list = selected_doctrines } } + } + } + parameters = { pluralism_fundamentalist_proselytization_bonus pluralism_fundamentalist_faction_join_chance @@ -136,7 +1146,7 @@ doctrine_pluralism_fundamentalist = { } special_parameters = { - hostility_towards_us_mult = 2 + hostility_towards_us_mult = 1.5 heresy_threshold = -5 } @@ -148,7 +1158,7 @@ doctrine_pluralism_fundamentalist = { doctrine_pluralism_righteous = { doctrine_group_type = doctrine_pluralism index = 1 - divergence = 45 + divergence = 5 icon = "doctrine_pluralism_righteous" @@ -159,6 +1169,12 @@ doctrine_pluralism_righteous = { multiply = faith_unchanged_doctrine_cost_mult } } + can_pick = { + custom_description = { + text = incompatible_tenet_adaptive_trigger + NOT = { tenet:tenet_adaptive = { is_in_list = selected_doctrines } } + } + } parameters = { pluralism_righteous_revocation_tyranny_reduced @@ -176,7 +1192,7 @@ doctrine_pluralism_righteous = { doctrine_pluralism_pluralistic = { doctrine_group_type = doctrine_pluralism index = 2 - divergence = 90 + divergence = 10 icon = "doctrine_pluralism_pluralistic" @@ -246,7 +1262,7 @@ doctrine_theocracy_temporal = { doctrine_theocracy_lay_clergy = { doctrine_group_type = doctrine_theocracy index = 1 - divergence = 90 + divergence = 20 icon = "doctrine_theocracy_lay_clergy" @@ -275,7 +1291,7 @@ doctrine_theocracy_lay_clergy = { doctrine_no_head = { doctrine_group_type = doctrine_head_of_faith index = 0 - divergence = 45 + divergence = 10 icon = "doctrine_no_head" @@ -305,7 +1321,7 @@ doctrine_no_head = { doctrine_spiritual_head = { doctrine_group_type = doctrine_head_of_faith index = 1 - divergence = 45 + divergence = 30 icon = "doctrine_spiritual_head" @@ -318,6 +1334,12 @@ doctrine_spiritual_head = { multiply = faith_unchanged_doctrine_cost_mult } } + can_pick = { + custom_description = { + text = incompatible_tenet_pastoral_isolation_trigger + NOT = { tenet:tenet_pastoral_isolation = { is_in_list = selected_doctrines } } + } + } parameters = { spiritual_head_of_faith @@ -329,7 +1351,7 @@ doctrine_spiritual_head = { doctrine_temporal_head = { doctrine_group_type = doctrine_head_of_faith index = 2 - divergence = 45 + divergence = 10 icon = "doctrine_temporal_head" @@ -348,6 +1370,10 @@ doctrine_temporal_head = { text = incompatible_doctrine_theocracy_temporal_trigger NOT = { doctrine:doctrine_theocracy_temporal = { is_in_list = selected_doctrines } } } + custom_description = { + text = incompatible_tenet_pastoral_isolation_trigger + NOT = { tenet:tenet_pastoral_isolation = { is_in_list = selected_doctrines } } + } custom_description = { text = incompatible_doctrine_spiritual_appointment_temporal_trigger NOR = { @@ -363,1107 +1389,19 @@ doctrine_temporal_head = { } } -doctrine_pilgrimage_forbidden = { - doctrine_group_type = doctrine_pilgrimage - index = 0 - divergence = 0 - - icon = "doctrine_pilgrimage_forbidden" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_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 - } - - traits = { - sins = { - pilgrim = { weight = 100 scale = 2 } - } - } -} - -doctrine_pilgrimage_encouraged = { - doctrine_group_type = doctrine_pilgrimage - index = 1 - divergence = 60 - - icon = "doctrine_pilgrimage_encouraged" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_pilgrimage_encouraged } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - can_go_on_pilgrimage - basic_pilgrimage_rewards - } - - traits = { - virtues = { - pilgrim = { weight = 30 scale = 2 } - } - } -} - -doctrine_pilgrimage_local_rites = { - doctrine_group_type = doctrine_pilgrimage - index = 2 - divergence = 75 - - icon = "doctrine_pilgrimage_local_rites" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_pilgrimage_local_rites } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - local_shrine_offering - can_go_on_pilgrimage - basic_pilgrimage_rewards - } -} - -doctrine_pilgrimage_mandatory = { - doctrine_group_type = doctrine_pilgrimage - index = 3 - divergence = 120 - - icon = "doctrine_pilgrimage_mandatory" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_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 - mandatory_pilgrimage - basic_pilgrimage_rewards - } -} - -doctrine_pilgrimage_mandatory_hajj = { - doctrine_group_type = doctrine_pilgrimage - index = 4 - divergence = 150 - - icon = "doctrine_pilgrimage_mandatory_hajj" - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_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 - mandatory_hajj - basic_pilgrimage_rewards - } -} - -doctrine_monotheist = { - doctrine_group_type = doctrine_theism - index = 0 - divergence = 0 - - icon = "doctrine_monotheist" - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { - OR = { - rite_has_doctrine = abrahamic_hostility_doctrine - rite_has_doctrine = doctrine_monotheist - } - } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - special_parameters = { - hostility_levels = { - unrelated = evil - } - } -} - -doctrine_polytheist = { - doctrine_group_type = doctrine_theism - index = 1 - divergence = 360 - - icon = "doctrine_polytheist" - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = abrahamic_hostility_doctrine } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_polytheist } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - special_parameters = { - hostility_levels = { - unrelated = hostile - } - } -} - -doctrine_monogamy = { - doctrine_group_type = doctrine_marriage_type - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_monogamy } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - doctrine_monogamy - marriage_event - } - special_parameters = { - number_of_spouses = 1 - } -} - -doctrine_polygamy = { - doctrine_group_type = doctrine_marriage_type - index = 1 - divergence = 120 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_polygamy } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - doctrine_polygamy - spouse_piety_loss - } - - special_parameters = { - number_of_spouses = 4 - } -} - -doctrine_concubines = { - doctrine_group_type = doctrine_marriage_type - index = 2 - divergence = 90 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_concubines } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - doctrine_concubines - } - - special_parameters = { - number_of_spouses = 1 - number_of_consorts = 3 - } -} - -doctrine_divorce_disallowed = { - doctrine_group_type = doctrine_divorce - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_divorce_disallowed } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_divorce_allowed } - multiply = faith_changed_doctrine_cost_mult_two_step - } - - } - parameters = { - divorce_disallowed - } -} - -doctrine_divorce_approval = { - doctrine_group_type = doctrine_divorce - index = 1 - divergence = 60 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_divorce_approval } - multiply = faith_unchanged_doctrine_cost_mult - } - - } - parameters = { - divorce_approval - } -} - -doctrine_divorce_allowed = { - doctrine_group_type = doctrine_divorce - index = 2 - divergence = 120 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_divorce_allowed } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_divorce_disallowed } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - divorce_allowed - } -} - -doctrine_bastardry_none = { - doctrine_group_type = doctrine_bastardry - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_bastardry_none } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_bastardry_all } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - bastards_none - } -} - -doctrine_bastardry_legitimization = { - doctrine_group_type = doctrine_bastardry - index = 1 - divergence = 60 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_bastardry_legitimization } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - bastards_legitimize - } -} - -doctrine_bastardry_all = { - doctrine_group_type = doctrine_bastardry - index = 2 - divergence = 90 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_bastardry_all } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_bastardry_none } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - bastards_always - } -} - -doctrine_consanguinity_dynastic = { - doctrine_group_type = doctrine_consanguinity - index = 0 - divergence = 0 - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - consanguinity_restricted_dynastic_marriage - consanguinity_restricted_marriage - consanguinity_restricted_close_kin_incest - } -} - -doctrine_consanguinity_restricted = { - doctrine_group_type = doctrine_consanguinity - index = 1 - divergence = 45 - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - consanguinity_restricted_marriage - consanguinity_restricted_close_kin_incest - } -} - -doctrine_consanguinity_cousins = { - doctrine_group_type = doctrine_consanguinity - index = 2 - divergence = 60 - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = doctrine_consanguinity_cousins } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - consanguinity_cousins_marriage - consanguinity_cousins_incest - allows_cousin_marriage - } -} - -doctrine_consanguinity_aunt_nephew_and_uncle_niece = { - doctrine_group_type = doctrine_consanguinity - index = 3 - divergence = 75 - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = doctrine_consanguinity_aunt_nephew_and_uncle_niece } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - consanguinity_aunt_nephew_and_uncle_niece_marriage - consanguinity_aunt_nephew_and_uncle_niece_incest - allows_cousin_marriage - allows_aunt_nephew_and_uncle_niece_marriage - } -} - -doctrine_consanguinity_unrestricted = { - doctrine_group_type = doctrine_consanguinity - index = 4 - divergence = 150 - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = doctrine_consanguinity_unrestricted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_cousins } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_consanguinity_restricted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - consanguinity_unrestricted_marriage - consanguinity_unrestricted_incest - allows_cousin_marriage - allows_aunt_nephew_and_uncle_niece_marriage - allows_unrestricted_marriage - } -} - -doctrine_homosexuality_crime = { - doctrine_group_type = doctrine_homosexuality - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_homosexuality_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_homosexuality_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - homosexuality_illegal - } - - traits = { - sins = { - sodomite = { weight = 60 scale = 2 } - } - } - -} - -doctrine_homosexuality_shunned = { - doctrine_group_type = doctrine_homosexuality - index = 1 - divergence = 20 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_homosexuality_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - homosexuality_shunned - } -} - -doctrine_homosexuality_accepted = { - doctrine_group_type = doctrine_homosexuality - index = 2 - divergence = 120 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_homosexuality_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_homosexuality_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - homosexuality_accepted - } -} - -doctrine_deviancy_crime = { - doctrine_group_type = doctrine_deviancy - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_deviancy_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_deviancy_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_deviancy_virtuous } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - deviancy_illegal - } - - traits = { - sins = { - deviant = { weight = 80 scale = 2 } - } - } - -} - -doctrine_deviancy_shunned = { - doctrine_group_type = doctrine_deviancy - index = 1 - divergence = 20 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_deviancy_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_deviancy_virtuous } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - deviancy_shunned - } -} - -doctrine_deviancy_accepted = { - doctrine_group_type = doctrine_deviancy - index = 2 - divergence = 90 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_deviancy_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_deviancy_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - deviancy_accepted - } -} - -doctrine_deviancy_virtuous = { - doctrine_group_type = doctrine_deviancy - index = 3 - divergence = 120 - - can_pick = { - trigger_if = { - limit = { NOT = { has_doctrine = doctrine_deviancy_virtuous } } - custom_description = { - text = must_select_carnal_exaltation_or_love_under_will - OR = { - tenet:tenet_carnal_exaltation = { is_in_list = selected_doctrines } - tenet:tenet_love_under_will = { is_in_list = selected_doctrines } - } - } - } - } - - piety_cost = { - value = faith_doctrine_cost_massive - if = { - limit = { rite_has_doctrine = doctrine_deviancy_virtuous } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_deviancy_shunned } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_deviancy_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - traits = { - virtues = { - deviant = { weight = 100 scale = 2 } - } - } - - parameters = { - deviancy_accepted - } -} - -doctrine_adultery_men_crime = { - doctrine_group_type = doctrine_adultery_men - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_adultery_men_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_adultery_men_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - adultery_male_crime - } -} - -doctrine_adultery_men_shunned = { - doctrine_group_type = doctrine_adultery_men - index = 1 - divergence = 20 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_adultery_men_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - } - parameters = { - adultery_male_shunned - } -} - -doctrine_adultery_men_accepted = { - doctrine_group_type = doctrine_adultery_men - index = 2 - divergence = 90 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_adultery_men_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_adultery_men_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - parameters = { - adultery_male_accepted - } -} - -doctrine_adultery_women_crime = { - doctrine_group_type = doctrine_adultery_women - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_adultery_women_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_adultery_women_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - adultery_female_crime - } -} - -doctrine_adultery_women_shunned = { - doctrine_group_type = doctrine_adultery_women - index = 1 - divergence = 20 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_adultery_women_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - } - - parameters = { - adultery_female_shunned - } -} - -doctrine_adultery_women_accepted = { - doctrine_group_type = doctrine_adultery_women - index = 2 - divergence = 90 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_adultery_women_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_adultery_women_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - adultery_female_accepted - } -} - -doctrine_kinslaying_any_dynasty_member_crime = { - doctrine_group_type = doctrine_kinslaying - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_close_kin_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_shunned } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_accepted } - multiply = faith_changed_doctrine_cost_mult_four_step - } - } - - parameters = { - kinslaying_any_dynasty_member_crime - } - - traits = { - sins = { - kinslayer_1 = { weight = 50 scale = 2 } - } - } -} - -doctrine_kinslaying_extended_family_crime = { - doctrine_group_type = doctrine_kinslaying - index = 1 - divergence = 15 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_kinslaying_extended_family_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_shunned } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_accepted } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - kinslaying_extended_family_crime - } - - traits = { - sins = { - kinslayer_2 = { weight = 50 scale = 2 } - } - } -} - -doctrine_kinslaying_close_kin_crime = { - doctrine_group_type = doctrine_kinslaying - index = 2 - divergence = 30 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_kinslaying_close_kin_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { - OR = { - rite_has_doctrine = doctrine_kinslaying_accepted - rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime - } - } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - kinslaying_close_kin_crime - } - - traits = { - sins = { - kinslayer_3 = { weight = 50 scale = 2 } - } - } -} - -doctrine_kinslaying_shunned = { - doctrine_group_type = doctrine_kinslaying - index = 3 - divergence = 45 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_kinslaying_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_extended_family_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - kinslaying_shunned - } -} - -doctrine_kinslaying_accepted = { - doctrine_group_type = doctrine_kinslaying - index = 4 - divergence = 120 - - piety_cost = { - value = faith_doctrine_cost_mid - if = { - limit = { rite_has_doctrine = doctrine_kinslaying_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_close_kin_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_extended_family_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_kinslaying_any_dynasty_member_crime } - multiply = faith_changed_doctrine_cost_mult_four_step - } - - } - - parameters = { - kinslaying_accepted - } -} - -doctrine_witchcraft_crime = { - doctrine_group_type = doctrine_witchcraft - index = 0 - divergence = 0 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_witchcraft_crime } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_witchcraft_accepted } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_witchcraft_virtuous } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - parameters = { - witchcraft_illegal - } - - traits = { - sins = { - witch = { weight = 80 scale = 2 } - } - } -} - -doctrine_witchcraft_shunned = { - doctrine_group_type = doctrine_witchcraft - index = 1 - divergence = 30 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_witchcraft_shunned } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_witchcraft_virtuous } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - witchcraft_shunned - } -} - -doctrine_witchcraft_accepted = { - doctrine_group_type = doctrine_witchcraft - index = 2 - divergence = 90 - - piety_cost = { - value = faith_doctrine_cost_low - if = { - limit = { rite_has_doctrine = doctrine_witchcraft_accepted } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_witchcraft_crime } - multiply = faith_changed_doctrine_cost_mult_two_step - } - } - - parameters = { - witchcraft_accepted - } -} - -doctrine_witchcraft_virtuous = { - doctrine_group_type = doctrine_witchcraft - index = 3 - divergence = 120 - - piety_cost = { - value = faith_tenet_cost_massive - if = { - limit = { rite_has_doctrine = doctrine_witchcraft_virtuous } - multiply = faith_unchanged_doctrine_cost_mult - } - else_if = { - limit = { rite_has_doctrine = doctrine_witchcraft_shunned } - multiply = faith_changed_doctrine_cost_mult_two_step - } - else_if = { - limit = { rite_has_doctrine = doctrine_witchcraft_crime } - multiply = faith_changed_doctrine_cost_mult_three_step - } - } - - traits = { - virtues = { - witch = { weight = 100 scale = 2 } - } - } - - parameters = { - witchcraft_accepted - } -} - doctrine_clerical_function_taxation = { doctrine_group_type = doctrine_clerical_function index = 0 - divergence = 7.5 + divergence = 1.5 clergy_modifier = { - #monthly_county_control_growth_add_even_if_baron = 0.2 - monthly_county_control_growth_factor_even_if_baron = 0.2 + temple_district_district_build_gold_cost = -0.25 + } + + parameters = { + clerical_function_temple_holding_control_baseline + clerical_function_temple_district_popular_opinion_penalty + clerical_function_temple_district_books_control } piety_cost = { @@ -1478,11 +1416,16 @@ doctrine_clerical_function_taxation = { doctrine_clerical_function_alms_and_pacification = { doctrine_group_type = doctrine_clerical_function index = 1 - divergence = 7.5 + divergence = 1.5 clergy_modifier = { - county_opinion_add_even_if_baron = 10 - domain_tax_mult_even_if_baron = -0.05 + religious_community_district_district_build_gold_cost = -0.25 + villages_district_district_build_gold_cost = -0.25 + } + + parameters = { + clerical_function_temple_district_comfort_popular_opinion + clerical_function_temple_holding_popular_opinion } piety_cost = { @@ -1497,16 +1440,19 @@ doctrine_clerical_function_alms_and_pacification = { doctrine_clerical_function_recruitment = { doctrine_group_type = doctrine_clerical_function index = 2 - divergence = 7.5 + divergence = 2.5 clergy_modifier = { - domain_tax_same_faith_mult_even_if_baron = -0.03 levy_reinforcement_rate_same_faith_even_if_baron = 0.3 prowess = 4 + military_district_district_build_gold_cost = -0.25 + walls_district_district_build_gold_cost = -0.25 } parameters = { clergy_can_fight + clerical_function_temple_holding_maa_maintenance + clerical_function_temple_district_votive_maa_toughness } piety_cost = { @@ -1543,7 +1489,7 @@ doctrine_clerical_gender_male_only = { doctrine_clerical_gender_female_only = { doctrine_group_type = doctrine_clerical_gender index = 2 - divergence = 90 + divergence = 20 piety_cost = { value = faith_doctrine_cost_low @@ -1565,7 +1511,7 @@ doctrine_clerical_gender_female_only = { doctrine_clerical_gender_either = { doctrine_group_type = doctrine_clerical_gender index = 1 - divergence = 45 + divergence = 10 piety_cost = { value = faith_doctrine_cost_low @@ -1606,7 +1552,7 @@ doctrine_clerical_marriage_allowed = { doctrine_clerical_marriage_disallowed = { doctrine_group_type = doctrine_clerical_marriage index = 1 - divergence = 40 + divergence = 15 parameters = { clergy_can_marry_disabled @@ -1628,7 +1574,7 @@ doctrine_clerical_marriage_disallowed = { doctrine_clerical_succession_temporal_appointment = { # Temporal, Free doctrine_group_type = doctrine_clerical_succession index = 0 - divergence = 40 + divergence = 10 piety_cost = { value = faith_doctrine_cost_high @@ -1672,7 +1618,7 @@ doctrine_clerical_succession_temporal_appointment = { # Temporal, Free doctrine_clerical_succession_spiritual_appointment = { # Spiritual, Free doctrine_group_type = doctrine_clerical_succession index = 1 - divergence = 20 + divergence = 10 piety_cost = { value = faith_doctrine_cost_high @@ -1723,7 +1669,7 @@ doctrine_clerical_succession_spiritual_appointment = { # Spiritual, Free doctrine_clerical_succession_temporal_fixed_appointment = { # Temporal, Fixed doctrine_group_type = doctrine_clerical_succession index = 2 - divergence = 40 + divergence = 10 piety_cost = { value = faith_doctrine_cost_high @@ -1766,7 +1712,7 @@ doctrine_clerical_succession_temporal_fixed_appointment = { # Temporal, Fixed doctrine_clerical_succession_spiritual_fixed_appointment = { # Spiritual, Fixed doctrine_group_type = doctrine_clerical_succession index = 3 - divergence = 20 + divergence = 10 piety_cost = { value = faith_doctrine_cost_high @@ -1847,10 +1793,158 @@ doctrine_clerical_succession_conditional = { # Conditional (CE3) - contested app } } +doctrine_pilgrimage_forbidden = { + doctrine_group_type = doctrine_pilgrimage + index = 0 + divergence = 0 + + icon = "doctrine_pilgrimage_forbidden" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_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 + } + can_pick = { + custom_description = { + text = incompatible_tenet_armed_pilgrimages_trigger + NOT = { tenet:tenet_armed_pilgrimages = { is_in_list = selected_doctrines } } + } + } + + traits = { + sins = { + pilgrim = { weight = 100 scale = 2 } + } + } +} + +doctrine_pilgrimage_encouraged = { + doctrine_group_type = doctrine_pilgrimage + index = 1 + divergence = 5 + + icon = "doctrine_pilgrimage_encouraged" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_pilgrimage_encouraged } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + parameters = { + can_go_on_pilgrimage + basic_pilgrimage_rewards + } + + traits = { + virtues = { + pilgrim = { weight = 30 scale = 2 } + } + } +} + +doctrine_pilgrimage_local_rites = { + doctrine_group_type = doctrine_pilgrimage + index = 2 + divergence = 2.5 + + icon = "doctrine_pilgrimage_local_rites" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_has_doctrine = doctrine_pilgrimage_local_rites } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + parameters = { + local_shrine_offering + can_go_on_pilgrimage + basic_pilgrimage_rewards + } +} + +doctrine_pilgrimage_mandatory = { + doctrine_group_type = doctrine_pilgrimage + index = 3 + divergence = 7.5 + + icon = "doctrine_pilgrimage_mandatory" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_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 + mandatory_pilgrimage + basic_pilgrimage_rewards + } +} + +doctrine_pilgrimage_mandatory_hajj = { + doctrine_group_type = doctrine_pilgrimage + index = 4 + divergence = 10 + + icon = "doctrine_pilgrimage_mandatory_hajj" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { rite_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 + mandatory_hajj + basic_pilgrimage_rewards + } +} + doctrine_funeral_stoic = { # Abrahamic funerals, stand around and try not to cry too much before the body is humbly buried doctrine_group_type = doctrine_funeral index = 0 - divergence = 2.5 + divergence = 1.5 piety_cost = { value = faith_doctrine_cost_mid @@ -1869,7 +1963,7 @@ doctrine_funeral_stoic = { # Abrahamic funerals, stand around and try not to cry doctrine_funeral_bewailment = { # West African funerals, strongly encouraged to show emotion before the body is humbly buried doctrine_group_type = doctrine_funeral index = 1 - divergence = 2.5 + divergence = 1.5 piety_cost = { value = faith_doctrine_cost_mid @@ -1906,7 +2000,7 @@ doctrine_funeral_cremation = { # Catch-all cremations, burn or otherwise dissolv doctrine_funeral_sky_burial = { # Have the body fed to scavenging animals and birds doctrine_group_type = doctrine_funeral index = 3 - divergence = 57.5 + divergence = 5 piety_cost = { value = faith_doctrine_cost_mid @@ -1930,7 +2024,7 @@ doctrine_funeral_sky_burial = { # Have the body fed to scavenging animals and bi doctrine_funeral_mummification = { # Fanatically preserve the body, very expensive doctrine_group_type = doctrine_funeral index = 4 - divergence = 147.5 + divergence = 15 piety_cost = { value = faith_doctrine_cost_high @@ -1984,25 +2078,20 @@ doctrine_family_rites = { # Solemn veneration doctrine_no_anointment = { doctrine_group_type = doctrine_coronation index = 0 - divergence = 60 piety_cost = { value = faith_doctrine_cost_mid } parameters = { no_anointment = yes + no_anointment_coronation_cost_discount = yes coronation_artifact = yes } - - is_shown = { - has_ach_dlc_trigger = yes - } } doctrine_anointment_permitted = { doctrine_group_type = doctrine_coronation index = 1 - divergence = 10 piety_cost = { value = faith_doctrine_cost_mid } @@ -2021,22 +2110,18 @@ doctrine_anointment_permitted = { } } } - - is_shown = { - has_ach_dlc_trigger = yes - } } doctrine_imperial_anointment = { doctrine_group_type = doctrine_coronation index = 2 - divergence = 10 piety_cost = { value = faith_doctrine_cost_mid } parameters = { imperial_anointment = yes + imperial_anointment_piety_bonus = yes coronation_artifact = yes } @@ -2049,9 +2134,68 @@ doctrine_imperial_anointment = { } } } +} - is_shown = { - has_ach_dlc_trigger = yes +doctrine_monotheist = { + doctrine_group_type = doctrine_theism + index = 0 + divergence = 75 + + icon = "doctrine_monotheist" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { + OR = { + rite_has_doctrine = abrahamic_hostility_doctrine + rite_has_doctrine = doctrine_monotheist + } + } + multiply = faith_unchanged_doctrine_cost_mult + } + } + can_pick = { + custom_description = { + text = incompatible_tenet_bhakti_trigger + NOT = { tenet:tenet_bhakti = { is_in_list = selected_doctrines } } + } + custom_description = { + text = incompatible_tenet_household_gods_trigger + NOT = { tenet:tenet_household_gods = { is_in_list = selected_doctrines } } + } + } + + special_parameters = { + hostility_levels = { + unrelated = evil + } + } +} + +doctrine_polytheist = { + doctrine_group_type = doctrine_theism + index = 1 + divergence = 75 + + icon = "doctrine_polytheist" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = abrahamic_hostility_doctrine } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_polytheist } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + special_parameters = { + hostility_levels = { + unrelated = hostile + } } } @@ -2136,6 +2280,36 @@ doctrine_monasticism_encouraged = { } } + historical_glossary = { + first_valid = { + triggered_desc = { + trigger = { + religion_tag = christianity_religion + main_rite = { pam_latin_as_liturgical_language_trigger = yes } + } + desc = doctrine_christianity_monasticism_latin_historical_glossary + } + triggered_desc = { + trigger = { + religion_tag = christianity_religion + main_rite = { pam_greek_as_liturgical_language_trigger = yes } + } + desc = doctrine_christianity_monasticism_greek_historical_glossary + } + triggered_desc = { + trigger = { + religion_tag = christianity_religion + main_rite = { + pam_latin_as_liturgical_language_trigger = no + pam_greek_as_liturgical_language_trigger = no + } + } + desc = doctrine_christianity_monasticism_default_historical_glossary + } + desc = doctrine_monasticism_general_historical_glossary + } + } + piety_cost = { if = { limit = { @@ -2194,7 +2368,7 @@ doctrine_monasticism_encouraged = { } clergy_modifier = { - county_opinion_add_even_if_baron = 5 + popular_opinion_add_even_if_baron = 5 } traits = { @@ -2211,7 +2385,7 @@ doctrine_monasticism_encouraged = { doctrine_monasticism_accepted = { doctrine_group_type = monasticism_group index = 1 - divergence = 10 + divergence = 1 desc = doctrine_monasticism_accepted_desc @@ -2244,7 +2418,7 @@ doctrine_monasticism_accepted = { } clergy_modifier = { - county_opinion_add_even_if_baron = 3 + popular_opinion_add_even_if_baron = 3 } traits = { @@ -2260,7 +2434,7 @@ doctrine_monasticism_accepted = { doctrine_monasticism_absent = { doctrine_group_type = monasticism_group index = 2 - divergence = 60 + divergence = 3 desc = doctrine_monasticism_absent_desc @@ -2293,7 +2467,7 @@ doctrine_monasticism_absent = { doctrine_monasticism_forbidden = { doctrine_group_type = monasticism_group index = 3 - divergence = 120 + divergence = 5 desc = doctrine_monasticism_forbidden_desc @@ -2443,3 +2617,165 @@ doctrine_sacraments_absent = { } } } + +doctrine_usury_accepted = { + doctrine_group_type = doctrine_usury + index = 0 + divergence = 0 + + icon = "doctrine_usury" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { + rite_has_doctrine = doctrine_usury_accepted + } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_discouraged + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_outsiders_only + } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_forbidden + } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + usury_accepted + } +} + +doctrine_usury_discouraged = { + doctrine_group_type = doctrine_usury + index = 1 + divergence = 10 + + icon = "doctrine_usury" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { + rite_has_doctrine = doctrine_usury_discouraged + } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + rite_has_doctrine = doctrine_usury_accepted + rite_has_doctrine = doctrine_usury_outsiders_only + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_forbidden + } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + parameters = { + usury_discouraged + usury_discouraged_creditor_standing + usury_charitable_lending + } +} + +doctrine_usury_outsiders_only = { + doctrine_group_type = doctrine_usury + index = 2 + divergence = 20 + + icon = "doctrine_usury" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { + rite_has_doctrine = doctrine_usury_outsiders_only + } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + rite_has_doctrine = doctrine_usury_discouraged + rite_has_doctrine = doctrine_usury_forbidden + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_accepted + } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + parameters = { + usury_outsiders_only + usury_outsider_creditor_standing + usury_outsider_debts_voidable + usury_charitable_lending + } +} + +doctrine_usury_forbidden = { + doctrine_group_type = doctrine_usury + index = 3 + divergence = 30 + + icon = "doctrine_usury" + + piety_cost = { + value = faith_doctrine_cost_mid + if = { + limit = { + rite_has_doctrine = doctrine_usury_forbidden + } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_outsiders_only + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_discouraged + } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { + rite_has_doctrine = doctrine_usury_accepted + } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + usury_forbidden + usury_forbidden_creditor_standing + usury_debts_voidable + usury_charitable_lending + } +} diff --git a/common/religion/doctrine_types/20_doctrines_judaism.txt b/common/religion/doctrine_types/20_doctrines_judaism.txt deleted file mode 100644 index 02ac8f9d3..000000000 --- a/common/religion/doctrine_types/20_doctrines_judaism.txt +++ /dev/null @@ -1,148 +0,0 @@ -# Tracks the way in which Halakha is supposed to be interpreted -temple_authority_rabbinic_doctrine = { # Rabbis argue and interpret the Halakha - doctrine_group_type = doctrine_temple_authority - index = 0 - divergence = 50 - - icon = "temple_authority_rabbinic_doctrine" - - piety_cost = { - if = { - limit = { rite_has_doctrine = temple_authority_rabbinic_doctrine } - value = 0 - } - else_if = { - limit = { rite_has_doctrine = temple_authority_samaritan_torah_doctrine } - value = faith_tenet_cost_mid - } - else = { - value = faith_tenet_cost_low - } - } - - character_modifier = { - clergy_opinion = 5 - church_holding_build_gold_cost = -0.1 - } - - parameters = { - temple_authority_rabbinic_doctrine - } - - special_parameters = { - hostility_level_override = { - temple_authority_rabbinic_doctrine = astray - temple_authority_samaritan_torah_doctrine = evil - } - } -} - -temple_authority_toric_doctrine = { # Rabbis are meant to interpret the literal meaning of the Torah - doctrine_group_type = doctrine_temple_authority - index = 1 - divergence = 50 - - icon = "temple_authority_toric_doctrine" - - piety_cost = { - if = { - limit = { rite_has_doctrine = temple_authority_toric_doctrine } - value = 0 - } - else_if = { - limit = { rite_has_doctrine = temple_authority_samaritan_torah_doctrine } - value = faith_tenet_cost_mid - } - else = { - value = faith_tenet_cost_low - } - } - - traits = { - virtues = { - erudite = { weight = 30 scale = 1 } - } - } - - character_modifier = { - artifact_decay_reduction_mult = -0.1 - } - - parameters = { - temple_authority_toric_doctrine - } - - special_parameters = { - hostility_level_override = { - temple_authority_toric_doctrine = astray - temple_authority_samaritan_torah_doctrine = evil - } - } -} - -temple_authority_kohanim_doctrine = { # Belief that the Halakha is to be interpreted by the Kohen - doctrine_group_type = doctrine_temple_authority - index = 2 - divergence = 50 - - icon = "temple_authority_kohanim_doctrine" - - piety_cost = { - if = { - limit = { rite_has_doctrine = temple_authority_kohanim_doctrine } - value = 0 - } - else_if = { - limit = { rite_has_doctrine = temple_authority_samaritan_torah_doctrine } - value = faith_tenet_cost_mid - } - else = { - value = faith_tenet_cost_low - } - } - - character_modifier = { - opinion_of_same_culture = 5 - } - - special_parameters = { - hostility_level_override = { - temple_authority_kohanim_doctrine = astray - temple_authority_samaritan_torah_doctrine = evil - } - } -} - -temple_authority_samaritan_torah_doctrine = { # Belief in the Samaritan Torah - doctrine_group_type = doctrine_temple_authority - index = 3 - divergence = 50 - - icon = "temple_authority_samaritan_torah_doctrine" - - piety_cost = { - if = { - limit = { rite_has_doctrine = temple_authority_samaritan_torah_doctrine } - value = 0 - } - else = { - value = faith_tenet_cost_mid - } - } - - special_parameters = { - hostility_level_override = { - temple_authority_samaritan_torah_doctrine = righteous - temple_authority_rabbinic_doctrine = evil - temple_authority_toric_doctrine = evil - temple_authority_kohanim_doctrine = evil - } - } - - character_modifier = { - different_faith_opinion = -10 - same_faith_opinion = 10 - domain_tax_same_faith_mult = 0.05 - levy_reinforcement_rate_same_faith = 0.1 - } -} diff --git a/common/religion/doctrine_types/20_doctrines_zoroastrianism.txt b/common/religion/doctrine_types/20_doctrines_zoroastrianism.txt deleted file mode 100644 index c28195b25..000000000 --- a/common/religion/doctrine_types/20_doctrines_zoroastrianism.txt +++ /dev/null @@ -1,37 +0,0 @@ -doctrine_major_branch_behdin = { - doctrine_group_type = doctrine_zoroastrian_branches - index = 0 - divergence = 50 - - icon = "doctrine_major_branch_behdin" - - piety_cost = { - value = faith_doctrine_cost_high - if = { - limit = { rite_has_doctrine = doctrine_heretic_branch_zandik } #Becoming accepted by the mainstream movement is very piety-expensive - multiply = 3 - } - } - - special_parameters = { - hostility_level_override = { - doctrine_major_branch_behdin = astray - } - } -} - -doctrine_heretic_branch_zandik = { - doctrine_group_type = doctrine_zoroastrian_branches - index = 1 - divergence = 50 - - icon = "doctrine_heretic_branch_zandik" - - piety_cost = { - value = faith_doctrine_cost_low #but being a heretic, that's cheap... - } - - character_modifier = { - advantage_against_coreligionists = 5 - } -} diff --git a/common/religion/doctrine_types/40_doctrines_special.txt b/common/religion/doctrine_types/40_doctrines_special.txt index 5135a8e4a..5db6210ac 100644 --- a/common/religion/doctrine_types/40_doctrines_special.txt +++ b/common/religion/doctrine_types/40_doctrines_special.txt @@ -6,6 +6,7 @@ special_doctrine_is_christian_faith christian_syncretic_recipient has_clerical_regions + amber_prayer_beads } special_parameters = { @@ -20,6 +21,10 @@ christian_syncretic_actor = 30 } } + + character_modifier = { + trade_good_wine_sell_price_mult = 0.01 + } } special_doctrine_is_islamic_faith = { @@ -28,6 +33,7 @@ special_doctrine_is_islamic_faith = { parameters = { islamic_syncretic_recipient + amber_prayer_beads } special_parameters = { @@ -40,6 +46,10 @@ special_doctrine_is_islamic_faith = { islamic_syncretic_actor = 30 } } + + character_modifier = { + trade_good_spices_buy_price_mult = -0.0075 + } } special_doctrine_is_jewish_faith = { @@ -60,6 +70,11 @@ special_doctrine_is_jewish_faith = { jewish_syncretic_actor = 30 } } + + character_modifier = { + trade_good_dyes_sell_price_mult = 0.015 + trade_good_glass_sell_price_mult = 0.0125 + } } special_doctrine_is_eastern_faith = { @@ -79,6 +94,13 @@ special_doctrine_is_eastern_faith = { parameter_opinion_override = { eastern_syncretic_actor = 30 } + + heresy_threshold = 10 + } + + character_modifier = { + trade_good_cotton_buy_price_mult = -0.015 + trade_good_gems_buy_price_mult = -0.0125 } } @@ -99,6 +121,11 @@ special_doctrine_is_sinitic_faith = { sinitic_syncretic_actor = 30 } } + + character_modifier = { + trade_good_silk_sell_price_mult = 0.0075 + trade_good_tea_sell_price_mult = 0.01 + } } special_doctrine_is_gnostic_faith = { @@ -107,6 +134,8 @@ special_doctrine_is_gnostic_faith = { parameters = { granting_titles_gives_stress + gnosticism_cleric_interactions + gnosticism_mystic_bonus } special_parameters = { @@ -126,13 +155,24 @@ special_doctrine_is_gnostic_faith = { } character_modifier = { - learning = 2 - stewardship = -2 + learning_per_piety_level = 1 + stewardship_per_piety_level = -1 + trade_good_textiles_sell_price_mult = 0.0075 + } +} + +special_doctrine_is_yazidi_faith = { + doctrine_group_type = is_yazidi_faith + icon = "special_doctrine_default" + + visible = no + + character_modifier = { + trade_good_oil_buy_price_mult = -0.015 } } special_doctrine_ecumenical_christian = { - index = 0 doctrine_group_type = special_tolerance icon = "special_doctrine_ecumenical_christian" @@ -148,7 +188,6 @@ special_doctrine_ecumenical_christian = { # Full communion between the Miaphysite churches: righteous towards each other, astray towards the rest of ecumenical Christendom. special_doctrine_ecumenical_miaphysite = { - index = 1 doctrine_group_type = special_tolerance icon = "special_doctrine_ecumenical_christian" @@ -193,6 +232,482 @@ special_doctrine_naked_priests = { } } +special_doctrine_ahimsa = { + doctrine_group_type = ahimsa_doctrine + icon = "special_doctrine_holy_blessing" + + parameters = { + martial_education_worse_outcomes + better_stewardship_education + } + + character_modifier = { + agricultural_tax_mult = -0.25 + woodland_tax_mult = -0.25 + artisan_tax_mult = 0.25 + commerce_tax_mult = 0.25 + trade_category_guild_goods_production_mult = 0.25 + trade_category_agricultural_goods_production_mult = -0.25 + trade_competitiveness_mult = 0.05 + trait_track_artisan_xp_gain_mult = 0.15 + } +} + +# Alcohol ladder +doctrine_alcohol_permitted = { + doctrine_group_type = alcohol_restrictions + index = 0 + divergence = 0 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_alcohol_permitted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_alcohol_forbidden } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + alcohol_permitted + } +} + +doctrine_alcohol_highborn_only = { + #All buildings ban alcohol except upper class ones + doctrine_group_type = alcohol_restrictions + index = 1 + divergence = 10 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_alcohol_highborn_only } + multiply = faith_unchanged_doctrine_cost_mult + } + } + + parameters = { + alcohol_forbidden + alcohol_buildings_forbidden + } + + traits = { + sins = { + drunkard = { weight = 20 scale = 2 } + } + } + + character_modifier = { + health = 0.05 + control_baseline_add = 2.5 + } +} + +special_doctrine_alcohol_forbidden = { + #Complete alcohol ban, with no production or consumption + #Some upper class buildings can still consume it, but give a piety penalty if built + doctrine_group_type = alcohol_restrictions + index = 2 + divergence = 15 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_alcohol_forbidden } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = doctrine_alcohol_permitted } + multiply = faith_changed_doctrine_cost_mult_two_step + } + } + + parameters = { + alcohol_forbidden + alcohol_production_forbidden + alcohol_buildings_forbidden + alcohol_forbidden_strict + + } + + traits = { + sins = { + drunkard = { weight = 35 scale = 2 } + } + } + + character_modifier = { + health = 0.1 + control_baseline_add = 5 + } +} + +# Dietary ladder +# Parameters exist so a banned need can be swapped for an allowed one +# If adding more things, check how they relate to each other +special_doctrine_meat_only = { + #Eats nothing but meat - cereals are replaced with meat rather than eaten + doctrine_group_type = dietary_restrictions + index = -1 + divergence = 12.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_meat_only } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples_fish } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { + OR = { + rite_has_doctrine = special_doctrine_meat_forbidden_fish + rite_has_doctrine = special_doctrine_meat_forbidden + rite_has_doctrine = special_doctrine_nothing_of_the_slain + } + } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + cereals_forbidden + meat_permitted + leather_permitted + diet_needs_meat + meat_in_demand + granary_buildings_forbidden + } + +} + +doctrine_diet_unrestricted = { + doctrine_group_type = dietary_restrictions + index = 0 + divergence = 2.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = doctrine_diet_unrestricted } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_fish } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { + OR = { + rite_has_doctrine = special_doctrine_meat_forbidden + rite_has_doctrine = special_doctrine_nothing_of_the_slain + } + } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + diet_unrestricted + meat_permitted + leather_permitted + } +} + +special_doctrine_meat_forbidden_temples = { + #Temple Holdings do not eat meat - replaces with comforts + doctrine_group_type = dietary_restrictions + index = 2 + divergence = 2.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + rite_has_doctrine = doctrine_diet_unrestricted + rite_has_doctrine = special_doctrine_meat_forbidden + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { + OR = { + rite_has_doctrine = special_doctrine_nothing_of_the_slain + rite_has_doctrine = special_doctrine_meat_only + } + } + multiply = faith_changed_doctrine_cost_mult_three_step + } + } + + parameters = { + meat_forbidden_temples + meat_permitted + leather_permitted + diet_needs_comforts_temples + comforts_in_demand_temples + } + + clergy_modifier = { + health = 0.05 + province_size_baseline_add = 50 + trade_category_comforts_production_mult = 0.2 + } +} + +special_doctrine_meat_forbidden_temples_fish = { + #Temple holdings do not eat meat but do eat fish + doctrine_group_type = dietary_restrictions + index = 1 + divergence = 2.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples_fish } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + rite_has_doctrine = special_doctrine_meat_forbidden_fish + rite_has_doctrine = special_doctrine_meat_only + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_nothing_of_the_slain } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + meat_forbidden_temples + fish_permitted_temples + meat_permitted + leather_permitted + diet_needs_fish_temples + fish_in_demand_temples + } + + clergy_modifier = { + health = 0.05 + province_size_baseline_add = 50 + } +} + +special_doctrine_meat_forbidden_fish = { + #All buildings ban meat, but allow fish + doctrine_group_type = dietary_restrictions + index = 3 + divergence = 2.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_fish } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { + OR = { + rite_has_doctrine = special_doctrine_meat_forbidden_temples_fish + rite_has_doctrine = special_doctrine_nothing_of_the_slain + } + } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = doctrine_diet_unrestricted } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_only } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + meat_forbidden + meat_forbidden_temples + fish_permitted + fish_permitted_temples + leather_permitted + diet_needs_fish + fish_in_demand + meat_buildings_forbidden_fish + } + + traits = { + sins = { + lifestyle_hunter = { weight = 30 scale = 2 } + } + } + + character_modifier = { + health = 0.025 + province_size_baseline_add = 50 + } +} + +special_doctrine_meat_forbidden = { + #All buildings ban meat, substitutes with comforts + doctrine_group_type = dietary_restrictions + index = 4 + divergence = 2.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples_fish } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { + OR = { + rite_has_doctrine = doctrine_diet_unrestricted + rite_has_doctrine = special_doctrine_meat_only + } + } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + meat_forbidden + meat_forbidden_temples + leather_permitted + diet_needs_comforts + comforts_in_demand + meat_buildings_forbidden + } + + traits = { + sins = { + lifestyle_hunter = { weight = 30 scale = 2 } + } + } + + character_modifier = { + health = 0.05 + province_size_baseline_add = 50 + trade_category_comforts_production_mult = 0.2 + } +} + +special_doctrine_nothing_of_the_slain = { + #Jain Ahimsa - Ban meat, ban leather, ban furs. Jains also ban alcohol but that is a separate doctrine. + doctrine_group_type = dietary_restrictions + index = 5 + divergence = 12.5 + + icon = "special_doctrine_default" + + piety_cost = { + value = faith_doctrine_cost_high + if = { + limit = { rite_has_doctrine = special_doctrine_nothing_of_the_slain } + multiply = faith_unchanged_doctrine_cost_mult + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_fish } + multiply = faith_changed_doctrine_cost_mult_two_step + } + else_if = { + limit = { rite_has_doctrine = special_doctrine_meat_forbidden_temples } + multiply = faith_changed_doctrine_cost_mult_three_step + } + else_if = { + limit = { + OR = { + rite_has_doctrine = doctrine_diet_unrestricted + rite_has_doctrine = special_doctrine_meat_forbidden_temples_fish + rite_has_doctrine = special_doctrine_meat_only + } + } + multiply = faith_changed_doctrine_cost_mult_four_step + } + } + + parameters = { + meat_forbidden + meat_forbidden_temples + leather_forbidden + clothes_need_suppressed + diet_needs_comforts + comforts_in_demand + textiles_in_demand + meat_buildings_forbidden_slain + leather_buildings_forbidden + } + + traits = { + sins = { + lifestyle_hunter = { weight = 30 scale = 2 } + } + } + + character_modifier = { + health = 0.075 + province_size_baseline_add = 50 + trade_category_comforts_production_mult = 0.2 + prosperity_growth_factor = 0.1 + epidemic_resistance = 10 + } +} + unreformed_faith_doctrine = { doctrine_group_type = unreformed_faith icon = "special_doctrine_default" @@ -222,6 +737,9 @@ unreformed_faith_doctrine = { clan_government_vassal_opinion = -20 feudal_government_vassal_opinion = -20 republic_government_vassal_opinion = -20 + trade_good_horses_sell_price_mult = 0.01 + trade_good_furs_buy_price_mult = -0.01 + trade_good_ivory_buy_price_mult = -0.015 } } @@ -251,6 +769,8 @@ west_african_unreformed_faith_doctrine = { character_modifier = { monthly_prestige_gain_mult = 0.1 + trade_good_ivory_buy_price_mult = -0.015 + trade_good_gold_buy_price_mult = -0.0075 } } diff --git a/descriptor.mod b/descriptor.mod index ad6b6036e..55d59f784 100644 --- a/descriptor.mod +++ b/descriptor.mod @@ -7,7 +7,9 @@ replace_path="common/landed_titles" replace_path="common/dynasties" replace_path="common/genes" replace_path="common/culture/cultures" -replace_path="common/religion" +replace_path="common/religion/faith_types" +replace_path="common/religion/religion_types" +replace_path="common/religion/rite_types" replace_path="history/characters" replace_path="history/cultures" replace_path="history/faiths"