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