script_values updated files

This commit is contained in:
Thakia 2026-10-04 14:38:16 -03:00
parent a5ebf5a478
commit 37045a17ee
12 changed files with 1897 additions and 1472 deletions

View file

@ -289,7 +289,33 @@ culture_hybrid_cooldown = {
limit = {
has_game_rule = no_hybrid_and_divergence_cooldowns
}
multiply = 0
add = -10000 # See above comment in culture_divergence_cooldown.
}
}
expand_new_culture_chance = {
if = {
limit = {
any_parent_culture = {
count = 1
}
}
value = 100
}
else = {
if = {
limit = {
any_parent_culture = {
save_temporary_scope_as = first_parent
}
exists = scope:first_parent
}
every_parent_culture = {
limit = { this != scope:first_parent }
value = "cultural_acceptance(scope:first_parent)"
}
}
min = 30
}
}
@ -522,6 +548,7 @@ language_soft_cap = {
add = {
add = learning
divide = language_learning_divide_value
floor = yes
}
}
if = {
@ -573,6 +600,23 @@ language_soft_cap = {
}
add = 1
}
# Clergy get a free slot for their rite's liturgical tongue so it does not crowd out others
if = {
limit = {
is_clergy = yes
OR = {
AND = {
knows_language = language_latin
portrait_religious_western_christian_trigger = yes
}
AND = {
knows_language = language_greek
portrait_religious_orthodox_trigger = yes
}
}
}
add = 1
}
}
language_soft_cap_modifier_value = {
@ -846,10 +890,6 @@ court_language_ai_score = {
capital_province = { geographical_region = world_india_deccan }
NOT = { scope:target.capital_province = { geographical_region = world_india_deccan } }
}
AND = {
capital_province = { geographical_region = world_burma }
NOT = { scope:target.capital_province = { geographical_region = world_burma } }
}
AND = {
capital_province = { geographical_region = world_himalaya }
NOT = { scope:target.capital_province = { geographical_region = world_himalaya } }

View file

@ -1051,7 +1051,7 @@ gunpowder_raise_limit_existing_gunpowder_units = {
gunpowder_raise_limit_existing_gunpowder_buildings = {
value = 0
every_realm_province = {
every_directly_owned_province = {
limit = {
has_building_or_higher = powder_magazine_01
}
@ -1095,3 +1095,13 @@ gunpowder_raise_limit_existing_gunpowder_buildings = {
gunpowder_building_limit_bonus_1 = 1
gunpowder_building_limit_bonus_2 = 2
gunpowder_building_limit_bonus_3 = 3
akritai_holy_order_priority_value = {
value = 0
if = {
limit = {
has_variable = ho_akritai
}
add = 1000
}
}

View file

@ -571,7 +571,7 @@ culture_acceptance_baseline = {
has_same_culture_language = scope:culture
}
add = {
value = 15 # please update CULTURE_PILLAR_TOOLTIP_LANGUAGE_EFFECT if this number changes
value = 10 # please update CULTURE_PILLAR_TOOLTIP_LANGUAGE_EFFECT if this number changes
desc = ACCEPTANCE_BASELINE_LANGUAGE
}
}
@ -1142,17 +1142,17 @@ culture_acceptance_baseline = {
}
if = { # Pluralistic close faiths
limit = {
scope:our_faith ?= {
has_doctrine = doctrine_pluralism_pluralistic
scope:our_faith.main_rite ?= {
rite_has_doctrine = doctrine_pluralism_pluralistic
}
scope:their_faith ?= {
has_doctrine = doctrine_pluralism_pluralistic
scope:their_faith.main_rite ?= {
rite_has_doctrine = doctrine_pluralism_pluralistic
}
any_culture_county = {
percent >= 0.5
title_province = {
faith = {
has_doctrine = doctrine_pluralism_pluralistic
rite = {
rite_has_doctrine = doctrine_pluralism_pluralistic
}
}
}
@ -1160,8 +1160,8 @@ culture_acceptance_baseline = {
any_culture_county = {
percent >= 0.5
title_province = {
faith = {
has_doctrine = doctrine_pluralism_pluralistic
rite = {
rite_has_doctrine = doctrine_pluralism_pluralistic
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -52,6 +52,12 @@
}
add = 20
}
if = {
limit = {
has_personal_tenet_flag = tenet_love_thy_neighbour_vassalage_acceptance
}
add = 15
}
#Cultural Acceptance
if = {
@ -75,7 +81,7 @@
scope:impress_check = {
NOR = { #Of two different faiths AND the potential vassal's faith is not pluralistic.
faith = root.faith
faith = { has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
}
}
}
@ -110,10 +116,10 @@
limit = {
scope:impress_check = {
faith != root.faith
faith = { has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
}
NOT = {
root.faith = { has_doctrine = doctrine_pluralism_pluralistic }
root.rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
}
}
add = {
@ -147,8 +153,8 @@
limit = {
scope:impress_check = {
faith != root.faith
root.faith = { has_doctrine = doctrine_pluralism_pluralistic }
faith = { has_doctrine = doctrine_pluralism_pluralistic }
root.rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
}
}
add = {
@ -209,12 +215,23 @@
}
if = {
limit = {
scope:impress_check.highest_held_title_tier = tier_empire
scope:impress_check.highest_held_title_tier >= tier_empire
}
multiply = 1.5
}
}
}
#A Spiritual Head of Faith of King rank or above will not put their see under a liege
if = {
limit = {
scope:impress_check = {
highest_held_title_tier >= tier_kingdom
faith = { has_doctrine_parameter = spiritual_head_of_faith }
faith.religious_head ?= this
}
}
add = -500
}
#We just fought against each other.
if = {
limit = {
@ -546,7 +563,7 @@
has_trait = bastard
}
scope:impress_check = {
faith = { NOT = { has_doctrine = doctrine_bastardry_none } }
rite = { NOT = { rite_has_doctrine = doctrine_bastardry_none } }
}
}
has_trait = denounced
@ -782,6 +799,18 @@
}
#HISTORICALLY ADMIN PEOPLES WANT TO BE ADMIN
if = {
limit = {
government_has_mechanic = administrative
scope:impress_check = {
culture = {
culture_is_historically_admin_trigger = yes
}
}
}
add = 30
}
# AI-only weights, keep the pope from vassalizing too fast
if = {

View file

@ -1368,6 +1368,12 @@ base_legend_promote_ai = {
}
if = { #no free meals
limit = {
primary_title.tier = tier_hegemony
}
add = -32
}
else_if = {
limit = {
primary_title.tier = tier_empire
}

View file

@ -413,7 +413,7 @@ granary_modifier_scaling_value = {
}
add = {
value = 100
subtract = domicile.domicile_location.county.county_control
subtract = domicile_location.county.county_control
multiply = 0.1
round = yes
min = 1
@ -516,12 +516,6 @@ influence_inherit_large_bonus_value = 0.3
influence_inherit_medium_bonus_value = 0.2
influence_inherit_small_bonus_value = 0.1
appointment_score_script_value = {
value = "appointment_candidate_score(root.primary_title)"
min = 1
desc = APPOINTMENT_SCORE_SCRIPT_VALUE_DESC
}
# The cost for taking command of other theme troops - ROOT is the title the requested troops belong to
admin_title_troop_command_cost_value = {
save_temporary_scope_as = recipient_title
@ -743,43 +737,6 @@ diarch_more_efficient_administrative_emperor_promotion_candidate_major_value = 1
diarch_more_efficient_administrative_emperor_promotion_candidate_medium_value = 0.75
diarch_more_efficient_administrative_emperor_promotion_candidate_mild_value = 0.5
# For use when promoting a candidate via interaction.
appointment_score_interaction_multiplier_modifiers_value = {
value = 1
# Co-emperors are more efficient to promote.
if = {
limit = {
exists = scope:target
exists = scope:secondary_recipient
appointment_interactions_recipient_is_suitable_co_emperor_trigger = yes
}
if = {
limit = {
scope:actor.top_liege = { has_diarchy_active_parameter = diarch_more_efficient_administrative_emperor_promotion_candidate_massive }
}
add = diarch_more_efficient_administrative_emperor_promotion_candidate_massive_value
}
else_if = {
limit = {
scope:actor.top_liege = { has_diarchy_active_parameter = diarch_more_efficient_administrative_emperor_promotion_candidate_major }
}
add = diarch_more_efficient_administrative_emperor_promotion_candidate_major_value
}
else_if = {
limit = {
scope:actor.top_liege = { has_diarchy_active_parameter = diarch_more_efficient_administrative_emperor_promotion_candidate_medium }
}
add = diarch_more_efficient_administrative_emperor_promotion_candidate_medium_value
}
else_if = {
limit = {
scope:actor.top_liege = { has_diarchy_active_parameter = diarch_more_efficient_administrative_emperor_promotion_candidate_mild }
}
add = diarch_more_efficient_administrative_emperor_promotion_candidate_mild_value
}
}
}
# Eparch values
eparch_aptitude_modifier_scaling_value = {
value = 1
@ -791,6 +748,10 @@ eparch_aptitude_modifier_scaling_value = {
}
university_cost_reduction_value = 0.25
eparch_scheme_secrecy_bonus_value = {
if = {
limit = {
is_scheme_target_type = character
}
if = {
limit = {
scope:owner ?= { has_court_position = eparch_court_position }
@ -803,6 +764,24 @@ eparch_scheme_secrecy_bonus_value = {
desc = eparch_scheme_bonus_desc
}
}
}
else_if = {
limit = {
is_scheme_target_type = title
}
if = {
limit = {
scope:owner ?= { has_court_position = eparch_court_position }
scope:target.holder = {
domicile ?= { domicile_location = owner.top_liege.capital_province }
}
}
add = {
value = 15
desc = eparch_scheme_bonus_desc
}
}
}
}
# State Faith
@ -813,7 +792,7 @@ ep3_triumph_gold_cost = {
value = 100
if = {
limit = {
NOT = { government_allows = administrative }
NOT = { government_has_flag = government_has_influence }
}
add = 100
if = {
@ -831,7 +810,7 @@ ep3_triumph_influence_cost = {
value = 0
if = {
limit = {
government_allows = administrative
government_has_flag = government_has_influence
}
add = 50
if = {
@ -940,10 +919,14 @@ ep3_laamp_chance_score_value = {
# Culture/Faith
if = {
limit = {
faith = { has_doctrine_parameter = unlock_voluntary_laampdom_faith }
rite = { rite_has_parameter = unlock_voluntary_laampdom_faith }
}
add = 5
}
if = {
limit = { has_personal_tenet_flag = unlock_voluntary_laampdom_faith }
add = 5
}
if = {
limit = {
culture = { has_cultural_parameter = unlock_voluntary_laampdom }
@ -2052,7 +2035,7 @@ governor_efficiency = {
if = { # The Great Barracks duchy building bonus (great project)
limit = {
OR = {
vassal_contract_has_flag = celestial_military_appointment # Only for celestial military governors
vassal_contract_has_flag = province_military # Only for military governors
government_has_flag = government_is_administrative # All regular admin types are eligible
is_independent_ruler = yes # The top liege can always use it
}
@ -2203,121 +2186,6 @@ governance_modifier_scaling_tier_value = {
estate_governance_contract_bonus_value = 0.5
appointment_cost_multiplier_value = {
value = 1
if = {
limit = {
top_liege = { has_realm_law = male_preference_law }
is_female = yes
}
add = 1
}
else_if = {
limit = {
top_liege = { has_realm_law = male_only_law }
is_female = yes
}
multiply = 3
}
else_if = {
limit = {
top_liege = { has_realm_law = female_preference_law }
is_female = no
}
multiply = 1
}
else_if = {
limit = {
top_liege = { has_realm_law = female_only_law }
is_female = no
}
multiply = 3
}
}
appointment_minor_influence_cost = {
value = 50
}
appointment_medium_influence_cost = {
value = 100
}
appointment_major_influence_cost = {
value = 250
}
appointment_score_minor_value = {
value = appointment_minor_influence_cost
multiply = 0.2
}
appointment_score_medium_value = {
value = appointment_medium_influence_cost
multiply = 0.2
}
appointment_score_major_value = {
value = appointment_major_influence_cost
multiply = 0.2
}
appointment_score_minor_loss_value = {
value = appointment_score_minor_value
multiply = -1
}
appointment_score_medium_loss_value = {
value = appointment_score_medium_value
multiply = -1
}
appointment_score_major_loss_value = {
value = appointment_score_major_value
multiply = -1
}
appointment_score_max_tt_value = {
value = 0
if = {
limit = {
exists = scope:target
exists = scope:secondary_recipient
NOT = { scope:secondary_recipient = scope:target.current_heir }
}
add = {
value = "scope:target.current_heir.appointment_candidate_score(scope:target)"
multiply = 1.1
}
subtract = "scope:secondary_recipient.appointment_candidate_score(scope:target)"
min = 4 # We do this to prevent cases when the default score of the candidate is already much higher than that the heir
}
multiply = scope:actor.appointment_score_interaction_multiplier_modifiers_value
}
appointment_score_medium_tt_value = {
value = appointment_score_medium_value
multiply = scope:actor.appointment_score_interaction_multiplier_modifiers_value
}
appointment_score_major_tt_value = {
value = appointment_score_major_value
multiply = scope:actor.appointment_score_interaction_multiplier_modifiers_value
}
appointment_score_medium_loss_tt_value = {
value = appointment_score_medium_loss_value
multiply = scope:actor.appointment_score_interaction_multiplier_modifiers_value
}
appointment_score_major_loss_tt_value = {
value = appointment_score_major_loss_value
multiply = scope:actor.appointment_score_interaction_multiplier_modifiers_value
}
appointment_non_preferred_gender_penalty_value = 0.8
appointment_opposite_gender_penalty_value = 1
admin_council_cost_value = {
add = {
add = {
@ -2692,26 +2560,32 @@ task_contract_opinion_crime_backed_down_value = -10
task_contract_extra_reward_multiplier_value = 1.5 # Update all relevant parameter tootlips if this is changed! e.g. improved_learning_contract_rewards
# How do we multiply the cash rewards in a task contract depending on the employer's tier?
task_contract_tier_gold_multiplier_value = {
value = 1 # Barons and counts are neutral, so no multiplier needed here.
if = {
limit = { exists = scope:task_contract.task_contract_employer }
task_contract_employer_tier_gold_multiplier_value = {
value = 1
# Kings'n'emperors.
if = {
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
limit = { highest_held_title_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
add = 3
}
# Dukes.
else_if = {
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
limit = { highest_held_title_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
add = 2
}
# Courtiers first, as we give them a bit less.
else_if = {
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier <= 0 }
add = 0.5
ceiling = yes
limit = { highest_held_title_tier <= 0 }
subtract = 0.5
}
}
task_contract_tier_gold_multiplier_value = {
# Barons and counts are neutral, so no multiplier needed here.
if = {
limit = { exists = scope:task_contract.task_contract_employer }
value = scope:task_contract.task_contract_employer.task_contract_employer_tier_gold_multiplier_value
}
else = {
value = 1
}
}
# How do we multiply the non-cash rewards in a task contract depending on the employer's tier?
@ -3162,6 +3036,7 @@ laamp_base_2011_actual_surveyable_holdings_per_tier_value = {
value = sub_realm_size
every_sub_realm_barony = {
limit = {
exists = holder
holder.highest_held_title_tier = tier_barony
title_province != root.domicile.domicile_location
}
@ -3696,7 +3571,7 @@ prison_break_value = {
# Powerful Family Rating
# House power score is used in code to enable bonuses from powerful houses
# root - house under evaluation
# current scope - house under evaluation
house_power_score = {
value = {
value = 0
@ -3712,19 +3587,15 @@ house_power_score = {
house_head = { government_is_japanese_trigger = yes }
}
add = {
every_house_member = {
limit = { top_liege = scope:target_house.house_head.top_liege }
add = 1.5
}
add = list_size:house_member
multiply = 1.5
desc = members_in_realm_desc
}
}
else = {
add = {
every_house_member = {
limit = { top_liege = scope:target_house.house_head.top_liege }
add = 3
}
add = list_size:house_member
multiply = 3
desc = members_in_realm_desc
}
}
@ -3820,11 +3691,11 @@ house_power_score = {
}
}
# Malus for not practicing the state faith
# Malus for not practicing the state rite
if = {
limit = {
house_head.top_liege ?= { government_allows = state_faith }
NOT = { house_head.top_liege.primary_title.state_faith ?= scope:target_house.house_head.faith }
NOT = { house_head.top_liege.primary_title.state_rite ?= scope:target_house.house_head.rite }
}
add = {
value = -25
@ -3905,7 +3776,7 @@ house_power_score = {
house_head = {
exists = top_liege.capital_province
domicile ?= {
is_domicile_type = estate
domicile_is_estate_trigger = yes
domicile_location = prev.top_liege.capital_province
}
}
@ -3972,7 +3843,10 @@ house_power_score = {
add = {
value = 0
house_head.confederation = {
every_confederation_member_house = { add = 10 }
add = {
value = list_size:confederation_member_house
multiply = 10
}
}
desc = led_bloc_size_desc
}
@ -3985,7 +3859,7 @@ house_power_score = {
limit = {
# Using the triggers of is_governor directly to save performance
is_landed = yes
government_allows = administrative
government_has_mechanic = administrative
top_liege != this
highest_held_title_tier >= main_administrative_tier
house.house_head.top_liege ?= top_liege
@ -4007,20 +3881,14 @@ house_power_score = {
# Bonus for being the imperial house (we deliberately but this at the end, behind the governorship multiplier, as an added bonus on top of everything else)
if = {
limit = {
any_house_member = {
top_liege = this
#primary_title.tier >= tier_empire (this is commented out because the house in power should always get this big boost)
house.house_head.top_liege ?= top_liege
}
this = house_head.top_liege.house
}
add = {
value = 100
if = {
limit = {
any_house_member = {
top_liege = this
house_head.top_liege = {
primary_title.tier < tier_empire
house.house_head.top_liege ?= top_liege
}
}
subtract = 50 #For Kings and below the bonus is not quite as high - they are not a far ahead of everyone else as an emperor
@ -4044,6 +3912,7 @@ house_power_score = {
add = 1
}
}
min = -0.8
}
desc = challenge_status_powerful_family_rating_modifier
}
@ -4060,241 +3929,6 @@ house_power_score = {
round = yes
}
# Maximum investment a character can make to support a candidate for a title appointment
# root - investor
appointment_investment_cap = {
value = {
add = {
value = 50 # Base
desc = BASE_VALUE
}
##### FAMILY RATING
if = {
limit = { house.house_head ?= this }
add = {
value = house.house_power_score
desc = appointment_investment_cap_family_rating
}
}
##### AGE
if = { # ADULT - scaling bonus
limit = { is_adult = yes }
add = {
value = {
add = age
subtract = 16
divide = 2
ceiling = yes
}
desc = appointment_investment_cap_age
}
}
else = { # CHILD - scaling malus
add = {
value = {
add = age
subtract = 16
divide = 2
floor = yes
}
desc = appointment_investment_cap_age
}
}
##### INFLUENCE LEVEL
if = { # NEGATIVE
limit = { influence_level < 1 }
add = {
value = -20
desc = appointment_investment_cap_influence_level
}
}
else_if = { # POSITIVE
limit = { influence_level > 1 }
add = {
value = {
add = influence_level
multiply = 10
}
desc = appointment_investment_cap_influence_level
}
}
##### ESTATE BUILDINGS
if = {
limit = { exists = house.house_head.domicile }
house.house_head.domicile = {
add = {
value = 0
if = {
limit = { has_domicile_building = estate_main_02 }
add = 10
}
else_if = {
limit = { has_domicile_building = estate_main_03 }
add = 20
}
else_if = {
limit = { has_domicile_building = estate_main_04 }
add = 30
}
else_if = {
limit = { has_domicile_building = estate_main_05 }
add = 40
}
if = {
limit = { has_domicile_building = reception_hall_02 }
add = 10
}
else_if = {
limit = { has_domicile_building = reception_hall_03 }
add = 20
}
else_if = {
limit = { has_domicile_building = reception_hall_04 }
add = 30
}
else_if = {
limit = { has_domicile_building = reception_hall_05 }
add = 40
}
if = {
limit = { has_domicile_building = east_asian_estate_main_02 }
add = 10
}
else_if = {
limit = { has_domicile_building = east_asian_estate_main_03 }
add = 20
}
else_if = {
limit = { has_domicile_building = east_asian_estate_main_04 }
add = 30
}
else_if = {
limit = { has_domicile_building = east_asian_estate_main_05 }
add = 40
}
if = {
limit = { has_domicile_building = east_asian_estate_reception_hall_02 }
add = 10
}
else_if = {
limit = { has_domicile_building = east_asian_estate_reception_hall_03 }
add = 20
}
else_if = {
limit = { has_domicile_building = east_asian_estate_reception_hall_04 }
add = 30
}
else_if = {
limit = { has_domicile_building = east_asian_estate_reception_hall_05 }
add = 40
}
if = {
limit = { has_domicile_building = japanese_manor_office_01 }
add = 5
}
else_if = {
limit = { has_domicile_building = japanese_manor_office_02 }
add = 10
}
else_if = {
limit = { has_domicile_building = japanese_manor_office_03 }
add = 15
}
else_if = {
limit = { has_domicile_building = japanese_manor_office_04 }
add = 20
}
else_if = {
limit = { has_domicile_building = japanese_manor_office_05 }
add = 25
}
else_if = {
limit = { has_domicile_building = japanese_manor_office_06 }
add = 30
}
desc = appointment_investment_cap_estate_buildings
}
}
}
##### FAMILY ATTRIBUTES
house ?= {
add = {
value = 0
if = {
limit = { has_house_aspiration_parameter = increased_investment_cap_bonus_3 }
add = increased_investment_cap_bonus_3_value
}
else_if = {
limit = { has_house_aspiration_parameter = increased_investment_cap_bonus_2 }
add = increased_investment_cap_bonus_2_value
}
else_if = {
limit = { has_house_aspiration_parameter = increased_investment_cap_bonus_1 }
add = increased_investment_cap_bonus_1_value
}
desc = political_meddlers_attribute_name_desc
}
}
##### EXPANDED POWER BASE
save_temporary_value_as = temp_total
if = {
limit = { has_character_modifier = ep3_expanded_power_base_minor_modifier }
add = {
value = scope:temp_total
multiply = 0.10
round = yes
min = 25
desc = ep3_expanded_power_base_minor_modifier
}
}
if = {
limit = { has_character_modifier = ep3_expanded_power_base_medium_modifier }
add = {
value = scope:temp_total
multiply = 0.20
round = yes
min = 50
desc = ep3_expanded_power_base_medium_modifier
}
}
if = {
limit = { has_character_modifier = ep3_expanded_power_base_major_modifier }
add = {
value = scope:temp_total
multiply = 0.30
round = yes
min = 75
desc = ep3_expanded_power_base_major_modifier
}
}
##### MERIT
if = {
limit = { merit_level >= 1 }
add = {
value = {
add = merit_level
multiply = 5
}
desc = "[merit_level|E]"
}
}
##### CELESTIAL MINISTER
if = {
limit = {
is_councillor = yes
liege ?= {
tgp_has_access_to_ministry_trigger = yes
}
}
add = {
value = 10
desc = is_a_minister_desc
}
}
min = 0
}
}
dominant_family_threshold_value = 0.25
ep3_governor_yearly_8150_total_count_value = {
@ -4636,7 +4270,7 @@ number_vassals_converting_to_new_state_faith = {
target = root
value >= 30
}
faith != root.faith
rite != root.rite
NOT = { has_vassal_stance = zealot }
is_ai = yes
}
@ -4957,7 +4591,11 @@ replenishable_troops_max_gold_tt_value = {
}
replenishable_troops_provision_cost_value = {
value = scope:actor.replenishable_troops_value
value = 0
# some of them have per-type requirement
scope:actor = {
every_maa_regiment = { add = replenishable_troops_value }
}
max = scope:actor.domicile.max_provisions
multiply = -1
}
@ -5459,7 +5097,7 @@ ep3_governor_yearly_3070_governorship_value = {
ep3_found_despotate_control_total_value = {
value = 0
primary_title.kingdom = {
every_de_jure_county = { add = 1 }
add = list_size:de_jure_county
}
}
@ -5497,7 +5135,7 @@ number_of_counties_with_heresy_1 = {
top_liege = {
every_realm_county = {
limit = {
faith = scope:heresy_1
rite = scope:heresy_1
}
add = 1
}
@ -5509,7 +5147,7 @@ number_of_counties_with_heresy_2 = {
top_liege = {
every_realm_county = {
limit = {
faith = scope:heresy_2
rite = scope:heresy_2
}
add = 1
}
@ -5521,7 +5159,7 @@ number_of_counties_with_heresy_3 = {
top_liege = {
every_realm_county = {
limit = {
faith = scope:heresy_3
rite = scope:heresy_3
}
add = 1
}
@ -5532,7 +5170,7 @@ number_of_counties_with_heresy_acceptance = {
value = 0
every_realm_county = {
limit = {
faith = scope:heresy
rite = scope:heresy
}
add = 10
}
@ -5542,7 +5180,7 @@ number_of_vassals_with_heresy_acceptance = {
value = 0
every_vassal = {
limit = {
faith = scope:heresy
rite = scope:heresy
}
add = 5
}
@ -5787,14 +5425,9 @@ kennels_more_successful_hunts_2_value = 15
cultivated_sophistication_development_gain = minor_development_progress_gain
slander_appointment_score_value = -25
slander_acclamation_score_value = -50
promote_appointment_score_value = 30
promote_acclamation_score_value = 50
ep3_requested_faith_support_0_value = {
value = major_influence_gain
multiply = 1.5
}
ep3_requested_faith_support_1_value = {
value = ep3_requested_faith_support_0_value

View file

@ -449,7 +449,7 @@ holy_war_cb_piety_cost_multiplier = {
if = {
limit = {
scope:attacker = {
faith = { has_doctrine_parameter = cheaper_holy_wars_active }
rite = { rite_has_parameter = cheaper_holy_wars_active }
}
}
multiply = {
@ -701,6 +701,28 @@ common_cb_prestige_cost_multiplier = {
multiply = common_cb_cost_multiplier
}
vassalization_cb_prestige_cost_mulitiplier = {
value = 1
if = {
limit = {
scope:defender.primary_title.tier = tier_kingdom
}
multiply = {
value = 2
desc = CB_VASSALIZING_KING
}
}
else_if = {
limit = {
scope:defender.primary_title.tier = tier_empire
}
multiply = {
value = 4
desc = CB_VASSALIZING_EMPEROR
}
}
}
# Base Costs
claim_cb_prestige_cost = {
if = {
@ -756,6 +778,18 @@ claim_cb_prestige_cost = {
}
}
}
every_in_list = {
list = target_titles
limit = { tier = tier_hegemony }
add = {
value = 1600
if = {
# 25% cheaper to take Pressed claims.
limit = { scope:attacker = { has_strong_claim_on = prev } }
add = -400
}
}
}
# Player adventurers pay much more.
if = {
@ -807,14 +841,14 @@ claim_cb_prestige_cost = {
sex_opposite_of = scope:defender
}
OR = {
scope:attacker.faith = { has_doctrine = doctrine_gender_male_dominated }
scope:attacker.faith = { has_doctrine = doctrine_gender_female_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
multiply = {
if = {
limit = {
scope:attacker.faith = { has_doctrine = doctrine_gender_male_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
if = {
limit = { # 25% cheaper for men to press claims on female rulers in male-dominated societies.
@ -836,7 +870,7 @@ claim_cb_prestige_cost = {
}
else_if = {
limit = {
scope:attacker.faith = { has_doctrine = doctrine_gender_female_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
if = {
limit = { # 25% cheaper for women to press claims on male rulers in female-dominated societies.
@ -906,6 +940,11 @@ claim_cb_prestige_cost = {
limit = { tier = tier_empire }
add = 3000
}
every_in_list = {
list = target_titles
limit = { tier = tier_hegemony }
add = 5000
}
desc = "CB_CLAIM_COST_TARGET_TITLES"
}
if = {
@ -955,6 +994,9 @@ tribal_subjugation_cb_prestige_cost = {
if = {
limit = {
exists = scope:attacker.primary_title
}
if = {
limit = {
scope:attacker.primary_title = {
tier = tier_kingdom
}
@ -966,7 +1008,6 @@ tribal_subjugation_cb_prestige_cost = {
}
else_if = {
limit = {
exists = scope:attacker.primary_title
scope:attacker.primary_title = {
tier = tier_empire
}
@ -976,6 +1017,18 @@ tribal_subjugation_cb_prestige_cost = {
desc = CB_COST_RULES_EMPIRE
}
}
else_if = {
limit = {
scope:attacker.primary_title = {
tier = tier_hegemony
}
}
multiply = {
value = 3.5
desc = CB_COST_RULES_HEGEMONY
}
}
}
multiply = common_cb_prestige_cost_multiplier
}
@ -1011,6 +1064,13 @@ ancestor_cb_prestige_cost = {
value = 800
}
}
every_in_list = {
list = target_titles
limit = { tier = tier_hegemony }
add = {
value = 1600
}
}
desc = "CB_CLAIM_COST_TARGET_TITLES"
}
if = { # 50% cheaper for adults to take titles from child rulers.
@ -1050,14 +1110,14 @@ ancestor_cb_prestige_cost = {
sex_opposite_of = scope:defender
}
OR = {
scope:attacker.faith = { has_doctrine = doctrine_gender_male_dominated }
scope:attacker.faith = { has_doctrine = doctrine_gender_female_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
}
multiply = {
if = {
limit = {
scope:attacker.faith = { has_doctrine = doctrine_gender_male_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_male_dominated }
}
if = {
limit = { # 25% cheaper for men to press claims on female rulers in male-dominated societies.
@ -1079,7 +1139,7 @@ ancestor_cb_prestige_cost = {
}
else_if = {
limit = {
scope:attacker.faith = { has_doctrine = doctrine_gender_female_dominated }
scope:attacker.rite = { rite_has_doctrine = doctrine_gender_female_dominated }
}
if = {
limit = { # 25% cheaper for women to press claims on male rulers in female-dominated societies.

File diff suppressed because it is too large Load diff

View file

@ -29,6 +29,15 @@ inverted_spouse_skill_rating_4 = {
spouse_default_task_diplomacy_scale = {
add = diplomacy
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -43,6 +52,7 @@ spouse_default_task_diplomacy_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -50,6 +60,7 @@ spouse_default_task_diplomacy_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5
if = {
@ -69,6 +80,15 @@ spouse_default_task_diplomacy_scale = {
spouse_default_task_martial_scale = {
add = martial
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -83,6 +103,7 @@ spouse_default_task_martial_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -90,6 +111,7 @@ spouse_default_task_martial_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5
if = {
@ -109,6 +131,15 @@ spouse_default_task_martial_scale = {
spouse_default_task_intrigue_scale = {
add = intrigue
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -123,6 +154,7 @@ spouse_default_task_intrigue_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -130,6 +162,7 @@ spouse_default_task_intrigue_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5
if = {
@ -149,6 +182,15 @@ spouse_default_task_intrigue_scale = {
spouse_default_task_learning_scale = {
add = learning
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -163,6 +205,7 @@ spouse_default_task_learning_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -170,6 +213,7 @@ spouse_default_task_learning_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5
if = {
@ -189,6 +233,15 @@ spouse_default_task_learning_scale = {
spouse_default_task_stewardship_scale = {
add = stewardship
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -203,6 +256,7 @@ spouse_default_task_stewardship_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -210,6 +264,7 @@ spouse_default_task_stewardship_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5
if = {
@ -229,6 +284,15 @@ spouse_default_task_stewardship_scale = {
spouse_task_court_politics_scale = {
add = diplomacy
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -243,6 +307,7 @@ spouse_task_court_politics_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -250,6 +315,7 @@ spouse_task_court_politics_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2
if = {
@ -269,6 +335,15 @@ spouse_task_court_politics_scale = {
spouse_task_chivalry_scale = {
add = martial
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -283,6 +358,7 @@ spouse_task_chivalry_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -290,6 +366,7 @@ spouse_task_chivalry_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2
if = {
@ -309,6 +386,15 @@ spouse_task_chivalry_scale = {
spouse_task_court_intrigue_scale = {
add = intrigue
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -323,6 +409,7 @@ spouse_task_court_intrigue_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -330,6 +417,7 @@ spouse_task_court_intrigue_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2
if = {
@ -349,6 +437,15 @@ spouse_task_court_intrigue_scale = {
spouse_task_manage_domain_scale = {
add = stewardship
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -363,6 +460,7 @@ spouse_task_manage_domain_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -370,6 +468,7 @@ spouse_task_manage_domain_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2
if = {
@ -389,6 +488,15 @@ spouse_task_manage_domain_scale = {
spouse_task_patronage_scale = {
add = learning
scope:councillor_liege = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else = {
if = {
limit = {
has_perk = loyalty_and_respect_perk
@ -403,6 +511,7 @@ spouse_task_patronage_scale = {
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
}
if = {
limit = {
faith = {
@ -410,6 +519,7 @@ spouse_task_patronage_scale = {
}
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2
if = {

View file

@ -273,7 +273,7 @@ small_gold_tribute_value = {
scope:actor = { save_temporary_scope_as = tribute_target }
}
else = {
suzerain ?= { save_temporary_scope_as = tribute_target } #Temporary error fix until widgets are evaluated after is_shown on decisions TIT-67694
suzerain ?= { save_temporary_scope_as = tribute_target }
}
}
else = {
@ -282,7 +282,7 @@ small_gold_tribute_value = {
value = 0
if = {
limit = {
scope:tribute_target = { has_treasury = yes }
scope:tribute_target ?= { has_treasury = yes }
}
add = minor_treasury_value
}
@ -291,7 +291,7 @@ small_gold_tribute_value = {
}
if = {
limit = {
scope:tribute_target = {
scope:tribute_target ?= {
has_any_worst_bad_relationship_with_character_trigger = { CHARACTER = prev }
}
}
@ -299,14 +299,14 @@ small_gold_tribute_value = {
}
else_if = {
limit = {
scope:tribute_target = {
scope:tribute_target ?= {
has_any_bad_relationship_with_character_trigger = { CHARACTER = prev }
}
}
multiply = 1.25
}
max = {
scope:tribute_target.culture = {
scope:tribute_target.culture ?= {
if = {
limit = {
has_cultural_era_or_later = culture_era_late_medieval
@ -338,7 +338,7 @@ small_gold_tribute_value = {
}
floor = yes
if = {
limit = { scope:tribute_target = { highest_held_title_tier = tier_hegemony } }
limit = { scope:tribute_target ?= { highest_held_title_tier = tier_hegemony } }
if = {
limit = { primary_title.tier >= tier_empire }
min = 100
@ -429,7 +429,7 @@ adequate_gold_tribute_value = {
}
}
else = {
suzerain ?= { save_temporary_scope_as = tribute_target } #Temporary error fix until widgets are evaluated after is_shown on decisions TIT-67694
suzerain ?= { save_temporary_scope_as = tribute_target }
}
}
else = {
@ -438,7 +438,7 @@ adequate_gold_tribute_value = {
value = 0
if = {
limit = {
scope:tribute_target = { has_treasury = yes }
scope:tribute_target ?= { has_treasury = yes }
}
add = major_treasury_value
}
@ -447,7 +447,7 @@ adequate_gold_tribute_value = {
}
if = {
limit = {
scope:tribute_target = {
scope:tribute_target ?= {
has_any_worst_bad_relationship_with_character_trigger = { CHARACTER = prev }
}
}
@ -455,14 +455,14 @@ adequate_gold_tribute_value = {
}
else_if = {
limit = {
scope:tribute_target = {
scope:tribute_target ?= {
has_any_bad_relationship_with_character_trigger = { CHARACTER = prev }
}
}
multiply = 1.25
}
max = {
scope:tribute_target = {
scope:tribute_target ?= {
culture ?= {
if = {
limit = {
@ -496,7 +496,7 @@ adequate_gold_tribute_value = {
}
floor = yes
if = {
limit = { scope:tribute_target = { highest_held_title_tier = tier_hegemony } }
limit = { scope:tribute_target ?= { highest_held_title_tier = tier_hegemony } }
if = {
limit = { primary_title.tier >= tier_empire }
min = 150
@ -511,6 +511,7 @@ adequate_gold_tribute_value = {
}
excessive_gold_tribute_value = {
save_temporary_scope_as = tribute_target
if = {
limit = { is_tributary = no }
if = {
@ -587,7 +588,7 @@ excessive_gold_tribute_value = {
}
}
else = {
suzerain ?= { save_temporary_scope_as = tribute_target } #Temporary error fix until widgets are evaluated after is_shown on decisions TIT-67694
suzerain ?= { save_temporary_scope_as = tribute_target }
}
}
else = {
@ -596,7 +597,7 @@ excessive_gold_tribute_value = {
value = 0
if = {
limit = {
scope:tribute_target = { has_treasury = yes }
scope:tribute_target ?= { has_treasury = yes }
}
add = massive_treasury_value
}
@ -605,7 +606,7 @@ excessive_gold_tribute_value = {
}
if = {
limit = {
scope:tribute_target = {
scope:tribute_target ?= {
has_any_worst_bad_relationship_with_character_trigger = { CHARACTER = prev }
}
}
@ -613,14 +614,14 @@ excessive_gold_tribute_value = {
}
else_if = {
limit = {
scope:tribute_target = {
scope:tribute_target ?= {
has_any_bad_relationship_with_character_trigger = { CHARACTER = prev }
}
}
multiply = 1.25
}
max = {
scope:tribute_target.culture = {
scope:tribute_target.culture ?= {
if = {
limit = {
has_cultural_era_or_later = culture_era_late_medieval
@ -652,7 +653,7 @@ excessive_gold_tribute_value = {
}
floor = yes
if = {
limit = { scope:tribute_target = { highest_held_title_tier = tier_hegemony } }
limit = { scope:tribute_target ?= { highest_held_title_tier = tier_hegemony } }
if = {
limit = { primary_title.tier >= tier_empire }
min = 250

View file

@ -744,6 +744,18 @@ cranial_trophies_stolen_prestige_value = {
multiply = 0.25
}
cranial_trophies_stolen_prestige_spiritual_fulfillment_value = {
value = 0
if = {
limit = {
scope:dead_character.prestige > 0
}
add = scope:dead_character.prestige
}
multiply = 0.01
max = minor_spiritual_fulfillment_value
}
tgp_ai_concubine_soft_cap = {
value = max_number_of_concubines
multiply = 0.5
@ -815,7 +827,6 @@ innovation_cupellation_mine_tax_bonus_value = 0.15
innovation_champa_rice_tax_mult_value_1 = 0.02
innovation_champa_rice_levy_size_value_1 = 0.02
innovation_champa_rice_development_growth_factor_value_1 = 0.05
innovation_champa_rice_tax_mult_value_2 = 0.03
innovation_champa_rice_levy_size_value_2 = 0.03
innovation_champa_rice_development_growth_factor_value_2 = 0.05