script values

This commit is contained in:
Fishedotjpg 2026-11-18 13:42:11 +00:00
parent 9cfa9c0403
commit eaf472631b
12 changed files with 2553 additions and 2097 deletions

View file

@ -46,7 +46,7 @@ tiny_gold_max_value = {
} }
} }
} }
minor_gold_min_value = 15 minor_gold_min_value = 10
minor_gold_max_value_static = 150 minor_gold_max_value_static = 150
minor_gold_max_value = { minor_gold_max_value = {
value = minor_gold_max_value_static value = minor_gold_max_value_static
@ -79,7 +79,7 @@ minor_gold_max_value = {
} }
} }
} }
medium_gold_min_value = 50 medium_gold_min_value = 20
medium_gold_max_value_static = 300 medium_gold_max_value_static = 300
medium_gold_max_value = { medium_gold_max_value = {
value = medium_gold_max_value_static value = medium_gold_max_value_static
@ -112,7 +112,7 @@ medium_gold_max_value = {
} }
} }
} }
major_gold_min_value = 75 major_gold_min_value = 30
major_gold_max_value_static = 500 major_gold_max_value_static = 500
major_gold_max_value = { major_gold_max_value = {
value = major_gold_max_value_static value = major_gold_max_value_static
@ -145,7 +145,7 @@ major_gold_max_value = {
} }
} }
} }
massive_gold_min_value = 100 massive_gold_min_value = 40
massive_gold_max_value_static = 750 massive_gold_max_value_static = 750
massive_gold_max_value = { massive_gold_max_value = {
value = massive_gold_max_value_static value = massive_gold_max_value_static
@ -178,7 +178,7 @@ massive_gold_max_value = {
} }
} }
} }
monumental_gold_min_value = 200 monumental_gold_min_value = 80
monumental_gold_max_value_static = 1500 monumental_gold_max_value_static = 1500
monumental_gold_max_value = { monumental_gold_max_value = {
value = monumental_gold_max_value_static value = monumental_gold_max_value_static
@ -661,6 +661,56 @@ highest_skill_value = {
else = { add = learning } else = { add = learning }
} }
diplomacy_double_value = {
value = diplomacy
multiply = 2
}
martial_double_value = {
value = martial
multiply = 2
}
stewardship_double_value = {
value = stewardship
multiply = 2
}
intrigue_double_value = {
value = intrigue
multiply = 2
}
learning_double_value = {
value = learning
multiply = 2
}
prowess_double_value = {
value = prowess
multiply = 2
}
diplomacy_half_value = {
value = diplomacy
divide = 2
}
martial_half_value = {
value = martial
divide = 2
}
stewardship_half_value = {
value = stewardship
divide = 2
}
intrigue_half_value = {
value = intrigue
divide = 2
}
learning_half_value = {
value = learning
divide = 2
}
prowess_half_value = {
value = learning
divide = 2
}
#Piety ratings #Piety ratings
low_negative_piety_level = -1 low_negative_piety_level = -1
low_piety_level = 1 low_piety_level = 1
@ -1490,46 +1540,46 @@ medium_negative_attraction = -20
high_negative_attraction = -30 high_negative_attraction = -30
#DEVELOPMENT LEVEL VALUES #PROSPERITY LEVEL VALUES
terrible_development_level = 10 terrible_prosperity_level = 10
bad_development_level = 20 bad_prosperity_level = 20
medium_development_level = 40 medium_prosperity_level = 40
good_development_level = 60 good_prosperity_level = 60
great_development_level = 80 great_prosperity_level = 80
max_development_level = 100 max_prosperity_level = 100
#DEVELOPMENT CHANGE VALUES #PROSPERITY CHANGE VALUES
minor_development_level_loss = -10 minor_prosperity_level_loss = -10
medium_development_level_loss = -20 medium_prosperity_level_loss = -20
major_development_level_loss = -30 major_prosperity_level_loss = -30
minor_development_level_gain = 10 minor_prosperity_level_gain = 10
medium_development_level_gain = 20 medium_prosperity_level_gain = 20
major_development_level_gain = 30 major_prosperity_level_gain = 30
#DEVELOPMENT PROGRESS VALUES #PROSPERITY PROGRESS VALUES
minimal_development_progress_loss = -10 minimal_prosperity_progress_loss = -10
minor_development_progress_loss = -20 minor_prosperity_progress_loss = -20
medium_development_progress_loss = -40 medium_prosperity_progress_loss = -40
major_development_progress_loss = -80 major_prosperity_progress_loss = -80
massive_development_progress_loss = -100 massive_prosperity_progress_loss = -100
minimal_development_progress_gain = 10 minimal_prosperity_progress_gain = 10
minor_development_progress_gain = 20 minor_prosperity_progress_gain = 20
medium_development_progress_gain = 40 medium_prosperity_progress_gain = 40
major_development_progress_gain = 80 major_prosperity_progress_gain = 80
massive_development_progress_ = 100 massive_prosperity_progress_gain = 100
#DEVELOPMENT GROWTH VALUES #PROSPERITY GROWTH VALUES
tiny_development_growth_gain = 0.05 tiny_prosperity_growth_gain = 0.05
small_development_growth_gain = 0.1 small_prosperity_growth_gain = 0.1
medium_development_growth_gain = 0.2 medium_prosperity_growth_gain = 0.2
large_development_growth_gain = 0.3 large_prosperity_growth_gain = 0.3
very_large_development_growth_gain = 0.5 very_large_prosperity_growth_gain = 0.5
tiny_development_growth_loss = -0.1 tiny_prosperity_growth_loss = -0.1
small_development_growth_loss = -0.2 small_prosperity_growth_loss = -0.2
medium_development_growth_loss = -0.3 medium_prosperity_growth_loss = -0.3
large_development_growth_loss = -0.5 large_prosperity_growth_loss = -0.5
very_large_development_growth_loss = -0.8 very_large_prosperity_growth_loss = -0.8
#HEALTH #HEALTH
excellent_health = 7 excellent_health = 7
@ -1690,10 +1740,10 @@ send_gift_opinion = {
add = { add = {
if = { if = {
limit = { limit = {
scope:actor.diplomacy > 0 scope:puppet_or_actor.diplomacy > 0
} }
add = { add = {
value = scope:actor.diplomacy value = scope:puppet_or_actor.diplomacy
multiply = 3 multiply = 3
} }
} }
@ -1708,19 +1758,19 @@ send_gift_opinion = {
} }
if = { if = {
limit = { limit = {
scope:recipient.liege = scope:actor scope:recipient.liege = scope:puppet_or_actor
} }
divide = 1.5 divide = 1.5
} }
if = { if = {
limit = { limit = {
scope:recipient = scope:actor.faith.religious_head scope:recipient = scope:puppet_or_actor.faith.religious_head
} }
divide = 3 divide = 3
} }
if = { if = {
limit = { limit = {
scope:actor.culture ?= { scope:puppet_or_actor.culture ?= {
has_innovation = fp3_innovation_fritware has_innovation = fp3_innovation_fritware
} }
} }
@ -1730,7 +1780,7 @@ send_gift_opinion = {
} }
if = { if = {
limit = { limit = {
scope:actor.culture = { has_cultural_parameter = more_gift_opinion } scope:puppet_or_actor.culture = { has_cultural_parameter = more_gift_opinion }
} }
multiply = 1.2 multiply = 1.2
} }
@ -1751,7 +1801,7 @@ send_gift_opinion = {
limit = { limit = {
scope:actor = { scope:actor = {
any_sub_realm_barony = { any_sub_realm_barony = {
county.holder = scope:actor county.holder = scope:puppet_or_actor
title_province = { title_province = {
has_building_or_higher = dragon_kiln_01 has_building_or_higher = dragon_kiln_01
} }
@ -1762,9 +1812,9 @@ send_gift_opinion = {
} }
if = { if = {
limit = { limit = {
scope:actor = { has_perk = thoughtful_perk } scope:puppet_or_actor = { has_perk = thoughtful_perk }
} }
multiply = 2 multiply = 1.25
} }
if = { if = {
limit = { limit = {
@ -1772,7 +1822,7 @@ send_gift_opinion = {
has_personal_tenet_flag = tenet_simony_personal_gifts has_personal_tenet_flag = tenet_simony_personal_gifts
} }
} }
multiply = 2 multiply = 1.25
} }
} }
@ -1793,6 +1843,16 @@ gift_artifact_opinion = {
add = 50 add = 50
} }
else = { add = 100 } else = { add = 100 }
# Menagerie Creatures are special
if = {
limit = {
OR = {
artifact_type = creature
has_variable = was_creature_artifact
}
}
add = 25
}
if = { # AI Greed if = { # AI Greed
limit = { scope:recipient.ai_greed > 0 } limit = { scope:recipient.ai_greed > 0 }
multiply = { # Up to *2 multiply = { # Up to *2
@ -1848,11 +1908,24 @@ gift_artifact_opinion = {
can_benefit_from_artifact = scope:target can_benefit_from_artifact = scope:target
} }
} }
# Creature artifacts always nice because they become Court Artifacts upon gifting
scope:target = {
NOR = {
artifact_type = creature
has_variable = was_creature_artifact
}
}
} }
divide = 10 # 1/10 for useless artifacts divide = 10 # 1/10 for useless artifacts
} }
else_if = { else_if = {
limit = { limit = {
scope:target = {
NOR = {
artifact_type = creature
has_variable = was_creature_artifact
}
}
scope:recipient = { scope:recipient = {
OR = { OR = {
NOT = { can_equip_artifact = scope:target } NOT = { can_equip_artifact = scope:target }
@ -2094,6 +2167,7 @@ divorce_cost = 100
#PERKS #PERKS
sound_foundations_max = 5 sound_foundations_max = 5
embassies_max = 5 embassies_max = 5
merchant_embassies_max = 5
friendly_counsel_max = 5 friendly_counsel_max = 5
decentralized_rule_max = 5 decentralized_rule_max = 5
confidants_max = 5 confidants_max = 5

File diff suppressed because it is too large Load diff

View file

@ -94,8 +94,16 @@ revoke_title_culture_acceptance_impact = {
min = 1 min = 1
} }
multiply = 15 #Same as used in grant above multiply = 15 #Same as used in grant above
#GG modifier: Just stop, HRE
min = 0.5 if = {
limit = {
scope:actor = {
gg_hre_causes_additional_tyranny_trigger = { TARGET = scope:recipient }
}
}
min = 2
}
else = { min = 0.5 }
max = 15 max = 15
} }
} }
@ -1003,6 +1011,7 @@ traditionalist_discount = {
court_position_aptitude_eunuch_tradition_value = { court_position_aptitude_eunuch_tradition_value = {
if = { if = {
limit = { limit = {
has_trait = eunuch
liege.culture ?= { liege.culture ?= {
OR = { OR = {
has_cultural_parameter = eunuch_trait_bonuses has_cultural_parameter = eunuch_trait_bonuses
@ -1048,3 +1057,5 @@ court_position_aptitude_boon_voyager_trait = {
} }
} }
} }
isolationist_marriage_penalty_value = -100

View file

@ -6,7 +6,7 @@
# Costs # # Costs #
######### #########
@high_maint_mult = 3 @high_maint_mult = 2.5
### Base Cost Values ### Base Cost Values
@skirmisher_recruitment_cost = 45 @skirmisher_recruitment_cost = 45
@ -21,36 +21,32 @@
@militia_low_maint_cost = 0.15 @militia_low_maint_cost = 0.15
@militia_high_maint_cost = @[militia_low_maint_cost * high_maint_mult] @militia_high_maint_cost = @[militia_low_maint_cost * high_maint_mult]
@archers_recruitment_cost = 55 @archers_recruitment_cost = 20
@archers_low_maint_cost = 0.2 @archers_low_maint_cost = 0.3
@archers_high_maint_cost = @[archers_low_maint_cost * high_maint_mult] @archers_high_maint_cost = @[archers_low_maint_cost * high_maint_mult]
@pikemen_recruitment_cost = 75 @pikemen_recruitment_cost = 25
@pikemen_low_maint_cost = 0.3 @pikemen_low_maint_cost = 0.45
@pikemen_high_maint_cost = @[pikemen_low_maint_cost * high_maint_mult] @pikemen_high_maint_cost = @[pikemen_low_maint_cost * high_maint_mult]
@heavy_infantry_recruitment_cost = 90 @heavy_infantry_recruitment_cost = 30
@heavy_infantry_low_maint_cost = 0.4 @heavy_infantry_low_maint_cost = 0.6
@heavy_infantry_high_maint_cost = @[heavy_infantry_low_maint_cost * high_maint_mult] @heavy_infantry_high_maint_cost = @[heavy_infantry_low_maint_cost * high_maint_mult]
@super_heavy_infantry_recruitment_cost = 200 @light_cavalry_recruitment_cost = 30
@super_heavy_infantry_low_maint_cost = 0.8 @light_cavalry_low_maint_cost = 0.55
@super_heavy_infantry_high_maint_cost = @[super_heavy_infantry_low_maint_cost * high_maint_mult]
@light_cavalry_recruitment_cost = 85
@light_cavalry_low_maint_cost = 0.35
@light_cavalry_high_maint_cost = @[light_cavalry_low_maint_cost * high_maint_mult] @light_cavalry_high_maint_cost = @[light_cavalry_low_maint_cost * high_maint_mult]
@heavy_cavalry_recruitment_cost = 200 @heavy_cavalry_recruitment_cost = 65
@heavy_cavalry_low_maint_cost = 0.7 @heavy_cavalry_low_maint_cost = 1.05
@heavy_cavalry_high_maint_cost = @[heavy_cavalry_low_maint_cost * high_maint_mult] @heavy_cavalry_high_maint_cost = @[heavy_cavalry_low_maint_cost * high_maint_mult]
@siege_weapons_recruitment_cost = 60 @siege_weapons_recruitment_cost = 20
@siege_weapons_low_maint_cost = 0.1 @siege_weapons_low_maint_cost = 0.15
@siege_weapons_high_maint_cost = @[siege_weapons_low_maint_cost * high_maint_mult] @siege_weapons_high_maint_cost = @[siege_weapons_low_maint_cost * high_maint_mult]
@gunpowder_recruitment_cost = 76 @gunpowder_recruitment_cost = 25
@gunpowder_low_maint_cost = 0.35 @gunpowder_low_maint_cost = 0.55
@gunpowder_high_maint_cost = @[gunpowder_low_maint_cost * high_maint_mult] @gunpowder_high_maint_cost = @[gunpowder_low_maint_cost * high_maint_mult]
@ -166,6 +162,10 @@ picchieri_recruitment_cost = @[pikemen_recruitment_cost * 1.3]
picchieri_low_maint_cost = @[pikemen_low_maint_cost * 1.3] picchieri_low_maint_cost = @[pikemen_low_maint_cost * 1.3]
picchieri_high_maint_cost = @[pikemen_high_maint_cost * 1.3] picchieri_high_maint_cost = @[pikemen_high_maint_cost * 1.3]
condottieri_recruitment_cost = @[heavy_cavalry_recruitment_cost * 1.1]
condottieri_low_maint_cost = @[heavy_cavalry_low_maint_cost * 1.1]
condottieri_high_maint_cost = @[heavy_cavalry_high_maint_cost * 1.1]
praetorian_recruitment_cost = @[heavy_infantry_recruitment_cost * 2] praetorian_recruitment_cost = @[heavy_infantry_recruitment_cost * 2]
praetorian_low_maint_cost = @[heavy_infantry_low_maint_cost * 2] praetorian_low_maint_cost = @[heavy_infantry_low_maint_cost * 2]
praetorian_high_maint_cost = @[heavy_infantry_high_maint_cost * 2] praetorian_high_maint_cost = @[heavy_infantry_high_maint_cost * 2]
@ -1077,17 +1077,17 @@ gunpowder_raise_limit_existing_gunpowder_buildings = {
every_directly_owned_province = { every_directly_owned_province = {
limit = { limit = {
has_building_or_higher = powder_magazine_01 has_building_or_higher = powder_mills_1
} }
if = { if = {
limit = { limit = {
has_building_or_higher = powder_magazine_07 has_building_or_higher = powder_mills_5
} }
add = gunpowder_building_limit_bonus_3 add = gunpowder_building_limit_bonus_3
} }
else_if = { else_if = {
limit = { limit = {
has_building_or_higher = powder_magazine_04 has_building_or_higher = powder_mills_3
} }
add = gunpowder_building_limit_bonus_2 add = gunpowder_building_limit_bonus_2
} }

View file

@ -34,6 +34,7 @@
} }
} }
min = 1 min = 1
divide = 4
} }
} }
@ -126,6 +127,7 @@ starting_treasury = {
multiply = 4.5 multiply = 4.5
} }
} }
divide = 3
} }
} }
@ -1215,6 +1217,8 @@ culture_acceptance_baseline = {
if = { if = {
limit = { limit = {
has_same_culture_ethos = scope:culture has_same_culture_ethos = scope:culture
# The pluralistic check below reuses this proximity result
save_temporary_scope_as = proximity_checked
OR = { OR = {
cultures_share_relevant_region_trigger = yes cultures_share_relevant_region_trigger = yes
#In case cultures are bordering each other in two different regions #In case cultures are bordering each other in two different regions
@ -1224,6 +1228,7 @@ culture_acceptance_baseline = {
} }
} }
} }
save_temporary_scope_as = proximity_shared
} }
add = { add = {
value = 10 value = 10
@ -1334,12 +1339,18 @@ culture_acceptance_baseline = {
} }
} }
} }
OR = { trigger_if = {
cultures_share_relevant_region_trigger = yes limit = { exists = scope:proximity_checked }
#In case cultures are bordering each other in two different regions exists = scope:proximity_shared
any_culture_county = { }
any_neighboring_county = { trigger_else = {
culture = scope:culture OR = {
cultures_share_relevant_region_trigger = yes
#In case cultures are bordering each other in two different regions
any_culture_county = {
any_neighboring_county = {
culture = scope:culture
}
} }
} }
} }

