From 46e89f6cb5f88946502012e3eddda014460275d1 Mon Sep 17 00:00:00 2001 From: Fishedotjpg Date: Thu, 5 Mar 2026 13:28:24 +0000 Subject: [PATCH] Church Bureaucracy --- common/on_action/yearly_on_actions.txt | 377 +++++++- common/religion/doctrines/20_doctrines.txt | 239 +++++ common/religion/religions/NEOW_catholic.txt | 2 + common/script_values/NEOW_custom_values.txt | 862 ++++++++++++++++++ .../doctrine_special_catholic_dominion.dds | 3 + ...religion_tolerance doctrines_l_english.yml | 20 +- 6 files changed, 1500 insertions(+), 3 deletions(-) create mode 100644 gfx/interface/icons/faith_doctrine_groups/doctrine_special_catholic_dominion.dds diff --git a/common/on_action/yearly_on_actions.txt b/common/on_action/yearly_on_actions.txt index b4ef78a9..9c7371cf 100644 --- a/common/on_action/yearly_on_actions.txt +++ b/common/on_action/yearly_on_actions.txt @@ -745,6 +745,379 @@ yearly_global_pulse = { } } + if = { + limit = { + has_title = title:k_papal_state + } + if = { + limit = { + roman_calculations >= 89 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_9 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + add_doctrine = doctrine_catholic_dominion_9 + } + } + else_if = { + limit = { + roman_calculations >= 78 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_8 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_8 + } + } + else_if = { + limit = { + roman_calculations >= 67 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_7 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_7 + } + } + else_if = { + limit = { + roman_calculations >= 56 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_6 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_6 + } + } + else_if = { + limit = { + roman_calculations >= 45 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_5 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_5 + } + } + else_if = { + limit = { + roman_calculations >= 34 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_4 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_4 + } + } + else_if = { + limit = { + roman_calculations >= 23 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_3 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_3 + } + } + else_if = { + limit = { + roman_calculations >= 12 + faith:roman_catholic = { + NOT = { + has_doctrine = doctrine_catholic_dominion_2 + } + } + } + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_2 + } + } + else = { + faith:roman_catholic = { + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_1 + } + } + } + + if = { + limit = { + has_title = title:k_sevillian_papacy + } + if = { + limit = { + sevillian_calculations >= 89 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_9 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + add_doctrine = doctrine_catholic_dominion_9 + } + } + else_if = { + limit = { + sevillian_calculations >= 78 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_8 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_8 + } + } + else_if = { + limit = { + sevillian_calculations >= 67 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_7 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_7 + } + } + else_if = { + limit = { + sevillian_calculations >= 56 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_6 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_6 + } + } + else_if = { + limit = { + sevillian_calculations >= 45 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_5 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_5 + } + } + else_if = { + limit = { + sevillian_calculations >= 34 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_4 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_4 + } + } + else_if = { + limit = { + sevillian_calculations >= 23 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_3 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_3 + } + } + else_if = { + limit = { + sevillian_calculations >= 12 + faith:sevillian = { + NOT = { + has_doctrine = doctrine_catholic_dominion_2 + } + } + } + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_1 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_2 + } + } + else = { + faith:sevillian = { + remove_doctrine = doctrine_catholic_dominion_2 + remove_doctrine = doctrine_catholic_dominion_3 + remove_doctrine = doctrine_catholic_dominion_4 + remove_doctrine = doctrine_catholic_dominion_5 + remove_doctrine = doctrine_catholic_dominion_6 + remove_doctrine = doctrine_catholic_dominion_7 + remove_doctrine = doctrine_catholic_dominion_8 + remove_doctrine = doctrine_catholic_dominion_9 + add_doctrine = doctrine_catholic_dominion_1 + } + } + } on_actions = { inspiration_maintenance_global_pulse natural_disaster_maintenance_global_pulse @@ -2489,6 +2862,8 @@ random_yearly_playable_pulse = { # Called from code once a year for all characters, at a random point that year (individually for each character) # Root is the character random_yearly_everyone_pulse = { + effect = { + } on_actions = { yearly_health_pulse stress_pulse @@ -2592,8 +2967,6 @@ five_year_everyone_pulse = { } } - - if = { # Long term gold is pointless for Barons - add it to short term instead limit = { is_ai = yes diff --git a/common/religion/doctrines/20_doctrines.txt b/common/religion/doctrines/20_doctrines.txt index 58ebdacb..08a74d41 100644 --- a/common/religion/doctrines/20_doctrines.txt +++ b/common/religion/doctrines/20_doctrines.txt @@ -1557,4 +1557,243 @@ doctrine_theism = { hostility_others = 1 } } +} +doctrine_special_catholic_dominion = { + group = "clergy" + doctrine_catholic_dominion_1 = { + + 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.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 + } + } + doctrine_catholic_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 + } + } + doctrine_catholic_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 + } + } + doctrine_catholic_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 + } + } + doctrine_catholic_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 = { + cheaper_holy_wars_active = no + great_holy_wars_active = no + } + } + doctrine_catholic_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 = { + cheaper_holy_wars_active = no + great_holy_wars_active = no + } + } + doctrine_catholic_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 = { + cheaper_holy_wars_active = no + great_holy_wars_active = no + } + } + doctrine_catholic_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 = { + cheaper_holy_wars_active = no + great_holy_wars_active = no + } + } + doctrine_catholic_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 = { + cheaper_holy_wars_active = no + great_holy_wars_active = no + } + } } \ No newline at end of file diff --git a/common/religion/religions/NEOW_catholic.txt b/common/religion/religions/NEOW_catholic.txt index 0f9dae12..5f25f167 100644 --- a/common/religion/religions/NEOW_catholic.txt +++ b/common/religion/religions/NEOW_catholic.txt @@ -456,6 +456,7 @@ doctrine = doctrine_gender_male_dominated doctrine = doctrine_pluralism_fundamentalist doctrine = doctrine_homosexuality_crime + doctrine = doctrine_catholic_dominion_1 holy_order_names = { #placeholder { name = "holy_order_knights_templar" coat_of_arms = "ho_knights_templar" } @@ -563,6 +564,7 @@ #Special Tolerance | placeholder doctrine = special_doctrine_roman_rite + doctrine = doctrine_catholic_dominion_1 #Tenets | placeholder doctrine = tenet_catholic_communion diff --git a/common/script_values/NEOW_custom_values.txt b/common/script_values/NEOW_custom_values.txt index 6a28f50d..268edaf6 100644 --- a/common/script_values/NEOW_custom_values.txt +++ b/common/script_values/NEOW_custom_values.txt @@ -2,4 +2,866 @@ value = highest_held_title_tier subtract = 2 min = tier_barony +} + +roman_fervour_and_size = { + value = 0 + + every_independent_ruler = { + limit = { + faith = faith:roman_catholic + NOT = { + has_title = title:k_papal_state + } + } + if = { + limit = { + highest_held_title_tier = tier_hegemony + NOT = { + has_title = title:k_papal_state + } + } + add = roman_limit_bonus_20 + } + else_if = { + limit = { + highest_held_title_tier = tier_empire + NOT = { + has_title = title:k_papal_state + } + } + add = roman_limit_bonus_15 + } + else_if = { + limit = { + highest_held_title_tier = tier_kingdom + NOT = { + has_title = title:k_papal_state + } + } + add = roman_limit_bonus_10 + } + else_if = { + limit = { + highest_held_title_tier = tier_duchy + NOT = { + has_title = title:k_papal_state + } + } + add = roman_limit_bonus_5 + } + else_if = { + limit = { + highest_held_title_tier = tier_county + NOT = { + has_title = title:k_papal_state + } + } + add = roman_limit_bonus_1 + } + else = { + } + } + if = { + limit = { + faith:roman_catholic = { fervor >= 90 } + } + add = roman_limit_bonus_5 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 80 } + } + add = roman_limit_bonus_4 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 70 } + } + add = roman_limit_bonus_3 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 60 } + } + add = roman_limit_bonus_2 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 50 } + } + subtract = roman_limit_penalty_4 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 40 } + } + subtract = roman_limit_penalty_6 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 30 } + } + subtract = roman_limit_penalty_8 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 20 } + } + subtract = roman_limit_penalty_10 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 10 } + } + subtract = roman_limit_penalty_14 + } + else_if = { + limit = { + faith:roman_catholic = { fervor >= 5 } + } + subtract = roman_limit_penalty_16 + } + else = { + subtract = roman_limit_penalty_20 + } + min = -100 # Can't go lower than 0 + max = 100 # Can't go higher than 100 +} +roman_papal_size_piety_learning_stewardship = { + value = 0 + + every_independent_ruler = { + limit = { + faith = faith:roman_catholic + has_title = title:k_papal_state + } + + if = { + limit = { + piety_level = 8 + } + add = roman_limit_bonus_25 + } + else_if = { + limit = { + piety_level = 7 + } + add = roman_limit_bonus_20 + } + else_if = { + limit = { + piety_level = 6 + } + add = roman_limit_bonus_15 + } + else_if = { + limit = { + piety_level = 5 + } + add = roman_limit_bonus_10 + } + else_if = { + limit = { + piety_level = 4 + } + add = roman_limit_bonus_5 + } + else_if = { + limit = { + piety_level = 3 + } + add = roman_limit_penalty_15 + } + else_if = { + limit = { + piety_level = 2 + } + subtract = roman_limit_penalty_10 + } + else_if = { + limit = { + piety_level = 1 + } + subtract = roman_limit_penalty_15 + } + else_if = { + limit = { + piety_level = 0 + } + subtract = roman_limit_penalty_20 + } + else = { + } + } + + every_independent_ruler = { + limit = { + faith = faith:roman_catholic + has_title = title:k_papal_state + } + + if = { + limit = { + prestige_level = 8 + } + add = roman_limit_bonus_25 + } + else_if = { + limit = { + prestige_level = 7 + } + add = roman_limit_bonus_20 + } + else_if = { + limit = { + prestige_level = 6 + } + add = roman_limit_bonus_15 + } + else_if = { + limit = { + prestige_level = 5 + } + add = roman_limit_bonus_10 + } + else_if = { + limit = { + prestige_level = 4 + } + add = roman_limit_bonus_5 + } + else_if = { + limit = { + prestige_level = 3 + } + add = roman_limit_penalty_15 + } + else_if = { + limit = { + prestige_level = 2 + } + subtract = roman_limit_penalty_10 + } + else_if = { + limit = { + prestige_level = 1 + } + subtract = roman_limit_penalty_15 + } + else_if = { + limit = { + prestige_level = 0 + } + subtract = roman_limit_penalty_20 + } + else = { + } + } + every_independent_ruler = { + limit = { + faith = faith:roman_catholic + has_title = title:k_papal_state + } + + if = { + limit = { + stewardship >= 20 + } + add = roman_limit_bonus_20 + } + else_if = { + limit = { + stewardship >= 15 + } + add = roman_limit_bonus_15 + } + else_if = { + limit = { + stewardship >= 5 + } + subtract = roman_limit_penalty_10 + } + else_if = { + limit = { + stewardship < 5 + } + subtract = roman_limit_penalty_20 + } + else = { + } + } + + every_independent_ruler = { + limit = { + faith = faith:roman_catholic + has_title = title:k_papal_state + } + + if = { + limit = { + realm_size >= 60 + } + subtract = roman_limit_bonus_60 + } + else_if = { + limit = { + realm_size >= 55 + } + subtract = roman_limit_bonus_55 + } + else_if = { + limit = { + realm_size >= 50 + } + subtract = roman_limit_bonus_50 + } + else_if = { + limit = { + realm_size >= 45 + } + subtract = roman_limit_bonus_45 + } + else_if = { + limit = { + realm_size >= 40 + } + subtract = roman_limit_bonus_40 + } + else_if = { + limit = { + realm_size >= 35 + } + subtract = roman_limit_bonus_35 + } + else_if = { + limit = { + realm_size >= 30 + } + subtract = roman_limit_bonus_30 + } + else_if = { + limit = { + realm_size >= 25 + } + subtract = roman_limit_bonus_25 + } + else_if = { + limit = { + realm_size >= 20 + } + subtract = roman_limit_bonus_20 + } + else_if = { + limit = { + realm_size >= 15 + } + subtract = roman_limit_bonus_15 + } + else_if = { + limit = { + realm_size >= 10 + } + subtract = roman_limit_bonus_10 + } + else_if = { + limit = { + realm_size >= 5 + } + subtract = roman_limit_bonus_5 + } + else = { + } + } + min = -100 # Can't go lower than 0 + max = 100 # Can't go higher than 100 +} + +roman_limit_bonus_1 = 1 +roman_limit_bonus_2 = 2 +roman_limit_bonus_3 = 3 +roman_limit_bonus_4 = 4 +roman_limit_bonus_5 = 5 +roman_limit_bonus_6 = 6 +roman_limit_bonus_7 = 7 +roman_limit_bonus_8 = 8 +roman_limit_bonus_9 = 9 +roman_limit_bonus_10 = 10 +roman_limit_bonus_11 = 11 +roman_limit_bonus_12 = 12 +roman_limit_bonus_13 = 13 +roman_limit_bonus_14 = 14 +roman_limit_bonus_15 = 15 +roman_limit_bonus_16 = 16 +roman_limit_bonus_17 = 17 +roman_limit_bonus_18 = 18 +roman_limit_bonus_19 = 19 +roman_limit_bonus_20 = 20 +roman_limit_bonus_25 = 25 +roman_limit_bonus_30 = 30 +roman_limit_bonus_35 = 35 +roman_limit_bonus_40 = 40 +roman_limit_bonus_45 = 45 +roman_limit_bonus_50 = 50 +roman_limit_bonus_55 = 55 +roman_limit_bonus_60 = 60 + +roman_limit_penalty_1 = 1 +roman_limit_penalty_2 = 2 +roman_limit_penalty_3 = 3 +roman_limit_penalty_4 = 4 +roman_limit_penalty_5 = 5 +roman_limit_penalty_6 = 6 +roman_limit_penalty_7 = 7 +roman_limit_penalty_8 = 8 +roman_limit_penalty_9 = 9 +roman_limit_penalty_10 = 10 +roman_limit_penalty_11 = 11 +roman_limit_penalty_12 = 12 +roman_limit_penalty_13 = 13 +roman_limit_penalty_14 = 14 +roman_limit_penalty_15 = 15 +roman_limit_penalty_16 = 16 +roman_limit_penalty_17 = 17 +roman_limit_penalty_18 = 18 +roman_limit_penalty_19 = 19 +roman_limit_penalty_20 = 20 + +roman_calculations = { + value = 0 + add = roman_fervour_and_size + subtract = roman_papal_size_piety_learning_stewardship + min = 0 # Can't go lower than 0 + max = 100 # Can't go higher than 100 +} + +sevillian_fervour_and_size = { + value = 0 + + every_independent_ruler = { + limit = { + faith = faith:sevillian + NOT = { + has_title = title:k_sevillian_papacy + } + } + if = { + limit = { + highest_held_title_tier = tier_hegemony + NOT = { + has_title = title:k_sevillian_papacy + } + } + add = sevillian_limit_bonus_20 + } + else_if = { + limit = { + highest_held_title_tier = tier_empire + NOT = { + has_title = title:k_sevillian_papacy + } + } + add = sevillian_limit_bonus_15 + } + else_if = { + limit = { + highest_held_title_tier = tier_kingdom + NOT = { + has_title = title:k_sevillian_papacy + } + } + add = sevillian_limit_bonus_10 + } + else_if = { + limit = { + highest_held_title_tier = tier_duchy + NOT = { + has_title = title:k_sevillian_papacy + } + } + add = sevillian_limit_bonus_5 + } + else_if = { + limit = { + highest_held_title_tier = tier_county + NOT = { + has_title = title:k_sevillian_papacy + } + } + add = sevillian_limit_bonus_1 + } + else = { + } + } + if = { + limit = { + faith:sevillian = { fervor >= 90 } + } + add = sevillian_limit_bonus_5 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 80 } + } + add = sevillian_limit_bonus_4 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 70 } + } + add = sevillian_limit_bonus_3 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 60 } + } + add = sevillian_limit_bonus_2 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 50 } + } + subtract = sevillian_limit_penalty_4 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 40 } + } + subtract = sevillian_limit_penalty_6 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 30 } + } + subtract = sevillian_limit_penalty_8 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 20 } + } + subtract = sevillian_limit_penalty_10 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 10 } + } + subtract = sevillian_limit_penalty_14 + } + else_if = { + limit = { + faith:sevillian = { fervor >= 5 } + } + subtract = sevillian_limit_penalty_16 + } + else = { + subtract = sevillian_limit_penalty_20 + } + min = -100 # Can't go lower than 0 + max = 100 # Can't go higher than 100 +} +sevillian_papal_size_piety_learning_stewardship = { + value = 0 + + every_independent_ruler = { + limit = { + faith = faith:sevillian + has_title = title:k_sevillian_papacy + } + + if = { + limit = { + piety_level = 8 + } + add = sevillian_limit_bonus_25 + } + else_if = { + limit = { + piety_level = 7 + } + add = sevillian_limit_bonus_20 + } + else_if = { + limit = { + piety_level = 6 + } + add = sevillian_limit_bonus_15 + } + else_if = { + limit = { + piety_level = 5 + } + add = sevillian_limit_bonus_10 + } + else_if = { + limit = { + piety_level = 4 + } + add = sevillian_limit_bonus_5 + } + else_if = { + limit = { + piety_level = 3 + } + add = sevillian_limit_penalty_15 + } + else_if = { + limit = { + piety_level = 2 + } + subtract = sevillian_limit_penalty_10 + } + else_if = { + limit = { + piety_level = 1 + } + subtract = sevillian_limit_penalty_15 + } + else_if = { + limit = { + piety_level = 0 + } + subtract = sevillian_limit_penalty_20 + } + else = { + } + } + + every_independent_ruler = { + limit = { + faith = faith:sevillian + has_title = title:k_sevillian_papacy + } + + if = { + limit = { + prestige_level = 8 + } + add = sevillian_limit_bonus_25 + } + else_if = { + limit = { + prestige_level = 7 + } + add = sevillian_limit_bonus_20 + } + else_if = { + limit = { + prestige_level = 6 + } + add = sevillian_limit_bonus_15 + } + else_if = { + limit = { + prestige_level = 5 + } + add = sevillian_limit_bonus_10 + } + else_if = { + limit = { + prestige_level = 4 + } + add = sevillian_limit_bonus_5 + } + else_if = { + limit = { + prestige_level = 3 + } + add = sevillian_limit_penalty_15 + } + else_if = { + limit = { + prestige_level = 2 + } + subtract = sevillian_limit_penalty_10 + } + else_if = { + limit = { + prestige_level = 1 + } + subtract = sevillian_limit_penalty_15 + } + else_if = { + limit = { + prestige_level = 0 + } + subtract = sevillian_limit_penalty_20 + } + else = { + } + } + every_independent_ruler = { + limit = { + faith = faith:sevillian + has_title = title:k_sevillian_papacy + } + + if = { + limit = { + stewardship >= 20 + } + add = sevillian_limit_bonus_20 + } + else_if = { + limit = { + stewardship >= 15 + } + add = sevillian_limit_bonus_15 + } + else_if = { + limit = { + stewardship >= 5 + } + subtract = sevillian_limit_penalty_10 + } + else_if = { + limit = { + stewardship < 5 + } + subtract = sevillian_limit_penalty_20 + } + else = { + } + } + + every_independent_ruler = { + limit = { + faith = faith:sevillian + has_title = title:k_sevillian_papacy + } + + if = { + limit = { + realm_size >= 60 + } + subtract = sevillian_limit_bonus_60 + } + else_if = { + limit = { + realm_size >= 55 + } + subtract = sevillian_limit_bonus_55 + } + else_if = { + limit = { + realm_size >= 50 + } + subtract = sevillian_limit_bonus_50 + } + else_if = { + limit = { + realm_size >= 45 + } + subtract = sevillian_limit_bonus_45 + } + else_if = { + limit = { + realm_size >= 40 + } + subtract = sevillian_limit_bonus_40 + } + else_if = { + limit = { + realm_size >= 35 + } + subtract = sevillian_limit_bonus_35 + } + else_if = { + limit = { + realm_size >= 30 + } + subtract = sevillian_limit_bonus_30 + } + else_if = { + limit = { + realm_size >= 25 + } + subtract = sevillian_limit_bonus_25 + } + else_if = { + limit = { + realm_size >= 20 + } + subtract = sevillian_limit_bonus_20 + } + else_if = { + limit = { + realm_size >= 15 + } + subtract = sevillian_limit_bonus_15 + } + else_if = { + limit = { + realm_size >= 10 + } + subtract = sevillian_limit_bonus_10 + } + else_if = { + limit = { + realm_size >= 5 + } + subtract = sevillian_limit_bonus_5 + } + else = { + } + } + min = -100 # Can't go lower than 0 + max = 100 # Can't go higher than 100 +} + +sevillian_limit_bonus_1 = 1 +sevillian_limit_bonus_2 = 2 +sevillian_limit_bonus_3 = 3 +sevillian_limit_bonus_4 = 4 +sevillian_limit_bonus_5 = 5 +sevillian_limit_bonus_6 = 6 +sevillian_limit_bonus_7 = 7 +sevillian_limit_bonus_8 = 8 +sevillian_limit_bonus_9 = 9 +sevillian_limit_bonus_10 = 10 +sevillian_limit_bonus_11 = 11 +sevillian_limit_bonus_12 = 12 +sevillian_limit_bonus_13 = 13 +sevillian_limit_bonus_14 = 14 +sevillian_limit_bonus_15 = 15 +sevillian_limit_bonus_16 = 16 +sevillian_limit_bonus_17 = 17 +sevillian_limit_bonus_18 = 18 +sevillian_limit_bonus_19 = 19 +sevillian_limit_bonus_20 = 20 +sevillian_limit_bonus_25 = 25 +sevillian_limit_bonus_30 = 30 +sevillian_limit_bonus_35 = 35 +sevillian_limit_bonus_40 = 40 +sevillian_limit_bonus_45 = 45 +sevillian_limit_bonus_50 = 50 +sevillian_limit_bonus_55 = 55 +sevillian_limit_bonus_60 = 60 + +sevillian_limit_penalty_1 = 1 +sevillian_limit_penalty_2 = 2 +sevillian_limit_penalty_3 = 3 +sevillian_limit_penalty_4 = 4 +sevillian_limit_penalty_5 = 5 +sevillian_limit_penalty_6 = 6 +sevillian_limit_penalty_7 = 7 +sevillian_limit_penalty_8 = 8 +sevillian_limit_penalty_9 = 9 +sevillian_limit_penalty_10 = 10 +sevillian_limit_penalty_11 = 11 +sevillian_limit_penalty_12 = 12 +sevillian_limit_penalty_13 = 13 +sevillian_limit_penalty_14 = 14 +sevillian_limit_penalty_15 = 15 +sevillian_limit_penalty_16 = 16 +sevillian_limit_penalty_17 = 17 +sevillian_limit_penalty_18 = 18 +sevillian_limit_penalty_19 = 19 +sevillian_limit_penalty_20 = 20 + +sevillian_calculations = { + value = 0 + add = sevillian_fervour_and_size + subtract = sevillian_papal_size_piety_learning_stewardship + min = 0 # Can't go lower than 0 + max = 100 # Can't go higher than 100 } \ No newline at end of file diff --git a/gfx/interface/icons/faith_doctrine_groups/doctrine_special_catholic_dominion.dds b/gfx/interface/icons/faith_doctrine_groups/doctrine_special_catholic_dominion.dds new file mode 100644 index 00000000..46b11eef --- /dev/null +++ b/gfx/interface/icons/faith_doctrine_groups/doctrine_special_catholic_dominion.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95fa97dad2ed32a50930755824f01f47b3ec96ffaa34cf4b564155786a263172 +size 19504 diff --git a/localization/english/replace/religion/doctrines/zz_NEOW_religion_tolerance doctrines_l_english.yml b/localization/english/replace/religion/doctrines/zz_NEOW_religion_tolerance doctrines_l_english.yml index bb64fbe3..2374622a 100644 --- a/localization/english/replace/religion/doctrines/zz_NEOW_religion_tolerance doctrines_l_english.yml +++ b/localization/english/replace/religion/doctrines/zz_NEOW_religion_tolerance doctrines_l_english.yml @@ -16,7 +16,25 @@ special_doctrine_rocambolist_desc:0 "Our faith seeks out the virtues found primarily in the tales of crime and investigation." special_doctrine_absurdist_name:0 "Virtues of Comedy" special_doctrine_absurdist_desc:0 "Our faith seeks out the virtues found primarily in the absurd and incomprehensible." - + doctrine_special_catholic_dominion_name:0 "Church Bureaucracy" + doctrine_catholic_dominion_1_name:0 "Bureaucracy: Level 1" + doctrine_catholic_dominion_1_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_2_name:0 "Bureaucracy: Level 2" + doctrine_catholic_dominion_2_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_3_name:0 "Bureaucracy: Level 3" + doctrine_catholic_dominion_3_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_4_name:0 "Bureaucracy: Level 4" + doctrine_catholic_dominion_4_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_5_name:0 "Bureaucracy: Level 5" + doctrine_catholic_dominion_5_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_6_name:0 "Catholic Bureaucracy: Level 6" + doctrine_catholic_dominion_6_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_7_name:0 "Bureaucracy: Level 7" + doctrine_catholic_dominion_7_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_8_name:0 "Bureaucracy: Level 8" + doctrine_catholic_dominion_8_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." + doctrine_catholic_dominion_9_name:0 "Bureaucracy: Level 9" + doctrine_catholic_dominion_9_desc:0 "As the size of the church and papal state expands the bureaucracy of the church becomes less effective." #Britain special_doctrine_servants_of_the_regency_name:0 "Servants of the Regency" special_doctrine_servants_of_the_regency_desc:0 "Our Queen of the Heavens blessed our First Lord with eternal mandate as Her loyal regents. Until She returns, we swear to uphold this oath and smite all those who wish to oppose it."