From 97285933b832ba2fe5e86e7d2e9b61549204f733 Mon Sep 17 00:00:00 2001 From: Thakia Date: Fri, 2 Oct 2026 14:52:17 -0300 Subject: [PATCH] casus_belli_types updated --- common/casus_belli_types/00_claim.txt | 87 +- common/casus_belli_types/00_dejure_war.txt | 82 +- common/casus_belli_types/00_event_war.txt | 89 +- common/casus_belli_types/00_religious_war.txt | 819 ++++++++---------- common/casus_belli_types/06_ce1_wars.txt | 94 +- common/casus_belli_types/07_ep3_admin_cbs.txt | 98 +-- common/casus_belli_types/07_ep3_wars.txt | 412 ++++----- .../casus_belli_types/10_tgp_china_wars.txt | 247 +----- .../casus_belli_types/10_tgp_faction_wars.txt | 16 +- .../casus_belli_types/10_tgp_japan_wars.txt | 427 ++++----- 10 files changed, 898 insertions(+), 1473 deletions(-) diff --git a/common/casus_belli_types/00_claim.txt b/common/casus_belli_types/00_claim.txt index 3eb98ca86..045c1574d 100644 --- a/common/casus_belli_types/00_claim.txt +++ b/common/casus_belli_types/00_claim.txt @@ -50,6 +50,8 @@ # scope:attacker is the attacker # scope:defender is the defender is_allowed_claim_title = { + # So Claim CB can only be used on titles that have de jure vassals, otherwise this CB will show up but you are unable to click the button to start the actual war because -- the title doesn't have de jure vassals + is_titular = no trigger_if = { limit = { scope:attacker = { @@ -69,7 +71,7 @@ } } scope:claimant = { - NOT = { has_trait = incapable } + is_incapable = no is_hostage = no custom_description = { text = is_not_a_minister_desc @@ -113,7 +115,7 @@ } trigger_if = { limit = { - is_weak_claimant_due_to_gender_trigger = { FAITH = scope:attacker.faith CHARACTER = scope:claimant } + is_weak_claimant_due_to_gender_trigger = { RITE = scope:attacker.rite CHARACTER = scope:claimant } } trigger_if = { limit = { @@ -145,7 +147,7 @@ OR = { has_trait = incapable is_adult = no - is_weak_claimant_due_to_gender_trigger = { FAITH = scope:attacker.faith CHARACTER = root.holder } + is_weak_claimant_due_to_gender_trigger = { RITE = scope:attacker.rite CHARACTER = root.holder } } } } @@ -201,27 +203,6 @@ value = 0 add = common_cb_impious_piety_cost } - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { value = 0 add = claim_cb_prestige_cost @@ -246,15 +227,15 @@ scope:attacker = { if = { limit = { has_legitimacy_flag = reduced_claim_cb_cost } - add = 0.5 + add = 0.5 } else_if = { limit = { has_legitimacy_flag = very_reduced_claim_cb_cost } - add = 0.25 + add = 0.25 } else_if = { limit = { has_legitimacy_flag = extra_reduced_claim_cb_cost } - add = 0.15 + add = 0.15 } else = { add = 1 @@ -324,9 +305,9 @@ scope:claimant != scope:attacker scope:claimant = { OR = { - is_alive = no - NOR = { - is_vassal_or_below_of = scope:attacker + is_alive = no + NOR = { + is_vassal_or_below_of = scope:attacker is_courtier_of = scope:attacker } } @@ -342,7 +323,7 @@ first_valid = { triggered_desc = { trigger = { - scope:claimant != scope:attacker + scope:claimant != scope:attacker scope:claimant = { is_alive = no } } desc = msg_claim_war_invalidated_claimant_unavailable_dead_message @@ -350,11 +331,11 @@ triggered_desc = { trigger = { scope:claimant = { - NOR = { - this = scope:attacker - NOR = { - is_vassal_or_below_of = scope:attacker - is_courtier_of = scope:attacker + NOR = { + this = scope:attacker + NOR = { + is_vassal_or_below_of = scope:attacker + is_courtier_of = scope:attacker } #tgp_is_any_minister = yes } @@ -373,7 +354,7 @@ desc = msg_claim_war_invalidated_message } } - + on_invalidated = { } @@ -394,6 +375,8 @@ } on_victory = { + pam_notify_claim_war_instigator_effect_win = yes + #Grab the higher title tier ordered_in_list = { list = target_titles @@ -472,7 +455,7 @@ if = { limit = { top_liege = this - government_allows = administrative + government_has_mechanic = administrative primary_title = { is_in_list = target_titles } } every_held_title = { @@ -627,13 +610,15 @@ } desc = claim_cb_white_peace_desc } - + } on_white_peace = { + pam_notify_claim_war_instigator_effect_draw = yes + scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -678,7 +663,7 @@ } # Defender neither gains nor loses any prestige. scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -703,7 +688,7 @@ # Truce add_truce_white_peace_effect = yes - + # EP3: note gold gained from military assistance/join war contracts and their war contribution threshold laamp_as_mercenary_payout_tooltip_effect = yes } @@ -724,12 +709,14 @@ } desc = claim_cb_defeat_desc } - + } on_defeat = { + pam_notify_claim_war_instigator_effect_loss = yes + scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes @@ -739,7 +726,7 @@ #EP2 accolade glory gain for winning against higher ranked enemy scope:defender = { mandala_peacemaker_perk_serenity_effect = yes - accolade_defender_war_end_glory_gain_med_effect = yes + accolade_defender_war_end_glory_gain_med_effect = yes } # lose claims @@ -804,7 +791,7 @@ # EP3: note gold gained from military assistance/join war contracts and their war contribution threshold laamp_as_mercenary_payout_tooltip_effect = yes - + #Mandalas gain or lose piety/devotion depending on Decree mandala_war_defeat_effects = yes } @@ -826,7 +813,7 @@ should_show_war_goal_subview = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 @@ -842,16 +829,18 @@ scope:attacker = { government_has_flag = government_is_feudal liege ?= { - government_has_flag = government_is_administrative + government_has_mechanic = administrative } } scope:defender = { - government_has_flag = government_is_administrative + government_has_mechanic = administrative liege ?= scope:attacker.liege } } multiply = 0.4 } + multiply = pam_peace_of_god_coreligionist_war_ai_score_value + multiply = zealous_war_on_head_of_faith_ai_score_value add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } } diff --git a/common/casus_belli_types/00_dejure_war.txt b/common/casus_belli_types/00_dejure_war.txt index 74133d5a8..95e9b8b54 100644 --- a/common/casus_belli_types/00_dejure_war.txt +++ b/common/casus_belli_types/00_dejure_war.txt @@ -53,27 +53,6 @@ value = 0 add = common_cb_impious_piety_cost } - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { value = 0 # scale base value based on number of counties x 100 @@ -208,7 +187,7 @@ value = scope:cb_prestige_factor # Set by 'setup_de_jure_cb' multiply = -5.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -224,7 +203,7 @@ } # Defender neither gains nor loses any prestige. scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -326,6 +305,8 @@ ai_score_mult = { value = 1 + multiply = pam_peace_of_god_coreligionist_war_ai_score_value + multiply = zealous_war_on_head_of_faith_ai_score_value add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } } @@ -422,27 +403,6 @@ individual_county_de_jure_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -683,6 +643,8 @@ individual_county_de_jure_cb = { ai_score_mult = { value = 1 + multiply = pam_peace_of_god_coreligionist_war_ai_score_value + multiply = zealous_war_on_head_of_faith_ai_score_value add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } } @@ -759,27 +721,6 @@ individual_duchy_de_jure_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -1075,10 +1016,12 @@ individual_duchy_de_jure_cb = { ai_score_mult = { value = 1 + multiply = pam_peace_of_god_coreligionist_war_ai_score_value + multiply = zealous_war_on_head_of_faith_ai_score_value add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } } -# + #imperial_reconquest_cb = { # icon = de_jure_cb # group = de_jure @@ -1312,6 +1255,8 @@ individual_duchy_de_jure_cb = { # # ai_score_mult = { # value = 1 +# multiply = pam_peace_of_god_coreligionist_war_ai_score_value +# multiply = zealous_war_on_head_of_faith_ai_score_value # add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing # } #} @@ -1482,6 +1427,8 @@ individual_duchy_de_jure_cb = { # # ai_score_mult = { # value = 1 +# multiply = pam_peace_of_god_coreligionist_war_ai_score_value +# multiply = zealous_war_on_head_of_faith_ai_score_value # add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing # } #} @@ -1654,7 +1601,8 @@ individual_duchy_de_jure_cb = { # # ai_score_mult = { # value = 1 +# multiply = pam_peace_of_god_coreligionist_war_ai_score_value +# multiply = zealous_war_on_head_of_faith_ai_score_value # add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing # } #} -# \ No newline at end of file diff --git a/common/casus_belli_types/00_event_war.txt b/common/casus_belli_types/00_event_war.txt index fd0f41c18..6b1ba8648 100644 --- a/common/casus_belli_types/00_event_war.txt +++ b/common/casus_belli_types/00_event_war.txt @@ -18,7 +18,7 @@ # # is_allowed_claim_title = { # scope:claimant = { -# NOT = { has_trait = incapable } +# is_incapable = no # is_imprisoned = no # OR = { # this = scope:attacker @@ -321,7 +321,7 @@ # value = scope:cb_prestige_factor # Set by 'setup_claim_cb' # multiply = -5 # } -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -355,7 +355,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -483,11 +483,11 @@ # # max_ai_diplo_distance_to_title = 1000 #} -# -########### -## Special 'claim' CB used by Harold the Hard-ruler to invade England in 1066. -## If victorious, Harold personally seizes all land in Northern England (ostensibly to distribute to good Norwegian vassals). Otherwise should be mostly-identical to a Claim CB. -########### + +########## +# Special 'claim' CB used by Harold the Hard-ruler to invade England in 1066. +# If victorious, Harold personally seizes all land in Northern England (ostensibly to distribute to good Norwegian vassals). Otherwise should be mostly-identical to a Claim CB. +########## #norwegian_invasion_cb = { # icon = invasion # group = event @@ -504,7 +504,7 @@ # # is_allowed_claim_title = { # scope:claimant = { -# NOT = { has_trait = incapable } +# is_incapable = no # is_imprisoned = no # OR = { # this = scope:attacker @@ -900,7 +900,7 @@ # value = scope:cb_prestige_factor # Set by 'setup_claim_cb' # multiply = -5 # } -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -934,7 +934,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -1062,12 +1062,12 @@ # # max_ai_diplo_distance_to_title = 1000 #} -# -########### -## Special 'claim' CB used by the Sons of Lothbrok to invade England & Scotland in 867. -## If victorious, they personally seize all land in k_england or k_scotland (depending on the war). Otherwise very close to a duchy conquest CB. -########### -# + +########## +# Special 'claim' CB used by the Sons of Lothbrok to invade England & Scotland in 867. +# If victorious, they personally seize all land in k_england or k_scotland (depending on the war). Otherwise very close to a duchy conquest CB. +########## + #sons_of_lothbrok_invasion_cb = { # icon = fp1_varangian_adventurer_conquest # group = event @@ -1291,7 +1291,7 @@ # value = minor_prestige_value # multiply = -1.0 # } -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -1307,7 +1307,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -1405,12 +1405,12 @@ # # max_ai_diplo_distance_to_title = 500 #} -# -########### -## Special 'invasion' CB used by the Hungarians to migrate from the steppe to Pannonia -## If victorious, the Hungarians directly usurp all land within Pannonia not held by a player. -########### -# + +########## +# Special 'invasion' CB used by the Hungarians to migrate from the steppe to Pannonia +# If victorious, the Hungarians directly usurp all land within Pannonia not held by a player. +########## + #hungarian_migration_cb = { # icon = invasion # group = invasion #Switching this to event will render the CB invisible. @@ -1945,12 +1945,12 @@ # # attacker_wargoal_percentage = 0.5 #} -# -########### -## Special 'invasion' CB used by the Azariqa to secede in Iraq -## If victorious, they directly usurp all land within Jazira & create the relevant title. -########### -# + +########## +# Special 'invasion' CB used by the Azariqa to secede in Iraq +# If victorious, they directly usurp all land within Jazira & create the relevant title. +########## + #azariqa_rebellion_cb = { # icon = invasion # group = event @@ -2056,7 +2056,10 @@ # # hidden_effect = { # scope:attacker = { -# faith = { save_scope_as = faith } +# detach_rite_to_new_faith = { +# target = rite:azariqa +# save_scope_as = faith +# } # set_up_dynamic_temporal_hof_title_effect = { NEW_HOLDER = scope:attacker } # } # } @@ -2117,14 +2120,14 @@ # # scope:attacker = { # add_prestige = mongol_invasion_cb_prestige_white_peace -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -2450,7 +2453,7 @@ raiktor_claim_cb = { on_white_peace = { scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -2495,7 +2498,7 @@ raiktor_claim_cb = { } # Defender neither gains nor loses any prestige. scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -2695,7 +2698,7 @@ raiktor_conquest_cb = { scope:attacker = { random_courtier = { limit = { - has_character_flag = raiktor + has_variable = raiktor } save_scope_as = vassal_to_be } @@ -2832,14 +2835,14 @@ raiktor_conquest_cb = { scope:attacker = { add_prestige = mongol_invasion_cb_prestige_white_peace - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -3453,7 +3456,7 @@ diarch_vassalisation_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -3469,7 +3472,7 @@ diarch_vassalisation_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -3725,7 +3728,7 @@ remove_regent_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -3753,7 +3756,7 @@ remove_regent_cb = { } } } - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } diff --git a/common/casus_belli_types/00_religious_war.txt b/common/casus_belli_types/00_religious_war.txt index f202765cf..7e727b83a 100644 --- a/common/casus_belli_types/00_religious_war.txt +++ b/common/casus_belli_types/00_religious_war.txt @@ -3,6 +3,10 @@ group = religious defender_faith_can_join = yes + same_faith_defenders_allowed_parameter = { + government_is_theocracy + government_is_holy_order + } combine_into_one = yes should_show_war_goal_subview = yes @@ -26,63 +30,69 @@ } allowed_for_character_display_regardless = { + #Piety level reqs should be ignored if this is an interaction trigger_if = { limit = { - highest_held_title_tier >= tier_kingdom + NOT = { has_character_flag = holy_war_incited } } - NOT = { piety_level = -1 } - } - trigger_else = { trigger_if = { limit = { - is_alive = yes - has_variable_list = humsacd_hofs - is_target_in_variable_list = { - name = humsacd_hofs - target = scope:attacker.faith - } - } - trigger_if = { - limit = { - OR = { - culture = { - has_cultural_parameter = cb_lower_piety_level_requirement - } - # Iberian Struggle Hostility Reward - house ?= { - OR = { - has_house_modifier = fp2_struggle_hostility_house_faith_modifier - has_house_modifier = fp2_struggle_hostility_house_combined_modifier - } - } - } - } - piety_level >= 0 - } - trigger_else = { - piety_level >= 0 + highest_held_title_tier >= tier_kingdom } + NOT = { piety_level = -1 } } trigger_else = { trigger_if = { limit = { - OR = { - culture = { - has_cultural_parameter = cb_lower_piety_level_requirement - } - # Iberian Struggle Hostility Reward - house ?= { - OR = { - has_house_modifier = fp2_struggle_hostility_house_faith_modifier - has_house_modifier = fp2_struggle_hostility_house_combined_modifier + is_alive = yes + has_variable_list = humsacd_hofs + is_target_in_variable_list = { + name = humsacd_hofs + target = scope:attacker.faith + } + } + trigger_if = { + limit = { + OR = { + culture = { + has_cultural_parameter = cb_lower_piety_level_requirement + } + # Iberian Struggle Hostility Reward + house ?= { + OR = { + has_house_modifier = fp2_struggle_hostility_house_faith_modifier + has_house_modifier = fp2_struggle_hostility_house_combined_modifier + } } } } + piety_level >= 0 + } + trigger_else = { + piety_level >= 0 } - piety_level >= 0 } trigger_else = { - piety_level >= 1 + trigger_if = { + limit = { + OR = { + culture = { + has_cultural_parameter = cb_lower_piety_level_requirement + } + # Iberian Struggle Hostility Reward + house ?= { + OR = { + has_house_modifier = fp2_struggle_hostility_house_faith_modifier + has_house_modifier = fp2_struggle_hostility_house_combined_modifier + } + } + } + } + piety_level >= 0 + } + trigger_else = { + piety_level >= 1 + } } } } @@ -91,12 +101,7 @@ allowed_against_character = { scope:attacker = { - faith = { - faith_hostility_level = { - target = scope:defender.faith - value >= religious_cb_enabled_hostility_level - } - } + is_valid_religious_war_target_trigger = { TARGET = scope:defender } ALL_FALSE = { top_liege = scope:defender.top_liege liege = scope:defender @@ -113,7 +118,7 @@ tier = tier_county is_landless_type_title = no } -# # Filter for struggles + # Filter for struggles # trigger_if = { # limit = { # scope:attacker = { @@ -193,6 +198,7 @@ } on_invalidated = { + pam_notify_holy_war_instigator_effect_draw = yes } ai_score_mult = { @@ -239,27 +245,6 @@ } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { add = { value = 100 @@ -267,6 +252,19 @@ } multiply = common_cb_piety_cost_multiplier multiply = holy_war_cb_piety_cost_multiplier + if = { + limit = { + scope:attacker = { + top_participant_group:the_christian_church ?= { + has_participant_group_parameter = the_christian_church_cheaper_religious_wars + } + } + } + multiply = { + value = 0.75 + desc = pam_the_christian_church_cheaper_religious_wars_desc + } + } if = { limit = { scope:attacker = { @@ -289,6 +287,13 @@ multiply = accolade_piety_reduction_value_high min = 10 } + #Inciting cleric paid piety cost + if = { + limit = { + scope:attacker = { has_character_flag = holy_war_incited } + } + multiply = 0 + } } } @@ -300,8 +305,8 @@ first_valid = { triggered_desc = { trigger = { - scope:attacker.faith = { - has_doctrine = doctrine_pluralism_pluralistic + scope:attacker.rite = { + rite_has_doctrine = doctrine_pluralism_pluralistic } } desc = religious_war_victory_desc_doctrine_pluralism @@ -311,6 +316,8 @@ } on_victory = { + pam_notify_holy_war_instigator_effect_win = yes + scope:attacker = { show_pow_release_message_effect = yes } # Legitimacy @@ -395,13 +402,13 @@ scope:attacker.faith = { change_fervor = { - value = -1 + value = trivial_fervor_gain desc = fervor_loss_religious_war } } scope:defender.faith = { change_fervor = { - value = 3 + value = modest_fervor_gain desc = fervor_gain_religious_war } } @@ -424,6 +431,7 @@ } on_white_peace = { + pam_notify_holy_war_instigator_effect_draw = yes scope:attacker = { show_pow_release_message_effect = yes } # Allies on both sides get full prestige value for helping in the war, based on their war participation. @@ -440,14 +448,14 @@ scope:attacker = { add_piety = religious_cb_piety_white_peace - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -461,6 +469,7 @@ } on_defeat = { + pam_notify_holy_war_instigator_effect_loss = yes scope:attacker = { show_pow_release_message_effect = yes } # Legitimacy @@ -574,6 +583,10 @@ religious_war = { group = religious defender_faith_can_join = yes + same_faith_defenders_allowed_parameter = { + government_is_theocracy + government_is_holy_order + } combine_into_one = yes should_show_war_goal_subview = yes @@ -598,63 +611,69 @@ religious_war = { } allowed_for_character_display_regardless = { + #Piety level reqs should be ignored if this is an interaction trigger_if = { limit = { - highest_held_title_tier >= tier_kingdom + NOT = { has_character_flag = holy_war_incited } } - NOT = { piety_level = -1 } - } - trigger_else = { trigger_if = { limit = { - is_alive = yes - has_variable_list = humsacd_hofs - is_target_in_variable_list = { - name = humsacd_hofs - target = scope:attacker.faith - } - } - trigger_if = { - limit = { - OR = { - culture = { - has_cultural_parameter = cb_lower_piety_level_requirement - } - # Iberian Struggle Hostility Reward - house ?= { - OR = { - has_house_modifier = fp2_struggle_hostility_house_faith_modifier - has_house_modifier = fp2_struggle_hostility_house_combined_modifier - } - } - } - } - piety_level >= 0 - } - trigger_else = { - piety_level >= 1 + highest_held_title_tier >= tier_kingdom } + NOT = { piety_level = -1 } } trigger_else = { trigger_if = { limit = { - OR = { - culture = { - has_cultural_parameter = cb_lower_piety_level_requirement - } - # Iberian Struggle Hostility Reward - house ?= { - OR = { - has_house_modifier = fp2_struggle_hostility_house_faith_modifier - has_house_modifier = fp2_struggle_hostility_house_combined_modifier + is_alive = yes + has_variable_list = humsacd_hofs + is_target_in_variable_list = { + name = humsacd_hofs + target = scope:attacker.faith + } + } + trigger_if = { + limit = { + OR = { + culture = { + has_cultural_parameter = cb_lower_piety_level_requirement + } + # Iberian Struggle Hostility Reward + house ?= { + OR = { + has_house_modifier = fp2_struggle_hostility_house_faith_modifier + has_house_modifier = fp2_struggle_hostility_house_combined_modifier + } } } } + piety_level >= 0 + } + trigger_else = { + piety_level >= 1 } - piety_level >= 1 } trigger_else = { - piety_level >= 2 + trigger_if = { + limit = { + OR = { + culture = { + has_cultural_parameter = cb_lower_piety_level_requirement + } + # Iberian Struggle Hostility Reward + house ?= { + OR = { + has_house_modifier = fp2_struggle_hostility_house_faith_modifier + has_house_modifier = fp2_struggle_hostility_house_combined_modifier + } + } + } + } + piety_level >= 1 + } + trigger_else = { + piety_level >= 2 + } } } } @@ -663,12 +682,7 @@ religious_war = { allowed_against_character = { scope:attacker = { - faith = { - faith_hostility_level = { - target = scope:defender.faith - value >= religious_cb_enabled_hostility_level - } - } + is_valid_religious_war_target_trigger = { TARGET = scope:defender } ALL_FALSE = { top_liege = scope:defender.top_liege liege = scope:defender @@ -784,31 +798,10 @@ religious_war = { } on_invalidated = { - + pam_notify_holy_war_instigator_effect_draw = yes } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { add = { value = 200 @@ -816,6 +809,19 @@ religious_war = { } multiply = common_cb_piety_cost_multiplier multiply = holy_war_cb_piety_cost_multiplier + if = { + limit = { + scope:attacker = { + top_participant_group:the_christian_church ?= { + has_participant_group_parameter = the_christian_church_cheaper_religious_wars + } + } + } + multiply = { + value = 0.75 + desc = pam_the_christian_church_cheaper_religious_wars_desc + } + } # Half price for mean Iberians if = { limit = { @@ -879,6 +885,13 @@ religious_war = { multiply = accolade_piety_reduction_value_high min = 25 } + #Inciting cleric paid piety cost + if = { + limit = { + scope:attacker = { has_character_flag = holy_war_incited } + } + multiply = 0 + } } } @@ -890,8 +903,8 @@ religious_war = { first_valid = { triggered_desc = { trigger = { - scope:attacker.faith = { - has_doctrine = doctrine_pluralism_pluralistic + scope:attacker.rite = { + rite_has_doctrine = doctrine_pluralism_pluralistic } } desc = religious_war_victory_desc_doctrine_pluralism @@ -901,6 +914,7 @@ religious_war = { } on_victory = { + pam_notify_holy_war_instigator_effect_win = yes scope:attacker = { show_pow_release_message_effect = yes } # Legitimacy @@ -986,13 +1000,13 @@ religious_war = { scope:attacker.faith = { change_fervor = { - value = -2 + value = small_fervor_gain desc = fervor_loss_religious_war } } scope:defender.faith = { change_fervor = { - value = 4 + value = slight_fervor_gain desc = fervor_gain_religious_war } } @@ -1015,6 +1029,7 @@ religious_war = { } on_white_peace = { + pam_notify_holy_war_instigator_effect_draw = yes scope:attacker = { show_pow_release_message_effect = yes } #EP2 accolade glory gain for sort of winning @@ -1034,14 +1049,14 @@ religious_war = { scope:attacker = { add_piety = religious_cb_piety_white_peace - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1055,6 +1070,7 @@ religious_war = { } on_defeat = { + pam_notify_holy_war_instigator_effect_loss = yes scope:attacker = { show_pow_release_message_effect = yes } # Legitimacy @@ -1211,6 +1227,10 @@ major_religious_war = { group = religious defender_faith_can_join = yes + same_faith_defenders_allowed_parameter = { + government_is_theocracy + government_is_holy_order + } combine_into_one = yes should_show_war_goal_subview = yes @@ -1228,60 +1248,66 @@ major_religious_war = { } allowed_for_character_display_regardless = { + #Piety level reqs should be ignored if this is an interaction trigger_if = { limit = { - is_alive = yes - has_variable_list = humsacd_hofs - is_target_in_variable_list = { - name = humsacd_hofs - target = scope:attacker.faith - } + NOT = { has_character_flag = holy_war_incited } } trigger_if = { limit = { - OR = { - culture = { - has_cultural_parameter = cb_lower_piety_level_requirement - } - # Iberian Struggle Hostility Reward - AND = { - house ?= { - OR = { - has_house_modifier = fp2_struggle_hostility_house_faith_modifier - has_house_modifier = fp2_struggle_hostility_house_combined_modifier + is_alive = yes + has_variable_list = humsacd_hofs + is_target_in_variable_list = { + name = humsacd_hofs + target = scope:attacker.faith + } + } + trigger_if = { + limit = { + OR = { + culture = { + has_cultural_parameter = cb_lower_piety_level_requirement + } + # Iberian Struggle Hostility Reward + AND = { + house ?= { + OR = { + has_house_modifier = fp2_struggle_hostility_house_faith_modifier + has_house_modifier = fp2_struggle_hostility_house_combined_modifier + } } } } } + piety_level >= 1 + } + trigger_else = { + piety_level >= 2 } - piety_level >= 1 } trigger_else = { - piety_level >= 2 - } - } - trigger_else = { - trigger_if = { - limit = { - OR = { - culture = { - has_cultural_parameter = cb_lower_piety_level_requirement - } - # Iberian Struggle Hostility Reward - AND = { - house ?= { - OR = { - has_house_modifier = fp2_struggle_hostility_house_faith_modifier - has_house_modifier = fp2_struggle_hostility_house_combined_modifier - } + trigger_if = { + limit = { + OR = { + culture = { + has_cultural_parameter = cb_lower_piety_level_requirement } - } + # Iberian Struggle Hostility Reward + AND = { + house ?= { + OR = { + has_house_modifier = fp2_struggle_hostility_house_faith_modifier + has_house_modifier = fp2_struggle_hostility_house_combined_modifier + } + } + } + } } + piety_level >= 2 + } + trigger_else = { + piety_level >= 3 } - piety_level >= 2 - } - trigger_else = { - piety_level >= 3 } } trigger_if = { @@ -1305,12 +1331,7 @@ major_religious_war = { allowed_against_character = { scope:attacker = { - faith = { - faith_hostility_level = { - target = scope:defender.faith - value >= religious_cb_enabled_hostility_level - } - } + is_valid_religious_war_target_trigger = { TARGET = scope:defender } ALL_FALSE = { top_liege = scope:defender.top_liege liege = scope:defender @@ -1346,7 +1367,7 @@ major_religious_war = { # are_holy_wars_disabled_in_struggle_phase_trigger = yes # } # are_holy_wars_disabled_by_struggle_conciliation_trigger = no # Disabled against other involved faiths in FP2 Conciliation ending -# + scope:target = { trigger_if = { limit = { @@ -1427,31 +1448,11 @@ major_religious_war = { } on_invalidated = { + pam_notify_holy_war_instigator_effect_draw = yes scope:attacker = { remove_character_flag = declared_major_religious_war_flag } } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { add = { value = 750 @@ -1459,6 +1460,19 @@ major_religious_war = { } multiply = common_cb_piety_cost_multiplier multiply = holy_war_cb_piety_cost_multiplier + if = { + limit = { + scope:attacker = { + top_participant_group:the_christian_church ?= { + has_participant_group_parameter = the_christian_church_cheaper_religious_wars + } + } + } + multiply = { + value = 0.75 + desc = pam_the_christian_church_cheaper_religious_wars_desc + } + } if = { limit = { scope:attacker = { @@ -1481,6 +1495,13 @@ major_religious_war = { multiply = accolade_piety_reduction_value_high min = 90 } + #Inciting cleric paid piety cost + if = { + limit = { + scope:attacker = { has_character_flag = holy_war_incited } + } + multiply = 0 + } } } @@ -1503,8 +1524,8 @@ major_religious_war = { first_valid = { triggered_desc = { trigger = { - scope:attacker.faith = { - has_doctrine = doctrine_pluralism_pluralistic + scope:attacker.rite = { + rite_has_doctrine = doctrine_pluralism_pluralistic } } desc = religious_war_victory_desc_doctrine_pluralism @@ -1520,9 +1541,9 @@ major_religious_war = { NOT = { has_character_flag = bonus_major_holy_war } NOT = { has_character_flag = declared_major_religious_war_flag } } - AND = { - has_character_flag = bonus_major_holy_war - has_character_flag = declared_major_religious_war_flag + has_all_variables = { + name = bonus_major_holy_war + name = declared_major_religious_war_flag } } } @@ -1532,6 +1553,7 @@ major_religious_war = { } on_victory = { + pam_notify_holy_war_instigator_effect_win = yes scope:attacker = { if = { limit = { @@ -1624,13 +1646,13 @@ major_religious_war = { scope:attacker.faith = { change_fervor = { - value = -5 + value = modest_fervor_gain desc = fervor_loss_religious_war } } scope:defender.faith = { change_fervor = { - value = 10 + value = notable_fervor_gain desc = fervor_gain_religious_war } } @@ -1653,6 +1675,7 @@ major_religious_war = { } on_white_peace = { + pam_notify_holy_war_instigator_effect_draw = yes scope:attacker = { show_pow_release_message_effect = yes } #EP2 accolade glory gain for doing ok against higher ranked enemy @@ -1670,14 +1693,14 @@ major_religious_war = { scope:attacker = { add_piety = religious_cb_piety_white_peace - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1694,6 +1717,7 @@ major_religious_war = { } on_defeat = { + pam_notify_holy_war_instigator_effect_loss = yes scope:attacker = { show_pow_release_message_effect = yes } # Legitimacy @@ -1863,10 +1887,8 @@ excommunication_war = { #Defender must be an excommunicated member of our faith. has_trait = excommunicated top_liege = this - faith = { - has_doctrine_parameter = excommunication_active - this = scope:attacker.faith - } + faith = scope:attacker.faith + rite = { rite_has_parameter = excommunication_active } } scope:attacker = { @@ -1895,6 +1917,7 @@ excommunication_war = { on_declaration = { on_declared_war = yes + pam_the_christian_church_excommunication_war_catalyst_effect = yes } on_victory_desc = { @@ -1918,11 +1941,25 @@ excommunication_war = { #EP2 Accolade glory gain from winning against higher ranked enemy scope:attacker = { accolade_attacker_war_end_glory_gain_med_effect = yes } - scope:attacker = { - reverse_add_opinion = { - modifier = pleased_opinion - target = faith.religious_head - opinion = 20 + if = { + limit = { exists = scope:defender.var:excommunication_issuer } + scope:defender.var:excommunication_issuer = { + add_opinion = { + modifier = pleased_opinion + target = scope:attacker + opinion = 20 + } + } + } + else_if = { + # Old saves and script that granted the trait directly never recorded an issuer + limit = { exists = scope:defender.religious_head_or_challenger } + scope:defender.religious_head_or_challenger = { + add_opinion = { + modifier = pleased_opinion + target = scope:attacker + opinion = 20 + } } } @@ -1932,10 +1969,7 @@ excommunication_war = { LOSER = scope:defender } - # EP3 Laamp possibility warning - scope:defender = { ep3_war_loss_adventurer_tt_effect = yes } - - #This is ddown here in it's own section to control how the tooltips are ordered. + #This is down here in it's own section to control how the tooltips are ordered. scope:defender = { depose_effect = { DEPOSER = scope:attacker } } @@ -1970,14 +2004,14 @@ excommunication_war = { scope:attacker = { add_piety = excommunication_cb_piety_white_peace - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -2025,18 +2059,33 @@ excommunication_war = { WINNER = scope:defender } + scope:defender.var:excommunication_issuer ?= { + save_scope_as = excommunication_issuer + } + if = { + # Old saves and script that granted the trait directly never recorded an issuer + limit = { + NOT = { exists = scope:excommunication_issuer } + exists = scope:defender.religious_head_or_challenger + } + scope:defender.religious_head_or_challenger = { + save_scope_as = excommunication_issuer + } + } + scope:defender = { remove_trait = excommunicated + clear_excommunication_tracking_effect = yes add_character_modifier = { modifier = excommunication_recently_lifted years = 10 } } - scope:attacker = { - reverse_add_opinion = { + scope:excommunication_issuer ?= { + add_opinion = { modifier = disappointed_opinion - target = faith.religious_head + target = scope:attacker opinion = -20 } } @@ -2174,27 +2223,6 @@ flowery_war_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { add = { value = 100 @@ -2260,92 +2288,30 @@ flowery_war_cb = { limit = { faith = { has_doctrine_parameter = human_sacrifice_active } } - if = { - limit = { scope:defender.primary_title.tier = tier_county } - add_piety = { value = minor_piety_gain } - } - if = { - limit = { scope:defender.primary_title.tier = tier_duchy } - add_piety = { value = medium_piety_gain } - } - if = { - limit = { scope:defender.primary_title.tier = tier_kingdom } - add_piety = { value = major_piety_gain } - } - if = { - limit = { scope:defender.primary_title.tier = tier_empire } - add_piety = { value = massive_piety_gain } + add_piety = { + value = scope:defender.tier_scaled_piety_value } } else = { #If the attacker has since stopped enjoying human sacrifice, then the war was just prestigious. - if = { - limit = { scope:defender.primary_title.tier = tier_county } - add_prestige = { value = minor_prestige_gain } - } - if = { - limit = { scope:defender.primary_title.tier = tier_duchy } - add_prestige = { value = medium_prestige_gain } - } - if = { - limit = { scope:defender.primary_title.tier = tier_kingdom } - add_prestige = { value = major_prestige_gain } - } - if = { - limit = { scope:defender.primary_title.tier = tier_empire } - add_prestige = { value = massive_prestige_gain } + add_prestige = { + value = scope:defender.tier_scaled_prestige_value } } } scope:defender = { if = { #If the defender shares the faith of the attacker, then this war was sacred for them too. limit = { - faith = { this = scope:attacker.faith } + faith = scope:attacker.faith } - if = { - limit = { scope:attacker.primary_title.tier = tier_county } - add_piety = { - value = minor_piety_gain - multiply = 0.75 - } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_duchy } - add_piety = { - value = medium_piety_gain - multiply = 0.75 - } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_kingdom } - add_piety = { - value = major_piety_gain - multiply = 0.75 - } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_empire } - add_piety = { - value = massive_piety_gain - multiply = 0.75 - } + add_piety = { + value = scope:attacker.tier_scaled_piety_value + multiply = 0.75 } } else = { #Otherwise, the war just sucked. - if = { - limit = { scope:defender.primary_title.tier = tier_county } - add_prestige = { value = minor_prestige_loss } - } - if = { - limit = { scope:defender.primary_title.tier = tier_duchy } - add_prestige = { value = medium_prestige_loss } - } - if = { - limit = { scope:defender.primary_title.tier = tier_kingdom } - add_prestige = { value = major_prestige_loss } - } - if = { - limit = { scope:defender.primary_title.tier = tier_empire } - add_prestige = { value = massive_prestige_loss } + add_prestige = { + value = 0 + subtract = tier_scaled_prestige_value } } } @@ -2691,7 +2657,7 @@ flowery_war_cb = { on_white_peace = { scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -2722,7 +2688,7 @@ flowery_war_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -2758,51 +2724,15 @@ flowery_war_cb = { has_doctrine_parameter = human_sacrifice_active } } - if = { - limit = { scope:defender.primary_title.tier = tier_county } - add_piety = { - value = minor_piety_gain - multiply = 0.75 - } - } - if = { - limit = { scope:defender.primary_title.tier = tier_duchy } - add_piety = { - value = medium_piety_gain - multiply = 0.75 - } - } - if = { - limit = { scope:defender.primary_title.tier = tier_kingdom } - add_piety = { - value = major_piety_gain - multiply = 0.75 - } - } - if = { - limit = { scope:defender.primary_title.tier = tier_empire } - add_piety = { - value = massive_piety_gain - multiply = 0.75 - } + add_piety = { + value = scope:defender.tier_scaled_piety_value + multiply = 0.75 } } else = { #Otherwise, the war just sucked. - if = { - limit = { scope:attacker.primary_title.tier = tier_county } - add_prestige = { value = minor_prestige_loss } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_duchy } - add_prestige = { value = medium_prestige_loss } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_kingdom } - add_prestige = { value = major_prestige_loss } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_empire } - add_prestige = { value = massive_prestige_loss } + add_prestige = { + value = 0 + subtract = tier_scaled_prestige_value } } } @@ -2814,39 +2744,13 @@ flowery_war_cb = { has_doctrine_parameter = human_sacrifice_active } } - if = { - limit = { scope:attacker.primary_title.tier = tier_county } - add_piety = { value = minor_piety_gain } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_duchy } - add_piety = { value = medium_piety_gain } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_kingdom } - add_piety = { value = major_piety_gain } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_empire } - add_piety = { value = massive_piety_gain } + add_piety = { + value = scope:attacker.tier_scaled_piety_value } } else = { #Otherwise, the war was just prestigious. - if = { - limit = { scope:attacker.primary_title.tier = tier_county } - add_prestige = { value = minor_prestige_gain } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_duchy } - add_prestige = { value = medium_prestige_gain } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_kingdom } - add_prestige = { value = major_prestige_gain } - } - if = { - limit = { scope:attacker.primary_title.tier = tier_empire } - add_prestige = { value = massive_prestige_gain } + add_prestige = { + value = scope:attacker.tier_scaled_prestige_value } } } @@ -3293,11 +3197,11 @@ undirected_great_holy_war = { valid_to_start = { scope:target = { tier = tier_kingdom - any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom belongs to a Faith that the HoF's Faith is hostile enough to Holy War against. + any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the HoF's Rite is hostile enough to Holy War against. continue = { tier > tier_county } tier = tier_county - scope:attacker.faith = { - is_hostile_enough_for_holy_war_trigger = { FAITH = prev.holder.top_liege.faith } + scope:attacker.rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } } } } @@ -3339,7 +3243,7 @@ undirected_great_holy_war = { #Tell non diverting-players about the crazy 4th crusade plan # if = { # limit = { -# scope:attacker.faith = { this = faith:roman_catholic } +# scope:attacker.religion = { this = religion:catholic_religion } # exists = global_var:byz_claimant_champion # global_var:byz_claimant_champion = { # is_alive = yes @@ -3403,6 +3307,14 @@ undirected_great_holy_war = { } } + if = { + limit = { scope:attacker.religion = religion:catholic_religion } + change_global_variable = { + name = num_catholic_crusades + add = 1 + } + } + debug_log = undirected_ghw_debug_loc } @@ -3430,7 +3342,7 @@ undirected_great_holy_war = { } every_player = { limit = { is_within_diplo_range = { CHARACTER = scope:defender } } - trigger_event = great_holy_war.0056 + trigger_event = great_holy_war.0054 } hidden_effect = { if = { #Clear pledged gold flag. @@ -3463,6 +3375,8 @@ undirected_great_holy_war = { #EP2 Accolade glory gain to the holy knights of the faith head scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } + + pam_the_christian_church_great_holy_war_won_catalyst_effect = yes scope:attacker.faith.great_holy_war = { # Make sure steppe crusades do not make silly cultures every_pledged_attacker = { @@ -3558,11 +3472,11 @@ undirected_great_holy_war = { save_scope_as = title_recipient gender_female_chance = { if = { - limit = { scope:the_faith = { has_doctrine = doctrine_gender_male_dominated } } + limit = { scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_male_dominated } } } add = 0 } else_if = { - limit = { scope:the_faith = { has_doctrine = doctrine_gender_female_dominated } } + limit = { scope:the_faith = { main_rite = { rite_has_doctrine = doctrine_gender_female_dominated } } } add = 100 } else = { @@ -3801,12 +3715,23 @@ undirected_great_holy_war = { } } men_at_arms = { - type = teutonic_knights + type = order_serjeants stacks = { value = 1 scope:attacker.faith.great_holy_war = { every_pledged_attacker = { - add = 0.2 + add = 0.1 + } + } + } + } + men_at_arms = { + type = order_knights + stacks = { + value = 1 + scope:attacker.faith.great_holy_war = { + every_pledged_attacker = { + add = 0.1 } } } @@ -3935,13 +3860,13 @@ undirected_great_holy_war = { scope:attacker.faith = { change_fervor = { - value = -25 + value = substantial_fervor_gain desc = fervor_loss_great_holy_war } } scope:defender.faith = { change_fervor = { - value = 30 + value = significant_fervor_gain desc = fervor_gain_great_holy_war } } @@ -3981,6 +3906,8 @@ undirected_great_holy_war = { accolade_defender_war_end_glory_gain_high_effect = yes } + pam_the_christian_church_great_holy_war_lost_catalyst_effect = yes + scope:attacker.faith.great_holy_war = { divide_war_chest = { defenders = yes @@ -4007,11 +3934,17 @@ undirected_great_holy_war = { scope:attacker = { faith = { change_fervor = { - value = -15 + value = significant_fervor_gain desc = fervor_loss_lost_great_holy_war } } } + scope:defender.faith = { + change_fervor = { + value = significant_fervor_gain + desc = fervor_gain_great_holy_war + } + } scope:defender = { #Achievement setup. every_character_war = { @@ -4159,8 +4092,8 @@ directed_great_holy_war = { } allowed_against_character = { - scope:attacker.faith = { - is_hostile_enough_for_holy_war_trigger = { FAITH = scope:defender.faith } + scope:attacker.rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = scope:defender.rite } } } @@ -4186,21 +4119,21 @@ directed_great_holy_war = { is_ai = yes } } - any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom belongs to a Faith that the Caliph's Faith is hostile enough to Holy War against. + any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the Caliph's Rite is hostile enough to Holy War against. continue = { tier > tier_county } count >= 5 # The AI doesn't Jihad for an area of less than 5 Counties, for reference, Jerusalem is 8 Counties tier = tier_county - scope:attacker.faith = { - is_hostile_enough_for_holy_war_trigger = { FAITH = prev.holder.top_liege.faith } + scope:attacker.rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } } } } trigger_else = { - any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom belongs to a Faith that the Caliph's Faith is hostile enough to Holy War against. + any_in_de_jure_hierarchy = { #Any ruler in the dejure of the targeted Kingdom follows a Rite that the Caliph's Rite is hostile enough to Holy War against. continue = { tier > tier_county } tier = tier_county - scope:attacker.faith = { - is_hostile_enough_for_holy_war_trigger = { FAITH = prev.holder.top_liege.faith } + scope:attacker.rite = { + is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } } } } @@ -4283,12 +4216,12 @@ directed_great_holy_war = { } scope:attacker.faith = { every_faith_holy_order = { - trigger_event = great_holy_war.0090 # Holy orders always join + trigger_event = great_holy_war.0090 # Military Orders always join } } scope:defender.faith = { every_faith_holy_order = { - trigger_event = great_holy_war.0091 # Holy orders always join + trigger_event = great_holy_war.0091 # Military Orders always join } } } @@ -4327,6 +4260,8 @@ directed_great_holy_war = { #EP2 Accolade glory gain to the holy warriors of the faith head scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } + + pam_the_christian_church_great_holy_war_won_catalyst_effect = yes scope:attacker.faith.great_holy_war = { # Make sure steppe crusades do not make silly cultures every_pledged_attacker = { @@ -4462,7 +4397,7 @@ directed_great_holy_war = { set_variable = { name = variable_ghw_cooldown value = yes - years = 40 + years = 30 } } } @@ -4484,13 +4419,13 @@ directed_great_holy_war = { scope:attacker.faith = { change_fervor = { - value = -25 + value = substantial_fervor_gain desc = fervor_loss_great_holy_war } } scope:defender.faith = { change_fervor = { - value = 30 + value = significant_fervor_gain desc = fervor_gain_great_holy_war } } @@ -4569,6 +4504,8 @@ directed_great_holy_war = { accolade_defender_war_end_glory_gain_high_effect = yes } + pam_the_christian_church_great_holy_war_lost_catalyst_effect = yes + scope:attacker.faith.great_holy_war.ghw_target_title = { #Loc keys for localization fluff. save_scope_as = target_kingdom } @@ -4616,11 +4553,17 @@ directed_great_holy_war = { scope:attacker = { faith = { change_fervor = { - value = -15 + value = significant_fervor_gain desc = fervor_loss_lost_great_holy_war } } } + scope:defender.faith = { + change_fervor = { + value = significant_fervor_gain + desc = fervor_gain_great_holy_war + } + } #Set 30 years cooldown. hidden_effect = { diff --git a/common/casus_belli_types/06_ce1_wars.txt b/common/casus_belli_types/06_ce1_wars.txt index d92ebcb46..6504eddc9 100644 --- a/common/casus_belli_types/06_ce1_wars.txt +++ b/common/casus_belli_types/06_ce1_wars.txt @@ -85,27 +85,6 @@ mythical_ancestor_war = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -226,14 +205,14 @@ mythical_ancestor_war = { scope:attacker = { add_prestige = mongol_invasion_cb_prestige_white_peace - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -419,27 +398,6 @@ legendary_adventure = { on_invalidated = {} cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = fp1_varangian_adventure_base_piety_cost @@ -1671,7 +1629,7 @@ legendary_adventure = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -1687,7 +1645,7 @@ legendary_adventure = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1829,27 +1787,6 @@ leg_demand_fealty_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -1866,28 +1803,7 @@ leg_demand_fealty_cb = { } } } - if = { - limit = { - scope:defender.primary_title = { - tier = tier_kingdom - } - } - multiply = { - value = 2 - desc = CB_VASSALIZING_KING - } - } - if = { - limit = { - scope:defender.primary_title = { - tier = tier_empire - } - } - multiply = { - value = 4 - desc = CB_VASSALIZING_EMPEROR - } - } + multiply = vassalization_cb_prestige_cost_mulitiplier multiply = common_cb_prestige_cost_multiplier } diff --git a/common/casus_belli_types/07_ep3_admin_cbs.txt b/common/casus_belli_types/07_ep3_admin_cbs.txt index eedda79c3..c42c7b9ef 100644 --- a/common/casus_belli_types/07_ep3_admin_cbs.txt +++ b/common/casus_belli_types/07_ep3_admin_cbs.txt @@ -12,7 +12,7 @@ allowed_for_character = { OR = { - government_allows = administrative + government_has_mechanic = administrative house ?= { has_house_modifier = bp3_bosporan_kingdom_modifier } } NOR = { @@ -32,13 +32,13 @@ target_titles = neighbor_land target_title_tier = county ignore_effect = change_title_holder - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 ai_only_against_neighbors = yes - + ai_score_mult = { value = viking_conquest_ai_score_value @@ -81,7 +81,7 @@ trigger_if = { limit = { scope:attacker = { - NOT = { government_allows = administrative } + NOT = { government_has_mechanic = administrative } house ?= { has_house_modifier = bp3_bosporan_kingdom_modifier } } } @@ -164,7 +164,7 @@ on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -236,7 +236,7 @@ value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -252,7 +252,7 @@ } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -284,14 +284,14 @@ on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes # Influence add_influence_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -346,7 +346,7 @@ use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 } @@ -358,13 +358,13 @@ duchy_expansion_cb = { combine_into_one = yes should_show_war_goal_subview = yes mutually_exclusive_titles = { always = yes } - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 allowed_for_character = { - government_allows = administrative + government_has_mechanic = administrative vassal_contract_has_flag = admin_duchy_expansion_unlocked NOT = { government_has_flag = government_is_landless_adventurer @@ -400,7 +400,7 @@ duchy_expansion_cb = { ignore_effect = change_title_holder ai_only_against_neighbors = yes - + ai_score_mult = { value = viking_conquest_ai_score_value @@ -460,7 +460,7 @@ duchy_expansion_cb = { on_invalidated = { } - + cost = { influence = { add = { @@ -506,7 +506,7 @@ duchy_expansion_cb = { on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -546,7 +546,7 @@ duchy_expansion_cb = { take_baronies = yes } } - + # If applicable, take the target title (i.e. duchy) as well every_in_list = { list = target_title_taken @@ -728,14 +728,14 @@ duchy_expansion_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes # Influence add_influence_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -793,7 +793,7 @@ duchy_expansion_cb = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 } @@ -812,7 +812,7 @@ naval_expansion_cb = { allowed_for_character = { OR = { - government_allows = administrative + government_has_mechanic = administrative house ?= { has_house_modifier = bp3_bosporan_kingdom_modifier } } any_sub_realm_county = { @@ -835,13 +835,13 @@ naval_expansion_cb = { target_titles = neighbor_land_or_water target_title_tier = county ignore_effect = change_title_holder - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 ai_only_against_neighbors = yes - + ai_score_mult = { value = viking_conquest_ai_score_value @@ -890,7 +890,7 @@ naval_expansion_cb = { trigger_if = { limit = { scope:attacker = { - NOT = { government_allows = administrative } + NOT = { government_has_mechanic = administrative } house ?= { has_house_modifier = bp3_bosporan_kingdom_modifier } } } @@ -935,7 +935,7 @@ naval_expansion_cb = { multiply = common_cb_cost_multiplier if = { limit = { - scope:attacker = { + scope:attacker = { NOT = { government_has_flag = government_has_influence } } } @@ -973,7 +973,7 @@ naval_expansion_cb = { on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -1045,7 +1045,7 @@ naval_expansion_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -1061,7 +1061,7 @@ naval_expansion_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1093,14 +1093,14 @@ naval_expansion_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes # Influence add_influence_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -1155,7 +1155,7 @@ naval_expansion_cb = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 } @@ -1167,13 +1167,13 @@ naval_duchy_expansion_cb = { combine_into_one = yes should_show_war_goal_subview = yes mutually_exclusive_titles = { always = yes } - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 allowed_for_character = { - government_allows = administrative + government_has_mechanic = administrative any_sub_realm_county = { is_coastal_county = yes } @@ -1213,7 +1213,7 @@ naval_duchy_expansion_cb = { ignore_effect = change_title_holder ai_only_against_neighbors = yes - + ai_score_mult = { value = viking_conquest_ai_score_value @@ -1255,7 +1255,7 @@ naval_duchy_expansion_cb = { any_in_de_jure_hierarchy = { tier = tier_county is_coastal_county = yes - + NOT = { any_neighboring_county = { OR = { @@ -1269,7 +1269,7 @@ naval_duchy_expansion_cb = { } } } - + should_invalidate = { NOT = { any_in_list = { @@ -1334,7 +1334,7 @@ naval_duchy_expansion_cb = { on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -1374,7 +1374,7 @@ naval_duchy_expansion_cb = { take_baronies = yes } } - + # If applicable, take the target title (i.e. duchy) as well every_in_list = { list = target_title_taken @@ -1556,14 +1556,14 @@ naval_duchy_expansion_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes # Influence add_influence_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -1621,7 +1621,7 @@ naval_duchy_expansion_cb = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 } @@ -1634,13 +1634,13 @@ influence_war_cb = { should_show_war_goal_subview = yes mutually_exclusive_titles = { always = yes } allow_hostages = no - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 allowed_for_character = { - government_allows = administrative + government_has_mechanic = administrative NOT = { government_has_flag = government_is_landless_adventurer } @@ -1679,7 +1679,7 @@ influence_war_cb = { on_invalidated = { } - + # Cost is handled via the interaction cost = {} @@ -1691,7 +1691,7 @@ influence_war_cb = { on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -1759,7 +1759,7 @@ influence_war_cb = { take_baronies = yes } } - + # If applicable, take the target title (i.e. duchy) as well every_in_list = { list = target_title_taken @@ -1928,11 +1928,11 @@ influence_war_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -1990,13 +1990,13 @@ influence_war_cb = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 ai_score_mult = { value = 1 - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } } diff --git a/common/casus_belli_types/07_ep3_wars.txt b/common/casus_belli_types/07_ep3_wars.txt index 4f25be7f2..2cd7345d0 100644 --- a/common/casus_belli_types/07_ep3_wars.txt +++ b/common/casus_belli_types/07_ep3_wars.txt @@ -7,12 +7,12 @@ mutually_exclusive_titles = { always = yes } allow_hostages = no - allowed_for_character = { + allowed_for_character = { ep3_adventurer_invasion_allowed_for_character_trigger = yes scope:defender.highest_held_title_tier >= tier_county } - allowed_for_character_display_regardless = { + allowed_for_character_display_regardless = { trigger_if = { limit = { culture = { @@ -37,7 +37,7 @@ ai_can_target_all_titles = { always = yes } ai_score_mult = { value = ep3_laamp_invasion_ai_targeting_value - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } @@ -57,7 +57,7 @@ should_invalidate = { ep3_adventurer_landless_should_invalidate_trigger = yes } on_invalidated_desc = msg_duchy_conquest_war_invalidated_message #Re-use - + on_invalidated = {} cost = { @@ -331,7 +331,7 @@ any_in_list = { list = target_titles tier = tier_county - uses_county_fertility = yes + uses_county_fertility = yes } } ordered_in_list = { @@ -414,7 +414,7 @@ value = miniscule_prestige_value #Less for counties multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -430,7 +430,7 @@ } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -463,7 +463,7 @@ on_defeat = { scope:attacker = { ep3_laamp_support_variable_cleanup_effect = yes } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -522,7 +522,7 @@ use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_attacker_score_from_battles = 75 max_defender_score_from_occupation = 150 @@ -538,7 +538,7 @@ ep3_laamp_adventurer_duchy_invasion = { mutually_exclusive_titles = { always = yes } allow_hostages = no - allowed_for_character = { + allowed_for_character = { ep3_adventurer_invasion_allowed_for_character_trigger = yes scope:defender.highest_held_title_tier >= tier_duchy } @@ -568,7 +568,7 @@ ep3_laamp_adventurer_duchy_invasion = { ai_can_target_all_titles = { always = yes } ai_score_mult = { value = ep3_laamp_invasion_ai_targeting_value - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } @@ -607,7 +607,7 @@ ep3_laamp_adventurer_duchy_invasion = { should_invalidate = { ep3_adventurer_landless_should_invalidate_trigger = yes } on_invalidated_desc = msg_county_conquest_war_invalidated_message - + on_invalidated = {} cost = { @@ -855,7 +855,7 @@ ep3_laamp_adventurer_duchy_invasion = { AND = { duchy = scope:target holder = { - government_allows = administrative + government_has_mechanic = administrative } } } @@ -907,7 +907,7 @@ ep3_laamp_adventurer_duchy_invasion = { any_in_list = { list = target_titles tier = tier_county - uses_county_fertility = yes + uses_county_fertility = yes } } ordered_in_list = { @@ -988,7 +988,7 @@ ep3_laamp_adventurer_duchy_invasion = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -1004,7 +1004,7 @@ ep3_laamp_adventurer_duchy_invasion = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1037,7 +1037,7 @@ ep3_laamp_adventurer_duchy_invasion = { on_defeat = { scope:attacker = { ep3_laamp_support_variable_cleanup_effect = yes } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -1096,7 +1096,7 @@ ep3_laamp_adventurer_duchy_invasion = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_attacker_score_from_battles = 75 max_defender_score_from_occupation = 150 @@ -1112,7 +1112,7 @@ ep3_laamp_adventurer_kingdom_invasion = { mutually_exclusive_titles = { always = yes } allow_hostages = no - allowed_for_character = { + allowed_for_character = { ep3_adventurer_invasion_allowed_for_character_trigger = yes #Ensure they actually have a kingdom title scope:defender.highest_held_title_tier >= tier_kingdom @@ -1139,7 +1139,7 @@ ep3_laamp_adventurer_kingdom_invasion = { scope:attacker = { trigger_if = { limit = { - ep3_adventurer_invasion_sponsorship_applies_trigger = yes + ep3_adventurer_invasion_sponsorship_applies_trigger = yes var:adventurer_invasion_supporter.highest_held_title_tier < tier_empire } scope:defender.primary_title = { tier < tier_kingdom } @@ -1155,7 +1155,7 @@ ep3_laamp_adventurer_kingdom_invasion = { ai_can_target_all_titles = { always = yes } ai_score_mult = { value = ep3_laamp_invasion_ai_targeting_value - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } @@ -1194,7 +1194,7 @@ ep3_laamp_adventurer_kingdom_invasion = { should_invalidate = { ep3_adventurer_landless_should_invalidate_trigger = yes } on_invalidated_desc = msg_duchy_conquest_war_invalidated_message #Re-use - + on_invalidated = {} cost = { @@ -1495,7 +1495,7 @@ ep3_laamp_adventurer_kingdom_invasion = { any_in_list = { list = target_titles tier = tier_county - uses_county_fertility = yes + uses_county_fertility = yes } } ordered_in_list = { @@ -1576,7 +1576,7 @@ ep3_laamp_adventurer_kingdom_invasion = { value = medium_prestige_value #More for kingdoms multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -1592,7 +1592,7 @@ ep3_laamp_adventurer_kingdom_invasion = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1625,7 +1625,7 @@ ep3_laamp_adventurer_kingdom_invasion = { on_defeat = { scope:attacker = { ep3_laamp_support_variable_cleanup_effect = yes } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -1684,7 +1684,7 @@ ep3_laamp_adventurer_kingdom_invasion = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_attacker_score_from_battles = 75 max_defender_score_from_occupation = 150 @@ -1700,8 +1700,8 @@ ep3_laamp_adventurer_empire_invasion = { mutually_exclusive_titles = { always = yes } allow_hostages = no - allowed_for_character = { - ep3_adventurer_invasion_allowed_for_character_trigger = yes + allowed_for_character = { + ep3_adventurer_invasion_allowed_for_character_trigger = yes #Ensure they actually have an empire title scope:defender.highest_held_title_tier >= tier_empire } @@ -1740,7 +1740,7 @@ ep3_laamp_adventurer_empire_invasion = { ai_can_target_all_titles = { always = yes } ai_score_mult = { value = ep3_laamp_invasion_ai_targeting_value - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } @@ -1779,7 +1779,7 @@ ep3_laamp_adventurer_empire_invasion = { should_invalidate = { ep3_adventurer_landless_should_invalidate_trigger = yes } on_invalidated_desc = msg_duchy_conquest_war_invalidated_message #Re-use - + on_invalidated = {} cost = { @@ -2079,8 +2079,8 @@ ep3_laamp_adventurer_empire_invasion = { limit = { any_in_list = { list = target_titles - tier = tier_county - uses_county_fertility = yes + tier = tier_county + uses_county_fertility = yes } } ordered_in_list = { @@ -2105,7 +2105,7 @@ ep3_laamp_adventurer_empire_invasion = { custom_tooltip = fp1_varangian_adventurer_conquest.summaries.control_rebate scope:attacker = { trigger_event = fp1_varangian_adventures.0001 } ## And giving them a gold bounty to keep them afloat. - scope:attacker = { + scope:attacker = { add_gold = { value = varangian_adventures_bounty_amount_value multiply = 0.5 #Half it for counties @@ -2168,7 +2168,7 @@ ep3_laamp_adventurer_empire_invasion = { value = major_prestige_value #More for empires multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -2184,7 +2184,7 @@ ep3_laamp_adventurer_empire_invasion = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -2217,7 +2217,7 @@ ep3_laamp_adventurer_empire_invasion = { on_defeat = { scope:attacker = { ep3_laamp_support_variable_cleanup_effect = yes } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -2276,7 +2276,7 @@ ep3_laamp_adventurer_empire_invasion = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_attacker_score_from_battles = 75 max_defender_score_from_occupation = 150 @@ -2340,7 +2340,7 @@ ep3_laamp_raid_contract_cb = { invalidate_contract = yes } } - } + } } on_declaration = { @@ -2693,9 +2693,9 @@ ep3_laamp_raid_contract_cb = { } on_white_peace = { - scope:attacker = { + scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -2714,7 +2714,7 @@ ep3_laamp_raid_contract_cb = { LOSER_ALLY_FAME_SCALE = 1 } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -2748,27 +2748,16 @@ ep3_laamp_raid_contract_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes } scope:attacker = { - switch = { - trigger = scope:attacker.primary_title.tier - tier_county = { - add_prestige = { value = minor_prestige_loss } - } - tier_duchy = { - add_prestige = { value = medium_prestige_loss } - } - tier_kingdom = { - add_prestige = { value = major_prestige_loss } - } - tier_empire = { - add_prestige = { value = massive_prestige_loss } - } + add_prestige = { + value = 0 + subtract = scope:attacker.tier_scaled_prestige_value } random_character_active_contract = { task_contract_type = laamp_raid_contract @@ -2786,20 +2775,8 @@ ep3_laamp_raid_contract_cb = { } } scope:defender = { - switch = { - trigger = scope:attacker.primary_title.tier - tier_county = { - add_prestige = { value = minor_prestige_gain } - } - tier_duchy = { - add_prestige = { value = medium_prestige_gain } - } - tier_kingdom = { - add_prestige = { value = major_prestige_gain } - } - tier_empire = { - add_prestige = { value = massive_prestige_gain } - } + add_prestige = { + value = tier_scaled_prestige_value } } @@ -2843,12 +2820,12 @@ ep3_laamp_raid_contract_cb = { max_attacker_score_from_battles = 200 max_defender_score_from_battles = 200 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 max_ai_diplo_distance_to_title = 500 - + ai_score = { value = raid_for_captives_ai_score_value } @@ -2876,10 +2853,10 @@ ep3_laamp_raid_contract_cb = { } } } -# + #crusading_claim_cb = { # icon = undirected_great_holy_war -# group = religious_script_onlyFr +# group = religious_script_only # # full_occupation_by_defender_gives_victory = no # attacker_capital_gives_war_score = no @@ -2964,7 +2941,7 @@ ep3_laamp_raid_contract_cb = { # } # scope:claimant = { # is_alive = no -# } +# } # } # } # @@ -2972,7 +2949,7 @@ ep3_laamp_raid_contract_cb = { # first_valid = { # triggered_desc = { # trigger = { -# scope:claimant != scope:attacker +# scope:claimant != scope:attacker # scope:claimant = { is_alive = no } # } # desc = msg_claim_war_invalidated_claimant_unavailable_dead_message @@ -2980,7 +2957,7 @@ ep3_laamp_raid_contract_cb = { # desc = msg_claim_war_invalidated_message # } # } -# +# # on_invalidated = { # scope:attacker = { # add_prestige = medium_prestige_loss @@ -3049,19 +3026,19 @@ ep3_laamp_raid_contract_cb = { # if = { # limit = { # top_liege = this -# government_allows = administrative +# government_has_mechanic = administrative # primary_title = { is_in_list = target_titles } # } # every_held_title = { # title_tier >= county # limit = { -# is_noble_family_title = no +# is_landless_type_title = no # } # add_to_list = target_titles # } # } # } -# +# # scope:claimant = { # custom_tooltip = crusading_claim_gain_byz_emp_tooltip # } @@ -3136,7 +3113,7 @@ ep3_laamp_raid_contract_cb = { # } # desc = claim_cb_white_peace_desc # } -# +# # } # # on_white_peace = { @@ -3168,7 +3145,7 @@ ep3_laamp_raid_contract_cb = { # # scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -3212,7 +3189,7 @@ ep3_laamp_raid_contract_cb = { # } # # Defender neither gains nor loses any prestige. # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -3249,16 +3226,16 @@ ep3_laamp_raid_contract_cb = { # geographical_region = world_asia_minor # geographical_region = world_middle_east # geographical_region = world_africa_north -## county = { -## OR = { -## empire = title:e_caspian-pontic_steppe -## empire = title:e_byzantium -## } -## } +# county = { +# OR = { +# empire = title:e_caspian-pontic_steppe +# empire = title:e_byzantium +# } +# } # } # } # liege = scope:defender -# OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } +# faith.religion = religion:christianity_religion # } # } # add_character_flag = frankokratia_crusaders_lose_outcome @@ -3305,7 +3282,7 @@ ep3_laamp_raid_contract_cb = { # } # desc = claim_cb_defeat_desc # } -# +# # } # # on_defeat = { @@ -3336,7 +3313,7 @@ ep3_laamp_raid_contract_cb = { # } # scope:attacker = { show_pow_release_message_effect = yes } # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes @@ -3418,17 +3395,16 @@ ep3_laamp_raid_contract_cb = { # geographical_region = world_asia_minor # geographical_region = world_middle_east # geographical_region = world_africa_north -## county = { -## OR = { -## empire = title:e_caspian-pontic_steppe -## empire = title:e_byzantium -## } -## } +# county = { +# OR = { +# empire = title:e_caspian-pontic_steppe +# empire = title:e_byzantium +# } +# } # } # } # liege = scope:defender -# -# OR = { faith.religion = religion:eastern_orthodox_religion faith.religion = religion:catholic_religion faith.religion = religion:protestant_religion } +# faith.religion = religion:christianity_religion # } # } # add_character_flag = frankokratia_crusaders_lose_outcome @@ -3478,13 +3454,13 @@ ep3_laamp_raid_contract_cb = { # should_show_war_goal_subview = yes # # attacker_wargoal_percentage = 0.8 -# +# # max_defender_score_from_occupation = 50 # max_attacker_score_from_occupation = 150 # # max_ai_diplo_distance_to_title = 10000 #} -# + #ep3_hasan_assassin_war = { # icon = dissolution_war # group = event @@ -3558,7 +3534,7 @@ ep3_laamp_raid_contract_cb = { # on_white_peace = { # scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -3575,7 +3551,7 @@ ep3_laamp_raid_contract_cb = { # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # @@ -3688,20 +3664,20 @@ ep3_laamp_raid_contract_cb = { # # max_attacker_score_from_battles = 100 # max_defender_score_from_battles = 50 -# +# # max_defender_score_from_occupation = 150 # max_attacker_score_from_occupation = 150 # # max_ai_diplo_distance_to_title = 500 #} -# + imperial_expedition_cb = { icon = invasion group = conquest combine_into_one = yes should_show_war_goal_subview = yes - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 @@ -3720,7 +3696,7 @@ imperial_expedition_cb = { text = imperial_expedition_cb.tt.requires_expedition_charge has_variable = imperial_expedition_charged } - + # Struggle constraint custom_tooltip = { text = struggle_involvement_cb_check_failure @@ -3771,7 +3747,7 @@ imperial_expedition_cb = { } ai_score_mult = { value = 1 - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } @@ -3962,7 +3938,7 @@ imperial_expedition_cb = { on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -4104,11 +4080,11 @@ imperial_expedition_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -4162,7 +4138,7 @@ imperial_expedition_cb = { use_de_jure_wargoal_only = yes attacker_wargoal_percentage = 0.8 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 150 @@ -4181,8 +4157,7 @@ ep3_pillaging_foray = { should_show_war_goal_subview = yes allow_hostages = no mutually_exclusive_titles = { always = yes } - interface_priority = 110 - + attacker_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 150 defender_score_from_battles_scale = 150 @@ -4225,7 +4200,7 @@ ep3_pillaging_foray = { ai_score_mult = { value = fp2_border_raid_ai_targeting_value - + add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing } @@ -4246,7 +4221,7 @@ ep3_pillaging_foray = { } on_invalidated_desc = msg_county_conquest_war_invalidated_message - + on_invalidated = {} cost = { @@ -4331,10 +4306,10 @@ ep3_pillaging_foray = { change_influence = medium_influence_gain } } - + #EP2 accolade glory gain for winning against higher ranked enemy scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } - + every_in_list = { list = target_titles save_scope_as = raid_county @@ -4461,7 +4436,7 @@ ep3_pillaging_foray = { value = miniscule_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -4484,7 +4459,7 @@ ep3_pillaging_foray = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -4513,11 +4488,11 @@ ep3_pillaging_foray = { on_defeat = { # Legitimacy add_legitimacy_attacker_defeat_effect = yes - + scope:attacker = { change_influence = medium_influence_value } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -4594,7 +4569,7 @@ ep3_pillaging_foray = { ticking_war_score_targets_entire_realm = no } -# + #ep3_roman_empire_border_war = { # icon = ducal_conquest_cb # group = invasion @@ -4603,11 +4578,6 @@ ep3_pillaging_foray = { # should_show_war_goal_subview = yes # allow_hostages = no # mutually_exclusive_titles = { always = yes } -# interface_priority = 110 -# -# attacker_score_from_occupation_scale = 150 -# attacker_score_from_battles_scale = 150 -# defender_score_from_battles_scale = 150 # # allowed_for_character = { # OR = { @@ -4657,7 +4627,7 @@ ep3_pillaging_foray = { # limit = { scope:attacker.prestige < scope:attacker.massive_prestige_value } # multiply = 0 # } -# +# # add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing # } # @@ -4678,7 +4648,7 @@ ep3_pillaging_foray = { # } # # on_invalidated_desc = msg_county_conquest_war_invalidated_message -# +# # on_invalidated = {} # # cost = { @@ -4707,10 +4677,10 @@ ep3_pillaging_foray = { # on_victory = { # # Legitimacy # add_legitimacy_attacker_victory_effect = yes -# +# # #EP2 accolade glory gain for winning against higher ranked enemy # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } -# +# # every_in_list = { # list = target_titles # save_scope_as = raid_county @@ -4853,7 +4823,7 @@ ep3_pillaging_foray = { # value = miniscule_prestige_value # multiply = -1.0 # } -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -4876,7 +4846,7 @@ ep3_pillaging_foray = { # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -4905,8 +4875,8 @@ ep3_pillaging_foray = { # on_defeat = { # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes -# -# scope:defender = { +# +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes @@ -4971,6 +4941,10 @@ ep3_pillaging_foray = { # # use_de_jure_wargoal_only = yes # +# attacker_score_from_occupation_scale = 150 +# attacker_score_from_battles_scale = 150 +# defender_score_from_battles_scale = 150 +# # # The war will last 2 years at most # defender_ticking_warscore_delay = { months = 3 } # defender_ticking_warscore = 0.15 @@ -4983,15 +4957,11 @@ ep3_pillaging_foray = { # # ticking_war_score_targets_entire_realm = no #} -# + ep3_laamp_apprehend_adventurer_cb = { icon = apprehend_adventurer group = event allow_hostages = no - - attacker_score_from_occupation_scale = 150 - attacker_score_from_battles_scale = 150 - defender_score_from_battles_scale = 150 target_top_liege_if_outside_realm = no @@ -5023,20 +4993,8 @@ ep3_laamp_apprehend_adventurer_cb = { add_prestige = { value = major_prestige_gain } } scope:defender = { - switch = { - trigger = scope:defender.primary_title.tier - tier_county = { - add_prestige = { value = minor_prestige_loss } - } - tier_duchy = { - add_prestige = { value = medium_prestige_loss } - } - tier_kingdom = { - add_prestige = { value = major_prestige_loss } - } - tier_empire = { - add_prestige = { value = massive_prestige_loss } - } + add_prestige = { + value = tier_scaled_prestige_value } create_title_and_vassal_change = { type = conquest @@ -5075,33 +5033,33 @@ ep3_laamp_apprehend_adventurer_cb = { on_white_peace_desc = { desc = ep3_laamp_apprehend_adventurer_cb_white_peace_desc } on_white_peace = { - scope:attacker = { - show_pow_release_message_effect = yes - stress_impact = { - ambitious = medium_stress_impact_gain - arrogant = medium_stress_impact_gain - } - add_prestige = { value = medium_prestige_loss } - } - # Allies on both sides get full prestige value for helping in the war, based on their war participation. - modify_allies_of_participants_fame_values = { - WINNER = scope:attacker # not important as the scales are identical - FAME_BASE = major_prestige_value - IS_RELIGIOUS_WAR = no - WINNER_ALLY_FAME_SCALE = 1 - LOSER_ALLY_FAME_SCALE = 1 - } - scope:defender = { - stress_impact = { - arrogant = medium_stress_impact_gain - } - } - # Truce - add_truce_white_peace_effect = yes + scope:attacker = { + show_pow_release_message_effect = yes + stress_and_fulfillment_impact = { + ambitious = medium_stress_impact_gain + arrogant = medium_stress_impact_gain + } + add_prestige = { value = medium_prestige_loss } + } + # Allies on both sides get full prestige value for helping in the war, based on their war participation. + modify_allies_of_participants_fame_values = { + WINNER = scope:attacker # not important as the scales are identical + FAME_BASE = major_prestige_value + IS_RELIGIOUS_WAR = no + WINNER_ALLY_FAME_SCALE = 1 + LOSER_ALLY_FAME_SCALE = 1 + } + scope:defender = { + stress_and_fulfillment_impact = { + arrogant = medium_stress_impact_gain + } + } + # Truce + add_truce_white_peace_effect = yes # EP3: note gold gained from military assistance/join war contracts and their war contribution threshold laamp_as_mercenary_payout_tooltip_effect = yes - } + } on_defeat_desc = { desc = ep3_laamp_apprehend_adventurer_cb_defeat_desc } @@ -5136,7 +5094,7 @@ ep3_laamp_apprehend_adventurer_cb = { } } } - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes } # Allies on both sides get full prestige value for helping in the war, based on their war participation. @@ -5175,7 +5133,7 @@ ep3_laamp_apprehend_adventurer_cb = { defender_ticking_warscore_delay = { days = 1 } attacker_wargoal_percentage = 0.01 - + attacker_score_from_occupation_scale = 200 defender_score_from_occupation_scale = 0 @@ -5184,7 +5142,7 @@ ep3_laamp_apprehend_adventurer_cb = { max_attacker_score_from_battles = 200 max_defender_score_from_battles = 200 - + max_defender_score_from_occupation = 0 max_attacker_score_from_occupation = 200 @@ -5198,7 +5156,7 @@ ep3_laamp_apprehend_adventurer_cb = { # combine_into_one = yes # should_show_war_goal_subview = yes # mutually_exclusive_titles = { always = yes } -# +# # attacker_score_from_occupation_scale = 150 # attacker_score_from_battles_scale = 150 # defender_score_from_battles_scale = 150 @@ -5261,7 +5219,7 @@ ep3_laamp_apprehend_adventurer_cb = { # #Byzantine emperor only uses this against Latin empire land # trigger_if = { # limit = { -# top_liege = title:e_byzantium.holder +# top_liege = title:e_byzantium.holder # } # scope:defender = { # any_realm_county = { @@ -5308,7 +5266,7 @@ ep3_laamp_apprehend_adventurer_cb = { # #Venetians... # AND = { # government_has_flag = government_is_republic -# religion = religion:catholic_religion +# faith = faith:catholic # } # has_trait = despoiler_of_byzantium # } @@ -5316,7 +5274,7 @@ ep3_laamp_apprehend_adventurer_cb = { # } # multiply = 3 # } -# +# # add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing # } # @@ -5504,7 +5462,7 @@ ep3_laamp_apprehend_adventurer_cb = { # } # ep3_orthodox_faith_trigger = yes # faith = faith:hellenic_pagan -# religion = religion:catholic_religion +# faith = faith:catholic # has_trait = despoiler_of_byzantium # } # } @@ -5530,7 +5488,7 @@ ep3_laamp_apprehend_adventurer_cb = { # # on_victory = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -5653,7 +5611,7 @@ ep3_laamp_apprehend_adventurer_cb = { # add_prestige = minor_prestige_gain # } # } -# +# # # # Allies on both sides get full prestige value for helping in the war, based on their war participation. # modify_allies_of_participants_fame_values = { @@ -5783,11 +5741,11 @@ ep3_laamp_apprehend_adventurer_cb = { # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes @@ -5845,7 +5803,7 @@ ep3_laamp_apprehend_adventurer_cb = { # use_de_jure_wargoal_only = yes # # attacker_wargoal_percentage = 0.8 -# +# # max_defender_score_from_occupation = 150 # max_attacker_score_from_occupation = 150 #} @@ -5917,7 +5875,7 @@ ep3_laamp_peasant_war = { variable_list_size = { name = war_met_peasant_leaders_list value > 0 - } + } } random_in_list = { variable = war_met_peasant_leaders_list @@ -5971,14 +5929,15 @@ ep3_laamp_peasant_war = { location = scope:new_capital.title_province template = peasant_faction_leader_template faith = scope:new_capital.faith + rite = scope:new_capital.rite culture = scope:new_capital.culture gender_female_chance = { if = { - limit = { scope:new_capital.faith = { has_doctrine = doctrine_gender_male_dominated } } + limit = { scope:new_capital.rite = { rite_has_doctrine = doctrine_gender_male_dominated } } add = 0 } else_if = { - limit = { scope:new_capital.faith = { has_doctrine = doctrine_gender_female_dominated } } + limit = { scope:new_capital.rite = { rite_has_doctrine = doctrine_gender_female_dominated } } add = 100 } else = { @@ -5987,6 +5946,9 @@ ep3_laamp_peasant_war = { } save_scope_as = peasant_leader } + scope:peasant_leader = { + set_character_rite = scope:new_capital.rite + } add_to_variable_list = { name = war_met_peasant_leaders_list target = scope:peasant_leader @@ -5994,13 +5956,13 @@ ep3_laamp_peasant_war = { } } } - + scope:defender = { add_opinion = { modifier = peasant_revolt_opinion target = scope:attacker } - + # Legitimacy loss because why would you have peasants revolting if = { limit = { is_valid_for_legitimacy_change = yes } @@ -6054,8 +6016,8 @@ ep3_laamp_peasant_war = { show_pow_release_message_effect = yes #set this to not display the event to keep playing as landless set_variable = became_landed_through_separatist_uprising_var - #swap the peasant trait for the better one # lies paradox lies - #remove_trait = peasant_leader + #swap the peasant trait for the better one + remove_trait = peasant_leader add_trait = populist_leader if = { limit = { @@ -6076,14 +6038,15 @@ ep3_laamp_peasant_war = { location = scope:new_capital.title_province template = peasant_faction_leader_template faith = scope:new_capital.faith + rite = scope:new_capital.rite culture = scope:new_capital.culture gender_female_chance = { if = { - limit = { scope:new_capital.faith = { has_doctrine = doctrine_gender_male_dominated } } + limit = { scope:new_capital.rite = { rite_has_doctrine = doctrine_gender_male_dominated } } add = 0 } else_if = { - limit = { scope:new_capital.faith = { has_doctrine = doctrine_gender_female_dominated } } + limit = { scope:new_capital.rite = { rite_has_doctrine = doctrine_gender_female_dominated } } add = 100 } else = { @@ -6271,7 +6234,7 @@ ep3_laamp_peasant_war = { } on_white_peace = { - scope:attacker = { + scope:attacker = { show_pow_release_message_effect = yes #boost the county control up and remove the county corruption modifiers every_in_list = { @@ -6283,14 +6246,14 @@ ep3_laamp_peasant_war = { clear_variable_list = war_supported_counties_list clear_variable_list = war_met_peasant_leaders_list remove_variable = ep3_laamp_peasant_war_remain_laamp - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -6387,7 +6350,7 @@ admin_barbarian_conquest_cb = { combine_into_one = yes should_show_war_goal_subview = yes mutually_exclusive_titles = { always = yes } - + attacker_score_from_occupation_scale = 450 defender_score_from_occupation_scale = 150 attacker_score_from_battles_scale = 450 @@ -6406,7 +6369,7 @@ admin_barbarian_conquest_cb = { allowed_against_character = { scope:defender = { - government_allows = administrative + government_has_mechanic = administrative } scope:attacker = { ALL_FALSE = { @@ -6419,9 +6382,9 @@ admin_barbarian_conquest_cb = { target_title_tier = duchy target_de_jure_regions_above = yes ignore_effect = change_title_holder - + ai_only_against_neighbors = yes - + ai_score_mult = { value = 3.5 @@ -6485,27 +6448,6 @@ admin_barbarian_conquest_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -6547,7 +6489,7 @@ admin_barbarian_conquest_cb = { on_victory = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_victory_effect = yes @@ -6727,11 +6669,11 @@ admin_barbarian_conquest_cb = { on_defeat = { scope:attacker = { show_pow_release_message_effect = yes } - + # Legitimacy add_legitimacy_attacker_defeat_effect = yes - scope:defender = { + scope:defender = { mandala_peacemaker_perk_serenity_effect = yes #EP2 accolade glory gain for winning against higher ranked enemy accolade_defender_war_end_glory_gain_high_effect = yes @@ -6790,7 +6732,7 @@ admin_barbarian_conquest_cb = { attacker_wargoal_percentage = 0.5 attacker_ticking_warscore = 0.165 - + max_defender_score_from_occupation = 150 max_attacker_score_from_occupation = 450 } diff --git a/common/casus_belli_types/10_tgp_china_wars.txt b/common/casus_belli_types/10_tgp_china_wars.txt index bbaee552d..b312e4867 100644 --- a/common/casus_belli_types/10_tgp_china_wars.txt +++ b/common/casus_belli_types/10_tgp_china_wars.txt @@ -104,27 +104,6 @@ china_seize_county_cb = { on_invalidated = {} cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { add = { value = 50 @@ -232,7 +211,7 @@ china_seize_county_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -248,7 +227,7 @@ china_seize_county_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -428,27 +407,6 @@ china_hegemon_seize_county_cb = { on_invalidated = {} cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { add = { value = 50 @@ -574,7 +532,7 @@ china_hegemon_seize_county_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -590,7 +548,7 @@ china_hegemon_seize_county_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -794,27 +752,6 @@ china_seize_duchy_cb = { on_invalidated = {} cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { add = { value = 50 @@ -940,7 +877,7 @@ china_seize_duchy_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -956,7 +893,7 @@ china_seize_duchy_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1136,27 +1073,6 @@ china_hegemon_seize_duchy_cb = { on_invalidated = {} cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { add = { value = 50 @@ -1310,7 +1226,7 @@ china_hegemon_seize_duchy_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -1326,7 +1242,7 @@ china_hegemon_seize_duchy_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1468,27 +1384,6 @@ claim_the_mandate_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -1708,7 +1603,7 @@ claim_the_mandate_cb = { value = medium_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -1724,7 +1619,7 @@ claim_the_mandate_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -1941,27 +1836,6 @@ chinese_consolidation_cb = { on_invalidated_desc = msg_religious_war_invalidation_region_message cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { add = common_cb_impious_piety_cost if = { @@ -2037,6 +1911,8 @@ chinese_consolidation_cb = { every_held_title = { limit = { hegemony = title:h_china + # Capital baronies change hands with their county + is_capital_barony = no } add_to_list = titles_taken } @@ -2048,7 +1924,8 @@ chinese_consolidation_cb = { limit = { highest_held_title_tier >= scope:attacker.highest_held_title_tier } - add_to_list = titles_taken + # titles_taken feeds change_title_holder_include_vassals, so it wants the title + primary_title = { add_to_list = titles_taken } } else = { add_to_list = vassals_taken @@ -2067,7 +1944,7 @@ chinese_consolidation_cb = { limit = { highest_held_title_tier >= scope:attacker.highest_held_title_tier } - add_to_list = titles_taken + primary_title = { add_to_list = titles_taken } } else = { add_to_list = vassals_taken @@ -2362,27 +2239,6 @@ chinese_reunification_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { add = common_cb_impious_piety_cost if = { @@ -2681,27 +2537,6 @@ silk_road_vassalization_cb = { } cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } piety = { value = 0 add = common_cb_impious_piety_cost @@ -2718,28 +2553,7 @@ silk_road_vassalization_cb = { } } } - if = { - limit = { - scope:defender.primary_title = { - tier = tier_kingdom - } - } - multiply = { - value = 2 - desc = CB_VASSALIZING_KING - } - } - if = { - limit = { - scope:defender.primary_title = { - tier = tier_empire - } - } - multiply = { - value = 4 - desc = CB_VASSALIZING_EMPEROR - } - } + multiply = vassalization_cb_prestige_cost_mulitiplier multiply = common_cb_prestige_cost_multiplier } @@ -2846,7 +2660,7 @@ silk_road_vassalization_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -2862,7 +2676,7 @@ silk_road_vassalization_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -3132,27 +2946,6 @@ grand_campaign_kingdom_invasion_cb = { on_invalidated = {} cost = { - influence = { - add = { - value = 25 - desc = CB_BASE_COST - } - add = { - value = 0.5 - multiply = scope:attacker.realm_size - desc = CB_REALM_SIZE_COST - max = 75 - } - multiply = common_cb_cost_multiplier - if = { - limit = { - scope:attacker = { - NOT = { government_has_flag = government_has_influence } - } - } - multiply = 0 - } - } prestige = { add = { value = 50 @@ -3368,7 +3161,7 @@ grand_campaign_kingdom_invasion_cb = { value = minor_prestige_value multiply = -1.0 } - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -3394,7 +3187,7 @@ grand_campaign_kingdom_invasion_cb = { } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } diff --git a/common/casus_belli_types/10_tgp_faction_wars.txt b/common/casus_belli_types/10_tgp_faction_wars.txt index d39190dc3..3ccf175c5 100644 --- a/common/casus_belli_types/10_tgp_faction_wars.txt +++ b/common/casus_belli_types/10_tgp_faction_wars.txt @@ -108,7 +108,7 @@ replace_ceremonial_regent_faction_war = { on_white_peace = { scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -124,7 +124,7 @@ replace_ceremonial_regent_faction_war = { } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } add_character_flag = { @@ -309,7 +309,7 @@ restore_ceremonial_liege_faction_war = { on_white_peace = { scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -325,7 +325,7 @@ restore_ceremonial_liege_faction_war = { } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } add_character_flag = { @@ -524,7 +524,7 @@ ceremonial_claimant_faction_war = { on_white_peace = { scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -535,7 +535,7 @@ ceremonial_claimant_faction_war = { flag = recent_ceremonial_claimant_faction_war years = faction_war_white_peace_cooldown } - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } } @@ -718,7 +718,7 @@ imperial_policy_faction_war = { on_white_peace = { scope:attacker = { show_pow_release_message_effect = yes - stress_impact = { + stress_and_fulfillment_impact = { ambitious = medium_stress_impact_gain arrogant = medium_stress_impact_gain } @@ -734,7 +734,7 @@ imperial_policy_faction_war = { } } scope:defender = { - stress_impact = { + stress_and_fulfillment_impact = { arrogant = medium_stress_impact_gain } add_character_flag = { diff --git a/common/casus_belli_types/10_tgp_japan_wars.txt b/common/casus_belli_types/10_tgp_japan_wars.txt index 38080ed9e..98996dded 100644 --- a/common/casus_belli_types/10_tgp_japan_wars.txt +++ b/common/casus_belli_types/10_tgp_japan_wars.txt @@ -1,5 +1,5 @@ -# -## War to install Bloc member -- Bloc Expansion + +# War to install Bloc member -- Bloc Expansion #japan_install_bloc_member_cb = { # icon = bloc # group = subjugation @@ -37,7 +37,7 @@ # valid_to_start = { # scope:target ?= { is_landless_type_title = no } # } -# +# # mutually_exclusive_titles = { always = yes } # # cost = { @@ -119,7 +119,7 @@ # } # } # } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -127,31 +127,22 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # scope:attacker = { -# switch = { -# trigger = scope:defender.primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = scope:defender.tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # -# scope:attacker = { +# scope:attacker = { # trigger_event = { -# id = tgp_japan_general.8800 -# days = 1 +# id = tgp_japan_general.8800 +# days = 1 # } # } # @@ -191,9 +182,9 @@ # } # # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -210,7 +201,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -234,35 +225,26 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } # # scope:attacker = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = tier_scaled_prestige_value # } # } # @@ -306,12 +288,12 @@ # # max_attacker_score_from_battles = 100 # max_defender_score_from_battles = 100 -# +# # max_defender_score_from_occupation = 100 # max_attacker_score_from_occupation = 100 # # max_ai_diplo_distance_to_title = 500 -# +# # ai_score = { # value = japan_install_bloc_member_ai_score_value # } @@ -435,7 +417,7 @@ # # on_victory = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -443,24 +425,15 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # scope:attacker = { -# switch = { -# trigger = scope:defender.primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = scope:defender.tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # @@ -489,7 +462,7 @@ # list = target_titles # scope:attacker = { add_prestige_experience = minor_prestige_value } # } -# +# # # # Allies on both sides get full prestige value for helping in the war, based on their war participation. # modify_allies_of_participants_fame_values = { @@ -524,9 +497,9 @@ # } # # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -543,7 +516,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -573,35 +546,26 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } # # scope:attacker = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = tier_scaled_prestige_value # } # } # @@ -637,7 +601,7 @@ # use_de_jure_wargoal_only = yes # # attacker_wargoal_percentage = 0.8 -# +# # max_attacker_score_from_battles = 75 # # max_defender_score_from_occupation = 150 @@ -671,7 +635,7 @@ # target_titles = neighbor_land_or_water # target_title_tier = county # ignore_effect = change_title_holder -# +# # mutually_exclusive_titles = { always = yes } # # # scope:attacker @@ -763,7 +727,7 @@ # # on_victory = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -771,24 +735,15 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # scope:attacker = { -# switch = { -# trigger = scope:defender.primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = scope:defender.tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # @@ -817,7 +772,7 @@ # list = target_titles # scope:attacker = { add_prestige_experience = minor_prestige_value } # } -# +# # # # Allies on both sides get full prestige value for helping in the war, based on their war participation. # modify_allies_of_participants_fame_values = { @@ -852,9 +807,9 @@ # } # # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -871,7 +826,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -901,35 +856,26 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } # # scope:attacker = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = tier_scaled_prestige_value # } # } # @@ -973,7 +919,7 @@ # # max_attacker_score_from_battles = 200 # max_defender_score_from_battles = 200 -# +# # max_defender_score_from_occupation = 50 # max_attacker_score_from_occupation = 50 # @@ -1076,7 +1022,7 @@ # # on_victory = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -1084,7 +1030,7 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # # Appreciation for re-integration -# scope:attacker = { +# scope:attacker = { # if = { # limit = { is_independent_ruler = no } # reverse_add_opinion = { @@ -1123,7 +1069,7 @@ # if = { # limit = { is_independent_ruler = no } # if = { -# limit = { government_allows = administrative } +# limit = { government_has_flag = government_has_influence } # change_influence = japan_demand_administrative_war_influence_value # } # else = { add_prestige_experience = japan_demand_administrative_war_prestige_value } @@ -1159,9 +1105,9 @@ # } # # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -1178,7 +1124,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -1202,11 +1148,11 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes @@ -1267,12 +1213,12 @@ # # max_attacker_score_from_battles = 200 # max_defender_score_from_battles = 200 -# +# # max_defender_score_from_occupation = 50 # max_attacker_score_from_occupation = 50 # # max_ai_diplo_distance_to_title = 500 -# +# # ai_score = { # value = japan_demand_administrative_ai_score_value # } @@ -1295,7 +1241,7 @@ # target_titles = all # target_title_tier = county # ignore_effect = change_title_holder -# +# # mutually_exclusive_titles = { always = yes } # # cost = { @@ -1406,7 +1352,7 @@ # # on_victory = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -1434,7 +1380,7 @@ # resolve_title_and_vassal_change = scope:change # # # Appreciation for the Attacker, if relevant -# scope:attacker = { +# scope:attacker = { # if = { # limit = { is_independent_ruler = no } # reverse_add_opinion = { @@ -1449,7 +1395,7 @@ # if = { # limit = { is_independent_ruler = no } # if = { -# limit = { government_allows = administrative } +# limit = { government_has_flag = government_has_influence } # change_influence = japan_imperial_expansion_war_influence_value # } # else = { add_prestige_experience = japan_imperial_expansion_war_prestige_value } @@ -1551,11 +1497,11 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes @@ -1616,12 +1562,12 @@ # # max_attacker_score_from_battles = 200 # max_defender_score_from_battles = 200 -# +# # max_defender_score_from_occupation = 50 # max_attacker_score_from_occupation = 50 # # max_ai_diplo_distance_to_title = 500 -# +# # ai_score = { # value = japan_imperial_expansion_ai_score_value # } @@ -1660,7 +1606,7 @@ # multiply = common_cb_prestige_cost_multiplier # } # } -# +# # allow_hostages = no # # target_titles = all @@ -1742,19 +1688,19 @@ # # on_victory = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # # #EP2 Accolade glory gain from winning against higher ranked enemy # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } -# +# # # Influence/Prestige Progress reward for Attacker # scope:attacker = { # if = { # limit = { is_independent_ruler = no } # if = { -# limit = { government_allows = administrative } +# limit = { government_has_flag = government_has_influence } # change_influence = japan_imperial_reconquest_war_influence_value # } # else = { add_prestige_experience = japan_imperial_reconquest_war_prestige_value } @@ -1769,12 +1715,12 @@ # save_scope_as = change # add_claim_on_loss = yes # } -# +# # every_in_list = { # list = target_titles # save_temporary_scope_as = target # } -# +# # setup_de_jure_cb = { # attacker = scope:attacker # defender = scope:defender @@ -1851,16 +1797,16 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } -# +# # scope:attacker = { # pay_short_term_gold_reparations_effect = { # GOLD_VALUE = 10 @@ -1891,12 +1837,12 @@ # defender_allies_inherit = yes # # attacker_wargoal_percentage = 0.8 -# +# # max_defender_score_from_occupation = 150 # max_attacker_score_from_occupation = 150 # # max_ai_diplo_distance_to_title = 500 -# +# # ai_score = { # value = japan_imperial_reconquest_ai_score_value # } @@ -2059,14 +2005,14 @@ # on_white_peace = { # scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -2124,7 +2070,7 @@ # } # } # } -# +# # on_lost_request_revolt_war = yes # # #Mandalas gain or lose piety/devotion depending on Decree @@ -2153,7 +2099,7 @@ # # max_attacker_score_from_battles = 100 # max_defender_score_from_battles = 50 -# +# # max_defender_score_from_occupation = 150 # max_attacker_score_from_occupation = 150 # @@ -2178,7 +2124,7 @@ # } # house ?= { # any_house_relation = { -# has_house_relation_level = feud +# has_house_relation_level = feud # } # } # } @@ -2200,7 +2146,7 @@ # is_landed = yes # #Can't be the attacker's top liege # NOR = { -# is_vassal_or_below_of = scope:attacker +# is_vassal_or_below_of = scope:attacker # is_liege_or_above_of = scope:attacker # } # } @@ -2227,7 +2173,7 @@ # should_invalidate = { # #cancel if they become friendly # OR = { -# NOT = { +# NOT = { # tgp_has_house_relation_level_trigger = { # HOUSE_1_MEMBER = scope:attacker # HOUSE_2_MEMBER = scope:defender @@ -2262,9 +2208,9 @@ # } # } # } -# +# # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -2272,24 +2218,15 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # scope:attacker = { -# switch = { -# trigger = scope:defender.primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = scope:defender.tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # #Show land transfer @@ -2301,7 +2238,7 @@ # scope:attacker = { # save_scope_as = winner # } -# tgp_japan_soryo_eradicate_cb_transfer_effect = yes +# tgp_japan_soryo_eradicate_cb_transfer_effect = yes # } # #show death # show_as_tooltip = { @@ -2313,21 +2250,21 @@ # } # scope:defender = { # every_courtier = { -# custom = every_close_family_house_member_in_court_cb_win_desc +# custom = every_close_family_house_member_in_court_cb_win_desc # limit = { # house = scope:defender.house # NOT = { # scope:defender.primary_heir ?= this -# } +# } # } # death = { # death_reason = death_eradicated -# killer = scope:attacker +# killer = scope:attacker # } # } # } # } -# +# # # Allies on both sides get full prestige value for helping in the war, based on their war participation. # modify_allies_of_participants_fame_values = { # WINNER = scope:attacker @@ -2353,9 +2290,9 @@ # desc = eradicate_house_cb_white_peace_desc # } # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -2372,7 +2309,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -2390,34 +2327,25 @@ # # on_defeat = { # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } # # scope:attacker = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = tier_scaled_prestige_value # } # } # #Show land transfer @@ -2433,7 +2361,7 @@ # } # #Show killing # show_as_tooltip = { -# +# # scope:attacker = { # death = { # death_reason = death_eradicated @@ -2442,16 +2370,16 @@ # } # scope:attacker = { # every_courtier = { -# custom = every_close_family_house_member_in_court_cb_lose_desc +# custom = every_close_family_house_member_in_court_cb_lose_desc # limit = { # house = scope:attacker.house # NOT = { -# this = scope:attacker.primary_heir -# } +# this = scope:attacker.primary_heir +# } # } # death = { # death_reason = death_eradicated -# killer = scope:defender +# killer = scope:defender # } # } # } @@ -2500,7 +2428,7 @@ # # max_attacker_score_from_battles = 200 # max_defender_score_from_battles = 200 -# +# # max_defender_score_from_occupation = 50 # max_attacker_score_from_occupation = 50 # @@ -2546,7 +2474,7 @@ # scope:defender = { # save_scope_as = daijo_daijin # } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -2554,24 +2482,15 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # scope:attacker = { -# switch = { -# trigger = scope:defender.primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = scope:defender.tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # @@ -2587,7 +2506,7 @@ # list = target_titles # scope:attacker = { add_prestige_experience = minor_prestige_value } # } -# +# # # Allies on both sides get full prestige value for helping in the war, based on their war participation. # modify_allies_of_participants_fame_values = { # WINNER = scope:attacker @@ -2628,9 +2547,9 @@ # } # # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -2647,7 +2566,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -2677,31 +2596,22 @@ # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } # # scope:attacker = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = tier_scaled_prestige_value # } # } # @@ -2761,7 +2671,7 @@ # # max_attacker_score_from_battles = 200 # max_defender_score_from_battles = 200 -# +# # max_defender_score_from_occupation = 50 # max_attacker_score_from_occupation = 50 #} @@ -2880,7 +2790,7 @@ # } # # scope:attacker = { show_pow_release_message_effect = yes } -# +# # # Legitimacy # add_legitimacy_attacker_victory_effect = yes # @@ -2888,24 +2798,15 @@ # scope:attacker = { accolade_attacker_war_end_glory_gain_low_effect = yes } # # scope:attacker = { -# switch = { -# trigger = scope:defender.primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = scope:defender.tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # @@ -2936,9 +2837,9 @@ # } # # on_white_peace = { -# scope:attacker = { +# scope:attacker = { # show_pow_release_message_effect = yes -# stress_impact = { +# stress_and_fulfillment_impact = { # ambitious = medium_stress_impact_gain # arrogant = medium_stress_impact_gain # } @@ -2955,7 +2856,7 @@ # } # # scope:defender = { -# stress_impact = { +# stress_and_fulfillment_impact = { # arrogant = medium_stress_impact_gain # } # } @@ -3004,31 +2905,22 @@ # # Legitimacy # add_legitimacy_attacker_defeat_effect = yes # -# scope:defender = { +# scope:defender = { # mandala_peacemaker_perk_serenity_effect = yes # #EP2 accolade glory gain for winning against higher ranked enemy # accolade_defender_war_end_glory_gain_high_effect = yes # } # # scope:attacker = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_loss } -# tier_duchy = { add_prestige = medium_prestige_loss } -# tier_kingdom = { add_prestige = major_prestige_loss } -# tier_empire = { add_prestige = massive_prestige_loss } -# tier_hegemony = { add_prestige = monumental_prestige_loss } +# add_prestige = { +# value = 0 +# subtract = tier_scaled_prestige_value # } # } # # scope:defender = { -# switch = { -# trigger = primary_title.tier -# tier_county = { add_prestige = minor_prestige_gain } -# tier_duchy = { add_prestige = medium_prestige_gain } -# tier_kingdom = { add_prestige = major_prestige_gain } -# tier_empire = { add_prestige = massive_prestige_gain } -# tier_hegemony = { add_prestige = monumental_prestige_gain } +# add_prestige = { +# value = tier_scaled_prestige_value # } # } # @@ -3072,12 +2964,12 @@ # # max_attacker_score_from_battles = 100 # max_defender_score_from_battles = 100 -# +# # max_defender_score_from_occupation = 100 # max_attacker_score_from_occupation = 100 # # max_ai_diplo_distance_to_title = 500 -# +# # ai_score = { # value = japan_bloc_war_ai_score_value # } @@ -3087,4 +2979,3 @@ # add = frankokratia_leader_protection_value #Set back to 0. Declaring war on the frankokratia leader can really ruin the whole thing # } #} -# \ No newline at end of file