casus_belli_types updated

This commit is contained in:
Thakia 2026-10-02 14:52:17 -03:00
parent 879b23e955
commit 97285933b8
10 changed files with 898 additions and 1473 deletions

View file

@ -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
}
}

View file

@ -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
# }
#}
#

View file

@ -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
}
}

File diff suppressed because it is too large Load diff

View file

@ -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
}

View file

@ -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
}
}

File diff suppressed because it is too large Load diff

View file

@ -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
}
}

View file

@ -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 = {

File diff suppressed because it is too large Load diff