View file

@ -60,16 +60,16 @@ meditation_duration = 185 # In days
local_shrine_duration = 14 local_shrine_duration = 14
faction_county_opinion_astray = { faction_popular_opinion_astray = {
value = county_opinion value = popular_opinion
multiply = -1.0 multiply = -1.0
} }
faction_county_opinion_hostile = { faction_popular_opinion_hostile = {
value = county_opinion value = popular_opinion
multiply = -2.5 multiply = -2.5
} }
faction_county_opinion_evil = { faction_popular_opinion_evil = {
value = county_opinion value = popular_opinion
multiply = -5.0 multiply = -5.0
} }
@ -96,7 +96,7 @@ head_of_faith_selection_weight = {
if = { if = {
limit = { limit = {
any_sub_realm_barony = { any_sub_realm_barony = {
is_holy_site_of = root.faith is_holy_site_of = prev.faith
} }
} }
add = 40 add = 40
@ -126,7 +126,7 @@ head_of_faith_selection_weight = {
add = { add = {
value = diplomacy value = diplomacy
multiply = 1 multiply = 1
} }
} }
################ ################
# Demand Conversion chance calculation # Demand Conversion chance calculation
@ -278,7 +278,7 @@ demand_conversion_likelihood_calculation = {
} }
add = spiritual_fulfillment_harder_conversion_value add = spiritual_fulfillment_harder_conversion_value
} }
if = { if = {
limit = { limit = {
has_trait = zealous has_trait = zealous
@ -310,9 +310,9 @@ demand_conversion_likelihood_calculation = {
} }
add = 50 add = 50
} }
if = { if = {
limit = { limit = {
scope:recipient = { scope:recipient = {
@ -492,7 +492,7 @@ great_holy_war_target_kingdom_weight = {
} }
add = ghw_target_existing_same_faith_ruler add = ghw_target_existing_same_faith_ruler
} }
### 2 ### ### 2 ###
### Abrahamics & Zoroastrians ### Abrahamics & Zoroastrians
# Documentation = { # Documentation = {
@ -518,7 +518,7 @@ great_holy_war_target_kingdom_weight = {
# ghw_region_germanic # fringe # ghw_region_germanic # fringe
# ghw_region_central_european # fringe # ghw_region_central_european # fringe
# ghw_region_baltic # stretch # ghw_region_baltic # stretch
# Islam # Islam
# ghw_region_holy_land # heartlands # ghw_region_holy_land # heartlands
# ghw_region_arabia # heartlands # ghw_region_arabia # heartlands
@ -1069,7 +1069,7 @@ great_holy_war_target_kingdom_weight = {
} }
add = ghw_target_fringe add = ghw_target_fringe
} }
### Pagans ### Pagans
# Norse heartlands # Norse heartlands
else_if = { else_if = {
@ -1701,7 +1701,7 @@ great_holy_war_target_kingdom_weight = {
} }
add = ghw_target_fringe add = ghw_target_fringe
} }
### Eastern ### Eastern
# Hindu heartlands # Hindu heartlands
else_if = { else_if = {
@ -3111,8 +3111,8 @@ great_holy_war_target_kingdom_weight = {
} }
} }
} }
# Weigh down certain areas slightly # Weigh down certain areas slightly
if = { if = {
limit = { limit = {
OR = { OR = {
@ -3302,13 +3302,13 @@ holy_war_defensive_join_value = {
desc = "zealous_personality" desc = "zealous_personality"
value = ai_zeal value = ai_zeal
} }
add = { add = {
desc = "bold_personality" desc = "bold_personality"
value = ai_boldness value = ai_boldness
divide = 2 divide = 2
} }
add = { # More fervent faiths are likelier to defend themselves en masse add = { # More fervent faiths are likelier to defend themselves en masse
desc = "high_fervor" desc = "high_fervor"
value = faith.fervor value = faith.fervor
@ -3320,7 +3320,7 @@ holy_war_defensive_join_value = {
divide = 2 # Max 10 if not zealous divide = 2 # Max 10 if not zealous
} }
} }
if = { if = {
limit = { limit = {
has_relation_rival = scope:attacker has_relation_rival = scope:attacker
@ -3353,7 +3353,7 @@ holy_war_defensive_join_value = {
value = -100 value = -100
} }
} }
if = { if = {
limit = { limit = {
OR = { OR = {
@ -3366,7 +3366,7 @@ holy_war_defensive_join_value = {
value = 200 value = 200
} }
} }
# Less Likely if you dislike the target # Less Likely if you dislike the target
if = { if = {
limit = { limit = {
@ -3378,7 +3378,7 @@ holy_war_defensive_join_value = {
value = -25 value = -25
} }
} }
# Much Less Likely if you really dislike the target # Much Less Likely if you really dislike the target
if = { if = {
limit = { limit = {
@ -3418,10 +3418,10 @@ rite_creation_cost_mult = {
# Modify (multiply) the doctrine cost when converting to a faith. # Modify (multiply) the doctrine cost when converting to a faith.
# The returned value is interpreted as a multiplicative modifier (e.g. 0.5 means +50% cost). # The returned value is interpreted as a multiplicative modifier (e.g. 0.5 means +50% cost).
# scope:character = the converting character # scope:character = the converting character
# scope:new_faith = the faith the character is converting to # scope:new_rite = the rite the character is converting to
# There should be no subtract equal or higher than 1 # There should be no subtract equal or higher than 1
faith_conversion_cost_mult = { faith_conversion_cost_mult = {
#Adding 1 to apply properly the following multipliers #Adding 1 to apply properly the following multipliers
add = { add = {
value = 1 value = 1
@ -3449,17 +3449,17 @@ faith_conversion_cost_mult = {
multiply = { multiply = {
value = 1 value = 1
add = { add = {
value = scope:new_faith.faith_conversion_fervor_mult value = scope:new_rite.faith.faith_conversion_fervor_mult
subtract = scope:character.faith.faith_conversion_fervor_mult subtract = scope:character.faith.faith_conversion_fervor_mult
desc = "faith_conversion_cost_fervor_difference" desc = "faith_conversion_cost_fervor_difference"
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
} }
} }
} }
# Try to always be cheaper than creating a new faith # Try to always be cheaper than creating a new faith
if = { if = {
limit = { limit = {
scope:new_faith.religion = scope:character.faith.religion scope:new_rite.faith.religion = scope:character.faith.religion
} }
multiply = { multiply = {
value = 1 value = 1
@ -3484,7 +3484,7 @@ faith_conversion_cost_mult = {
# Pluralistic faiths have it easier converting to each other # Pluralistic faiths have it easier converting to each other
if = { if = {
limit = { limit = {
scope:new_faith.main_rite = { rite_has_doctrine = doctrine_pluralism_pluralistic } scope:new_rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
scope:character.rite = { rite_has_doctrine = doctrine_pluralism_pluralistic } scope:character.rite = { rite_has_doctrine = doctrine_pluralism_pluralistic }
} }
multiply = { multiply = {
@ -3516,7 +3516,7 @@ faith_conversion_cost_mult = {
############################################################### ###############################################################
if = { if = {
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
has_doctrine_parameter = unreformed has_doctrine_parameter = unreformed
} }
} }
@ -3538,7 +3538,7 @@ faith_conversion_cost_mult = {
value = 5 value = 5
} }
} }
} }
# Minor stacking penalties depending on (non-tribal) government form. # Minor stacking penalties depending on (non-tribal) government form.
@ -3595,7 +3595,7 @@ faith_conversion_cost_mult = {
#More expensive to convert to a dead religion #More expensive to convert to a dead religion
if = { if = {
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
religion = { religion = {
any_faith = { any_faith = {
count = all count = all
@ -3620,7 +3620,7 @@ faith_conversion_cost_mult = {
# More expensive if you convert to a faith outside of your religion's family # More expensive if you convert to a faith outside of your religion's family
if = { if = {
limit = { limit = {
scope:new_faith = { has_doctrine = special_doctrine_immaterial_harmony } scope:new_rite.faith = { has_doctrine = special_doctrine_immaterial_harmony }
scope:character.faith = { has_doctrine = special_doctrine_immaterial_harmony } scope:character.faith = { has_doctrine = special_doctrine_immaterial_harmony }
} }
multiply = { multiply = {
@ -3634,7 +3634,7 @@ faith_conversion_cost_mult = {
} }
else_if = { else_if = {
limit = { limit = {
NOT = { scope:new_faith = { faith_is_in_same_rf = { FAITH = scope:character.faith } } } NOT = { scope:new_rite.faith = { faith_is_in_same_rf = { FAITH = scope:character.faith } } }
} }
multiply = { multiply = {
value = 1 value = 1
@ -3645,11 +3645,11 @@ faith_conversion_cost_mult = {
} }
} }
} }
# Unreformed Faiths have an easier way converting to Organized faiths # Unreformed Faiths have an easier way converting to Organized faiths
if = { if = {
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
} }
scope:character.faith = { has_doctrine_parameter = unreformed } scope:character.faith = { has_doctrine_parameter = unreformed }
@ -3669,7 +3669,7 @@ faith_conversion_cost_mult = {
scope:character = { scope:character = {
any_courtier = { any_courtier = {
has_character_flag = suzerains_missionary has_character_flag = suzerains_missionary
faith = scope:new_faith rite = scope:new_rite
} }
} }
} }
@ -3682,11 +3682,11 @@ faith_conversion_cost_mult = {
} }
} }
} }
# More expensive to convert to something inside your religion family that's not the same religion # More expensive to convert to something inside your religion family that's not the same religion
if = { if = {
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
religion != scope:character.religion religion != scope:character.religion
faith_is_in_same_rf = { FAITH = scope:character.faith } faith_is_in_same_rf = { FAITH = scope:character.faith }
} }
@ -3712,14 +3712,14 @@ faith_conversion_cost_mult = {
any_in_list = { any_in_list = {
variable = humsacd_hofs variable = humsacd_hofs
faith_hostility_level = { faith_hostility_level = {
target = scope:new_faith target = scope:new_rite.faith
value <= faith_astray_level value <= faith_astray_level
} }
} }
} }
# Exemptions for people who already practice HumSac: they're likely not happy, but it's not the ultimate taboo for them. # Exemptions for people who already practice HumSac: they're likely not happy, but it's not the ultimate taboo for them.
scope:new_faith = { scope:new_rite = {
NOT = { has_doctrine_parameter = human_sacrifice_active } NOT = { rite_has_parameter = human_sacrifice_active }
} }
} }
multiply = { multiply = {
@ -3747,7 +3747,7 @@ faith_conversion_cost_mult = {
} }
if = { # Even cheaper if unreformed if = { # Even cheaper if unreformed
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
} }
scope:character = { scope:character = {
@ -3757,7 +3757,7 @@ faith_conversion_cost_mult = {
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_unreformed_holy_war desc = faith_conversion_cost_unreformed_holy_war
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3767,7 +3767,7 @@ faith_conversion_cost_mult = {
} }
else = { # But still a sizable discount otherwise. else = { # But still a sizable discount otherwise.
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_holy_war desc = faith_conversion_cost_holy_war
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3781,13 +3781,13 @@ faith_conversion_cost_mult = {
limit = { limit = {
scope:character = { scope:character = {
any_spouse = { any_spouse = {
faith = scope:new_faith rite = scope:new_rite
} }
} }
} }
if = { # Even cheaper if unreformed if = { # Even cheaper if unreformed
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
} }
scope:character = { scope:character = {
@ -3797,7 +3797,7 @@ faith_conversion_cost_mult = {
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_unreformed_spouse desc = faith_conversion_cost_unreformed_spouse
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3805,9 +3805,9 @@ faith_conversion_cost_mult = {
} }
} }
} }
else = { # But still a sizable discount otherwise. else = { # But still a sizable discount otherwise.
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_spouse desc = faith_conversion_cost_spouse
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3821,13 +3821,13 @@ faith_conversion_cost_mult = {
limit = { limit = {
scope:character = { scope:character = {
any_concubine = { any_concubine = {
faith = scope:new_faith rite = scope:new_rite
} }
} }
} }
if = { # Even cheaper if unreformed if = { # Even cheaper if unreformed
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
NOT = { has_doctrine_parameter = unreformed } NOT = { has_doctrine_parameter = unreformed }
} }
scope:character = { scope:character = {
@ -3837,7 +3837,7 @@ faith_conversion_cost_mult = {
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_unreformed_concubine desc = faith_conversion_cost_unreformed_concubine
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3846,9 +3846,9 @@ faith_conversion_cost_mult = {
} }
} }
else = { # But still a sizable discount otherwise. else = { # But still a sizable discount otherwise.
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_concubine desc = faith_conversion_cost_concubine
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3863,21 +3863,21 @@ faith_conversion_cost_mult = {
scope:character = { scope:character = {
OR = { OR = {
any_neighboring_top_liege_realm_owner = { any_neighboring_top_liege_realm_owner = {
faith = scope:new_faith rite = scope:new_rite
} }
any_vassal = { any_vassal = {
faith = scope:new_faith rite = scope:new_rite
} }
any_realm_province = { any_realm_province = {
faith = scope:new_faith rite = scope:new_rite
} }
liege ?= { liege ?= {
faith = scope:new_faith rite = scope:new_rite
} }
liege ?= { liege ?= {
any_vassal = { any_vassal = {
faith = scope:new_faith rite = scope:new_rite
} }
} }
} }
@ -3885,12 +3885,12 @@ faith_conversion_cost_mult = {
} }
if = { if = {
limit = { limit = {
scope:new_faith = { scope:new_rite.faith = {
NOT = { faith_is_in_same_rf = { FAITH = scope:character.faith } } NOT = { faith_is_in_same_rf = { FAITH = scope:character.faith } }
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_present desc = faith_conversion_cost_present
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3900,10 +3900,10 @@ faith_conversion_cost_mult = {
} }
else_if = { else_if = {
limit = { limit = {
scope:new_faith.religion != scope:character.religion scope:new_rite.faith.religion != scope:character.religion
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_present desc = faith_conversion_cost_present
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3913,7 +3913,7 @@ faith_conversion_cost_mult = {
} }
else = { else = {
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_present desc = faith_conversion_cost_present
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3929,12 +3929,12 @@ faith_conversion_cost_mult = {
any_character_struggle = { any_character_struggle = {
involvement = interloper involvement = interloper
has_struggle_phase_parameter = cheaper_to_convert_to_struggle_faith has_struggle_phase_parameter = cheaper_to_convert_to_struggle_faith
is_faith_involved_in_struggle = scope:new_faith is_faith_involved_in_struggle = scope:new_rite.faith
} }
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = struggle_parameter_cheaper_to_convert_to_struggle_faith desc = struggle_parameter_cheaper_to_convert_to_struggle_faith
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3949,7 +3949,7 @@ faith_conversion_cost_mult = {
if = { if = {
limit = { limit = {
scope:new_faith.religion = religion:confucianism_religion scope:new_rite.faith.religion = religion:confucianism_religion
scope:character = { scope:character = {
has_trait = confucian_education has_trait = confucian_education
has_trait_xp = { has_trait_xp = {
@ -3968,7 +3968,7 @@ faith_conversion_cost_mult = {
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_confucian_education desc = faith_conversion_cost_confucian_education
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -3986,7 +3986,7 @@ faith_conversion_cost_mult = {
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_confucian_education desc = faith_conversion_cost_confucian_education
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -4004,7 +4004,7 @@ faith_conversion_cost_mult = {
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_confucian_education desc = faith_conversion_cost_confucian_education
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -4014,7 +4014,7 @@ faith_conversion_cost_mult = {
} }
else = { else = {
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_confucian_education desc = faith_conversion_cost_confucian_education
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -4027,7 +4027,7 @@ faith_conversion_cost_mult = {
######################################## ########################################
# Conversion Discounts from Traditions # # Conversion Discounts from Traditions #
######################################## ########################################
# scope:new_faith.religion = scope:character.faith.religion # scope:new_rite.faith.religion = scope:character.faith.religion
# Pacifism Tenet # Pacifism Tenet
if = { if = {
@ -4038,15 +4038,13 @@ faith_conversion_cost_mult = {
has_cultural_parameter = reduced_cost_for_conversion_to_pacifist_faith has_cultural_parameter = reduced_cost_for_conversion_to_pacifist_faith
} }
} }
scope:new_faith = { scope:new_rite = {
main_rite = { rite_has_tenet = tenet_pacifism
rite_has_tenet = tenet_pacifism
}
} }
} }
} }
multiply = { multiply = {
value = 1 value = 1
subtract = { subtract = {
desc = faith_conversion_cost_tradition desc = faith_conversion_cost_tradition
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD" format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
@ -4063,7 +4061,7 @@ faith_conversion_cost_mult = {
scope:character = { scope:character = {
exists = var:discounted_faith_to_convert_to_var exists = var:discounted_faith_to_convert_to_var
} }
scope:character.var:discounted_faith_to_convert_to_var = scope:new_faith scope:character.var:discounted_faith_to_convert_to_var = scope:new_rite.faith
} }
multiply = { multiply = {
value = 1 value = 1
@ -4079,7 +4077,7 @@ faith_conversion_cost_mult = {
scope:character = { scope:character = {
has_character_modifier = mpo_islam_conversion_modifier has_character_modifier = mpo_islam_conversion_modifier
} }
scope:new_faith = { religion = religion:islam_religion } scope:new_rite.faith = { religion = religion:islam_religion }
} }
multiply = { multiply = {
value = 1 value = 1
@ -4095,7 +4093,7 @@ faith_conversion_cost_mult = {
scope:character = { scope:character = {
has_variable = japan_1010_discount has_variable = japan_1010_discount
} }
scope:new_faith = var:japan_1010_discount scope:new_rite.faith = var:japan_1010_discount
} }
multiply = { multiply = {
value = 1 value = 1
@ -4111,7 +4109,7 @@ faith_conversion_cost_mult = {
scope:character = { scope:character = {
has_character_flag = tgp_japan_1040_discount has_character_flag = tgp_japan_1040_discount
} }
scope:new_faith.religion = religion:shintoism_religion scope:new_rite.faith.religion = religion:shintoism_religion
} }
multiply = { multiply = {
value = 1 value = 1
@ -4127,13 +4125,12 @@ faith_conversion_cost_mult = {
subtract = { subtract = {
value = 1 value = 1
} }
} }
reincarnation_chance = 4 reincarnation_chance = 4
holy_sites_to_create_temporal_head_of_faith = 1 holy_sites_to_create_temporal_head_of_faith = 1
holy_sites_to_create_spiritual_head_of_faith = 1 holy_sites_to_create_spiritual_head_of_faith = 1
create_hof_non_mainline_rite_cost_mult = 2 create_hof_non_mainline_rite_cost_mult = 2
create_hof_no_eminent_holy_site_cost_mult = 1.5 create_hof_no_eminent_holy_site_cost_mult = 1.5
@ -4232,8 +4229,8 @@ create_hof_gold_cost = {
faith_military_strength = { faith_military_strength = {
every_ruler = { every_ruler = {
faith_filter = this # filters are built before the every_ list, so [this] resolves to the faith
limit = { limit = {
faith = prev
is_at_war = no is_at_war = no
} }
add = max_military_strength add = max_military_strength
@ -4284,7 +4281,7 @@ great_holy_war_target_kingdom_weight_simplified = {
# For every county with a GHWable liege... # For every county with a GHWable liege...
limit = { limit = {
tier = tier_county tier = tier_county
scope:the_faith.main_rite = { scope:the_faith.main_rite ?= {
is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite } is_hostile_enough_for_holy_war_trigger = { RITE = prev.holder.top_liege.rite }
} }
} }
@ -4296,11 +4293,11 @@ great_holy_war_target_kingdom_weight_simplified = {
OR = { OR = {
AND = { AND = {
exists = holder exists = holder
holder.faith = scope:the_faith scope:the_faith ?= holder.faith
} }
any_claimant = { any_claimant = {
exists = this exists = this
faith = scope:the_faith scope:the_faith ?= faith
is_available_adult = yes is_available_adult = yes
} }
} }
@ -4313,7 +4310,7 @@ great_holy_war_target_kingdom_weight_simplified = {
OR = { OR = {
AND = { AND = {
# Catholic sphere. # Catholic sphere.
scope:the_faith = { not_non_catholic_standard_christian_faith_trigger = yes } scope:the_faith ?= { not_non_catholic_standard_christian_faith_trigger = yes }
title_capital_county.title_province = { title_capital_county.title_province = {
OR = { OR = {
geographical_region = ghw_region_northern_italy geographical_region = ghw_region_northern_italy
@ -4325,7 +4322,7 @@ great_holy_war_target_kingdom_weight_simplified = {
} }
AND = { AND = {
# Orthodox sphere. # Orthodox sphere.
scope:the_faith = { not_non_orthodox_standard_christian_faith_trigger = yes } scope:the_faith ?= {not_non_orthodox_standard_christian_faith_trigger = yes }
title_capital_county.title_province = { title_capital_county.title_province = {
OR = { OR = {
geographical_region = ghw_region_thessalonika geographical_region = ghw_region_thessalonika
@ -4335,12 +4332,12 @@ great_holy_war_target_kingdom_weight_simplified = {
} }
AND = { AND = {
# Coptic sphere. # Coptic sphere.
scope:the_faith = { not_non_coptic_standard_christian_faith_trigger = yes } scope:the_faith ?= { not_non_coptic_standard_christian_faith_trigger = yes }
title_capital_county.title_province = { geographical_region = ghw_region_ethiopia } title_capital_county.title_province = { geographical_region = ghw_region_ethiopia }
} }
AND = { AND = {
# Armenian sphere. # Armenian sphere.
scope:the_faith = { not_non_armenian_standard_christian_faith_trigger = yes } scope:the_faith ?= { not_non_armenian_standard_christian_faith_trigger = yes }
title_capital_county.title_province = { geographical_region = ghw_region_caucasus } title_capital_county.title_province = { geographical_region = ghw_region_caucasus }
} }
} }
@ -4353,18 +4350,18 @@ great_holy_war_target_kingdom_weight_simplified = {
OR = { OR = {
AND = { AND = {
# Shared Orthodox/Armenian sphere. # Shared Orthodox/Armenian sphere.
scope:the_faith = { scope:the_faith ?= {
OR = { OR = {
# Bit cack-handed to check it like this, but keeps things hygienic. # Bit cack-handed to check it like this, but keeps things hygienic.
not_non_orthodox_standard_christian_faith_trigger = yes not_non_orthodox_standard_christian_faith_trigger = yes
not_non_armenian_standard_christian_faith_trigger = yes not_non_armenian_standard_christian_faith_trigger = yes
} }
} }
title_capital_county.title_province = { geographical_region = ghw_region_anatolia } title_capital_county.title_province ?= { geographical_region = ghw_region_anatolia }
} }
AND = { AND = {
# Shared Catholic/Orthodox/Armenian sphere. # Shared Catholic/Orthodox/Armenian sphere.
scope:the_faith = { scope:the_faith ?= {
OR = { OR = {
# Bit cack-handed to check it like this, but keeps things hygienic. # Bit cack-handed to check it like this, but keeps things hygienic.
not_non_catholic_standard_christian_faith_trigger = yes not_non_catholic_standard_christian_faith_trigger = yes
@ -4372,7 +4369,7 @@ great_holy_war_target_kingdom_weight_simplified = {
not_non_armenian_standard_christian_faith_trigger = yes not_non_armenian_standard_christian_faith_trigger = yes
} }
} }
title_capital_county.title_province = { title_capital_county.title_province ?= {
OR = { OR = {
geographical_region = ghw_region_near_east geographical_region = ghw_region_near_east
geographical_region = ghw_region_egypt geographical_region = ghw_region_egypt
@ -4381,14 +4378,14 @@ great_holy_war_target_kingdom_weight_simplified = {
} }
AND = { AND = {
# Shared Catholic/Orthodox sphere. # Shared Catholic/Orthodox sphere.
scope:the_faith = { scope:the_faith ?= {
OR = { OR = {
# Bit cack-handed to check it like this, but keeps things hygienic. # Bit cack-handed to check it like this, but keeps things hygienic.
not_non_catholic_standard_christian_faith_trigger = yes not_non_catholic_standard_christian_faith_trigger = yes
not_non_orthodox_standard_christian_faith_trigger = yes not_non_orthodox_standard_christian_faith_trigger = yes
} }
} }
title_capital_county.title_province = { title_capital_county.title_province ?= {
OR = { OR = {
geographical_region = ghw_region_mediterranean geographical_region = ghw_region_mediterranean
geographical_region = ghw_region_balkans geographical_region = ghw_region_balkans
@ -4397,7 +4394,7 @@ great_holy_war_target_kingdom_weight_simplified = {
} }
AND = { AND = {
# Shared Catholic/Orthodox/Armenian sphere. # Shared Catholic/Orthodox/Armenian sphere.
scope:the_faith = { scope:the_faith ?= {
OR = { OR = {
# Bit cack-handed to check it like this, but keeps things hygienic. # Bit cack-handed to check it like this, but keeps things hygienic.
not_non_catholic_standard_christian_faith_trigger = yes not_non_catholic_standard_christian_faith_trigger = yes
@ -4405,11 +4402,11 @@ great_holy_war_target_kingdom_weight_simplified = {
not_non_armenian_standard_christian_faith_trigger = yes not_non_armenian_standard_christian_faith_trigger = yes
} }
} }
title_capital_county.title_province = { geographical_region = ghw_region_holy_land } title_capital_county.title_province ?= { geographical_region = ghw_region_holy_land }
} }
AND = { AND = {
scope:the_faith = { not_non_catholic_standard_christian_faith_trigger = yes } scope:the_faith ?= { not_non_catholic_standard_christian_faith_trigger = yes }
title_capital_county.title_province = { geographical_region = ghw_region_iberia } title_capital_county.title_province ?= { geographical_region = ghw_region_iberia }
} }
} }
} }
@ -4420,8 +4417,8 @@ great_holy_war_target_kingdom_weight_simplified = {
limit = { limit = {
OR = { OR = {
AND = { AND = {
scope:the_faith = { not_non_catholic_standard_christian_faith_trigger = yes } scope:the_faith ?= { not_non_catholic_standard_christian_faith_trigger = yes }
title_capital_county.title_province = { title_capital_county.title_province ?= {
OR = { OR = {
geographical_region = ghw_region_celtic geographical_region = ghw_region_celtic
geographical_region = ghw_region_germanic geographical_region = ghw_region_germanic
@ -4431,14 +4428,14 @@ great_holy_war_target_kingdom_weight_simplified = {
} }
AND = { AND = {
# Shared Catholic/Orthodox sphere. # Shared Catholic/Orthodox sphere.
scope:the_faith = { scope:the_faith ?= {
OR = { OR = {
# Bit cack-handed to check it like this, but keeps things hygienic. # Bit cack-handed to check it like this, but keeps things hygienic.
not_non_catholic_standard_christian_faith_trigger = yes not_non_catholic_standard_christian_faith_trigger = yes
not_non_orthodox_standard_christian_faith_trigger = yes not_non_orthodox_standard_christian_faith_trigger = yes
} }
} }
title_capital_county.title_province = { geographical_region = ghw_region_central_european } title_capital_county.title_province ?= { geographical_region = ghw_region_central_european }
} }
} }
} }
@ -4452,7 +4449,7 @@ great_holy_war_target_kingdom_weight_simplified = {
OR = { religion = religion:eastern_orthodox_religion religion = religion:oriental_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } OR = { religion = religion:eastern_orthodox_religion religion = religion:oriental_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
not_non_catholic_standard_christian_faith_trigger = yes not_non_catholic_standard_christian_faith_trigger = yes
} }
title_capital_county.title_province = { geographical_region = ghw_region_baltic } title_capital_county.title_province ?= { geographical_region = ghw_region_baltic }
} }
} }
add = ghw_target_stretch add = ghw_target_stretch
@ -4480,7 +4477,7 @@ great_holy_war_target_kingdom_weight_simplified = {
#Weight down farthest kingdoms #Weight down farthest kingdoms
if = { if = {
limit = { limit = {
title_capital_county = { title_capital_county ?= {
squared_distance = { squared_distance = {
target = title:c_byzantion target = title:c_byzantion
value >= ghw_target_distance_02_threshold value >= ghw_target_distance_02_threshold
@ -4492,6 +4489,7 @@ great_holy_war_target_kingdom_weight_simplified = {
# Always weight-up kingdoms containing holy sites. # Always weight-up kingdoms containing holy sites.
if = { if = {
limit = { limit = {
exists = scope:the_faith
any_in_de_jure_hierarchy = { any_in_de_jure_hierarchy = {
tier = tier_barony tier = tier_barony
continue = { tier > tier_barony } continue = { tier > tier_barony }
@ -4503,6 +4501,7 @@ great_holy_war_target_kingdom_weight_simplified = {
# Christian preference for Jerusalem # Christian preference for Jerusalem
if = { if = {
limit = { limit = {
exists = scope:the_faith
# Not a non-Catholic standard Christian faith. # Not a non-Catholic standard Christian faith.
scope:the_faith = { not_non_catholic_standard_christian_faith_trigger = yes } scope:the_faith = { not_non_catholic_standard_christian_faith_trigger = yes }
# Definitely actually considers Jerusalem holy. # Definitely actually considers Jerusalem holy.
@ -4521,6 +4520,7 @@ great_holy_war_target_kingdom_weight_simplified = {
# A defender in the region HumSac'd your HoF # A defender in the region HumSac'd your HoF
if = { if = {
limit = { limit = {
exists = scope:the_faith
any_in_de_jure_hierarchy = { any_in_de_jure_hierarchy = {
continue = { tier > tier_county } continue = { tier > tier_county }
tier = tier_county tier = tier_county
@ -4573,11 +4573,11 @@ holy_site_reform_tracker_value = {
############################ ############################
@rite_growth_counties_per_rite = 70 @rite_growth_counties_per_rite = 70
@rite_growth_min_cooldown_years = 3 @rite_growth_min_cooldown_years = 5
@rite_growth_max_cooldown_years = 18 @rite_growth_max_cooldown_years = 25
@rite_growth_fallback_cooldown_years = 5 @rite_growth_fallback_cooldown_years = 5
@rite_growth_grace_period_years = 10 @rite_growth_grace_period_years = 10
@rite_growth_heresy_cooldown_years = 3 @rite_growth_heresy_cooldown_years = 5
@rite_growth_fallback_min_counties = 50 @rite_growth_fallback_min_counties = 50
@rite_growth_soft_cap_overshoot = 2 @rite_growth_soft_cap_overshoot = 2
@ -4609,19 +4609,19 @@ rite_growth_counties_per_rite = {
rite_growth_min_cooldown_years = { rite_growth_min_cooldown_years = {
if = { if = {
limit = { has_game_rule = much_less_branched_rite_frequency } limit = { has_game_rule = much_less_branched_rite_frequency }
value = 8 value = 12
} }
else_if = { else_if = {
limit = { has_game_rule = less_branched_rite_frequency } limit = { has_game_rule = less_branched_rite_frequency }
value = 5 value = 8
} }
else_if = { else_if = {
limit = { has_game_rule = more_branched_rite_frequency } limit = { has_game_rule = more_branched_rite_frequency }
value = 2 value = 3
} }
else_if = { else_if = {
limit = { has_game_rule = much_more_branched_rite_frequency } limit = { has_game_rule = much_more_branched_rite_frequency }
value = 1 value = 2
} }
else = { else = {
value = @rite_growth_min_cooldown_years value = @rite_growth_min_cooldown_years
@ -4631,19 +4631,19 @@ rite_growth_min_cooldown_years = {
rite_growth_max_cooldown_years = { rite_growth_max_cooldown_years = {
if = { if = {
limit = { has_game_rule = much_less_branched_rite_frequency } limit = { has_game_rule = much_less_branched_rite_frequency }
value = 45 value = 50
} }
else_if = { else_if = {
limit = { has_game_rule = less_branched_rite_frequency } limit = { has_game_rule = less_branched_rite_frequency }
value = 27 value = 36
} }
else_if = { else_if = {
limit = { has_game_rule = more_branched_rite_frequency } limit = { has_game_rule = more_branched_rite_frequency }
value = 12 value = 15
} }
else_if = { else_if = {
limit = { has_game_rule = much_more_branched_rite_frequency } limit = { has_game_rule = much_more_branched_rite_frequency }
value = 8 value = 11
} }
else = { else = {
value = @rite_growth_max_cooldown_years value = @rite_growth_max_cooldown_years
@ -4775,19 +4775,19 @@ rite_growth_grace_period_days = {
rite_growth_heresy_cooldown_days = { rite_growth_heresy_cooldown_days = {
if = { if = {
limit = { has_game_rule = much_less_branched_rite_frequency } limit = { has_game_rule = much_less_branched_rite_frequency }
value = 8 value = 12
} }
else_if = { else_if = {
limit = { has_game_rule = less_branched_rite_frequency } limit = { has_game_rule = less_branched_rite_frequency }
value = 5 value = 8
} }
else_if = { else_if = {
limit = { has_game_rule = more_branched_rite_frequency } limit = { has_game_rule = more_branched_rite_frequency }
value = 2 value = 3
} }
else_if = { else_if = {
limit = { has_game_rule = much_more_branched_rite_frequency } limit = { has_game_rule = much_more_branched_rite_frequency }
value = 1 value = 2
} }
else = { else = {
value = @rite_growth_heresy_cooldown_years value = @rite_growth_heresy_cooldown_years

View file

@ -568,6 +568,7 @@
} }
has_trait = denounced has_trait = denounced
has_trait = disinherited has_trait = disinherited
has_trait = adopted_no_inheritance
} }
} }
add = -10 add = -10
@ -864,24 +865,24 @@
base_wedding_cost = { base_wedding_cost = {
# Base cost # Base cost
value = 25 value = 20
if = { if = {
limit = { limit = {
highest_held_title_tier >= tier_duchy highest_held_title_tier >= tier_duchy
} }
add = 25 add = 20
} }
if = { if = {
limit = { limit = {
highest_held_title_tier >= tier_kingdom highest_held_title_tier >= tier_kingdom
} }
add = 75 add = 60
} }
if = { if = {
limit = { limit = {
highest_held_title_tier >= tier_empire highest_held_title_tier >= tier_empire
} }
add = 75 add = 60
} }
if = { if = {
limit = { limit = {

View file

@ -501,17 +501,17 @@ appointment_score_base = {
# Traits # Traits
if = { if = {
limit = { limit = {
NOT = {
scope:title.holder ?= {
has_realm_law = acclamation_succession_law
}
}
OR = { OR = {
has_trait = inbred has_trait = inbred
has_trait = blind has_trait = blind
is_incapable = yes is_incapable = yes
has_trait_with_flag = age_related_ailment has_trait_with_flag = age_related_ailment
} }
NOT = {
scope:title.holder ?= {
has_realm_law = acclamation_succession_law
}
}
} }
subtract = { subtract = {
value = 50 value = 50
@ -547,17 +547,34 @@ appointment_score_base = {
} }
} }
# RITE BASED # RITE BASED
# Only the criminal checks below use scope:target_rite, and they all need one of these traits
if = { if = {
limit = { limit = {
exists = top_liege.primary_title.state_rite OR = {
has_trait = deviant
has_trait = incestuous
has_trait = sodomite
has_trait = cannibal
has_trait = kinslayer_1
has_trait = kinslayer_2
has_trait = kinslayer_3
has_trait = witch
has_trait = adulterer
has_trait = fornicator
}
} }
top_liege.primary_title.state_rite = { if = {
save_temporary_scope_as = target_rite limit = {
exists = top_liege.primary_title.state_rite
}
top_liege.primary_title.state_rite = {
save_temporary_scope_as = target_rite
}
} }
} else = {
else = { top_liege.rite = {
top_liege.rite = { save_temporary_scope_as = target_rite
save_temporary_scope_as = target_rite }
} }
} }
# CRIMINAL # CRIMINAL
@ -900,8 +917,8 @@ appointment_score_base = {
# ADJUST BASED ON GENDER LAW - MUST GO AT THE END # ADJUST BASED ON GENDER LAW - MUST GO AT THE END
if = { if = {
limit = { limit = {
scope:title.holder.top_liege ?= { has_realm_law = male_preference_law }
is_female = yes is_female = yes
scope:title.holder.top_liege ?= { has_realm_law = male_preference_law }
} }
# use subtract instead, otherwise giving bonus when negative score! # use subtract instead, otherwise giving bonus when negative score!
subtract = { subtract = {
@ -911,8 +928,8 @@ appointment_score_base = {
} }
else_if = { else_if = {
limit = { limit = {
scope:title.holder.top_liege ?= { has_realm_law = male_only_law }
is_female = yes is_female = yes
scope:title.holder.top_liege ?= { has_realm_law = male_only_law }
} }
# use subtract instead, otherwise giving bonus when negative score! # use subtract instead, otherwise giving bonus when negative score!
subtract = { subtract = {
@ -922,8 +939,8 @@ appointment_score_base = {
} }
else_if = { else_if = {
limit = { limit = {
scope:title.holder.top_liege ?= { has_realm_law = female_preference_law }
is_female = no is_female = no
scope:title.holder.top_liege ?= { has_realm_law = female_preference_law }
} }
subtract = { subtract = {
value = appointment_non_preferred_gender_penalty_value value = appointment_non_preferred_gender_penalty_value
@ -932,8 +949,8 @@ appointment_score_base = {
} }
else_if = { else_if = {
limit = { limit = {
scope:title.holder.top_liege ?= { has_realm_law = female_only_law }
is_female = no is_female = no
scope:title.holder.top_liege ?= { has_realm_law = female_only_law }
} }
subtract = { subtract = {
value = appointment_opposite_gender_penalty_value value = appointment_opposite_gender_penalty_value
@ -1256,7 +1273,7 @@ appointment_score_non_military = {
limit = { is_landed = yes } limit = { is_landed = yes }
add = { add = {
value = { value = {
value = capital_county.county_holder_opinion value = capital_county.popular_opinion
multiply = 0.25 multiply = 0.25
round = yes round = yes
if = { if = {
@ -1264,7 +1281,7 @@ appointment_score_non_military = {
multiply = 2 multiply = 2
} }
} }
desc = county_holder_opinion_desc desc = popular_opinion_desc
} }
} }
# COUNCIL POSITIONS # COUNCIL POSITIONS
@ -1395,7 +1412,13 @@ appointment_score_non_merit = {
} }
# EXISTING GOVERNORSHIPS # EXISTING GOVERNORSHIPS
if = { if = {
limit = { is_governor = yes } limit = {
is_governor = yes
trigger_if = {
limit = { exists = scope:title }
NOT = { top_liege.primary_title ?= scope:title }
}
}
add = { add = {
value = -1000 value = -1000
desc = already_a_governor_tt desc = already_a_governor_tt
@ -1505,7 +1528,7 @@ appointment_score_final_factors = {
if = { if = {
limit = { limit = {
exists = var:petition_liege_regent_support exists = var:petition_liege_regent_support
top_liege.primary_title.var:administrative_ui_special_title.holder ?= var:petition_liege_regent_support ceremonial_liege ?= var:petition_liege_regent_support
scope:title ?= top_liege.primary_title # Only top liege title scope:title ?= top_liege.primary_title # Only top liege title
} }
multiply = { multiply = {
@ -1517,7 +1540,7 @@ appointment_score_final_factors = {
else_if = { else_if = {
limit = { limit = {
exists = house.var:petition_liege_appointment_support exists = house.var:petition_liege_appointment_support
top_liege.primary_title.var:administrative_ui_special_title.holder ?= house.var:petition_liege_appointment_support ceremonial_liege ?= house.var:petition_liege_appointment_support
exists = scope:title exists = scope:title
scope:title ?= top_liege.primary_title # Only governorships scope:title ?= top_liege.primary_title # Only governorships
} }
@ -1531,28 +1554,28 @@ appointment_score_final_factors = {
appointment_score_regent = { appointment_score_regent = {
# SAME CULTURE AS REGION # SAME CULTURE AS REGION
#if = { if = {
# limit = { limit = {
# tgp_is_in_ceremonial_house_trigger = no tgp_is_in_ceremonial_house_trigger = no
# exists = scope:title exists = scope:title
# #NOR = { NOR = {
# # culture = scope:title.holder.capital_county.culture culture = scope:title.holder.capital_county.culture
# # top_liege.primary_title.var:administrative_ui_special_title.holder.culture = culture ceremonial_liege.culture = culture
# #} }
# } }
# add = { add = {
# value = -50 value = -50
# desc = not_of_local_culture_succession_desc desc = not_of_local_culture_succession_desc
# } }
#} }
# Emperor's opinion # Emperor's opinion
if = { if = {
limit = { limit = {
exists = top_liege.primary_title.var:administrative_ui_special_title.holder exists = ceremonial_liege
this != top_liege.primary_title.var:administrative_ui_special_title.holder this != ceremonial_liege
} }
add = { add = {
value = "top_liege.primary_title.var:administrative_ui_special_title.holder.opinion(root)" value = "ceremonial_liege.opinion(root)"
divide = 2 divide = 2
desc = ceremonial_liege_opinion_desc desc = ceremonial_liege_opinion_desc
} }
@ -1564,14 +1587,14 @@ appointment_score_regent = {
tgp_is_in_ceremonial_house_trigger = yes tgp_is_in_ceremonial_house_trigger = yes
} }
if = { # Emperor if = { # Emperor
limit = { this = top_liege.primary_title.var:administrative_ui_special_title.holder } limit = { this = ceremonial_liege }
add = { add = {
value = 100 value = 100
desc = ceremonial_liege_desc desc = ceremonial_liege_desc
} }
} }
else_if = { else_if = {
limit = { this = top_liege.primary_title.var:administrative_ui_special_title.holder.player_heir } limit = { this = ceremonial_liege.player_heir }
add = { add = {
value = 50 value = 50
desc = ceremonial_house_heir_desc desc = ceremonial_house_heir_desc
@ -1656,14 +1679,20 @@ appointment_score_regent = {
} }
} }
} }
add = 25 add = {
value = 25
desc = japanese_kampaku_domicile_capital_desc
}
} }
# Block non-admin # Block non-admin
if = { if = {
limit = { limit = {
NOT = { government_has_mechanic = administrative } NOT = { government_has_mechanic = administrative }
} }
add = -2500 add = {
value = -2500
desc = japanese_kampaku_not_administrative_desc
}
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -158,7 +158,7 @@ common_cb_cost_multiplier_core = {
scope:attacker = { scope:attacker = {
house ?= { house ?= {
OR = { OR = {
has_house_modifier = fp3_house_modifier_frontier_ambitions has_house_modifier = fp3_house_modifier_frontier_ambitions
has_house_modifier = fp3_house_modifier_rebuilding_efforts has_house_modifier = fp3_house_modifier_rebuilding_efforts
} }
} }
@ -171,7 +171,7 @@ common_cb_cost_multiplier_core = {
scope:defender = { scope:defender = {
house ?= { house ?= {
OR = { OR = {
has_house_modifier = fp3_house_modifier_frontier_ambitions has_house_modifier = fp3_house_modifier_frontier_ambitions
has_house_modifier = fp3_house_modifier_rebuilding_efforts has_house_modifier = fp3_house_modifier_rebuilding_efforts
} }
} }
@ -291,6 +291,19 @@ common_cb_cost_multiplier_core = {
desc = disarmament_law_increased_cb_cost_desc desc = disarmament_law_increased_cb_cost_desc
} }
} }
# Attacking a Republic
if = {
limit = {
scope:defender = {
government_has_flag = government_is_republic
}
}
multiply = {
value = 1
add = gdp_attacking_republic_cb_cost_value
desc = gdp_attacking_republic_cb_cost_desc
}
}
} }
common_cb_cost_multiplier = { common_cb_cost_multiplier = {
@ -438,7 +451,34 @@ common_cb_piety_cost_multiplier = {
desc = CB_STRUGGLE_PHASE_DISCOUNT desc = CB_STRUGGLE_PHASE_DISCOUNT
} }
} }
#Guelphs & Ghibellines
if = {
limit = {
OR = {
#Dictatus Papae, Ad Interim and Agitation phases
AND = {
gg_phase_has_cheaper_opposite_party_wars_trigger = yes
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:attacker SECOND = scope:defender }
}
#Guelph Advantage phase
AND = {
situation:guelph_ghibelline ?= { situation_current_phase = guelph_advantage }
scope:attacker = { is_ghibelline_trigger = yes }
scope:defender = { is_guelph_trigger = yes }
}
#Ghibelline Advantage phase
AND = {
situation:guelph_ghibelline ?= { situation_current_phase = ghibelline_advantage }
scope:attacker = { is_guelph_trigger = yes }
scope:defender = { is_ghibelline_trigger = yes }
}
}
}
multiply = {
value = 0.5
desc = CB_SITUATION_PHASE_DISCOUNT
}
}
# Common multiplier # Common multiplier
multiply = common_cb_cost_multiplier_core multiply = common_cb_cost_multiplier_core
} }
@ -471,6 +511,46 @@ holy_war_cb_piety_cost_multiplier = {
desc = "CB_ATTACKER_VASSAL_CONTRACT" desc = "CB_ATTACKER_VASSAL_CONTRACT"
} }
} }
if = {
limit = {
scope:attacker = {
any_active_accolade = {
accolade_parameter = acclaimed_knight_piety_from_battle_high
}
}
}
multiply = {
value = accolade_piety_reduction_value_high
desc = "fanatic_attribute"
}
}
else_if = {
limit = {
scope:attacker = {
any_active_accolade = {
accolade_parameter = acclaimed_knight_piety_from_battle
}
}
}
multiply = {
value = accolade_piety_reduction_value
desc = "fanatic_attribute"
}
}
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
}
}
} }
# Base Costs # Base Costs
@ -697,6 +777,35 @@ common_cb_prestige_cost_multiplier = {
} }
} }
#Guelphs & Ghibellines
if = {
limit = {
OR = {
#Dictatus Papae, Ad Interim and Agitation phases
AND = {
gg_phase_has_cheaper_opposite_party_wars_trigger = yes
gg_first_and_second_are_opposite_sides_trigger = { FIRST = scope:attacker SECOND = scope:defender }
}
#Guelph Advantage phase
AND = {
situation:guelph_ghibelline ?= { situation_current_phase = guelph_advantage }
scope:attacker = { is_ghibelline_trigger = yes }
scope:defender = { is_guelph_trigger = yes }
}
#Ghibelline Advantage phase
AND = {
situation:guelph_ghibelline ?= { situation_current_phase = ghibelline_advantage }
scope:attacker = { is_guelph_trigger = yes }
scope:defender = { is_ghibelline_trigger = yes }
}
}
}
multiply = {
value = 0.5
desc = CB_SITUATION_PHASE_DISCOUNT
}
}
# Common modifier # Common modifier
multiply = common_cb_cost_multiplier multiply = common_cb_cost_multiplier
} }
@ -705,7 +814,7 @@ vassalization_cb_prestige_cost_mulitiplier = {
value = 1 value = 1
if = { if = {
limit = { limit = {
scope:defender.primary_title.tier = tier_kingdom scope:defender.highest_held_title_tier = tier_kingdom
} }
multiply = { multiply = {
value = 2 value = 2
@ -714,7 +823,7 @@ vassalization_cb_prestige_cost_mulitiplier = {
} }
else_if = { else_if = {
limit = { limit = {
scope:defender.primary_title.tier = tier_empire scope:defender.highest_held_title_tier = tier_empire
} }
multiply = { multiply = {
value = 4 value = 4
@ -723,6 +832,56 @@ vassalization_cb_prestige_cost_mulitiplier = {
} }
} }
claim_cb_cost_multiplier_legitimacy = {
scope:attacker = {
if = {
limit = { has_legitimacy_flag = reduced_claim_cb_cost }
add = {
value = 0.5
desc = legitimacy_high_modifier_tt
}
}
else_if = {
limit = { has_legitimacy_flag = very_reduced_claim_cb_cost }
add = {
value = 0.25
desc = legitimacy_high_modifier_tt
}
}
else_if = {
limit = { has_legitimacy_flag = extra_reduced_claim_cb_cost }
add = {
value = 0.15
desc = legitimacy_high_modifier_tt
}
}
else_if = {
limit = { has_legitimacy_flag = increased_claim_cb_cost }
add = {
value = 1.5
desc = legitimacy_low_modifier_tt
}
}
else_if = {
limit = { has_legitimacy_flag = very_increased_claim_cb_cost }
add = {
value = 2
desc = legitimacy_low_modifier_tt
}
}
else_if = {
limit = { has_legitimacy_flag = massively_increased_claim_cb_cost }
add = {
value = 2.5
desc = legitimacy_low_modifier_tt
}
}
else = {
add = 1
}
}
}
# Base Costs # Base Costs
claim_cb_prestige_cost = { claim_cb_prestige_cost = {
if = { if = {
@ -1033,6 +1192,184 @@ tribal_subjugation_cb_prestige_cost = {
multiply = common_cb_prestige_cost_multiplier multiply = common_cb_prestige_cost_multiplier
} }
county_cb_influence_base_cost = {
if = {
limit = {
scope:attacker = { government_has_flag = government_has_influence }
}
add = {
value = 25
desc = CB_BASE_COST
}
add = {
value = 0.5
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 75
}
}
}
duchy_cb_influence_base_cost = {
if = {
limit = {
scope:attacker = { government_has_flag = government_has_influence }
}
add = {
value = 50
desc = CB_BASE_COST
}
add = {
value = 1
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 250
}
}
}
county_cb_prestige_base_cost = {
if = {
limit = {
scope:defender.faith != scope:attacker.faith
}
add = {
value = 50
desc = CB_COST_DIFFERENT_FAITH
}
add = {
value = 5
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 100
}
}
}
duchy_cb_prestige_base_cost = {
if = {
limit = {
scope:defender.faith != scope:attacker.faith
}
add = {
value = 150
desc = CB_COST_DIFFERENT_FAITH
}
add = {
value = 10
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 800
}
}
}
# admin cbs, cheaper since they pay influence at the same time
county_cb_prestige_base_cost_with_influence = {
add = {
value = 50
desc = CB_BASE_COST
}
add = {
value = 2.5
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 150
}
}
duchy_cb_prestige_base_cost_with_influence = {
add = {
value = 100
desc = CB_BASE_COST
}
add = {
value = 5
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 500
}
}
county_cb_piety_base_cost = {
if = {
limit = {
scope:defender.faith = scope:attacker.faith
}
add = {
value = 25
desc = CB_SAME_FAITH_COST
}
add = {
value = 5
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 75
}
}
}
duchy_cb_piety_base_cost = {
if = {
limit = {
scope:defender.faith = scope:attacker.faith
}
add = {
value = 100
desc = CB_SAME_FAITH_COST
}
add = {
value = 10
multiply = scope:attacker.sub_realm_size
desc = CB_REALM_SIZE_COST
max = 800
}
}
}
conquest_cb_prestige_cost_multiplier = {
value = 1
# fp2 iberian struggle ending
if = {
limit = {
scope:attacker.house = {
OR = {
has_house_modifier = fp2_struggle_hostility_house_culture_modifier
has_house_modifier = fp2_struggle_hostility_house_combined_modifier
}
}
any_in_global_list = {
variable = fp2_struggle_ending_culture_list
this = scope:attacker.culture
}
any_in_global_list = {
variable = fp2_struggle_ending_culture_list
this = scope:defender.culture
}
}
divide = {
value = 2
desc = CB_COST_FP2_STRUGGLE_HOSTILITY_CULTURE_DISCOUNT
}
}
if = {
limit = {
has_global_variable = fp2_struggle_compromise_ending
any_in_global_list = {
variable = fp2_struggle_ending_culture_list
this = scope:attacker.culture
}
any_in_global_list = {
variable = fp2_struggle_ending_culture_list
this = scope:defender.culture
}
}
multiply = {
value = 2
desc = CB_COST_FP2_STRUGGLE_COMPROMISE_MULTIPLIER
}
}
}
# Ancestor war base cost # Ancestor war base cost
ancestor_cb_prestige_cost = { ancestor_cb_prestige_cost = {
add = { add = {
@ -1192,7 +1529,179 @@ ancestor_cb_prestige_cost = {
struggle_cb_phase_modifier_cost = { struggle_cb_phase_modifier_cost = {
# Phase modifiers. # Phase modifiers.
## Note that these aren't hooked up to the actual _parameters_ for tooltip reasons: we'd have to check what the phase is anyway, so we just check off of the phase to begin with and save ourselves a worthless parameter check. ## Note that these aren't hooked up to the actual _parameters_ for tooltip reasons: we'd have to check what the phase is anyway, so we just check off of the phase to begin with and save ourselves a worthless parameter check.
add = {
value = 0
# Cheap.
if = {
limit = {
scope:attacker = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
is_struggle_phase = struggle_iberia_phase_hostility
is_secondary_character_involvement_either_trigger = { CHAR = scope:defender }
}
}
}
add = {
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = minor_prestige_value
}
}
multiply = {
value = 0.9
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = 0.1
}
}
max = 2
}
desc = CB_COST_STRUGGLE_PHASE_HOSTILITY
}
}
# Standard.
if = {
limit = {
scope:attacker = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
is_struggle_phase = struggle_iberia_phase_opportunity
is_secondary_character_involvement_either_trigger = { CHAR = scope:defender }
}
}
}
add = {
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = medium_prestige_value
}
}
multiply = {
value = 0.9
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = 0.1
}
}
max = 2
}
desc = CB_COST_STRUGGLE_PHASE_OPPORTUNITY
}
}
# Expensive.
if = {
limit = {
scope:attacker = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
is_struggle_phase = struggle_iberia_phase_compromise
is_secondary_character_involvement_either_trigger = { CHAR = scope:defender }
}
}
}
add = {
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = major_prestige_value
}
}
multiply = {
value = 0.9
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = 0.1
}
}
max = 2
}
desc = CB_COST_STRUGGLE_PHASE_COMPROMISE
}
}
if = {
limit = {
scope:attacker = {
any_character_struggle = {
involvement = involved
is_struggle_type = iberian_struggle
is_struggle_phase = struggle_iberia_phase_conciliation
is_secondary_character_involvement_either_trigger = { CHAR = scope:defender }
}
}
}
add = {
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = major_prestige_value
}
}
multiply = {
value = 0.9
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = 0.1
}
}
max = 2
}
desc = CB_COST_STRUGGLE_PHASE_CONCILIATION
}
}
if = { # Post Struggle cost
limit = {
scope:attacker = {
exists = scope:attacker.house
scope:attacker.house = {
OR ={
has_house_modifier = fp2_struggle_hostility_house_combined_modifier
has_house_modifier = fp2_struggle_hostility_house_faith_modifier
has_house_modifier = fp2_struggle_hostility_house_culture_modifier
}
}
}
}
add = {
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = major_prestige_value
}
}
multiply = {
value = 0.9
every_in_list = {
list = target_titles
limit = { tier = tier_county }
add = {
value = 0.1
}
}
max = 2
}
desc = CB_BASE_COST
}
}
}
} }
common_claim_reduction_cost_multiplier_core = { common_claim_reduction_cost_multiplier_core = {

View file

@ -96,12 +96,30 @@ court_chaplain_religious_relations_celestial_hierarchy_bonus_modifier = {
# Total gain calculation # Total gain calculation
court_chaplain_religious_relations_total_piety_gain = { court_chaplain_religious_relations_total_piety_gain = {
add = court_chaplain_religious_relations_modifier add = court_chaplain_religious_relations_modifier
add = court_chaplain_religious_relations_perk_bonus_modifier if = {
add = court_chaplain_religious_relations_erudition_legacy_5_bonus_modifier limit = { scope:councillor_liege = { has_perk = clerical_justifications_perk } }
add = court_chaplain_religious_relations_family_business_bonus_modifier add = court_chaplain_religious_relations_perk_bonus_modifier
add = court_chaplain_religious_relations_consulted_house_bonus_modifier }
add = court_chaplain_religious_relations_cultural_tradition_bonus_modifier if = {
add = court_chaplain_religious_relations_celestial_hierarchy_bonus_modifier limit = { councillor_liege_has_erudition_legacy_5_perk = yes }
add = court_chaplain_religious_relations_erudition_legacy_5_bonus_modifier
}
if = {
limit = { councillor_liege_has_family_business_bonus = yes }
add = court_chaplain_religious_relations_family_business_bonus_modifier
}
if = {
limit = { councillor_liege_has_consulted_house_bonus = yes }
add = court_chaplain_religious_relations_consulted_house_bonus_modifier
}
if = {
limit = { scope:councillor_liege.culture = { has_cultural_parameter = religious_relations_is_empowered } }
add = court_chaplain_religious_relations_cultural_tradition_bonus_modifier
}
if = {
limit = { scope:councillor_liege.rite ?= { rite_has_parameter = tenet_celestial_hierarchy_religious_relations_bonus } }
add = court_chaplain_religious_relations_celestial_hierarchy_bonus_modifier
}
} }
# Opinion: # Opinion:
@ -245,13 +263,13 @@ court_chaplain_religious_relations_no_hof_opinion_modifier = {
add = 0 add = 0
if = { if = {
limit = { limit = {
scope:councillor.rite = { rite_has_doctrine = doctrine_theocracy_lay_clergy }
scope:councillor.faith = { scope:councillor.faith = {
OR = { OR = {
has_doctrine_parameter = no_head_of_faith has_doctrine_parameter = no_head_of_faith
NOT = { exists = religious_head } NOT = { exists = religious_head }
} }
} }
scope:councillor.rite = { rite_has_doctrine = doctrine_theocracy_lay_clergy }
} }
add = court_chaplain_religious_relations_opinion_modifier add = court_chaplain_religious_relations_opinion_modifier
divide = court_chaplain_religious_relations_no_hof_balance divide = court_chaplain_religious_relations_no_hof_balance
@ -576,50 +594,61 @@ court_chaplain_conversion_contextual_bonuses = {
} }
} }
# Relation Bonuses/Penalties # Relation Bonuses/Penalties
if = { # Friend if = {
limit = { limit = {
# Best friends and nemeses also count as friends and rivals
scope:councillor_liege = { scope:councillor_liege = {
has_relation_friend = scope:councillor OR = {
NOT = { has_relation_best_friend = scope:councillor } has_relation_friend = scope:councillor
has_relation_rival = scope:councillor
}
} }
} }
add = { if = { # Friend
value = scope:councillor.court_chaplain_conversion_monthly_increase_friend_bonus limit = {
desc = COUNCILLOR_IS_YOUR_FRIEND scope:councillor_liege = {
} has_relation_friend = scope:councillor
} NOT = { has_relation_best_friend = scope:councillor }
if = { # Best Friend }
limit = { }
scope:councillor_liege = { add = {
has_relation_best_friend = scope:councillor value = scope:councillor.court_chaplain_conversion_monthly_increase_friend_bonus
desc = COUNCILLOR_IS_YOUR_FRIEND
} }
} }
add = { if = { # Best Friend
value = scope:councillor.court_chaplain_conversion_monthly_increase_best_friend_bonus limit = {
desc = COUNCILLOR_IS_YOUR_BEST_FRIEND scope:councillor_liege = {
} has_relation_best_friend = scope:councillor
} }
if = { # Rival }
limit = { add = {
scope:councillor_liege = { value = scope:councillor.court_chaplain_conversion_monthly_increase_best_friend_bonus
has_relation_rival = scope:councillor desc = COUNCILLOR_IS_YOUR_BEST_FRIEND
NOT = { has_relation_nemesis = scope:councillor }
} }
} }
add = { if = { # Rival
value = scope:councillor.court_chaplain_conversion_monthly_increase_rival_bonus limit = {
desc = COUNCILLOR_IS_YOUR_RIVAL scope:councillor_liege = {
} has_relation_rival = scope:councillor
} NOT = { has_relation_nemesis = scope:councillor }
if = { # Nemesis }
limit = { }
scope:councillor_liege = { add = {
has_relation_nemesis = scope:councillor value = scope:councillor.court_chaplain_conversion_monthly_increase_rival_bonus
desc = COUNCILLOR_IS_YOUR_RIVAL
} }
} }
add = { if = { # Nemesis
value = scope:councillor.court_chaplain_conversion_monthly_increase_nemesis_bonus limit = {
desc = COUNCILLOR_IS_YOUR_NEMESIS scope:councillor_liege = {
has_relation_nemesis = scope:councillor
}
}
add = {
value = scope:councillor.court_chaplain_conversion_monthly_increase_nemesis_bonus
desc = COUNCILLOR_IS_YOUR_NEMESIS
}
} }
} }
#Conversion modifiers from where the Faith is on the Pluralism spectrum. #Conversion modifiers from where the Faith is on the Pluralism spectrum.
@ -1003,6 +1032,21 @@ court_chaplain_conversion_contextual_bonuses = {
# desc = COURT_CHAPLAIN_CONVERSION_HOLY_SITE_WADI_EL_MILK # desc = COURT_CHAPLAIN_CONVERSION_HOLY_SITE_WADI_EL_MILK
# } # }
#} #}
if = {
limit = {
exists = scope:county
scope:county.faith = {
controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus
}
title:b_wadi_el-milk = {
is_holy_site_of = scope:councillor.faith
}
}
add = {
value = scope:councillor.conversion_holy_site_wadi_el_milk
desc = COURT_CHAPLAIN_CONVERSION_HOLY_SITE_WADI_EL_MILK
}
}
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith = {
@ -1017,20 +1061,6 @@ court_chaplain_conversion_contextual_bonuses = {
desc = COURT_CHAPLAIN_CONVERSION_HOLY_SITE_CORDOBA desc = COURT_CHAPLAIN_CONVERSION_HOLY_SITE_CORDOBA
} }
} }
if = {
limit = {
scope:councillor.faith ?= {
controls_holy_site_with_parameter = geneva_conversion_bonus
}
title:b_geneva = {
is_holy_site_of = scope:councillor.faith
}
}
add = {
value = scope:councillor.conversion_holy_site_geneva
desc = COURT_CHAPLAIN_CONVERSION_HOLY_SITE_GENEVA
}
}
if = { if = {
limit = { limit = {
exists = scope:county exists = scope:county
@ -1245,6 +1275,138 @@ court_chaplain_conversion_contextual_bonuses = {
court_chaplain_conversion_factors = { court_chaplain_conversion_factors = {
value = 1 value = 1
if = {
limit = { exists = scope:county.title_province }
multiply = {
value = 1
subtract = {
value = scope:county.title_province.province_size_level
multiply = convert_faith_settlement_size_penalty_step
}
desc = COURT_CHAPLAIN_CONVERSION_SETTLEMENT_SIZE
}
}
if = {
limit = {
exists = scope:county.faith
exists = scope:councillor.faith
scope:councillor.faith = {
faith_hostility_level = {
target = scope:county.faith
value >= faith_evil_level
}
}
}
multiply = {
value = convert_faith_hostility_evil_mult
desc = COURT_CHAPLAIN_CONVERSION_HOSTILITY
}
}
else_if = {
limit = {
exists = scope:county.faith
exists = scope:councillor.faith
scope:councillor.faith = {
faith_hostility_level = {
target = scope:county.faith
value >= faith_hostile_level
}
}
}
multiply = {
value = convert_faith_hostility_hostile_mult
desc = COURT_CHAPLAIN_CONVERSION_HOSTILITY
}
}
else_if = {
limit = {
exists = scope:county.faith
exists = scope:councillor.faith
scope:councillor.faith = {
faith_hostility_level = {
target = scope:county.faith
value >= faith_astray_level
}
}
}
multiply = {
value = convert_faith_hostility_astray_mult
desc = COURT_CHAPLAIN_CONVERSION_HOSTILITY
}
}
if = {
limit = {
exists = scope:county
scope:county.culture = {
OR = {
is_divergent_culture = yes
is_hybrid_culture = yes
}
}
scope:councillor_liege.culture = { has_same_culture_heritage = scope:county.culture }
}
multiply = {
value = convert_faith_divergence_shared_root_mult
desc = COURT_CHAPLAIN_CONVERSION_DIVERGENCE
}
}
if = {
limit = {
exists = scope:county
scope:county.culture = scope:councillor_liege.culture
}
multiply = {
value = convert_faith_cultural_same_culture_mult
desc = COURT_CHAPLAIN_CONVERSION_CULTURAL_SIMILARITY
}
}
else_if = {
limit = {
exists = scope:county
scope:councillor_liege.culture = { has_same_culture_heritage = scope:county.culture }
}
multiply = {
value = convert_faith_cultural_same_heritage_mult
desc = COURT_CHAPLAIN_CONVERSION_CULTURAL_SIMILARITY
}
}
else_if = {
limit = {
exists = scope:county
scope:councillor_liege.culture = {
cultural_acceptance = { target = scope:county.culture value < 25 }
}
}
multiply = {
value = convert_faith_cultural_acceptance_alien_mult
desc = COURT_CHAPLAIN_CONVERSION_CULTURAL_SIMILARITY
}
}
else_if = {
limit = {
exists = scope:county
scope:councillor_liege.culture = {
cultural_acceptance = { target = scope:county.culture value < 50 }
}
}
multiply = {
value = convert_faith_cultural_acceptance_low_mult
desc = COURT_CHAPLAIN_CONVERSION_CULTURAL_SIMILARITY
}
}
else_if = {
limit = {
exists = scope:county
scope:councillor_liege.culture = {
cultural_acceptance = { target = scope:county.culture value < 75 }
}
}
multiply = {
value = convert_faith_cultural_acceptance_mid_mult
desc = COURT_CHAPLAIN_CONVERSION_CULTURAL_SIMILARITY
}
}
if = { if = {
limit = { limit = {
scope:councillor.faith = { scope:councillor.faith = {
@ -1562,38 +1724,22 @@ rite_conversion_fervor_mult = {
} }
} }
# Development penalty convert_faith_settlement_size_penalty_step = 0.03
convert_faith_development_penalty = {
value = 0 # Faith hostility of the converting Faith toward the local one.
if = { convert_faith_hostility_astray_mult = 0.9 # astray (heresy of same religion)
limit = { exists = scope:county } convert_faith_hostility_hostile_mult = 0.8 # hostile Faith
add = scope:councillor.court_chaplain_conversion_base convert_faith_hostility_evil_mult = 0.7 # evil Faith
add = scope:councillor.court_chaplain_conversion_monthly_increase
add = scope:councillor.court_chaplain_conversion_monthly_increase_perk_bonus # Divergent/hybrid local culture that still shares the converting culture's heritage.
add = { convert_faith_divergence_shared_root_mult = 1.15
add = {
add = scope:councillor.court_chaplain_progress_percentage # Cultural similarity between the converting (Liege) culture and the local culture.
multiply = scope:councillor.faith.fervor convert_faith_cultural_same_culture_mult = 1.15 # identical culture
} convert_faith_cultural_same_heritage_mult = 1.05 # same heritage, different culture
subtract = { convert_faith_cultural_acceptance_mid_mult = 0.9 # cultural acceptance 50..74
add = scope:councillor.court_chaplain_progress_percentage convert_faith_cultural_acceptance_low_mult = 0.85 # cultural acceptance 25..49
multiply = scope:county.faith.fervor convert_faith_cultural_acceptance_alien_mult = 0.8 # cultural acceptance < 25
}
if = {
limit = {
scope:councillor_liege = { has_perk = religious_icon_perk }
}
min = 0
}
}
add = scope:councillor.court_chaplain_conversion_contextual_bonuses
multiply = {
subtract = scope:county.development_level
divide = 100
min = -0.9
}
}
}
# Zealous Proselytizer bonus # Zealous Proselytizer bonus
court_chaplain_conversion_monthly_increase_perk_bonus = { court_chaplain_conversion_monthly_increase_perk_bonus = {
@ -2084,19 +2230,6 @@ conversion_holy_site_cordoba = {
} }
} }
conversion_holy_site_geneva = {
value = 0
if = {
limit = {
scope:councillor.faith ?= {
controls_holy_site_with_parameter = geneva_conversion_bonus
}
}
add = court_chaplain_conversion_base_total
multiply = -0.30
}
}
### Various trait bonuses ### Various trait bonuses
conversion_savior_liege = { conversion_savior_liege = {
if = { if = {
@ -2203,8 +2336,7 @@ court_chaplain_reliable_house_scale = {
value = 0 value = 0
if = { if = {
limit = { limit = {
exists = liege.dynasty liege.dynasty ?= { has_dynasty_perk = fp2_coterie_legacy_2 }
liege.dynasty = { has_dynasty_perk = fp2_coterie_legacy_2 }
house = liege.house house = liege.house
} }
add = learning add = learning

View file

@ -32,26 +32,24 @@ spouse_default_task_diplomacy_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -60,13 +58,6 @@ spouse_default_task_diplomacy_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5 divide = 5
if = { if = {
limit = { limit = {
@ -88,26 +79,24 @@ spouse_default_task_martial_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -116,13 +105,6 @@ spouse_default_task_martial_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5 divide = 5
if = { if = {
limit = { limit = {
@ -144,26 +126,24 @@ spouse_default_task_intrigue_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -172,13 +152,6 @@ spouse_default_task_intrigue_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5 divide = 5
if = { if = {
limit = { limit = {
@ -200,26 +173,24 @@ spouse_default_task_learning_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -228,13 +199,6 @@ spouse_default_task_learning_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5 divide = 5
if = { if = {
limit = { limit = {
@ -256,26 +220,24 @@ spouse_default_task_stewardship_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -284,13 +246,6 @@ spouse_default_task_stewardship_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 5 divide = 5
if = { if = {
limit = { limit = {
@ -312,26 +267,24 @@ spouse_task_court_politics_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -340,13 +293,6 @@ spouse_task_court_politics_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2 divide = 2
if = { if = {
limit = { limit = {
@ -368,26 +314,24 @@ spouse_task_chivalry_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -396,13 +340,6 @@ spouse_task_chivalry_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2 divide = 2
if = { if = {
limit = { limit = {
@ -424,26 +361,24 @@ spouse_task_court_intrigue_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -452,13 +387,6 @@ spouse_task_court_intrigue_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2 divide = 2
if = { if = {
limit = { limit = {
@ -480,26 +408,24 @@ spouse_task_manage_domain_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -508,13 +434,6 @@ spouse_task_manage_domain_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2 divide = 2
if = { if = {
limit = { limit = {
@ -536,26 +455,24 @@ spouse_task_patronage_scale = {
if = { if = {
limit = { limit = {
has_perk = loyalty_and_respect_perk 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
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
culture = { has_cultural_parameter = better_spouses } culture = { has_cultural_parameter = better_spouses }
} }
multiply = 1.25 multiply = 1.5
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
else = {
multiply = 1.25
}
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
}
else_if = {
limit = {
culture = { has_cultural_parameter = better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified # for performance reasons, to avoid checking trigger again
} }
if = { if = {
limit = { limit = {
@ -564,13 +481,6 @@ spouse_task_patronage_scale = {
multiply = 1.25 multiply = 1.25
save_temporary_value_as = has_been_modified save_temporary_value_as = has_been_modified
} }
if = {
limit = {
rite = { rite_has_parameter = neow_better_spouses }
}
multiply = 1.25
save_temporary_value_as = has_been_modified
}
divide = 2 divide = 2
if = { if = {
limit = { limit = {