idk why I dont have a cursor

This commit is contained in:
Magpie490 2025-06-02 16:22:24 +01:00
parent 701d55c01f
commit cda3acdcea
349 changed files with 78627 additions and 7804 deletions

View file

@ -542,6 +542,20 @@ feast_activity_cost = {
}
multiply = 0.5
}
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
feast_normal_option_cost = {
@ -689,6 +703,20 @@ standard_activity_base_cost = {
}
add = 50
}
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
# Deprecated
@ -762,6 +790,20 @@ standard_playdate_activity_cost = {
}
multiply = 0.5
}
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
@ -921,7 +963,7 @@ petition_liege_county_convert_count_value = {
petition_liege_county_convert_modifier_value = {
value = 0
add = court_chaplain_conversion_base_total
multiply = 0.1
multiply = 0.3
}
### Opinion
@ -1520,12 +1562,40 @@ funeral_normal_option_cost = {
value = 10
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
funeral_good_option_cost = {
value = 35
multiply = activity_cost_scale_by_tier
multiply = activity_cost_scale_by_era
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
funeral_activity_cost_discount_max = {
@ -1623,6 +1693,16 @@ funeral_end_piety_gain = {
}
add = 50
}
if = {
limit = {
scope:activity = {
activity_location = {
has_building_or_higher = wawel_cathedral_01
}
}
}
add = 50
}
if = {
limit = {
scope:activity = {
@ -1795,6 +1875,16 @@ funeral_end_legitimacy_gain = {
}
add = 10
}
if = {
limit = {
scope:activity = {
activity_location = {
has_building_or_higher = wawel_cathedral_01
}
}
}
add = 10
}
if = {
limit = {
scope:activity = {
@ -2342,6 +2432,26 @@ survey_province_reference_value = {
inspection_success_chance_value = {
if = {
limit = {
activity_host = { is_ai = no }
activity_location = { has_province_modifier = inspection_fourth_try_modifier }
}
add = {
value = 30
desc = inspection_success_chance.second_try_modifier
}
}
else_if = {
limit = {
activity_host = { is_ai = no }
activity_location = { has_province_modifier = inspection_third_try_modifier }
}
add = {
value = 20
desc = inspection_success_chance.second_try_modifier
}
}
else_if = {
limit = {
activity_host = { is_ai = no }
activity_location = { has_province_modifier = inspection_second_try_modifier }

View file

@ -346,6 +346,16 @@ conqueror_safe_spending_gold = { # Conquerors generally want to keep more gold t
multiply = 2
}
current_power_with_allies_value = {
value = military_power
every_ally = { add = military_power }
}
current_power_ninety_percent_value = {
value = military_power
multiply = 0.9
}
# Calc rough opinion values.
calc_rough_liege_opinion_value = {
if = {
@ -1547,6 +1557,24 @@ ai_men_at_arms_expense_gold_ideal = {
value = 0.4
desc = "default value"
}
if = {
limit = {
government_has_flag = government_is_nomadic
}
add = {
desc = government_is_nomadic
value = 0.15
if = {
limit = {
max_military_strength >= 100
domicile.num_domicile_buildings <= 4
}
add = -0.2
}
}
}
if = {
limit = {
ai_has_warlike_personality = yes
@ -1734,7 +1762,7 @@ ai_men_at_arms_expense_gold_max = {
}
if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
NOT = { vassal_contract_has_flag = admin_theme_civilian }
}
add = {
@ -1748,7 +1776,10 @@ ai_men_at_arms_expense_gold_max = {
if = {
limit = {
has_government = administrative_government
OR = {
government_has_flag = government_is_administrative
government_has_flag = government_is_nomadic
}
debt_level <= 2
}
value = 3
@ -2252,7 +2283,7 @@ ai_men_at_arms_chance_expense_below_ideal = {
### Brief: ai_men_at_arms_chance_landless_ruler
# Chance the AI will prefer MaA to buildings when they are a landless ruler.
# Is used exclusively when the character fulfils the requirement:
# Is used exclusively when the character fulfills the requirement:
# - they are a ruler (they hold a title, which also means adventurers)
# - they are not landed
#
@ -2284,7 +2315,7 @@ ai_men_at_arms_chance_landless_ruler = {
}
if = { # Landless admin focus mostly on Buildings
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
}
add = -0.3
}

View file

@ -228,6 +228,7 @@ current_gold_value = {
default_event_cooldown_duration = 730
long_event_cooldown_duration = 1200
default_favor_duration = 3650
prophecy_duration = 25 #years
#SKILL RATINGS
average_skill_rating = 8 #Tracks what we see as "typical". For use in duels, etc.
@ -489,6 +490,11 @@ major_dread_gain = 30
massive_dread_gain = 50
monumental_dread_gain = 70
minor_dread_value = 20
medium_dread_value = 45
major_dread_value = 70
massive_dread_value = 95
execute_interaction_minor_dread_gain = 5
execute_interaction_medium_dread_gain = 10
execute_interaction_major_dread_gain = 15
@ -871,6 +877,7 @@ minor_piety_value = 50
medium_piety_value = 100
major_piety_value = 250
massive_piety_value = 500
monumental_piety_value = 1000
miniscule_piety_loss = {
@ -893,12 +900,17 @@ massive_piety_loss = {
value = 0
subtract = massive_piety_value
}
monumental_piety_loss = {
value = 0
subtract = monumental_piety_value
}
miniscule_piety_gain = miniscule_piety_value
minor_piety_gain = minor_piety_value
medium_piety_gain = medium_piety_value
major_piety_gain = major_piety_value
massive_piety_gain = massive_piety_value
monumental_piety_gain = monumental_piety_value
omega_piety_gain = {
value = massive_piety_value
@ -1636,6 +1648,20 @@ vassal_obligation_increase_tyranny_gain_multiplier = {
vassal_obligation_increase_tyranny_gain = {
value = vassal_obligation_increase_tyranny_gain_base
multiply = vassal_obligation_increase_tyranny_gain_multiplier
if = {
limit = {
is_ai = no
has_game_rule = hard_difficulty
}
multiply = 3
}
else_if = {
limit = {
is_ai = no
has_game_rule = very_hard_difficulty
}
multiply = 5
}
}
#REALM SIZE

View file

@ -138,6 +138,13 @@ random_nickname_chance = {
}
add = 1
}
if = {
limit = {
government_has_flag = government_is_nomadic
age >= 25
}
add = 10
}
if = {
limit = {
has_game_rule = random_nickname_frequency_halved

View file

@ -16,6 +16,8 @@ spymaster_task_modifier_duration = 1825
court_chaplain_task_side_effect_cooldown = 365
court_chaplain_task_modifier_duration = 1825
kurultai_task_side_effect_cooldown = 95
council_scaled_monthly_income = {
add = liege.highest_held_title_tier
subtract = 2
@ -51,7 +53,23 @@ council_task_fabricate_claim_relative_strength = {
council_scaled_by_liege_tier_not_admin = {
value = council_scaled_by_liege_tier
if = {
limit = { has_government = administrative_government }
limit = { government_has_flag = government_is_administrative }
multiply = 0
}
}
council_scaled_by_liege_tier_nomad = {
value = council_scaled_by_liege_tier
if = {
limit = { NOT = { government_has_flag = government_is_nomadic } }
multiply = 0
}
}
council_scaled_by_liege_tier_not_nomad = {
value = council_scaled_by_liege_tier
if = {
limit = { government_has_flag = government_is_nomadic }
multiply = 0
}
}
@ -60,7 +78,7 @@ council_scaled_admin_value = {
value = 0 # This value should be 0 for anyone who isn't admin
if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
}
add = 1
if = {

View file

@ -94,6 +94,36 @@ county_corruption_modifier_count = {
}
add = 1
}
if = {
limit = {
has_county_modifier = county_corruption_roaming_bandits_modifier
}
add = 1
}
if = {
limit = {
has_county_modifier = county_corruption_wild_beast_attacks_modifier
}
add = 1
}
if = {
limit = {
has_county_modifier = county_corruption_upset_shepherds_modifier
}
add = 1
}
if = {
limit = {
has_county_modifier = county_corruption_rogue_warriors_modifier
}
add = 1
}
if = {
limit = {
has_county_modifier = county_corruption_unruly_nomads_modifier
}
add = 1
}
}
county_control_corruption_gain_chance = {

View file

@ -0,0 +1,96 @@
# COUNTY FERTILITY VALUES
# GATHERED TOGETHER IN ONE PLACE FOR BALANCING CONVENIENCE
# SEASONS
#
## ABUNDANT GRAZING (GOOD)
cf_abundant_grazing_growth_add_value = 2.0
cf_abundant_grazing_growth_mult_value = 0.25
## SEVERE DROUGHT (BAD)
cf_severe_drought_decline_add_value = -0.5
cf_severe_drought_decline_mult_value = 0.2
cf_severe_drought_growth_mult_value = -0.2
## WHITE ZUD (BAD-BAD)
cf_white_zud_decline_add_value = -2
cf_white_zud_decline_mult_value = 0.8
cf_white_zud_growth_mult_value = -0.8
## COLD ZUD ( BAD )
cf_cold_zud_decline_add_value = -1
cf_cold_zud_decline_mult_value = 0.4
cf_cold_zud_growth_mult_value = -0.4
## EVERLASTING SUMMER ( GOOD-GOOD )
cf_warm_nights_growth_add_value = 2.0
cf_warm_nights_growth_mult_value = 0.75
## BLESSING OF THE BLUE SKY ( BLISS )
cf_sky_blessing_growth_add_value = 8
cf_sky_blessing_growth_mult_value = 3
# HAVSARSAN ( EVERYBODY WILL PERISH )
cf_havsarsan_decline_add_value = 4
cf_havsarsan_decline_mult_value = 1
cf_havsarsan_growth_mult_value = -3
# TERRAIN (only growth add)
# NOTE: these are added per province in the county, so be mindful with the values
steppe_county_fertility_value = 0.35
farmlands_county_fertility_value = 0.35
oasis_county_fertility_value = 0.35
plains_county_fertility_value = 0.25
desert_county_fertility_value = 0.25
drylands_county_fertility_value = 0.25
hills_county_fertility_value = 0.2
floodplains_county_fertility_value = 0.2
wetlands_county_fertility_value = 0.2
mountains_county_fertility_value = 0.15
desert_mountains_county_fertility_value = 0.15
forest_county_fertility_value = 0.15
taiga_county_fertility_value = 0.15
jungle_county_fertility_value = 0.05
# TERRAIN CULTURE MODIFIERS
high_culture_county_fertility_value_add = 0.4
medium_culture_county_fertility_value_add = 0.1
low_culture_county_fertility_value_add = 0.05
high_culture_county_fertility_value_mult = 0.2
medium_culture_county_fertility_value_mult = 0.1
low_culture_county_fertility_value_mult = 0.05
# EVENT ETC MODIFIERS
massive_county_fertility_value_positive_add = 8
major_county_fertility_value_positive_add = 6
medium_county_fertility_value_positive_add = 4
minor_county_fertility_value_positive_add = 2
massive_county_fertility_value_positive_mult = 1
major_county_fertility_value_positive_mult = 0.6
medium_county_fertility_value_positive_mult = 0.4
minor_county_fertility_value_positive_mult = 0.2
massive_county_fertility_value_negative_add = -6
major_county_fertility_value_negative_add = -4
medium_county_fertility_value_negative_add = -2
minor_county_fertility_value_negative_add = -1
massive_county_fertility_value_negative_mult = -0.8
major_county_fertility_value_negative_mult = -0.6
medium_county_fertility_value_negative_mult = -0.2
minor_county_fertility_value_negative_mult = -0.1

View file

@ -51,6 +51,20 @@ base_court_amenities_cost = {
value = 1.25
}
}
if = {
limit = {
has_game_rule = hard_difficulty
is_ai = yes
}
multiply = 0.75
}
else_if = {
limit = {
has_game_rule = very_hard_difficulty
is_ai = yes
}
multiply = 0.5
}
}
court_amenities_cost_level_1 = {

File diff suppressed because it is too large Load diff

View file

@ -166,6 +166,17 @@ hybridization_threshold_value = {
}
multiply = 0.5
}
else_if = {
limit = {
root = {
has_trait = nomadic_philosophy
NOT = {
government_has_flag = government_is_nomadic
}
}
}
multiply = 0.5
}
if = {
limit = {
root.culture = {
@ -214,6 +225,19 @@ hybridization_threshold_value = {
}
multiply = 0.75
}
# Council Position
if = {
limit = {
root = {
has_variable = kurultai_culture_variable_value
}
}
multiply = {
value = 100
subtract = root.var:kurultai_culture_variable_value
divide = 100
}
}
max = 100
min = 0
}
@ -268,15 +292,75 @@ culture_hybrid_cooldown = {
multiply = 0
}
}
add_tradition_cooldown = 50
tradition_base_cost = 2000
add_tradition_cooldown = {
value = 50
if = {
limit = {
culture_head ?= {
has_variable = kurultai_culture_variable_value
}
}
multiply = {
value = 100
subtract = culture_head.var:kurultai_culture_variable_value
divide = 100
}
}
}
tradition_base_cost = {
value = 2000
if = {
limit = {
culture_head ?= {
has_variable = kurultai_culture_variable_value
}
}
multiply = {
value = 100
subtract = culture_head.var:kurultai_culture_variable_value
divide = 100
}
}
}
tradition_double_base_cost = {
value = tradition_base_cost
multiply = 2
}
tradition_incompatible_ethos_penalty = 2000
tradition_unfulfilled_criteria_penalty = 3000
tradition_incompatible_ethos_penalty = {
value = 2000
if = {
limit = {
culture_head ?= {
has_variable = kurultai_culture_variable_value
}
}
multiply = {
value = 100
subtract = culture_head.var:kurultai_culture_variable_value
divide = 100
}
}
}
tradition_unfulfilled_criteria_penalty = {
value = 3000
if = {
limit = {
culture_head ?= {
has_variable = kurultai_culture_variable_value
}
}
multiply = {
value = 100
subtract = culture_head.var:kurultai_culture_variable_value
divide = 100
}
}
}
tradition_replacement_cost_factor = 1.5
tradition_replacement_cost_factor_tooltip = {
value = tradition_replacement_cost_factor
@ -471,6 +555,13 @@ language_soft_cap = {
}
add = 1
}
if = {
limit = {
government_has_flag = government_is_nomadic
domicile ?= { has_domicile_parameter = nomad_yurt_language_cap }
}
add = 1
}
if = {
limit = {
exists = dynasty

View file

@ -122,6 +122,16 @@ diarch_loyalty_score_type_regency_value = {
}
}
}
# Obedience matters if you have obedience
if = {
limit = {
liege = { government_allows = obedience }
}
add = {
desc = game_concept_obedience
value = obedience_value
}
}
# Overrides.
## Loyalty overrides.
add = diarch_loyalty_score_standard_values_overrides_loyalty_value
@ -1385,7 +1395,12 @@ diarchy_regent_succession_score_value = {
### Prowess.
if = {
limit = {
liege = { has_court_type = court_tribal }
liege = {
OR = {
has_court_type = court_tribal
has_court_type = court_nomadic
}
}
}
add = {
value = prowess
@ -2225,7 +2240,12 @@ diarchy_vizier_succession_score_value = {
### Prowess.
if = {
limit = {
liege = { has_court_type = court_tribal }
liege = {
OR = {
has_court_type = court_tribal
has_court_type = court_nomadic
}
}
}
add = {
value = prowess

View file

@ -366,8 +366,7 @@ tax_collector_aptitude_major_increase = { value = 20 }
tax_collector_aptitude_massive_increase = { value = 25 }
tax_collector_aptitude_score = {
base_tax_collector_aptitude_score = {
value = 1
add = {
value = diplomacy
@ -498,15 +497,29 @@ tax_collector_aptitude_score = {
desc = traditions_cheaper_value
}
}
if = {
limit = {
is_landed = yes
}
add = {
value = -10
desc = court_position_landed_penalty
}
}
# Flag Check (for debug/event usage) - Use debug.9610
if = {
limit = { has_character_flag = is_guaranteed_excellent_tax_collector }
add = 110
add = 130
}
add = court_position_aptitude_family_business_value
add = court_position_aptitude_eunuch_tradition_value
}
tax_collector_aptitude_score = {
value = base_tax_collector_aptitude_score
# Viziers
if = {
@ -533,7 +546,7 @@ tax_collector_aptitude_score = {
}
add = {
value = {
value = liege.diarch.tax_collector_aptitude_score
value = liege.diarch.base_tax_collector_aptitude_score
# But remove the buff the vizier got from the SoP swing or things'll get ridiculous.
subtract = diarch_aptitude_helps_tax_collectors_buffed_by_swing_value
# Now, reduce according to the correct percentage.
@ -551,7 +564,7 @@ tax_collector_aptitude_score = {
}
add = {
value = {
value = liege.diarch.tax_collector_aptitude_score
value = liege.diarch.base_tax_collector_aptitude_score
# But remove the buff the vizier got from the SoP swing or things'll get ridiculous.
subtract = diarch_aptitude_helps_tax_collectors_buffed_by_swing_value
# Now, reduce according to the correct percentage.
@ -569,7 +582,7 @@ tax_collector_aptitude_score = {
}
add = {
value = {
value = liege.diarch.tax_collector_aptitude_score
value = liege.diarch.base_tax_collector_aptitude_score
# But remove the buff the vizier got from the SoP swing or things'll get ridiculous.
subtract = diarch_aptitude_helps_tax_collectors_buffed_by_swing_value
# Now, reduce according to the correct percentage.
@ -587,7 +600,7 @@ tax_collector_aptitude_score = {
}
add = {
value = {
value = liege.diarch.tax_collector_aptitude_score
value = liege.diarch.base_tax_collector_aptitude_score
# But remove the buff the vizier got from the SoP swing or things'll get ridiculous.
subtract = diarch_aptitude_helps_tax_collectors_buffed_by_swing_value
# Now, reduce according to the correct percentage.
@ -979,6 +992,10 @@ fp3_request_invasion_troop_value_bonus_levy_troops = {
multiply = 100
}
fp3_request_invasion_troop_value_bonus_levy_nomads = {
value = fp3_request_invasion_troop_value_bonus_troops
}
# The cost in gold of sponsoring a new research project

View file

@ -103,6 +103,36 @@ county_levies_to_raise = {
}
}
county_horde_riders_to_raise = {
if = {
limit = {
uses_county_fertility = yes
}
value = county_fertility
}
else = {
value = 25
}
min = 10
multiply = 30
# Will summon between 75% and 175% of total county levy strength, depending on how much they hate you (most commonly will be 95-110% though, scores between -20 and -35 are the most common)
multiply = {
value = county_opinion
multiply = -0.01
add = 0.5
}
min = {
value = building_max_garrison
multiply = 1.2
}
}
county_horde_riders_to_raise_power = {
value = county_horde_riders_to_raise
multiply = 2
}
county_maa_to_raise = {
value = total_county_levies

View file

@ -153,7 +153,7 @@ war_declaration_rights_allowed_cost_reduction_tooltip = {
value = war_declaration_rights_allowed_cost_reduction
multiply = 100
}
max_contract_changes = 3
max_contract_changes = 4
family_entrepreneurship_tax = 1
family_entrepreneurship_tax_tooltip = {
@ -180,6 +180,31 @@ ghazi_prestige_cost_increments_tooltip = {
multiply = 100
}
#Nomadic government values
exempt_herd_tax = 0
low_herd_tax = 0.05
normal_herd_tax = 0.1
high_herd_tax = 0.25
extortionate_herd_tax = 0.4
herd_tax_exempt_level = 0
herd_tax_low_level = 1
herd_tax_normal_level = 2
herd_tax_high_level = 3
herd_tax_extortionate_level = 4
exempt_nomad_tax = 0
low_nomad_tax = 0.05
normal_nomad_tax = 0.1
high_nomad_tax = 0.15
extortionate_nomad_tax = 0.2
# Default Tributary values
normal_tributary_tax = 0.25
high_tributary_tax = 0.50
normal_prestige_transfer = 0.1
high_prestige_transfer = 0.25
#maguh_development_value = {
# value = 0.01
# multiply = clan_government_tax_collector_aptitude_multiplier

View file

@ -23,6 +23,26 @@ golden_obligation_value_check_current_situation = {
max = golden_obligation_value
}
ransom_herd_value_recipient = {
value = 0
if = {
limit = {
exists = scope:recipient.domicile
}
add = scope:recipient.domicile.medium_herd_value
}
}
ransom_herd_value_actor = {
value = 0
if = {
limit = {
exists = scope:actor.domicile
}
add = scope:actor.domicile.medium_herd_value
}
}
ransom_cost_value = {
value = ransom_cost
# Some cultures are better at ransoming than others.
@ -122,6 +142,34 @@ ransom_cost_value = {
add = 1
}
}
if = {
limit = {
has_game_rule = hard_difficulty
OR = {
scope:imprisoner ?= {
is_ai = no
}
imprisoner ?= {
is_ai = no
}
}
}
multiply = 0.5
}
else_if = {
limit = {
has_game_rule = very_hard_difficulty
OR = {
scope:imprisoner ?= {
is_ai = no
}
imprisoner ?= {
is_ai = no
}
}
}
multiply = 0.25
}
}
current_situation_gold_ransom = {
@ -482,6 +530,27 @@ number_of_minority_vassals = {
}
}
number_of_belligerent_vassals = {
value = 0
every_vassal = {
limit = {
has_vassal_stance = belligerent
}
add = 1
}
}
number_of_participating_belligerent_vassals = {
value = 0
every_vassal = {
limit = {
has_vassal_stance = belligerent
is_participant_in_activity = root.involved_activity
}
add = 1
}
}
number_of_barons_and_minor_landholders_vassals = {
value = 0
every_vassal = {
@ -699,6 +768,13 @@ fifty_percent_of_current_military_strength = {
}
}
ten_percent_of_current_military_strength = {
value = {
add = current_military_strength
multiply = 0.1
}
}
eighty_percent_of_max_military_strength = {
value = {
add = max_military_strength
@ -807,3 +883,36 @@ elope_close_family_tiers_acceptance_value = {
multiply = 25
}
duchy_confederation_vassals_value = {
value = 0
scope:actor.confederation = {
every_confederation_member = {
limit = {
highest_held_title_tier >= tier_county
}
add = -1
}
}
#First 3 confederates are free
add = 3
#Multiply by 20 to get impact
max = 0
multiply = 15
}
duchy_confederation_vassals_value_recipient = {
value = 0
scope:recipient.confederation = {
every_confederation_member = {
limit = {
highest_held_title_tier >= tier_county
}
add = -1
}
}
#First 5 confederates are free
add = 5
#Multiply by 20 to get impact
max = 0
multiply = 15
}

View file

@ -26,6 +26,15 @@ learning_law_cost_modifier = {
min = -0.5
}
# Prowess: Base Dominance Cost Reduction
prowess_law_cost_modifier = {
value = 0
subtract = prowess
add = 8
divide = 75
min = -0.5
}
#Faith: The modifier used to calculate the Legalism modifier if the character's faith has Legalism
legalism_law_cost_modifier = {
value = 0
@ -35,6 +44,15 @@ legalism_law_cost_modifier = {
min = -0.3
}
#Faith: The modifier used to calculate the Warmonger modifier if the character's faith has Warmonger
warmonger_law_cost_modifier = {
value = 0
add = num_sinful_traits
subtract = num_virtuous_traits
divide = 10
min = -0.3
}
#Faith: Religious Law
religious_legal_pronouncements_modifier = -0.1
@ -155,7 +173,10 @@ increase_crown_authority_prestige_cost = {
# Apply All-Things cooldown breaker multiplier.
if = {
limit = {
has_variable = crown_authority_cooldown
OR = {
has_variable = crown_authority_cooldown
has_variable = imperial_bureaucracy_cooldown
}
culture = { has_innovation = innovation_all_things }
}
# If the tally exists, multiply by that.
@ -319,6 +340,109 @@ increase_tribal_authority_prestige_cost = {
}
}
#Dominance / Nomadic Authority Change
increase_nomadic_authority_herd_cost_base = 500
increase_nomadic_authority_herd_cost = {
add = {
desc = "BASE_VALUE"
value = increase_nomadic_authority_herd_cost_base
format = "BASE_VALUE_FORMAT"
}
multiply = {
desc = "era_law_cost_scale"
value = domicile.herd_value_scale_by_era
}
multiply = {
desc = "dominance_law_cost_scale"
value = dominance_value
}
}
increase_nomadic_authority_prestige_base = 300
increase_nomadic_authority_prestige_cost = {
add = {
desc = "BASE_VALUE"
value = increase_nomadic_authority_prestige_base
format = "BASE_VALUE_FORMAT"
}
# +10 Prestige cost per county controlled by you(r vassals)
add = {
desc = "realm_size"
format = "BREAKDOWN_FORMAT_REALM_SIZE_PRESTIGE_COST"
value = subrealm_size_modifier
}
# Prowess Modifier (2% more expensive for each skill point below 8 Prowess)
if = {
limit = {
prowess < 8
}
add = {
desc = "poor_prowess_law_cost_tooltip"
value = {
add = increase_nomadic_authority_prestige_base
add = subrealm_size_modifier
}
multiply = prowess_law_cost_modifier
}
}
else_if = { # (2% less expensive for each skill point above 8 Prowess)
limit = {
prowess > 8
}
add = {
desc = "prowess_law_cost_tooltip"
value = {
add = increase_nomadic_authority_prestige_base
add = subrealm_size_modifier
}
multiply = prowess_law_cost_modifier
}
}
# Tenet Modifiers
if = {
limit = {
faith = {
has_doctrine_parameter = warmonger
}
}
add = {
desc = "tenet_warmonger_law_cost_tooltip"
value = {
add = increase_crown_authority_prestige_base
add = subrealm_size_modifier
}
multiply = warmonger_law_cost_modifier
}
}
# Apply All-Things cooldown breaker multiplier.
if = {
limit = {
has_variable = nomadic_authority_cooldown
culture = { has_innovation = innovation_all_things }
}
# If the tally exists, multiply by that.
if = {
limit = { has_variable = authority_cooldown_break_tally }
multiply = {
desc = "breaking_authority_cooldown"
value = var:authority_cooldown_break_tally
}
}
# Otherwise, multiply by the stock tally base.
else = {
multiply = {
desc = "breaking_authority_cooldown"
value = authority_cooldown_breaker_value
}
}
}
}
#Succession Law Change
change_succession_law_prestige_base = 500
@title_succession_law_mult = 3 #How many times more expensive is it to add custom title succession than change your realm succession?

View file

@ -93,6 +93,7 @@ minor_legitimacy_gain = 50
medium_legitimacy_gain = 100
major_legitimacy_gain = 200
massive_legitimacy_gain = 300
monumental_legitimacy_gain = 500
miniscule_legitimacy_loss = {
value = 0
@ -114,6 +115,10 @@ massive_legitimacy_loss = {
value = 0
subtract = massive_legitimacy_gain
}
monumental_legitimacy_loss = {
value = 0
subtract = monumental_legitimacy_gain
}
### BASE CALCULATION VALUES
@ -187,7 +192,7 @@ base_legitimacy_value = { # Split into separate values for easy debugging/visibi
# ADMINISTRATIVE
if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
}
multiply = 0.75 # To reduce the overall base values
add = base_legitimacy_admin_value # And add anything admin specific
@ -244,7 +249,7 @@ succession_legitimacy_value = { # Split into separate values for easy debugging/
# ADMINISTRATIVE
if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
}
multiply = 0.75 # To reduce the overall base values
add = base_legitimacy_admin_value # And add anything admin specific
@ -763,6 +768,13 @@ base_legitimacy_special_traits_value = {
multiply = 2
}
}
if = {
limit = { has_trait = golden_lineage }
add = {
value = base_legitimacy_per_special_traits_value
multiply = 2
}
}
if = {
limit = { has_trait = born_in_the_purple }
add = {
@ -1067,3 +1079,13 @@ legitimacy_regent_swing_scale_multipler_value = {
multiply = 0.5
}
}
nomadic_legitimacy_claimant_multiplier = {
value = 1
if = {
limit = {
scope:the_claimant = { government_has_flag = government_is_nomadic }
}
multiply = 1.5
}
}

View file

@ -10,6 +10,17 @@ major_lifestyle_xp = 300
massive_lifestyle_xp = 500 # Half of xp needed for 1 perk point
monumental_lifestyle_xp = 1000 # Enough for 1 perk point... but why give XP instead of just awarding a full perk?
travel_miniscule_lifestyle_xp = {
value = miniscule_lifestyle_xp
multiply = 1.5
if = {
limit = {
has_perk = been_there_done_that_perk
}
multiply = been_there_done_that_multiplier_value
}
}
travel_minor_lifestyle_xp = {
value = minor_lifestyle_xp
multiply = 1.5
@ -197,6 +208,7 @@ learn_on_the_job_percentage = 20
# Zealous Proselytizer
zealous_proselytizer_percentage = 25
zealous_proselytizer_stargazer_percentage = 10
# Sanctioned Loopholes
minor_buy_claim_piety_value = {

View file

@ -69,6 +69,10 @@ heavy_cavalry_high_maint_cost = @[heavy_cavalry_high_maint_cost]
### Siege Weapons MAA
torch_bearers_recruitment_cost = @[siege_weapons_recruitment_cost * 0.5]
torch_bearers_low_maint_cost = @[siege_weapons_low_maint_cost * 0.5]
torch_bearers_high_maint_cost = @[siege_weapons_high_maint_cost * 0.5]
onager_recruitment_cost = @[siege_weapons_recruitment_cost]
onager_low_maint_cost = @[siege_weapons_low_maint_cost]
onager_high_maint_cost = @[siege_weapons_high_maint_cost]
@ -306,6 +310,36 @@ handpicked_faithful_recruitment_cost = @[heavy_infantry_recruitment_cost * 0.75]
handpicked_faithful_low_maint_cost = @[heavy_infantry_low_maint_cost * 0.75]
handpicked_faithful_high_maint_cost = @[heavy_infantry_high_maint_cost * 0.75]
#MPO
steppe_raiders_recruitment_cost = @[light_cavalry_recruitment_cost * 0.9]
steppe_raiders_low_maint_cost = @[light_cavalry_low_maint_cost * 0.9]
steppe_raiders_high_maint_cost = @[light_cavalry_high_maint_cost * 0.9]
heavy_horse_archers_recruitment_cost = @[skirmisher_recruitment_cost * 3.5]
heavy_horse_archers_low_maint_cost = @[skirmisher_low_maint_cost * 3.5]
heavy_horse_archers_high_maint_cost = @[skirmisher_high_maint_cost * 3.5]
nomad_lancers_recruitment_cost = @[heavy_cavalry_recruitment_cost * 0.95]
nomad_lancers_low_maint_cost = @[heavy_cavalry_low_maint_cost * 0.95]
nomad_lancers_high_maint_cost = @[heavy_cavalry_high_maint_cost * 0.95]
kheshig_recruitment_cost = @[skirmisher_recruitment_cost * 5]
kheshig_veterans_low_maint_cost = @[skirmisher_low_maint_cost * 5]
kheshig_veterans_high_maint_cost = @[skirmisher_high_maint_cost * 5]
mangudai_recruitment_cost = @[skirmisher_recruitment_cost * 2.2]
mangudai_low_maint_cost = @[skirmisher_low_maint_cost * 2.2]
mangudai_high_maint_cost = @[skirmisher_high_maint_cost * 2.2]
cataphract_archers_recruitment_cost = @[heavy_cavalry_recruitment_cost * 1.3]
cataphract_archers_low_maint_cost = @[heavy_cavalry_low_maint_cost * 1.3]
cataphract_archers_high_maint_cost = @[heavy_cavalry_high_maint_cost * 1.3]
maturkan_warriors_recruitment_cost = @[archers_recruitment_cost * 1.05]
maturkan_warriors_low_maint_cost = @[archers_low_maint_cost * 1.05]
maturkan_warriors_high_maint_cost = @[archers_high_maint_cost * 1.05]
##############
# AI Weights #
##############
@ -443,25 +477,24 @@ culture_ai_weight_light_cavalry = {
if = { # Cultures that REALLY like light cavalry
limit = {
mpo_can_recruit_nomad_maa_trigger = no
OR = {
culture = { has_cultural_pillar = heritage_iranian }
# Steppe cultures
culture = { has_cultural_pillar = heritage_turkic }
culture = { has_cultural_pillar = heritage_mongolic }
}
}
add = 80
}
if = { # Cultures that favours light cavalry
limit = {
mpo_can_recruit_nomad_maa_trigger = no
culture = {
OR = {
has_cultural_pillar = heritage_arabic
has_cultural_pillar = heritage_iranian
has_cultural_pillar = heritage_berber
has_cultural_pillar = heritage_iberian
has_cultural_pillar = heritage_indo_aryan
has_cultural_pillar = heritage_turkic
has_cultural_pillar = heritage_mongolic
}
}
}
@ -508,6 +541,7 @@ culture_ai_weight_heavy_cavalry = {
if = { # Cultures that REALLY like heavy cavalry
limit = {
mpo_can_recruit_nomad_maa_trigger = no
OR = {
culture = { has_cultural_pillar = heritage_iranian }
@ -520,6 +554,7 @@ culture_ai_weight_heavy_cavalry = {
}
if = { # Cultures that favours heavy cavalry
limit = {
mpo_can_recruit_nomad_maa_trigger = no
OR = {
culture = { has_cultural_pillar = heritage_central_germanic }
culture = { has_cultural_pillar = heritage_frankish }

View file

@ -8,7 +8,21 @@
# Chance of Mongols appearing per year between 1180 and 1250
temujin_appearance_base_chance = 1
temujin_appearance_base_chance = {
value = 1
#player temujin should start getting a higher chance of becoming Genghis faster
if = {
limit = {
exists = character:125501
character:125501 = {
is_ai = no
is_physically_able_ai_adult = yes
}
current_date > 1190.1.1
}
add = 30
}
}
# Weight used in selecting targets for the automated Mongol invasions
mongol_invasion_target_character_weight = {
@ -222,4 +236,4 @@ mongol_successor_faith_chance = {
add = 5
}
}
}
}

View file

@ -19,6 +19,18 @@ scheme_progress_loss = {
subtract = scope:scheme.scheme_progress
multiply = -0.1
}
scheme_progress_33 = {
value = scope:scheme.scheme_phase_duration
multiply = 0.33
}
scheme_progress_50 = {
value = scope:scheme.scheme_phase_duration
multiply = 0.5
}
scheme_progress_66 = {
value = scope:scheme.scheme_phase_duration
multiply = 0.66
}
# Secrecy changes
minor_secrecy_loss = -0.05
medium_secrecy_loss = -0.1
@ -184,6 +196,21 @@ piety_bribe_value = {
}
}
herd_bribe_value = {
# Base.
value = major_herd_value_static
# Your tier.
add = {
value = 25
multiply = scope:actor.highest_held_title_tier
}
# Their tier.
add = {
value = 25
multiply = scope:recipient.highest_held_title_tier
}
}
#GIFTS
gift_value = {
value = 50
@ -2583,48 +2610,82 @@ agent_groups_owner_perspective_value = {
agent_groups_target_character_perspective_value = {
if = {
limit = {
scope:scheme ?= {
is_scheme_target_type = title
}
exists = scope:target.holder
}
scope:scheme ?= {
scheme_target_title.holder ?= { save_temporary_scope_as = target }
scope:target.holder = {
# We need to check the any's here to avoid +0s if there's no valid chars.
if = {
limit = {
any_courtier = { is_valid_agent_standard_trigger = yes }
}
add = {
value = 3
multiply = {
value = 0
every_courtier = {
limit = { is_valid_agent_standard_trigger = yes }
add = 1
}
max = 5
}
desc = scheme_odds.agents.target_holder.number_of_valid_courtiers_agents
}
}
if = {
limit = {
any_vassal = { is_valid_agent_standard_trigger = yes }
}
add = {
value = 2
multiply = {
value = 0
every_vassal = {
limit = { is_valid_agent_standard_trigger = yes }
add = 1
}
max = 5
}
desc = scheme_odds.agents.target_holder.number_of_valid_vassal_agents
}
}
}
}
scope:target = {
# We need to check the any's here to avoid +0s if there's no valid chars.
if = {
limit = {
any_courtier = { is_valid_agent_standard_trigger = yes }
}
add = {
value = 3
multiply = {
value = 0
every_courtier = {
limit = { is_valid_agent_standard_trigger = yes }
add = 1
}
max = 5
else = {
scope:target = {
# We need to check the any's here to avoid +0s if there's no valid chars.
if = {
limit = {
any_courtier = { is_valid_agent_standard_trigger = yes }
}
desc = scheme_odds.agents.target.number_of_valid_courtiers_agents
}
}
if = {
limit = {
any_vassal = { is_valid_agent_standard_trigger = yes }
}
add = {
value = 2
multiply = {
value = 0
every_vassal = {
limit = { is_valid_agent_standard_trigger = yes }
add = 1
add = {
value = 3
multiply = {
value = 0
every_courtier = {
limit = { is_valid_agent_standard_trigger = yes }
add = 1
}
max = 5
}
max = 5
desc = scheme_odds.agents.target.number_of_valid_courtiers_agents
}
}
if = {
limit = {
any_vassal = { is_valid_agent_standard_trigger = yes }
}
add = {
value = 2
multiply = {
value = 0
every_vassal = {
limit = { is_valid_agent_standard_trigger = yes }
add = 1
}
max = 5
}
desc = scheme_odds.agents.target.number_of_valid_vassal_agents
}
desc = scheme_odds.agents.target.number_of_valid_vassal_agents
}
}
}
@ -3029,6 +3090,19 @@ odds_skill_contribution_diplomacy_value = {
}
}
}
odds_skill_contribution_diplomacy_title_value = {
add = {
value = scope:owner.diplomacy
desc = scheme_odds.diplomacy.owner
}
scope:target.holder ?= {
add = {
value = scope:target.holder.diplomacy
desc = scheme_odds.diplomacy.target_holder
multiply = -0.5
}
}
}
odds_skill_contribution_martial_value = {
add = {
value = scope:owner.martial
@ -3068,6 +3142,25 @@ odds_skill_contribution_intrigue_value = {
}
}
}
odds_variables_contribution_murder = {
## nomad_events.0006
if = {
limit = {
scope:owner = {
has_variable = achmach_murder_help_var
any_councillor = {
has_variable = achmach_murder_help_councillor_var
}
}
}
add = {
value = 15
desc = "ACHMACH_MURDER_BONUS"
}
}
}
odds_skill_contribution_learning_value = {
add = {
value = scope:owner.learning
@ -3814,6 +3907,14 @@ odds_learn_language_scheme_misc_value = {
}
add = 4
}
if = {
limit = {
scope:owner ?= {
var:family_widow_forbidden_divorce ?= scope:target
}
}
add = 20
}
}
}
@ -4051,7 +4152,73 @@ odds_subsume_province_scheme_misc_value = {
}
odds_raid_estate_scheme_misc_value = {
# same as odds_raid_estate_scheme_misc_value but target is a title
odds_dispute_border_scheme_misc_value = {
add = {
value = 0
desc = scheme_odds.misc_modifiers
add = {
value = scope:owner.influence_level
multiply = 2
}
add = {
value = scope:target.influence_level
multiply = -4
}
if = {
limit = {
scope:target.house = scope:owner.top_liege.house
}
add = -12
}
if = {
limit = {
scope:owner.house = {
is_powerful_family = yes
is_dominant_family = no
}
}
add = 8
}
if = {
limit = {
scope:target.house = {
is_powerful_family = yes
is_dominant_family = no
}
}
add = -16
}
if = {
limit = {
scope:target.domicile ?= {
OR = {
has_domicile_building_or_higher = barracks_01
has_domicile_building_or_higher = guardhouse_01
has_domicile_building_or_higher = watchtower_01
has_domicile_building_or_higher = estate_main_02
}
}
}
add = -4
}
if = {
limit = {
scope:target.domicile ?= {
OR = {
has_domicile_building_or_higher = barracks_03
has_domicile_building_or_higher = guardhouse_03
has_domicile_building_or_higher = watchtower_03
has_domicile_building_or_higher = estate_main_04
}
}
}
add = -12
}
}
}
odds_dispute_border_scheme_misc_value = {
add = {
value = 0
desc = scheme_odds.misc_modifiers
@ -4089,7 +4256,7 @@ odds_raid_estate_scheme_misc_value = {
}
if = {
limit = {
scope:target.domicile = {
scope:target.holder.domicile ?= {
OR = {
has_domicile_building_or_higher = barracks_01
has_domicile_building_or_higher = guardhouse_01
@ -4102,7 +4269,73 @@ odds_raid_estate_scheme_misc_value = {
}
if = {
limit = {
scope:target.domicile = {
scope:target.holder.domicile ?= {
OR = {
has_domicile_building_or_higher = barracks_03
has_domicile_building_or_higher = guardhouse_03
has_domicile_building_or_higher = watchtower_03
has_domicile_building_or_higher = estate_main_04
}
}
}
add = -12
}
}
}
# same as odds_dispute_border_scheme_misc_value but target is a character
odds_raid_estate_scheme_misc_value = {
add = {
value = 0
desc = scheme_odds.misc_modifiers
add = {
value = scope:owner.influence_level
multiply = 2
}
add = {
value = scope:target.influence_level
multiply = -4
}
if = {
limit = {
scope:target.house = scope:owner.top_liege.house
}
add = -12
}
if = {
limit = {
scope:owner.house = {
is_powerful_family = yes
is_dominant_family = no
}
}
add = 8
}
if = {
limit = {
scope:target.house = {
is_powerful_family = yes
is_dominant_family = no
}
}
add = -16
}
if = {
limit = {
scope:target.holder.domicile = {
OR = {
has_domicile_building_or_higher = barracks_01
has_domicile_building_or_higher = guardhouse_01
has_domicile_building_or_higher = watchtower_01
has_domicile_building_or_higher = estate_main_02
}
}
}
add = -4
}
if = {
limit = {
scope:target.holder.domicile = {
OR = {
has_domicile_building_or_higher = barracks_03
has_domicile_building_or_higher = guardhouse_03
@ -4671,6 +4904,14 @@ odds_romance_scheme_misc_value = {
}
add = -36
}
if = {
limit = {
scope:owner ?= {
var:family_widow_forbidden_divorce ?= scope:target
}
}
add = 20
}
}
}

View file

@ -1,4 +1,10 @@

visit_settlement_lock_days = {
value = 0
add = define:NGame|MULTIPLAYER_EVENT_TIME_OUT
add = 2 #Some buffer
}
visit_settlement_minimum_cooldown_days = 90 #3 months
visit_settlement_minimum_cooldown_months = 3 #Sync with visit_settlement_minimum_cooldown_days
visit_settlement_small_cooldown_days = 180 #6 months
@ -60,4 +66,4 @@ laamp_ai_spending_pants_value = 500
visit_settlement_piety_gain_value = {
value = major_piety_gain
divide = root.var:visit_settlement_church_donation
}
}

View file

@ -41,6 +41,14 @@ standard_truce_duration_days = {
}
add = 900
}
## Shorter truce if both sides are nomads
if = {
limit = {
scope:attacker = { government_has_flag = government_is_nomadic }
scope:defender = { government_has_flag = government_is_nomadic }
}
subtract = 730
}
# A truce should at least give a 2-year breather.
min = 730
if = {
@ -782,14 +790,19 @@ scale_10_war_defender_win = {
######################
# AI Decision Making #
######################
# The two effects below are to be used in combination as "root_military_strength_higher_than_value > target_military_strength_root_value" to check player vs enemy strength
root_military_strength_higher_than_value = { # Once again joe saves the day or erm, script.
# Compute military strength against *scope:target_military*.
#
# This script value and the one after it are to be used in combination as
# "root_military_strength_higher_than_military_target_value > target_military_strength_root_value"
# to check player vs enemy strength.
root_military_strength_higher_than_military_target_value = {
value = 0
add = max_military_strength # Add num of troops
if = {
limit = {
any_ally = {
NOT = { has_truce = scope:target_military }
NOT = { has_truce = scope:target_military }
}
}
every_ally = {
@ -805,22 +818,65 @@ root_military_strength_higher_than_value = { # Once again joe saves the day or e
}
}
target_military_strength_root_value = { # One above calcs player strength (plus multiplier), this one is enemy strenth
# One above calcs player strength (plus multiplier), this one is enemy strength.
target_military_strength_root_value = {
value = 0
add = scope:target_military.max_military_strength # this should be a character, probably a top liege
if = {
limit = { exists = scope:target_military }
add = scope:target_military.max_military_strength # this should be a character, probably a top liege
scope:target_military = {
every_ally = {
limit = {
NOT = { has_truce = root }
}
add = max_military_strength
}
}
}
}
# Compute military strength against *scope:recipient*.
#
# This script value and the one after it are to be used in combination as
# "root_military_strength_higher_than_recipient_value > recipient_strength_root_value"
# to check player vs enemy strength.
root_military_strength_higher_than_recipient_value = {
value = 0
add = max_military_strength # Add num of troops
if = {
limit = {
any_ally = {
NOT = { has_truce = root }
NOT = { has_truce = scope:recipient }
}
}
every_ally = {
limit = {
NOT = { has_truce = root }
limit = {
NOT = { has_truce = scope:recipient }
}
add = max_military_strength
}
}
if = {
limit = { exists = var:ai_strength_multiplier }
multiply = var:ai_strength_multiplier # 1.25 == 25% stronger than, remember to potty train your script and have it remove the variable after usage!!
}
}
# One above calcs player strength (plus multiplier), this one is enemy strength.
recipient_strength_root_value = {
value = 0
if = {
limit = { exists = scope:recipient }
add = scope:recipient.max_military_strength # this should be a character, probably a top liege
scope:recipient = {
every_ally = {
limit = {
NOT = { has_truce = root }
}
add = max_military_strength
}
}
}
}
war_attacker_total_strength_value = {

View file

@ -314,6 +314,10 @@ create_duchy_title_value = {
limit = { government_has_flag = government_is_tribal } # Tribal
subtract = 0.5
}
if = {
limit = { government_has_flag = government_is_nomadic } # Nomads
subtract = 0.5
}
if = {
limit = {
faith = { has_doctrine = tenet_pursuit_of_power } # Pursuit of Power
@ -377,6 +381,10 @@ create_kingdom_title_value = {
limit = { government_has_flag = government_is_tribal } # Tribal
subtract = 0.5
}
if = {
limit = { government_has_flag = government_is_nomadic } # Nomads
subtract = 0.5
}
if = {
limit = {
faith = { has_doctrine = tenet_pursuit_of_power } # Pursuit of Power
@ -440,6 +448,10 @@ create_empire_title_value = {
limit = { government_has_flag = government_is_tribal } # Tribal
subtract = 0.5
}
if = {
limit = { government_has_flag = government_is_nomadic } # Nomads
subtract = 0.5
}
if = {
limit = {
faith = { has_doctrine = tenet_pursuit_of_power } # Pursuit of Power
@ -1262,6 +1274,18 @@ recruit_guest_interaction_cost_with_list = {
list = recruiting_family
add = individual_recruit_guest_interaction_cost
}
if = {
limit = {
scope:actor = {
is_ai = yes
}
OR = {
has_game_rule = hard_difficulty
has_game_rule = very_hard_difficulty
}
}
multiply = 0
}
}
root_attraction_based_female_chance = {
@ -1711,14 +1735,14 @@ ai_war_chest_defender_holy_war_gold_value = {
steward_convert_culture_value = {
value = yearly_character_income
multiply = 5
min = 150
multiply = 3
min = 100
}
steward_increase_development_value = {
value = yearly_character_income
multiply = 3
min = 100
multiply = 2
min = 50
}
minimum_ai_gold_value_for_tyranny_wars = {

View file

@ -3461,7 +3461,7 @@ faith_conversion_cost_mult = {
else_if = {
limit = {
scope:character = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
}
}
multiply = {
@ -4213,12 +4213,28 @@ faith_conversion_cost_mult = {
multiply = {
value = 1
subtract = {
desc = faith_conversion_cost_witch_event
desc = faith_conversion_cost_event
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
value = 0.5
}
}
}
if = {
limit = {
scope:character = {
has_character_modifier = mpo_islam_conversion_modifier
}
scope:new_faith = { religion = religion:islam_religion }
}
multiply = {
value = 1
subtract = {
desc = faith_conversion_cost_mpo_islam_event
format = "BREAKDOWN_FORMAT_PIETY_PERCENTAGE_POSITIVE_IS_BAD"
value = 0.25
}
}
}
# Removing 1 to offset the value and present it as expected by the code
subtract = {
@ -4533,3 +4549,28 @@ great_holy_war_target_kingdom_weight_simplified = {
multiply = ghw_target_religious_vengeance
}
}
holy_site_reform_tracker_value = {
value = 0
faith = {
every_holy_site = {
limit = {
county = {
save_temporary_scope_as = current_holy_site
OR = {
is_holy_site_controlled_by = root
root.confederation ?= {
any_confederation_member = {
scope:current_holy_site = {
is_holy_site_controlled_by = prev
}
}
}
}
holder.faith = root.faith
}
}
add = 1
}
}
}

View file

@ -50,14 +50,31 @@ challenge_to_chess_stress_stake_value = { value = medium_stress_gain }
challenge_to_chess_gold_change_value = {
value = 0
# To keep this balanced, we want to use the lowest income of scope:actor & scope:recipient.
#Guess you don't have a monthly income, most of the time
if = {
limit = { scope:actor.monthly_character_income >= scope:recipient.monthly_character_income }
add = scope:recipient.monthly_character_income
limit = {
scope:actor = {
monthly_character_income <= 0
is_landless_adventurer = yes
}
}
if = {
limit = { scope:actor.gold > scope:recipient.gold }
add = scope:recipient.monthly_character_income
multiply = 9
}
else = { add = scope:actor.gold }
}
else = {
# To keep this balanced, we want to use the lowest income of scope:actor & scope:recipient.
if = {
limit = { scope:actor.monthly_character_income >= scope:recipient.monthly_character_income }
add = scope:recipient.monthly_character_income
}
else = { add = scope:actor.monthly_character_income }
# And, because month-to-month income isn't much, we take it up to a significant fraction of a year's earnings.
multiply = 9
}
else = { add = scope:actor.monthly_character_income }
# And, because month-to-month income isn't much, we take it up to a significant fraction of a year's earnings.
multiply = 9
}
bg_stake_land_evaluate_appropriate_county_ordering_value = {
@ -1099,6 +1116,10 @@ pt_sum_small_value = {
}
multiply = 0.5
}
if = { # double the cost if you're just buying off a nomad without any prerequisites
limit = { fp2_purchase_truce_interaction_soft_requirements_trigger = no }
multiply = 2
}
}
pt_sum_medium_value = {
@ -1124,6 +1145,10 @@ pt_sum_medium_value = {
}
multiply = 0.5
}
if = { # double the cost if you're just buying off a nomad without any prerequisites
limit = { fp2_purchase_truce_interaction_soft_requirements_trigger = no }
multiply = 2
}
}
pt_sum_large_value = {
@ -1149,4 +1174,8 @@ pt_sum_large_value = {
}
multiply = 0.5
}
if = { # double the cost if you're just buying off a nomad without any prerequisites
limit = { fp2_purchase_truce_interaction_soft_requirements_trigger = no }
multiply = 2
}
}

View file

@ -156,6 +156,13 @@ hunt_hunting_grounds_success_value = {
}
desc = hunt_success_chance.rainbow_mountains_01
}
add = {
if = {
limit = { has_building = visegrad_castle_01 }
add = 24
}
desc = hunt_success_chance.visegrad_castle_01
}
}
hunt_logging_camps_success_value = {
@ -380,6 +387,26 @@ hunt_success_chance_value = {
desc = hunt_success_chance.ep2_beastmaster_modifier
}
}
if = { # Daydreaming about Birds
limit = {
involved_activity = {
has_activity_option = { category = special_type option = hunt_type_falconry }
}
has_character_modifier = mpo_daydreaming_birds_modifier
}
add = {
value = 5
desc = hunt_success_chance.mpo_daydreaming_birds_modifier
}
}
if = { # Le childhood
limit = { has_character_modifier = eagle_hunter_childhood_modifier }
add = {
value = 5
desc = hunt_success_chance.eagle_hunter_childhood_modifier
}
}
if = { # Scenthound
limit = {
has_character_modifier = dog_story_scenthound_modifier
@ -445,6 +472,15 @@ hunt_success_chance_value = {
desc = hunt_success_chance.master_of_hunt
}
}
if = {
limit = {
has_court_position = master_of_hunt_court_position
}
add = {
value = 10
desc = hunt_success_chance.master_of_hunt_holder
}
}
# HUNTSMAN
if = {
limit = { exists = court_position:huntperson_camp_officer }
@ -499,6 +535,19 @@ hunt_success_chance_value = {
desc = estate_has_kennels
}
}
# HUNTING EAGLE
if = {
limit = {
involved_activity = {
has_activity_option = { category = special_type option = hunt_type_falconry }
}
has_available_eagle_trigger = yes
}
add = {
value = 10
desc = hunt_success_chance.hunting_eagle
}
}
}
# GUESTS
if = { # Hunters
@ -540,7 +589,17 @@ hunt_success_chance_value = {
}
}
#OPTION
if = {
if = { # Nomads do not use Attendants option
limit = {
activity_host = { government_has_flag = government_is_nomadic }
}
add = {
value = 2.5
multiply = hunt_success_chance_roco_amenity_level_value
desc = hunt_success_chance.nomadic
}
}
else_if = {
limit = {
has_activity_option = { category = hunt_option_attendants option = hunt_attendants_normal }
}
@ -782,55 +841,66 @@ hunt_province_reference_value = {
value = 0
if = {
limit = {
OR = {
terrain = farmlands
terrain = floodplains
}
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = -10
}
else_if = {
limit = {
OR = {
terrain = desert
terrain = desert_mountains
terrain = oasis
if = {
limit = {
OR = {
terrain = farmlands
terrain = floodplains
}
}
add = -10
}
add = -5
}
else_if = {
limit = {
OR = {
terrain = hills
terrain = wetlands
else_if = {
limit = {
OR = {
terrain = desert
terrain = desert_mountains
terrain = oasis
}
}
add = -5
}
add = 5
}
else_if = {
limit = {
OR = {
terrain = taiga
terrain = forest
terrain = mountains
terrain = jungle
else_if = {
limit = {
OR = {
terrain = hills
terrain = wetlands
}
}
add = 5
}
else_if = {
limit = {
OR = {
terrain = taiga
terrain = forest
terrain = mountains
terrain = jungle
}
}
add = 10
}
add = 10
}
desc = hunt_success_chance.terrain
}
# POPULATION
if = {
limit = { has_holding = no }
limit = {
has_holding = no
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = 10
desc = hunt_success_chance.no_holding
}
}
if = {
limit = { county.development_level >= terrible_development_level }
limit = {
county.development_level >= terrible_development_level
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
# Example: development = 15 / 3 * -1 = -5
county ?= {
add = {
@ -847,17 +917,23 @@ hunt_province_reference_value = {
OR = {
has_building_or_higher = hunting_grounds_01
has_building_or_higher = rainbow_mountains_01
has_building_or_higher = visegrad_castle_01
}
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = hunt_hunting_grounds_success_value
}
if = { # Logging Camps
limit = { has_building_or_higher = logging_camps_01 }
limit = {
has_building_or_higher = logging_camps_01
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = hunt_logging_camps_success_value
}
if = { # Royal Reserves
limit = {
county.title_province ?= { has_building_or_higher = royal_forest_01 }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
county.title_province = { add = hunt_royal_reserves_success_value }
}
@ -865,6 +941,7 @@ hunt_province_reference_value = {
if = {
limit = {
county ?= { has_county_modifier = hunt_mismanaged_game_modifier }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = -5
@ -874,6 +951,7 @@ hunt_province_reference_value = {
if = { # Abundant Game
limit = {
county ?= { has_county_modifier = ep3_abundant_game_modifier }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = 10
@ -883,6 +961,7 @@ hunt_province_reference_value = {
if = { # Wild Predators
limit = {
county ?= { has_county_modifier = ep3_wild_predators_modifier }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = -5
@ -892,6 +971,7 @@ hunt_province_reference_value = {
if = {
limit = {
county ?= { has_county_modifier = hunt_punished_locals_modifier }
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = 5
@ -901,6 +981,7 @@ hunt_province_reference_value = {
if = { # Inspection Modifiers
limit = {
has_province_modifier = inspection_hidden_hinterlands_recruit_modifier
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = 10
@ -910,6 +991,7 @@ hunt_province_reference_value = {
if = { # Inspection Modifiers
limit = {
has_province_modifier = inspection_hidden_hinterlands_hunters_modifier
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = 10
@ -918,7 +1000,10 @@ hunt_province_reference_value = {
}
# VARIABLES
if = {
limit = { exists = var:recent_hunt_held }
limit = {
exists = var:recent_hunt_held
NOT = { scope:special_option ?= flag:hunt_type_nerge }
}
add = {
value = -10
multiply = var:recent_hunt_held
@ -1551,3 +1636,191 @@ hunt_entourage_sodding_everyone_set_weighting_value = {
}
}
}
### Nerge Outcome Values
# Unimpressive Nerge
unimpressive_nerge_dread_value = -25
# Regular Nerge
regular_nerge_dread_value = 10
regular_nerge_prestige_value = {
value = 100
multiply = nerge_prestige_multiplier
}
regular_nerge_gold_value = 25
regular_nerge_legitimacy_value = 10
regular_nerge_guest_prestige_value = 25
# Impressive Nerge
impressive_nerge_dread_value = 30
impressive_nerge_prestige_value = {
value = 200
multiply = nerge_prestige_multiplier
}
impressive_nerge_gold_value = 75
impressive_nerge_legitimacy_value = {
value = great_nerge_legitimacy_value
divide = 2
}
impressive_nerge_guest_prestige_value = {
value = impressive_nerge_prestige_value
divide = 2
}
# Great Nerge
great_nerge_dread_value = 40
great_nerge_prestige_value = {
value = 250
multiply = nerge_prestige_multiplier
}
great_nerge_gold_value = 150
great_nerge_legitimacy_value = {
value = fantastic_nerge_legitimacy_value
divide = 2
}
great_nerge_guest_prestige_value = {
value = great_nerge_prestige_value
divide = 2
}
# Fantastic Nerge
fantastic_nerge_dread_value = 50
fantastic_nerge_prestige_value = {
value = 350
multiply = nerge_prestige_multiplier
}
fantastic_nerge_gold_value = 250
fantastic_nerge_legitimacy_value = 200
fantastic_nerge_martial_value = 1
fantastic_nerge_guest_prestige_value = {
value = fantastic_nerge_prestige_value
divide = 2
}
fantastic_nerge_guest_martial_value = fantastic_nerge_martial_value
nerge_score_multiplier_value = {
value = 1
add = {
value = scope:activity.activity_location.county.county_fertility
divide = 200
}
if = {
limit = {
scope:activity.activity_location.county = {
any_county_situation_sub_region = {
sub_region_current_phase = situation_steppe_sky_blessing_season
}
}
}
add = 0.5
}
else_if = {
limit = {
scope:activity.activity_location.county = {
any_county_situation_sub_region = {
OR = {
sub_region_current_phase = situation_steppe_warm_nights_season
sub_region_current_phase = situation_steppe_abundant_grazing_season
}
}
}
}
add = 0.25
}
else_if = {
limit = {
scope:activity.activity_location.county = {
any_county_situation_sub_region = {
OR = {
sub_region_current_phase = situation_steppe_white_zud_season
sub_region_current_phase = situation_steppe_cold_zud_season
}
}
}
}
add = -0.1
}
else_if = {
limit = {
scope:activity.activity_location.county = {
any_county_situation_sub_region = {
sub_region_current_phase = situation_steppe_severe_drought_season
}
}
}
add = -0.25
}
else_if = {
limit = {
scope:activity.activity_location.county = {
any_county_situation_sub_region = {
sub_region_current_phase = situation_steppe_havsarsan_zud_season
}
}
}
add = -0.5
}
if = {
limit = {
scope:activity.activity_host = { has_activity_intent = successful_nerge_intent }
}
add = 0.1
}
scope:activity = {
every_attending_character = {
if = {
limit = {
NOT = { this = scope:activity.activity_host }
OR = {
has_activity_intent = successful_nerge_intent
has_trait = lifestyle_hunter
martial >= 16
prowess >= 16
}
}
add = 0.1
}
}
activity_host = {
add = {
value = martial
divide = 200
}
}
}
scope:activity.activity_host = {
switch = {
trigger = has_realm_law
nomadic_authority_5 = { add = 0.25 }
nomadic_authority_4 = { add = 0.2 }
nomadic_authority_3 = { add = 0.1 }
nomadic_authority_2 = { add = 0.05 }
}
}
}
nerge_prestige_multiplier = {
value = 1
if = {
limit = {
involved_activity = {
has_activity_option = {
category = hunt_option_party_size
option = hunt_party_size_many
}
}
}
multiply = 1.5
}
else_if = {
limit = {
involved_activity = {
has_activity_option = {
category = hunt_option_party_size
option = hunt_party_size_normal
}
}
}
multiply = 1.25
}
}

View file

@ -2224,26 +2224,110 @@ contest_valid_contestants_count_value = {
tournament_base_cost = {
value = 100
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
tournament_option_bad_cost = {
value = 20
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
tournament_option_normal_cost = {
value = 60
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
tournament_option_good_cost = {
value = 180
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
tournament_option_very_good_cost = {
value = 360
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
tournament_option_splendid_cost = {
value = 720
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
tournament_option_bad_era_scaled_cost = {

View file

@ -147,7 +147,7 @@
limit = {
scope:impress_check = {
OR = {
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
government_has_flag = government_is_theocracy
}
}
@ -801,6 +801,20 @@ base_wedding_cost = {
}
add = 75
}
if = {
limit = {
is_ai = yes
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = yes
has_game_rule = very_hard_difficulty
}
multiply = 0.25
}
}
#This is only to be used in the arrange marriage interaction window
@ -1135,3 +1149,18 @@ dolt_stewardship_adjusted_difficulty_value = {
value = 24
subtract = scope:dolt.stewardship
}
break_betrothal_prestige_cost = {
value = 1
every_close_family_member = {
limit = {
court_owner = scope:attacker
is_betrothed = yes
betrothed = {
court_owner = scope:defender
is_close_family_of = scope:defender
}
}
add = 1
}
}

View file

@ -34,6 +34,11 @@ max_strength_seventy_five_percent_value = {
multiply = 0.9
}
max_strength_with_allies_value = {
value = max_military_strength
every_ally = { add = max_military_strength }
}
current_strength_ninety_percent_value = {
value = current_military_strength
multiply = 0.9

View file

@ -301,6 +301,15 @@ outbreak_chance_minor_mult_value = {
}
add = outbreak_increase_mult_low
}
if = {
limit = {
OR = {
has_holding_type = herder_holding
has_holding_type = nomad_holding
}
}
add = outbreak_decrease_mult_high
}
multiply = 0.8
min = 0.001
@ -546,6 +555,15 @@ outbreak_chance_major_mult_value = {
}
add = outbreak_increase_mult_low
}
if = {
limit = {
OR = {
has_holding_type = herder_holding
has_holding_type = nomad_holding
}
}
add = outbreak_decrease_mult_high
}
multiply = 1.05
@ -1518,7 +1536,7 @@ spread_chance_epidemics_mult_value = {
has_building_or_higher = common_tradeport_06
num_buildings > 10
}
add = spread_increase_mult_very_high
add = spread_increase_mult_high
}
#less patchy, mult
@ -1541,7 +1559,6 @@ spread_chance_epidemics_mult_value = {
multiply = 0.025
}
# Game rules
if = {
limit = {
@ -1668,6 +1685,15 @@ spread_chance_epidemics_mult_value = {
}
add = spread_increase_mult_medium
}
if = {
limit = {
OR = {
has_holding_type = herder_holding
has_holding_type = nomad_holding
}
}
add = spread_decrease_mult_unlikely
}
}
#### DAILY INFECTION RATE ###
@ -2070,6 +2096,38 @@ epidemic_development_loss_value = {
}
}
#How badly effected is a county's fertility?
epidemic_fertility_loss_value = {
subtract = scope:base_loss
scope:epidemic = {
switch = {
trigger = outbreak_intensity
minor = { subtract = 2.5 }
major = { subtract = 5 }
apocalyptic = { subtract = 7.5 }
}
}
# Fertility
subtract = {
value = county_fertility
multiply = 0.3
}
multiply = {
value = 6
divide = num_county_holdings
}
multiply = {
value = 50
subtract = title_province.epidemic_resistance
multiply = 0.005
add = 1
}
}
epidemic_fromdust_value = {
value = minor_gold_value
multiply = former_infected_county_count

View file

@ -683,7 +683,7 @@ legend_cost_scale_by_era = {
limit = {
exists = culture
}
culture = {
culture ?= {
if = {
limit = {
has_cultural_era_or_later = culture_era_late_medieval
@ -969,7 +969,7 @@ legend_piety_cost = {
### COURT POSITION TASKS ###
monthly_court_position_task_cost_value = {
value = 0.1
value = 0.05
}
monthly_court_position_task_cost = {
@ -980,12 +980,47 @@ monthly_court_position_task_cost = {
subtract = 1
min = 1
}
#Scale by era
add = {
value = monthly_court_position_task_cost_value
multiply = legend_cost_scale_by_era
subtract = monthly_court_position_task_cost_value
desc = legend_cost_scale_by_era_desc
if = {
limit = {
scope:liege.culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
}
multiply = {
value = 1.75
desc = culture_era_late_medieval_salary_mod
format = "BASE_VALUE_FORMAT_DECIMALS_PLUS_NEGATIVE"
}
}
else_if = {
limit = {
scope:liege.culture ?= { has_cultural_era_or_later = culture_era_high_medieval }
}
multiply = {
value = 1.5
desc = culture_era_high_medieval_salary_mod
format = "BASE_VALUE_FORMAT_DECIMALS_PLUS_NEGATIVE"
}
}
else_if = {
limit = {
scope:liege.culture ?= { has_cultural_era_or_later = culture_era_early_medieval }
}
multiply = {
value = 1.25
desc = culture_era_early_medieval_salary_mod
format = "BASE_VALUE_FORMAT_DECIMALS_PLUS_NEGATIVE"
}
}
if = {
limit = {
OR = {
has_game_rule = hard_difficulty
has_game_rule = very_hard_difficulty
}
scope:liege = {
is_ai = yes
}
}
multiply = 0
}
}
@ -994,6 +1029,16 @@ monthly_court_position_task_cost_double = {
multiply = 2
}
monthly_court_position_task_cost_triple = {
value = monthly_court_position_task_cost
multiply = 3
}
monthly_court_position_task_cost_quadruple = {
value = monthly_court_position_task_cost
multiply = 4
}
### DYNAMIC VALUES ###
legend_piety_gain = {
value = 0
@ -1490,7 +1535,7 @@ base_chronicler_promote_legend_realm_cost = {
value = 0
if = {
limit = {
scope:liege = {
scope:liege ?= {
promoted_legend ?= {
legend_owner = scope:liege
}

View file

@ -654,6 +654,31 @@ appointment_score_interaction_multiplier_modifiers_value = {
}
}
# Eparch values
eparch_aptitude_modifier_scaling_value = {
value = 1
if = {
limit = { exists = root }
add = root.aptitude:eparch_court_position
}
desc = MODIFIER_DEFINITION_MAIN_DESC_EPARCH_APTITUDE
}
university_cost_reduction_value = 0.25
eparch_scheme_secrecy_bonus_value = {
if = {
limit = {
scope:owner = { has_court_position = eparch_court_position }
scope:target = {
domicile ?= { domicile_location = owner.top_liege.capital_province }
}
}
add = {
value = 15
desc = eparch_scheme_bonus_desc
}
}
}
# State Faith
ep3_state_faith_conversion_mult_value = 2
@ -662,7 +687,7 @@ ep3_triumph_gold_cost = {
value = 100
if = {
limit = {
NOT = { has_government = administrative_government }
NOT = { government_has_flag = government_is_administrative }
}
add = 100
if = {
@ -680,7 +705,7 @@ ep3_triumph_influence_cost = {
value = 0
if = {
limit = {
has_government = administrative_government
government_has_flag = government_is_administrative
}
add = 50
if = {
@ -737,10 +762,14 @@ ep3_laamp_chance_score_value = {
add = 3
}
# Fame/Lifestyle/Commander
every_trait_in_category = {
category = fame
category = lifestyle
category = commander
every_character_trait = {
limit = {
OR = {
has_trait_category = fame
has_trait_category = lifestyle
has_trait_category = commander
}
}
add = 3
}
# Education
@ -795,6 +824,12 @@ ep3_laamp_chance_score_value = {
}
add = 5
}
if = {
limit = {
has_trait = nomadic_philosophy
}
add = 5
}
if = {
limit = {
culture = { has_cultural_parameter = much_more_likely_to_be_laamps }
@ -934,6 +969,10 @@ chariot_race_entrance_fee = {
value = 50
}
chariot_race_base_cost_value = {
value = 200
}
chariot_ordering_value = {
value = 0
add = aptitude:charioteer_court_position
@ -1476,6 +1515,49 @@ governor_efficiency = {
divide = 100
}
}
# Eparch court position
if = {
limit = {
employs_court_position = eparch_court_position
}
add = {
add = {
value = 1
court_position:eparch_court_position ?= {
add = aptitude:eparch_court_position
}
multiply = 2
desc = eparch_increase_efficiency_desc
}
divide = 100
}
}
else_if = {
limit = {
top_liege ?= {
employs_court_position = eparch_court_position
}
NOT = { has_court_position = eparch_court_position }
domicile ?= {
domicile_location = {
this = county.holder.top_liege.capital_province
}
}
}
add = {
add = {
value = 1
top_liege ?= {
court_position:eparch_court_position ?= {
add = aptitude:eparch_court_position
}
}
desc = eparch_increase_efficiency_vassal_desc
}
divide = 100
}
}
# Events
add = {
@ -1820,14 +1902,15 @@ appointment_score_max_tt_value = {
limit = {
exists = scope:target
exists = scope:secondary_recipient
NOT = { scope:secondary_recipient = scope:target.current_heir }
}
add = {
value = "scope:target.current_heir.appointment_candidate_score(scope:target)"
multiply = 1.1
}
subtract = "scope:secondary_recipient.appointment_candidate_score(scope:target)"
min = 4 # We do this to prevent cases when the default score of the candidate is already much higher than that the heir
}
min = 4 # We do this to prevent cases when the default score of the candidate is already much higher than that the heir
multiply = scope:actor.appointment_score_interaction_multiplier_modifiers_value
}
@ -2199,42 +2282,42 @@ task_contract_extra_reward_multiplier_value = 1.5 # Update all relevant paramete
# How do we multiply the cash rewards in a task contract depending on the employer's tier?
task_contract_tier_gold_multiplier_value = {
scope:task_contract.task_contract_employer ?= {
value = 1 # Barons and counts are neutral, so no multiplier needed here.
if = {
limit = { exists = scope:task_contract.task_contract_employer }
# Kings'n'emperors.
if = {
limit = { highest_held_title_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
add = 3
}
# Dukes.
else_if = {
limit = { highest_held_title_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
add = 2
}
# Courtiers first, as we give them a bit less.
else_if = {
limit = { highest_held_title_tier <= 0 }
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier <= 0 }
add = 0.5
ceiling = yes
}
# Lastly, barons and counts are neutral, so no multiplier needed here.
else = { add = 1 }
}
}
# How do we multiply the non-cash rewards in a task contract depending on the employer's tier?
task_contract_tier_other_reward_multiplier_value = {
scope:task_contract.task_contract_employer = {
value = 1 # Barons and counts are neutral, so no multiplier needed here.
if = {
limit = { exists = scope:task_contract.task_contract_employer }
# Kings'n'emperors.
if = {
limit = { highest_held_title_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier >= define:NTaskContract|HIGH_TASK_CONTRACT_TIER }
add = 2.5
}
# Dukes.
else_if = {
limit = { highest_held_title_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
limit = { scope:task_contract.task_contract_employer.highest_held_title_tier >= define:NTaskContract|MEDIUM_TASK_CONTRACT_TIER }
add = 1.5
}
# Lastly, barons and counts are neutral, so no multiplier needed here.
else = { add = 1 }
}
}
@ -2251,6 +2334,16 @@ task_contract_success_prestige_gain_full_value = {
}
multiply = 1.2
}
if = {
limit = {
scope:taker ?= {
house = {
has_house_modifier = legacy_adventurer_house_modifier
}
}
}
multiply = 1.15
}
}
## Boosted scaling reward.
task_contract_success_prestige_gain_critical_value = {
@ -2323,24 +2416,34 @@ task_contract_success_gold_gain_full_value = {
# Lifestyle perks.
if = {
limit = {
scope:task_contract.task_contract_taker ?= { has_perk = at_any_cost_perk }
exists = scope:task_contract.task_contract_taker
scope:task_contract.task_contract_taker = { has_perk = at_any_cost_perk }
}
multiply = 1.25
}
# Stuff that NEEDS to stay at the bottom.
## Vary our final tally up a bit.
if = {
limit = { scope:task_contract.task_contract_employer.ai_greed != 0 }
limit = {
exists = scope:task_contract.task_contract_taker
scope:task_contract.task_contract_employer.ai_greed != 0
}
add = {
value = scope:task_contract.task_contract_employer.ai_greed
multiply = -0.2
}
}
## Plus change the last digit around slightly so the values look a little less robotic.
scope:gold_fuzz ?= { add = scope:gold_fuzz }
if = {
limit = { exists = scope:gold_fuzz }
add = scope:gold_fuzz
}
## And boost a bit further for exceptional rewards, so that they're never beneath the common rewards.
if = {
limit = { scope:gold_safety_margin ?= flag:yes }
limit = {
exists = scope:gold_safety_margin
scope:gold_safety_margin = flag:yes
}
add = 10
}
## Shouldn't happen but just in case someone is really, really, _really_ stingy: never pay less than at least a truly pathetic amount.
@ -2397,31 +2500,43 @@ task_contract_success_gold_gain_travel_value = {
multiply = task_contract_tier_gold_multiplier_value
# Lifestyle perks.
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = at_any_cost_perk }
limit = { exists = scope:task_contract.task_contract_taker }
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = at_any_cost_perk }
}
multiply = 1.25
}
multiply = 1.25
}
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = malice_implicit_perk }
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = malice_implicit_perk }
}
multiply = 2
}
multiply = 2
}
# Stuff that NEEDS to stay at the bottom.
## Vary our final tally up a bit.
if = {
limit = { scope:task_contract.task_contract_employer.ai_greed != 0 }
limit = {
exists = scope:task_contract.task_contract_employer
scope:task_contract.task_contract_employer.ai_greed != 0
}
add = {
value = scope:task_contract.task_contract_employer.ai_greed
multiply = -0.2
}
}
## Plus change the last digit around slightly so the values look a little less robotic.
scope:gold_fuzz ?= { add = scope:gold_fuzz }
if = {
limit = { exists = scope:gold_fuzz }
add = scope:gold_fuzz
}
## And boost a bit further for exceptional rewards, so that they're never beneath the common rewards.
if = {
limit = { scope:gold_safety_margin ?= flag:yes }
limit = {
exists = scope:gold_safety_margin
scope:gold_safety_margin ?= flag:yes
}
add = 10
}
## Shouldn't happen but just in case someone is really, really, _really_ stingy: never pay less than at least a truly pathetic amount.
@ -2468,40 +2583,52 @@ task_contract_success_gold_gain_crime_value = {
multiply = task_contract_tier_gold_multiplier_value
# Lifestyle perks.
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = at_any_cost_perk }
limit = { exists = scope:task_contract.task_contract_taker }
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = at_any_cost_perk }
}
multiply = 1.25
}
multiply = 1.25
}
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = malice_implicit_perk }
if = {
limit = {
scope:task_contract.task_contract_taker = { has_perk = malice_implicit_perk }
}
multiply = 2
}
multiply = 2
}
# Stuff that NEEDS to stay at the bottom.
## Vary our final tally up a bit.
### This time, we add _more_ gold the greedier the employer is — it's a criminal reward, so the greedier they are, the more gold they have available (albeit not to the same degree as the inverse in normal contracts).
if = {
limit = { scope:task_contract.task_contract_employer.ai_greed > 1 }
add = {
value = scope:task_contract.task_contract_employer.ai_greed
multiply = 0.1
limit = { exists = scope:task_contract.task_contract_employer }
if = {
limit = { scope:task_contract.task_contract_employer.ai_greed > 1 }
add = {
value = scope:task_contract.task_contract_employer.ai_greed
multiply = 0.1
}
}
}
### Take it down only a marginal amount for generous chars, as we still want criminal contracts to almost always pay more.
else_if = {
limit = { scope:task_contract.task_contract_employer.ai_greed < -1 }
add = {
value = scope:task_contract.task_contract_employer.ai_greed
multiply = -0.05
### Take it down only a marginal amount for generous chars, as we still want criminal contracts to almost always pay more.
else_if = {
limit = { scope:task_contract.task_contract_employer.ai_greed < -1 }
add = {
value = scope:task_contract.task_contract_employer.ai_greed
multiply = -0.05
}
}
}
## Plus change the last digit around slightly so the values look a little less robotic.
scope:gold_fuzz ?= { add = scope:gold_fuzz }
if = {
limit = { exists = scope:gold_fuzz }
add = scope:gold_fuzz
}
## And boost a bit further for exceptional rewards, so that they're never beneath the common rewards.
if = {
limit = { scope:gold_safety_margin ?= flag:yes }
limit = {
exists = scope:gold_safety_margin
scope:gold_safety_margin = flag:yes
}
add = 10
}
## Shouldn't happen but just in case someone is really, really, _really_ stingy: never pay less than at least a truly pathetic amount.
@ -2624,9 +2751,8 @@ laamp_base_2011_actual_surveyable_holdings_per_tier_value = {
value = sub_realm_size
every_sub_realm_barony = {
limit = {
exists = holder
holder.highest_held_title_tier = tier_barony
NOT = { this = root.domicile.domicile_location }
NOT = { title_province = root.domicile.domicile_location }
}
add = 1
}
@ -3168,6 +3294,7 @@ house_power_score = {
# Add a small amount of score for each house member within the realm
add = {
every_house_member = {
limit = { top_liege = scope:target_house.house_head.top_liege }
add = 3
}
desc = members_in_realm_desc
@ -3187,10 +3314,11 @@ house_power_score = {
# Add scoring for every house member on top liege's council
add = {
house_head.top_liege = {
house_head.top_liege ?= {
every_councillor = {
limit = {
house = scope:target_house
exists = house
scope:target_house ?= house
}
add = 15
}
@ -3201,6 +3329,7 @@ house_power_score = {
# Malus for not practicing the state faith
if = {
limit = {
exists = house_head
NOT = { house_head.top_liege.primary_title.state_faith ?= house_head.faith }
}
add = {
@ -3212,11 +3341,9 @@ house_power_score = {
# Estate building bonuses
if = { # Market
limit = {
house_head = {
domicile ?= {
has_domicile_parameter = estate_increase_powerful_family_rating
has_domicile_building_or_higher = market_05
}
house_head.domicile ?= {
has_domicile_parameter = estate_increase_powerful_family_rating
has_domicile_building_or_higher = market_05
}
}
add = {
@ -3226,11 +3353,9 @@ house_power_score = {
}
else_if = {
limit = {
house_head = {
domicile ?= {
has_domicile_parameter = estate_increase_powerful_family_rating
has_domicile_building_or_higher = market_03
}
house_head.domicile ?= {
has_domicile_parameter = estate_increase_powerful_family_rating
has_domicile_building_or_higher = market_03
}
}
add = {
@ -3240,9 +3365,7 @@ house_power_score = {
}
else_if = {
limit = {
house_head = {
domicile ?= { has_domicile_parameter = estate_increase_powerful_family_rating }
}
house_head.domicile ?= { has_domicile_parameter = estate_increase_powerful_family_rating }
}
add = {
value = 10
@ -3252,9 +3375,7 @@ house_power_score = {
if = { # Catacombs
limit = {
exists = house_head.dynasty
house_head = {
domicile ?= { has_domicile_parameter = estate_powerful_family_rating_per_dynasty_level }
}
house_head.domicile ?= { has_domicile_parameter = estate_powerful_family_rating_per_dynasty_level }
}
add = {
value = estate_increase_powerful_famil_rating_per_dynasty_level_value
@ -3266,7 +3387,7 @@ house_power_score = {
# When your estate is located in the realm's capital
if = {
limit = {
house_head = {
house_head ?= {
exists = top_liege.capital_province
domicile ?= {
is_domicile_type = estate
@ -3283,7 +3404,7 @@ house_power_score = {
# Obligation/Theme Administration bonus
if = {
limit = {
house_head = { vassal_contract_has_flag = admin_prestige_obligation_bonus }
house_head ?= { vassal_contract_has_flag = admin_prestige_obligation_bonus }
}
add = {
value = 10
@ -3293,7 +3414,7 @@ house_power_score = {
# Heart of the Family Diplomacy Lifestyle Perk
if = {
limit = { house_head = { has_perk = familial_familiar_perk } }
limit = { house_head ?= { has_perk = familial_familiar_perk } }
add = {
value = 10
desc = familial_familiar_perk_name
@ -3303,7 +3424,7 @@ house_power_score = {
# Base score increase from Power is a Ladder dynasty legacy perk
if = {
limit = {
house_head.dynasty = { ep3_administrative_legacy_track_perks >= 3 }
house_head.dynasty ?= { ep3_administrative_legacy_track_perks >= 3 }
}
add = {
value = 15
@ -3313,7 +3434,7 @@ house_power_score = {
# From Mass Arrests Decision
if = {
limit = { house_head = { has_character_flag = mass_arrests_house_power_malus } }
limit = { house_head ?= { has_character_flag = mass_arrests_house_power_malus } }
add = {
value = -15
desc = ep3_mass_arrests_house_power_malus
@ -3326,7 +3447,7 @@ house_power_score = {
every_house_member = {
limit = {
is_governor = yes
top_liege = house.house_head.top_liege
house.house_head.top_liege ?= top_liege
}
add = 0.4 # Let's add a multiplier to the overall score for each governorship
}
@ -3339,7 +3460,7 @@ house_power_score = {
any_house_member = {
is_independent_ruler = yes
primary_title.tier >= tier_empire
top_liege = house.house_head.top_liege
house.house_head.top_liege ?= top_liege
}
}
add = {
@ -3909,6 +4030,24 @@ provision_refill_value = {
}
multiply = 1.25
}
if = {
limit = {
scope:laamp_temp ?= {
is_ai = no
has_game_rule = hard_difficulty
}
}
multiply = 0.5
}
else_if = {
limit = {
scope:laamp_temp ?= {
is_ai = no
has_game_rule = very_hard_difficulty
}
}
multiply = 0.2
}
}
provision_refill_value_tt = {
@ -3924,6 +4063,20 @@ provision_refill_value_tt = {
}
multiply = 1.25
}
if = {
limit = {
is_ai = no
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = no
has_game_rule = very_hard_difficulty
}
multiply = 0.2
}
}
gold_refill_value = {
@ -3943,6 +4096,47 @@ gold_refill_value = {
}
multiply = 1.25
}
if = {
limit = {
scope:laamp_temp ?= {
government_has_flag = government_is_nomadic
}
}
multiply = 1.5
}
if = {
limit = {
scope:laamp_temp ?= {
is_ai = no
has_game_rule = hard_difficulty
}
}
multiply = 0.5
}
else_if = {
limit = {
scope:laamp_temp ?= {
is_ai = no
has_game_rule = very_hard_difficulty
}
}
multiply = 0.2
}
if = {
limit = {
trigger_if = {
limit = { exists = scope:laamp_temp }
scope:laamp_temp = { government_has_flag = government_is_nomadic }
}
trigger_else = { always = no }
}
multiply = {
add = scope:laamp_temp.martial
subtract = 8
divide = 100
add = 1
}
}
}
gold_refill_value_tt = {
@ -3960,6 +4154,37 @@ gold_refill_value_tt = {
}
multiply = 1.25
}
if = {
limit = {
government_has_flag = government_is_nomadic
}
multiply = 1.5
}
if = {
limit = {
is_ai = no
has_game_rule = hard_difficulty
}
multiply = 0.5
}
else_if = {
limit = {
is_ai = no
has_game_rule = very_hard_difficulty
}
multiply = 0.2
}
if = {
limit = {
government_has_flag = government_is_nomadic
}
multiply = {
add = martial
subtract = 8
divide = 100
add = 1
}
}
}
replenishable_troops_value = {

View file

@ -27,7 +27,7 @@ max_regiment_count_plus_one = {
}
battle_poi_number_value = {
value = 3500
value = 3000
if = {
limit = {
current_year > 1400
@ -202,3 +202,49 @@ bosporan_kingdom_modifier_scale_value = {
desc = MODIFIER_DEFINITION_BOSPORAN_KINGDOM
}
tally_current_followers = {
value = 0
every_courtier_or_guest = {
add = 1
}
}
tally_roll_of_patrons = {
value = 0
every_contact = {
add = 1
}
}
camp_pavillion_level = {
value = 0
if = {
limit = {
domicile ?= { has_domicile_building_or_higher = camp_main_01 }
}
add = 1
}
else_if = {
limit = {
domicile ?= { has_domicile_building_or_higher = camp_main_02 }
}
add = 1
}
else_if = {
limit = {
domicile ?= { has_domicile_building_or_higher = camp_main_03 }
}
add = 1
}
else_if = {
limit = {
domicile ?= { has_domicile_building_or_higher = camp_main_04 }
}
add = 1
}
}

View file

@ -0,0 +1,474 @@
###################
# NOMAD YURT VALUES #
###################
# Beware, this file is full of MATH!
###############################
#AI VALUES
nomadic_capital_literally_invaluable_building = {
value = 1000
}
nomadic_capital_extremely_important_building = {
value = 100
}
nomadic_capital_very_important_building = {
value = 15
}
nomadic_capital_main_building_1 = {
value = 8
}
nomadic_capital_main_building_2 = {
value = 7
if = {
limit = {
owner = {
short_term_gold >= yurt_main_building_gold_cost_tier_2
prestige >= yurt_main_building_prestige_cost_tier_2
}
herd >= yurt_main_building_herd_cost_tier_2
}
add = 4
}
if = {
limit = {
herd >= {
value = max_herd
multiply = 0.9
}
}
add = 5
}
}
nomadic_capital_main_building_3 = {
value = 6
if = {
limit = {
owner = {
short_term_gold >= yurt_main_building_gold_cost_tier_3
prestige >= yurt_main_building_prestige_cost_tier_3
}
herd >= yurt_main_building_herd_cost_tier_3
}
add = 4
}
if = {
limit = {
herd >= {
value = max_herd
multiply = 0.9
}
}
add = 5
}
}
nomadic_capital_main_building_4 = {
value = 5
if = {
limit = {
owner = {
short_term_gold >= yurt_main_building_gold_cost_tier_4
prestige >= yurt_main_building_prestige_cost_tier_4
}
herd >= yurt_main_building_herd_cost_tier_4
}
add = 4
}
if = {
limit = {
herd >= {
value = max_herd
multiply = 0.9
}
}
add = 5
}
}
nomadic_capital_main_building_5 = {
value = 4
if = {
limit = {
owner = {
short_term_gold >= yurt_main_building_gold_cost_tier_5
prestige >= yurt_main_building_prestige_cost_tier_5
}
herd >= yurt_main_building_herd_cost_tier_5
}
add = 4
}
if = {
limit = {
herd >= {
value = max_herd
multiply = 0.9
}
}
add = 5
}
}
nomadic_capital_main_building_6 = {
value = 3
if = {
limit = {
owner = {
short_term_gold >= yurt_main_building_gold_cost_tier_6
prestige >= yurt_main_building_prestige_cost_tier_6
}
herd >= yurt_main_building_herd_cost_tier_6
}
add = 4
}
if = {
limit = {
herd >= {
value = max_herd
multiply = 0.9
}
}
add = 5
}
}
nomadic_capital_interior_building_1 = {
value = 9
}
nomadic_capital_interior_building_2 = {
value = 8
}
nomadic_capital_interior_building_3 = {
value = 7
}
nomadic_capital_interior_building_4 = {
value = 6
}
nomadic_capital_interior_building_5 = {
value = 5
}
nomadic_capital_interior_building_6 = {
value = 4
}
nomadic_capital_interior_building_7 = {
value = 3
}
nomadic_capital_interior_building_8 = {
value = 2
}
nomadic_capital_exterior_building_1 = {
value = 11
}
nomadic_capital_exterior_building_2 = {
value = 7
}
nomadic_capital_exterior_building_3 = {
value = 6
}
nomadic_capital_exterior_building_4 = {
value = 5
}
nomadic_capital_exterior_building_5 = {
value = 4
}
nomadic_capital_exterior_building_6 = {
value = 3
}
nomadic_capital_exterior_building_7 = {
value = 2
}
nomadic_capital_exterior_building_8 = {
value = 4
}
###################################
# Construction Cost
# NOTE: the costs are designed with different progression. The early tiers are cheap and cost mostly herd, the higher cost more and more prestige, then skyrocket with gold cost
# Control mult values
# They follow the equation Xn = A*X(n-1)+ B^(n-1)*(increase_value), X1 = base_value + increase_value
# Set them all to 1 to get your standard, boring like your life, linear progression
@yurt_building_herd_mult_A = 1
@yurt_building_herd_mult_B = 1
@yurt_building_prestige_mult_A = 1.1
@yurt_building_prestige_mult_B = 0.8
@yurt_building_gold_mult_A = 0.6
@yurt_building_gold_mult_B = 1.6
#main building control costs
@yurt_main_building_herd_base_cost = 200
@yurt_main_building_herd_increase_cost = 200
@yurt_main_building_prestige_base_cost = 40
@yurt_main_building_prestige_increase_cost = 80
@yurt_main_building_gold_base_cost = 100
@yurt_main_building_gold_increase_cost = 40
#external building control costs
@yurt_external_building_herd_base_cost = 200
@yurt_external_building_herd_increase_cost = 100
@yurt_external_building_prestige_base_cost = 15
@yurt_external_building_prestige_increase_cost = 45
@yurt_external_building_gold_base_cost = 0
@yurt_external_building_gold_increase_cost = 20
#internal building control costs
@yurt_internal_building_herd_base_cost = 100
@yurt_internal_building_herd_increase_cost = 50
@yurt_internal_building_prestige_base_cost = 8
@yurt_internal_building_prestige_increase_cost = 24
@yurt_internal_building_gold_base_cost = 4
@yurt_internal_building_gold_increase_cost = 8
###################################
# Construction herd values
# main yurt
@yurt_main_building_herd_cost_1 = @[yurt_main_building_herd_base_cost + yurt_main_building_herd_increase_cost]
@yurt_main_building_herd_cost_2 = @[yurt_building_herd_mult_A*yurt_main_building_herd_cost_1 + yurt_building_herd_mult_B*yurt_main_building_herd_increase_cost]
@yurt_main_building_herd_cost_3 = @[yurt_building_herd_mult_A*yurt_main_building_herd_cost_2 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_main_building_herd_increase_cost]
@yurt_main_building_herd_cost_4 = @[yurt_building_herd_mult_A*yurt_main_building_herd_cost_3 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_main_building_herd_increase_cost]
@yurt_main_building_herd_cost_5 = @[yurt_building_herd_mult_A*yurt_main_building_herd_cost_4 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_main_building_herd_increase_cost]
@yurt_main_building_herd_cost_6 = @[yurt_building_herd_mult_A*yurt_main_building_herd_cost_5 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_main_building_herd_increase_cost]
# external yurts
@yurt_external_building_herd_cost_1 = @[yurt_external_building_herd_base_cost + yurt_external_building_herd_increase_cost]
@yurt_external_building_herd_cost_2 = @[yurt_building_herd_mult_A*yurt_external_building_herd_cost_1 + yurt_building_herd_mult_B*yurt_external_building_herd_increase_cost]
@yurt_external_building_herd_cost_3 = @[yurt_building_herd_mult_A*yurt_external_building_herd_cost_2 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_external_building_herd_increase_cost]
@yurt_external_building_herd_cost_4 = @[yurt_building_herd_mult_A*yurt_external_building_herd_cost_3 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_external_building_herd_increase_cost]
@yurt_external_building_herd_cost_5 = @[yurt_building_herd_mult_A*yurt_external_building_herd_cost_4 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_external_building_herd_increase_cost]
@yurt_external_building_herd_cost_6 = @[yurt_building_herd_mult_A*yurt_external_building_herd_cost_5 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_external_building_herd_increase_cost]
# internal yurts
@yurt_internal_building_herd_cost_1 = @[yurt_internal_building_herd_base_cost + yurt_internal_building_herd_increase_cost]
@yurt_internal_building_herd_cost_2 = @[yurt_building_herd_mult_A*yurt_internal_building_herd_cost_1 + yurt_building_herd_mult_B*yurt_internal_building_herd_increase_cost]
@yurt_internal_building_herd_cost_3 = @[yurt_building_herd_mult_A*yurt_internal_building_herd_cost_2 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_internal_building_herd_increase_cost]
@yurt_internal_building_herd_cost_4 = @[yurt_building_herd_mult_A*yurt_internal_building_herd_cost_3 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_internal_building_herd_increase_cost]
@yurt_internal_building_herd_cost_5 = @[yurt_building_herd_mult_A*yurt_internal_building_herd_cost_4 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_internal_building_herd_increase_cost]
@yurt_internal_building_herd_cost_6 = @[yurt_building_herd_mult_A*yurt_internal_building_herd_cost_5 + yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_building_herd_mult_B*yurt_internal_building_herd_increase_cost]
###################################
# Construction prestige values
# main yurt
@yurt_main_building_prestige_cost_1 = @[yurt_main_building_prestige_base_cost + yurt_main_building_prestige_increase_cost]
@yurt_main_building_prestige_cost_2 = @[yurt_building_prestige_mult_A*yurt_main_building_prestige_cost_1 + yurt_building_prestige_mult_B*yurt_main_building_prestige_increase_cost]
@yurt_main_building_prestige_cost_3 = @[yurt_building_prestige_mult_A*yurt_main_building_prestige_cost_2 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_main_building_prestige_increase_cost]
@yurt_main_building_prestige_cost_4 = @[yurt_building_prestige_mult_A*yurt_main_building_prestige_cost_3 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_main_building_prestige_increase_cost]
@yurt_main_building_prestige_cost_5 = @[yurt_building_prestige_mult_A*yurt_main_building_prestige_cost_4 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_main_building_prestige_increase_cost]
@yurt_main_building_prestige_cost_6 = @[yurt_building_prestige_mult_A*yurt_main_building_prestige_cost_5 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_main_building_prestige_increase_cost]
# external yurts
@yurt_external_building_prestige_cost_1 = @[yurt_external_building_prestige_base_cost + yurt_external_building_prestige_increase_cost]
@yurt_external_building_prestige_cost_2 = @[yurt_building_prestige_mult_A*yurt_external_building_prestige_cost_1 + yurt_building_prestige_mult_B*yurt_external_building_prestige_increase_cost]
@yurt_external_building_prestige_cost_3 = @[yurt_building_prestige_mult_A*yurt_external_building_prestige_cost_2 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_external_building_prestige_increase_cost]
@yurt_external_building_prestige_cost_4 = @[yurt_building_prestige_mult_A*yurt_external_building_prestige_cost_3 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_external_building_prestige_increase_cost]
@yurt_external_building_prestige_cost_5 = @[yurt_building_prestige_mult_A*yurt_external_building_prestige_cost_4 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_external_building_prestige_increase_cost]
@yurt_external_building_prestige_cost_6 = @[yurt_building_prestige_mult_A*yurt_external_building_prestige_cost_5 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_external_building_prestige_increase_cost]
# internal yurts
@yurt_internal_building_prestige_cost_1 = @[yurt_internal_building_prestige_base_cost + yurt_internal_building_prestige_increase_cost]
@yurt_internal_building_prestige_cost_2 = @[yurt_building_prestige_mult_A*yurt_internal_building_prestige_cost_1 + yurt_building_prestige_mult_B*yurt_internal_building_prestige_increase_cost]
@yurt_internal_building_prestige_cost_3 = @[yurt_building_prestige_mult_A*yurt_internal_building_prestige_cost_2 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_internal_building_prestige_increase_cost]
@yurt_internal_building_prestige_cost_4 = @[yurt_building_prestige_mult_A*yurt_internal_building_prestige_cost_3 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_internal_building_prestige_increase_cost]
@yurt_internal_building_prestige_cost_5 = @[yurt_building_prestige_mult_A*yurt_internal_building_prestige_cost_4 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_internal_building_prestige_increase_cost]
@yurt_internal_building_prestige_cost_6 = @[yurt_building_prestige_mult_A*yurt_internal_building_prestige_cost_5 + yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_building_prestige_mult_B*yurt_internal_building_prestige_increase_cost]
###################################
# Construction gold values
# main yurt
@yurt_main_building_gold_cost_1 = @[yurt_main_building_gold_base_cost + yurt_main_building_gold_increase_cost]
@yurt_main_building_gold_cost_2 = @[yurt_building_gold_mult_A*yurt_main_building_gold_cost_1 + yurt_building_gold_mult_B*yurt_main_building_gold_increase_cost]
@yurt_main_building_gold_cost_3 = @[yurt_building_gold_mult_A*yurt_main_building_gold_cost_2 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_main_building_gold_increase_cost]
@yurt_main_building_gold_cost_4 = @[yurt_building_gold_mult_A*yurt_main_building_gold_cost_3 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_main_building_gold_increase_cost]
@yurt_main_building_gold_cost_5 = @[yurt_building_gold_mult_A*yurt_main_building_gold_cost_4 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_main_building_gold_increase_cost]
@yurt_main_building_gold_cost_6 = @[yurt_building_gold_mult_A*yurt_main_building_gold_cost_5 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_main_building_gold_increase_cost]
# external yurts
@yurt_external_building_gold_cost_1 = @[yurt_external_building_gold_base_cost + yurt_external_building_gold_increase_cost]
@yurt_external_building_gold_cost_2 = @[yurt_building_gold_mult_A*yurt_external_building_gold_cost_1 + yurt_building_gold_mult_B*yurt_external_building_gold_increase_cost]
@yurt_external_building_gold_cost_3 = @[yurt_building_gold_mult_A*yurt_external_building_gold_cost_2 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_external_building_gold_increase_cost]
@yurt_external_building_gold_cost_4 = @[yurt_building_gold_mult_A*yurt_external_building_gold_cost_3 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_external_building_gold_increase_cost]
@yurt_external_building_gold_cost_5 = @[yurt_building_gold_mult_A*yurt_external_building_gold_cost_4 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_external_building_gold_increase_cost]
@yurt_external_building_gold_cost_6 = @[yurt_building_gold_mult_A*yurt_external_building_gold_cost_5 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_external_building_gold_increase_cost]
# internal yurts
@yurt_internal_building_gold_cost_1 = @[yurt_internal_building_gold_base_cost + yurt_internal_building_gold_increase_cost]
@yurt_internal_building_gold_cost_2 = @[yurt_building_gold_mult_A*yurt_internal_building_gold_cost_1 + yurt_building_gold_mult_B*yurt_internal_building_gold_increase_cost]
@yurt_internal_building_gold_cost_3 = @[yurt_building_gold_mult_A*yurt_internal_building_gold_cost_2 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_internal_building_gold_increase_cost]
@yurt_internal_building_gold_cost_4 = @[yurt_building_gold_mult_A*yurt_internal_building_gold_cost_3 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_internal_building_gold_increase_cost]
@yurt_internal_building_gold_cost_5 = @[yurt_building_gold_mult_A*yurt_internal_building_gold_cost_4 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_internal_building_gold_increase_cost]
@yurt_internal_building_gold_cost_6 = @[yurt_building_gold_mult_A*yurt_internal_building_gold_cost_5 + yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_building_gold_mult_B*yurt_internal_building_gold_increase_cost]
###################################
# Getting the final values, no calculations
yurt_main_building_herd_cost_tier_1 = @yurt_main_building_herd_cost_1
yurt_main_building_herd_cost_tier_2 = @yurt_main_building_herd_cost_2
yurt_main_building_herd_cost_tier_3 = @yurt_main_building_herd_cost_3
yurt_main_building_herd_cost_tier_4 = @yurt_main_building_herd_cost_4
yurt_main_building_herd_cost_tier_5 = @yurt_main_building_herd_cost_5
yurt_main_building_herd_cost_tier_6 = @yurt_main_building_herd_cost_6
yurt_external_building_herd_cost_tier_1 = @yurt_external_building_herd_cost_1
yurt_external_building_herd_cost_tier_2 = @yurt_external_building_herd_cost_2
yurt_external_building_herd_cost_tier_3 = @yurt_external_building_herd_cost_3
yurt_external_building_herd_cost_tier_4 = @yurt_external_building_herd_cost_4
yurt_external_building_herd_cost_tier_5 = @yurt_external_building_herd_cost_5
yurt_external_building_herd_cost_tier_6 = @yurt_external_building_herd_cost_6
yurt_internal_building_herd_cost_tier_1 = @yurt_internal_building_herd_cost_1
yurt_internal_building_herd_cost_tier_2 = @yurt_internal_building_herd_cost_2
yurt_internal_building_herd_cost_tier_3 = @yurt_internal_building_herd_cost_3
yurt_internal_building_herd_cost_tier_4 = @yurt_internal_building_herd_cost_4
yurt_internal_building_herd_cost_tier_5 = @yurt_internal_building_herd_cost_5
yurt_internal_building_herd_cost_tier_6 = @yurt_internal_building_herd_cost_6
yurt_main_building_prestige_cost_tier_1 = @yurt_main_building_prestige_cost_1
yurt_main_building_prestige_cost_tier_2 = @yurt_main_building_prestige_cost_2
yurt_main_building_prestige_cost_tier_3 = @yurt_main_building_prestige_cost_3
yurt_main_building_prestige_cost_tier_4 = @yurt_main_building_prestige_cost_4
yurt_main_building_prestige_cost_tier_5 = @yurt_main_building_prestige_cost_5
yurt_main_building_prestige_cost_tier_6 = @yurt_main_building_prestige_cost_6
yurt_external_building_prestige_cost_tier_1 = @yurt_external_building_prestige_cost_1
yurt_external_building_prestige_cost_tier_2 = @yurt_external_building_prestige_cost_2
yurt_external_building_prestige_cost_tier_3 = @yurt_external_building_prestige_cost_3
yurt_external_building_prestige_cost_tier_4 = @yurt_external_building_prestige_cost_4
yurt_external_building_prestige_cost_tier_5 = @yurt_external_building_prestige_cost_5
yurt_external_building_prestige_cost_tier_6 = @yurt_external_building_prestige_cost_6
yurt_internal_building_prestige_cost_tier_1 = @yurt_internal_building_prestige_cost_1
yurt_internal_building_prestige_cost_tier_2 = @yurt_internal_building_prestige_cost_2
yurt_internal_building_prestige_cost_tier_3 = @yurt_internal_building_prestige_cost_3
yurt_internal_building_prestige_cost_tier_4 = @yurt_internal_building_prestige_cost_4
yurt_internal_building_prestige_cost_tier_5 = @yurt_internal_building_prestige_cost_5
yurt_internal_building_prestige_cost_tier_6 = @yurt_internal_building_prestige_cost_6
yurt_main_building_gold_cost_tier_1 = {
value = @yurt_main_building_gold_cost_1
}
yurt_main_building_gold_cost_tier_2 = {
value = @yurt_main_building_gold_cost_2
}
yurt_main_building_gold_cost_tier_3 = {
value = @yurt_main_building_gold_cost_3
}
yurt_main_building_gold_cost_tier_4 = {
value = @yurt_main_building_gold_cost_4
}
yurt_main_building_gold_cost_tier_5 = {
value = @yurt_main_building_gold_cost_5
}
yurt_main_building_gold_cost_tier_6 = {
value = @yurt_main_building_gold_cost_6
}
yurt_external_building_gold_cost_tier_1 = {
value = @yurt_external_building_gold_cost_1
}
yurt_external_building_gold_cost_tier_2 = {
value = @yurt_external_building_gold_cost_2
}
yurt_external_building_gold_cost_tier_3 = {
value = @yurt_external_building_gold_cost_3
}
yurt_external_building_gold_cost_tier_4 = {
value = @yurt_external_building_gold_cost_4
}
yurt_external_building_gold_cost_tier_5 = {
value = @yurt_external_building_gold_cost_5
}
yurt_external_building_gold_cost_tier_6 = {
value = @yurt_external_building_gold_cost_6
}
yurt_internal_building_gold_cost_tier_1 = {
value = @yurt_internal_building_gold_cost_1
}
yurt_internal_building_gold_cost_tier_2 = {
value = @yurt_internal_building_gold_cost_2
}
yurt_internal_building_gold_cost_tier_3 = {
value = @yurt_internal_building_gold_cost_3
}
yurt_internal_building_gold_cost_tier_4 = {
value = @yurt_internal_building_gold_cost_4
}
yurt_internal_building_gold_cost_tier_5 = {
value = @yurt_internal_building_gold_cost_5
}
yurt_internal_building_gold_cost_tier_6 = {
value = @yurt_internal_building_gold_cost_6
}

View file

@ -0,0 +1,5 @@
# Catalyst values
minor_the_great_steppe_catalyst_gain = 15
medium_the_great_steppe_catalyst_gain = 100
major_the_great_steppe_catalyst_gain = 250
massive_the_great_steppe_catalyst_gain = 500

File diff suppressed because it is too large Load diff

View file

@ -269,6 +269,9 @@ physician_safe_treatment_skill_factor = {
underweight_threshold = 0
overweight_threshold = 0
underweight_value = -50
overweight_value = 50
feast_weight_modifier_value = {
add = 5
# You have a lot of very desirable food

View file

@ -42,3 +42,7 @@ convert_to_feudalism_development_requirement = {
convert_whole_realm_to_feudalism_west_african_pagan_decision_vassal_count_value = 6
convert_whole_realm_to_feudalism_west_african_pagan_decision_wa_capital_development_value = terrible_development_level
expand_duchy_max_size_value = {
value = 4
}

View file

@ -1,4 +1,4 @@
feudalize_tribal_holding_interaction_cost = {
feudalize_holding_interaction_cost = {
value = 500
if = {
limit = {
@ -7,4 +7,15 @@
}
add = -250
}
if = {
limit = {
scope:target ?= {
OR = {
has_county_modifier = mpo_siberian_permafrost_modifier
has_county_modifier = mpo_siberian_permafrost_modifier_bad
}
}
}
add = 2000
}
}

View file

@ -2,6 +2,7 @@
# We separate out most of the guts of this cost multiplier to stop struggle CBs from double-dipping on costs and discounts.
common_cb_cost_multiplier_core = {
value = 1
# Bellum Justum Perk
if = {
limit = {
@ -30,6 +31,28 @@ common_cb_cost_multiplier_core = {
desc = CB_ATTACKER_DYNASTY_WARFARE
}
}
#Confederation vassals against fellow vassals
if = {
limit = {
scope:attacker = {
OR = {
government_has_flag = government_is_tribal
government_has_flag = government_is_nomadic
government_has_flag = government_is_herder
}
}
scope:attacker.top_liege = {
is_confederation_member = yes
}
scope:defender.top_liege = {
this = scope:attacker.top_liege
}
}
multiply = {
add = confederation_cb_cost_value
desc = CB_CONFEDERATION_VASSALS
}
}
# Culture
if = {
limit = {
@ -177,6 +200,44 @@ common_cb_cost_multiplier_core = {
multiply = 0.5
}
if = {
limit = {
OR = {
has_game_rule = hard_difficulty
has_game_rule = very_hard_difficulty
}
scope:attacker = {
is_ai = yes
prestige > 0
prestige_level > 0
}
scope:defender = {
is_ai = no
}
}
multiply = {
value = 0
desc = hard_difficulty
}
}
else_if = {
limit = {
OR = {
has_game_rule = hard_difficulty
has_game_rule = very_hard_difficulty
}
scope:attacker = {
is_ai = yes
prestige > 0
prestige_level > 0
}
}
multiply = {
value = 0.5
desc = hard_difficulty
}
}
if = {
limit = {
has_game_rule = no_cost_casus_belli_costs
@ -198,6 +259,24 @@ common_cb_cost_multiplier_core = {
desc = ai_conqueror_modifier
}
}
#Pissed off by a severed head
if = {
limit = {
scope:defender = {
save_temporary_scope_as = head_giver
}
scope:attacker = {
has_variable = severed_head_cb_revenge
var:severed_head_cb_revenge = {
this = scope:head_giver
}
}
}
multiply = {
value = 0.25
desc = severed_head_revenge_modifier
}
}
}
common_cb_cost_multiplier = {
@ -289,6 +368,21 @@ common_cb_piety_cost_multiplier_core = {
desc = "CB_ATTACKER_HOF_HUMSACD"
}
}
#You and your blood brother swore to destroy your target
if = {
limit = {
scope:attacker = {
has_variable = blood_brother_foe
var:blood_brother_foe = {
this = scope:defender
}
}
}
multiply = {
value = 0.25
desc = "CB_BLOOD_BROTHER_FOE"
}
}
}
common_cb_piety_cost_multiplier_sans_struggles = {
@ -481,6 +575,21 @@ common_cb_prestige_cost_multiplier_core = {
desc = "CB_ATTACKER_VASSAL_CONTRACT"
}
}
#You and your blood brother swore to destroy your target
if = {
limit = {
scope:attacker = {
has_variable = blood_brother_foe
var:blood_brother_foe = {
this = scope:defender
}
}
}
multiply = {
value = 0.25
desc = "CB_BLOOD_BROTHER_FOE"
}
}
}
common_cb_prestige_cost_multiplier_sans_struggles = {

View file

@ -596,7 +596,7 @@ chancellor_integrate_title_contextual_bonuses = {
limit = { # Task instigator is admin top liege
scope:councillor_liege = {
is_independent_ruler = yes
has_government = administrative_government
government_has_flag = government_is_administrative
}
}
add = {
@ -608,16 +608,16 @@ chancellor_integrate_title_contextual_bonuses = {
if = {
limit = { # Task target is de jure part of an admin empire/kingdom
NOT = {
scope:councillor_liege = { has_government = administrative_government }
scope:councillor_liege = { government_has_flag = government_is_administrative }
}
trigger_if = {
limit = { exists = scope:county.empire.holder }
scope:county.empire.holder = { has_government = administrative_government }
scope:county.empire.holder = { government_has_flag = government_is_administrative }
}
trigger_else = {
scope:county.kingdom.holder ?= {
is_independent_ruler = yes
has_government = administrative_government
government_has_flag = government_is_administrative
}
}
}
@ -817,6 +817,24 @@ chancellor_learn_on_the_job_scale = {
min = 1
}
}
### Kurultai Learn on the Job modifier
kurultai_chancellor_learn_on_the_job_scale = {
value = 0
if = {
limit = {
exists = liege
liege = { has_perk = learn_on_the_job_perk }
highest_skill = diplomacy
}
add = diplomacy
multiply = {
add = learn_on_the_job_percentage
divide = 100
}
floor = yes
min = 1
}
}
### Reliable House modifier
chancellor_reliable_house_scale = {

View file

@ -682,25 +682,6 @@ court_chaplain_conversion_contextual_bonuses = {
desc = COURT_CHAPLAIN_CONVERSION_EASIER_TO_CONVERT_FAITH_IN_MOUNTAINS_BONUS_MODIFIER
}
}
if = {
limit = {
exists = scope:county
scope:councillor.faith = { has_doctrine_parameter = easier_to_convert_faith_in_hills_forests }
scope:county = {
# We check any province and not just title province, to be generous.
any_county_province = {
OR = {
terrain = hills
terrain = forests
}
}
}
}
add = {
value = scope:councillor.easier_to_convert_faith_in_hills_forests_bonus
desc = COURT_CHAPLAIN_CONVERSION_EASIER_TO_CONVERT_FAITH_IN_HILLS_FORESTS_BONUS_MODIFIER
}
}
## Maluses
### Chthonic Redoubts
if = {
@ -722,25 +703,6 @@ court_chaplain_conversion_contextual_bonuses = {
desc = COURT_CHAPLAIN_CONVERSION_HARDER_TO_CONVERT_FAITH_AWAY_IN_MOUNTAINS_MALUS_MODIFIER
}
}
if = {
limit = {
exists = scope:county
scope:county = {
faith = { has_doctrine_parameter = harder_to_convert_faith_away_in_hills_forests }
# We check any province and not just title province, to be generous.
any_county_province = {
OR = {
terrain = hills
terrain = forests
}
}
}
}
add = {
value = scope:councillor.harder_to_convert_faith_away_in_hills_forests_malus
desc = COURT_CHAPLAIN_CONVERSION_HARDER_TO_CONVERT_FAITH_AWAY_IN_HILLS_FORESTS_MALUS_MODIFIER
}
}
### Syncretics
#### Syncretic tenets aim to allow a faith and a separate religion/family to coexist without one eating the other. Accordingly, we make it harder for you to syncretise with a faith *then* wipe it out.
if = {
@ -869,8 +831,7 @@ court_chaplain_conversion_contextual_bonuses = {
}
if = {
limit = {
exists = scope:county
scope:county = { has_county_modifier = petition_liege_county_control_modifier }
scope:county ?= { has_county_modifier = petition_liege_county_convert_modifier }
}
add = {
value = scope:councillor.petition_liege_county_convert_modifier_value
@ -898,7 +859,7 @@ court_chaplain_conversion_contextual_bonuses = {
scope:councillor.faith = {
controls_holy_site = kerala
}
title:b_honnore = {
title:b_mahoyadapuram = {
is_holy_site_of = scope:councillor.faith
}
}
@ -1101,6 +1062,30 @@ court_chaplain_conversion_contextual_bonuses = {
desc = CONVERSION_REFORMER_BONUS_VALUE
}
}
if = {
limit = {
exists = scope:county
scope:county = {
has_county_modifier = internal_affairs_county_religious_tensions_modifier
}
}
add = {
value = -0.2
desc = RELIGIOUS_TENSIONS_DESC
}
}
if = {
limit = {
exists = scope:county
scope:county = {
has_county_modifier = internal_affairs_county_religious_tolerance_modifier
}
}
add = {
value = -0.1
desc = RELIGIOUS_TOLERANCE_DESC
}
}
}
convert_faith_fervor_modifier_scale = 0.5 # Fervor causes the conversion speed to scale from 150% to 50% of base.
@ -1492,32 +1477,7 @@ conversion_ghw_tenet_no_hof_bonus = {
}
#Not that you should ever really have ten holy sites, but just in case.
}
####
easier_to_convert_faith_in_hills_forests_bonus_root_value = 0.5
easier_to_convert_faith_in_hills_forests_bonus_loc_control = {
value = easier_to_convert_faith_in_hills_forests_bonus_root_value
multiply = 100
}
easier_to_convert_faith_in_hills_forests_bonus = {
value = court_chaplain_conversion_base_total
multiply = easier_to_convert_faith_in_hills_forests_bonus_root_value
}
harder_to_convert_faith_away_in_hills_forests_malus_root_value = -0.75
harder_to_convert_faith_away_in_hills_forests_malus_loc_control = {
value = harder_to_convert_faith_away_in_hills_forests_malus_root_value
multiply = 100
}
harder_to_convert_faith_away_in_hills_forests_malus = {
value = court_chaplain_conversion_base_total
multiply = harder_to_convert_faith_away_in_hills_forests_malus_root_value
}
####
easier_to_convert_faith_in_mountains_bonus_root_value = 0.5
easier_to_convert_faith_in_mountains_bonus_loc_control = {
@ -1708,6 +1668,24 @@ court_chaplain_learn_on_the_job_scale = {
}
}
##### Kurultai Learn on the Job Skill bonus for Liege
kurultai_court_chaplain_learn_on_the_job_scale = {
value = 0
if = {
limit = {
liege = { has_perk = learn_on_the_job_perk }
highest_skill = learning
}
add = learning
multiply = {
add = learn_on_the_job_percentage
divide = 100
}
floor = yes
min = 1
}
}
### Reliable House modifier
court_chaplain_reliable_house_scale = {
value = 0

View file

@ -0,0 +1,303 @@
###
# Kurultai yurts bonuses
kurultai_main_yurt_bonus = {
value = 1
if = {
limit = {
exists = scope:councillor_liege
exists = scope:councillor_liege.domicile
}
scope:councillor_liege.domicile ?= {
switch = {
trigger = has_domicile_parameter
main_yurt_kurultai_bonus_lvl_1 = {
add = 0.05
}
main_yurt_kurultai_bonus_lvl_2 = {
add = 0.1
}
main_yurt_kurultai_bonus_lvl_3 = {
add = 0.15
}
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_better_kurultai_lvl_1 = {
add = 0.05
}
nomad_yurt_better_kurultai_lvl_2 = {
add = 0.1
}
nomad_yurt_better_kurultai_lvl_3 = {
add = 0.15
}
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_kurultai_skill_increase_per_piety_lvl_1 = {
add = {
value = scope:councillor_liege.piety_level
multiply = 0.01
min = 0
}
}
nomad_yurt_kurultai_skill_increase_per_piety_lvl_2 = {
add = {
value = scope:councillor_liege.piety_level
multiply = 0.02
min = 0
}
}
}
}
}
}
### Managing Herd
# Base skills
kurultai_manage_herd_skill_tooltip = {
add = diplomacy
}
# Base value
kurultai_manage_herd_base_value = {
add = 0.5
}
kurultai_manage_herd_skill_value = {
add = diplomacy
divide = 4
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
}
kurultai_manage_herd_final_value = {
add = kurultai_manage_herd_base_value
add = kurultai_manage_herd_skill_value
}
### Increasing Fertility
kurultai_increased_fertility_skill_tooltip = {
add = stewardship
}
kurultai_increased_fertility_base_value = {
add = 1
}
kurultai_increased_fertility_skill_value = {
add = stewardship
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
multiply = 2
}
kurultai_increased_fertility_scale_value = {
add = kurultai_increased_fertility_final_value
}
kurultai_increased_fertility_final_value = {
add = kurultai_increased_fertility_base_value
add = kurultai_increased_fertility_skill_value
}
### Increasing Control
kurultai_increase_control_skill_tooltip = {
add = martial
}
### Aiding Court Astrologer
kurultai_court_astrologer_skill_tooltip = {
add = learning
}
kurultai_court_astrologer_piety_base_value = {
add = 1
}
kurultai_court_astrologer_piety_skill_value = {
add = learning
divide = 5
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
}
kurultai_court_astrologer_piety_final_value = {
add = kurultai_court_astrologer_piety_base_value
add = kurultai_court_astrologer_piety_skill_value
if = {
limit = {
scope:councillor_liege = { has_perk = zealous_proselytizer_perk }
}
multiply = 2 # Make sure to make this number always match zealous_proselytizer_stargazer_percentage
}
max = 10
}
kurultai_court_astrologer_aptitude_base_value = {
add = 1
}
kurultai_court_astrologer_aptitude_skill_value = {
add = learning
divide = 4
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
}
kurultai_court_astrologer_aptitude_final_value = {
add = kurultai_court_astrologer_aptitude_base_value
add = kurultai_court_astrologer_aptitude_skill_value
max = 15
}
### Exploit Area
kurultai_exploit_area_fertility_base_value = {
add = 1.5
}
kurultai_exploit_area_fertility_skill_value = {
add = stewardship
divide = 25
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
max = 1.3
}
kurultai_exploit_area_fertility_final_value = {
add = kurultai_exploit_area_fertility_base_value
subtract = kurultai_exploit_area_fertility_skill_value
min = 0.2
max = 1.5
}
kurultai_exploit_area_income_base_value = {
add = 1
}
kurultai_exploit_area_income_skill_value = {
add = stewardship
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
}
kurultai_exploit_area_income_final_value = {
add = kurultai_exploit_area_income_base_value
add = kurultai_exploit_area_income_skill_value
}
### Organize Raiders
kurultai_organize_raiders_loot_base_value = {
add = 0.5
}
kurultai_organize_raiders_loot_skill_value = {
add = martial
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
}
kurultai_organize_raiders_loot_final_value = {
add = kurultai_organize_raiders_loot_base_value
add = kurultai_organize_raiders_loot_skill_value
}
kurultai_organize_raiders_raid_base_value = {
add = 3
}
kurultai_organize_raiders_raid_skill_value = {
add = martial
divide = 2
if = {
limit = {
councillor_liege_has_erudition_legacy_5_perk = yes
}
multiply = 1.1
}
multiply = kurultai_main_yurt_bonus
}
kurultai_organize_raiders_raid_final_value = {
add = kurultai_organize_raiders_raid_base_value
add = kurultai_organize_raiders_raid_skill_value
}
### Culture
kurultai_culture_max_value = {
add = learning
multiply = 2
max = 50
}
kurultai_culture_base_monthly_increase = {
value = 0.05
}
kurultai_culture_skill_monthly_increase = {
add = learning
multiply = 2
divide = 24
}
kurultai_culture_perk_monthly_increase = {
value = 0
if = {
limit = {
scope:councillor_liege = { has_perk = of_the_people_perk }
}
add = 2
}
}
kurultai_culture_monthly_increase = {
add = kurultai_culture_base_monthly_increase
add = kurultai_culture_skill_monthly_increase
add = kurultai_culture_perk_monthly_increase
}
kurultai_culture_final_value = {
value = 0
if = {
limit = {
scope:councillor_liege = { has_variable = kurultai_culture_variable_value }
}
add = scope:councillor_liege.var:kurultai_culture_variable_value
}
}

View file

@ -505,6 +505,23 @@ marshal_learn_on_the_job_scale = {
}
}
kurultai_marshal_learn_on_the_job_scale = {
value = 0
if = {
limit = {
liege = { has_perk = learn_on_the_job_perk }
highest_skill = martial
}
add = martial
multiply = {
add = learn_on_the_job_percentage
divide = 100
}
floor = yes
min = 1
}
}
marshal_scheme_overtime_boost_scale = {
add = 0
if = {

View file

@ -19,6 +19,23 @@ steward_learn_on_the_job_scale = {
}
}
kurultai_steward_learn_on_the_job_scale = {
value = 0
if = {
limit = {
liege = { has_perk = learn_on_the_job_perk }
highest_skill = stewardship
}
add = stewardship
multiply = {
add = learn_on_the_job_percentage
divide = 100
}
floor = yes
min = 1
}
}
### Reliable House modifier
steward_reliable_house_scale = {
value = 0
@ -483,25 +500,6 @@ steward_promote_culture_contextual_bonuses = {
desc = STEWARD_PROMOTE_CULTURE_EASIER_TO_CONVERT_CULTURE_IN_SAME_FAITH_MOUNTAINS_BONUS
}
}
if = {
limit = {
exists = scope:county
scope:councillor_liege.faith = { has_doctrine_parameter = easier_to_convert_culture_in_same_faith_hills_forests }
scope:county = {
faith = scope:councillor_liege.faith
any_county_province = {
OR = {
terrain = mountains
terrain = desert_mountains
}
}
}
}
add = {
value = scope:councillor.promote_culture_easier_to_convert_culture_in_same_faith_hills_forests_bonus
desc = STEWARD_PROMOTE_CULTURE_EASIER_TO_CONVERT_CULTURE_IN_SAME_FAITH_HILLS_FORESTS_BONUS
}
}
if = {
limit = {
scope:councillor_liege.culture = {
@ -672,6 +670,23 @@ steward_promote_culture_contextual_bonuses = {
}
}
if = {
limit = {
scope:councillor_liege.culture = { has_cultural_pillar = heritage_syriac }
exists = scope:county
scope:county = {
has_county_modifier = promote_culture_beth_nahrain_modifier
NOT = {
culture = { has_cultural_pillar = heritage_syriac }
}
}
}
add = {
value = promote_culture_beth_nahrain_bonus
desc = steward_promote_culture_beth_nahrain
}
}
if = {
limit = {
scope:county.culture ?= { has_cultural_pillar = heritage_iranian }
@ -848,6 +863,11 @@ promote_culture_reclaimed_brittania_bonus = {
multiply = 0.75
}
promote_culture_beth_nahrain_bonus = {
value = steward_promote_culture_base_total
multiply = 0.75
}
steward_promote_culture_erudition_bonus_monthly_increase = {
value = steward_promote_culture_base_total
multiply = {