more error cleaning
This commit is contained in:
parent
d9c60a5b08
commit
707660e545
65 changed files with 24545 additions and 2406 deletions
1458
common/script_values/00_dlc_fp3_script_values.txt
Normal file
1458
common/script_values/00_dlc_fp3_script_values.txt
Normal file
File diff suppressed because it is too large
Load diff
1357
common/script_values/00_legitimacy_values.txt
Normal file
1357
common/script_values/00_legitimacy_values.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -451,7 +451,7 @@ culture_ai_weight_skirmishers = {
|
|||
|
||||
if = { # Cultures that favours skirmishers
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_baltic
|
||||
has_cultural_pillar = heritage_ugro_permian
|
||||
|
|
@ -463,7 +463,7 @@ culture_ai_weight_skirmishers = {
|
|||
}
|
||||
if = { # Cultures that dislike skirmishers
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_central_germanic
|
||||
has_cultural_pillar = heritage_frankish
|
||||
|
|
@ -477,7 +477,7 @@ culture_ai_weight_skirmishers = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_skirmisher_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -490,7 +490,7 @@ culture_ai_weight_archers = {
|
|||
|
||||
if = { # Cultures that favours archers
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_west_germanic
|
||||
has_cultural_pillar = heritage_brythonic
|
||||
|
|
@ -507,8 +507,8 @@ culture_ai_weight_archers = {
|
|||
if = { # Cultures that dislike archers
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_frankish }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_frankish }
|
||||
}
|
||||
}
|
||||
add = -60
|
||||
|
|
@ -516,7 +516,7 @@ culture_ai_weight_archers = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_archer_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -529,7 +529,7 @@ culture_ai_weight_heavy_infantry = {
|
|||
|
||||
if = { # Cultures that favours heavy infantry
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_central_germanic
|
||||
has_cultural_pillar = heritage_north_germanic
|
||||
|
|
@ -544,7 +544,7 @@ culture_ai_weight_heavy_infantry = {
|
|||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
OR = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_heavy_infantry_maa = yes
|
||||
}
|
||||
|
||||
|
|
@ -563,8 +563,8 @@ culture_ai_weight_pikemen = {
|
|||
if = { # Cultures that favours spearmen
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_latin }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_latin }
|
||||
}
|
||||
}
|
||||
add = 40
|
||||
|
|
@ -572,7 +572,7 @@ culture_ai_weight_pikemen = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_pikemen_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -587,7 +587,7 @@ culture_ai_weight_light_cavalry = {
|
|||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_iranian }
|
||||
culture ?= { has_cultural_pillar = heritage_iranian }
|
||||
}
|
||||
}
|
||||
add = 80
|
||||
|
|
@ -595,7 +595,7 @@ culture_ai_weight_light_cavalry = {
|
|||
if = { # Cultures that favours light cavalry
|
||||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_arabic
|
||||
has_cultural_pillar = heritage_berber
|
||||
|
|
@ -611,11 +611,11 @@ culture_ai_weight_light_cavalry = {
|
|||
if = { # Cultures that dislike light cavalry
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_tibetan }
|
||||
culture = { has_cultural_pillar = heritage_baltic }
|
||||
culture = { has_cultural_pillar = heritage_burman }
|
||||
culture = { has_cultural_pillar = heritage_somalian }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_tibetan }
|
||||
culture ?= { has_cultural_pillar = heritage_baltic }
|
||||
culture ?= { has_cultural_pillar = heritage_burman }
|
||||
culture ?= { has_cultural_pillar = heritage_somalian }
|
||||
}
|
||||
}
|
||||
add = -60
|
||||
|
|
@ -623,7 +623,7 @@ culture_ai_weight_light_cavalry = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_light_cavalry_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -632,12 +632,12 @@ culture_ai_weight_light_cavalry = {
|
|||
|
||||
if = { # Cultures with a preference for Camel Riders should buy those over normal light cavalry
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
has_innovation = innovation_war_camels
|
||||
}
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_arabic }
|
||||
culture = { has_cultural_pillar = heritage_berber }
|
||||
culture ?= { has_cultural_pillar = heritage_arabic }
|
||||
culture ?= { has_cultural_pillar = heritage_berber }
|
||||
}
|
||||
}
|
||||
add = -200
|
||||
|
|
@ -651,11 +651,11 @@ culture_ai_weight_heavy_cavalry = {
|
|||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_iranian }
|
||||
culture ?= { has_cultural_pillar = heritage_iranian }
|
||||
|
||||
# Steppe cultures
|
||||
culture = { has_cultural_pillar = heritage_turkic }
|
||||
culture = { has_cultural_pillar = heritage_mongolic }
|
||||
culture ?= { has_cultural_pillar = heritage_turkic }
|
||||
culture ?= { has_cultural_pillar = heritage_mongolic }
|
||||
}
|
||||
}
|
||||
add = 80
|
||||
|
|
@ -664,16 +664,16 @@ culture_ai_weight_heavy_cavalry = {
|
|||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_frankish }
|
||||
culture = { has_cultural_pillar = heritage_indo_aryan }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_frankish }
|
||||
culture ?= { has_cultural_pillar = heritage_indo_aryan }
|
||||
}
|
||||
}
|
||||
add = 40
|
||||
}
|
||||
if = { # Cultures that dislike heavy cavalry
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_tibetan
|
||||
has_cultural_pillar = heritage_baltic
|
||||
|
|
@ -693,7 +693,7 @@ culture_ai_weight_heavy_cavalry = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_heavy_cavalry_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -707,8 +707,8 @@ culture_ai_weight_camels = {
|
|||
if = { # Cultures that favours camel riders
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_arabic }
|
||||
culture = { has_cultural_pillar = heritage_berber }
|
||||
culture ?= { has_cultural_pillar = heritage_arabic }
|
||||
culture ?= { has_cultural_pillar = heritage_berber }
|
||||
}
|
||||
}
|
||||
add = 80
|
||||
|
|
@ -721,9 +721,9 @@ culture_ai_weight_elephants = {
|
|||
if = { # Cultures that favours war elephants
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_dravidian }
|
||||
culture = { has_cultural_pillar = heritage_indo_aryan }
|
||||
culture = { has_cultural_pillar = heritage_burman }
|
||||
culture ?= { has_cultural_pillar = heritage_dravidian }
|
||||
culture ?= { has_cultural_pillar = heritage_indo_aryan }
|
||||
culture ?= { has_cultural_pillar = heritage_burman }
|
||||
}
|
||||
}
|
||||
add = 60
|
||||
|
|
@ -808,7 +808,7 @@ counter_synergy_ai_weight_gunpowder = {
|
|||
value = 200 # Since these are hard-limited elsewhere, prefer them highly
|
||||
if = {
|
||||
limit = {
|
||||
culture = { has_cultural_era_or_later = culture_era_late_medieval }
|
||||
culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
|
||||
number_maa_regiments_of_base_type = {
|
||||
type = pikemen
|
||||
value >= 3
|
||||
|
|
@ -824,7 +824,7 @@ counter_synergy_ai_weight_gunpowder = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
culture = { has_cultural_pillar = heritage_chinese }
|
||||
culture ?= { has_cultural_pillar = heritage_chinese }
|
||||
}
|
||||
add = 10 # more gun
|
||||
}
|
||||
|
|
@ -854,7 +854,7 @@ culture_ai_weight_crossbowmen = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_improved_crossbowmen = yes
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2348
common/script_values/01_dynamic_values.txt
Normal file
2348
common/script_values/01_dynamic_values.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1292,42 +1292,42 @@ great_holy_war_target_kingdom_weight = {
|
|||
}
|
||||
add = ghw_target_fringe
|
||||
}
|
||||
# Magyar heartlands
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:the_faith.religion = religion:mediterranean_religion
|
||||
title_capital_county.title_province = { geographical_region = ghw_region_hungary }
|
||||
}
|
||||
add = ghw_target_heartlands
|
||||
}
|
||||
# Magyar frontier
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:the_faith.religion = religion:mediterranean_religion
|
||||
title_capital_county.title_province = {
|
||||
OR = {
|
||||
geographical_region = ghw_region_balkans
|
||||
geographical_region = ghw_region_crimea
|
||||
geographical_region = ghw_region_poland_bohemia_bavaria
|
||||
geographical_region = ghw_region_southern_russia
|
||||
}
|
||||
}
|
||||
}
|
||||
add = ghw_target_frontier
|
||||
}
|
||||
# Magyar fringe
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:the_faith.religion = religion:mediterranean_religion
|
||||
title_capital_county.title_province = {
|
||||
OR = {
|
||||
geographical_region = ghw_region_mainland_greece
|
||||
geographical_region = ghw_region_baltic
|
||||
}
|
||||
}
|
||||
}
|
||||
add = ghw_target_fringe
|
||||
}
|
||||
# # Magyar heartlands
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:the_faith.religion = religion:mediterranean_religion
|
||||
# title_capital_county.title_province = { geographical_region = ghw_region_hungary }
|
||||
# }
|
||||
# add = ghw_target_heartlands
|
||||
# }
|
||||
# # Magyar frontier
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:the_faith.religion = religion:mediterranean_religion
|
||||
# title_capital_county.title_province = {
|
||||
# OR = {
|
||||
# geographical_region = ghw_region_balkans
|
||||
# geographical_region = ghw_region_crimea
|
||||
# geographical_region = ghw_region_poland_bohemia_bavaria
|
||||
# geographical_region = ghw_region_southern_russia
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# add = ghw_target_frontier
|
||||
# }
|
||||
# # Magyar fringe
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:the_faith.religion = religion:mediterranean_religion
|
||||
# title_capital_county.title_province = {
|
||||
# OR = {
|
||||
# geographical_region = ghw_region_mainland_greece
|
||||
# geographical_region = ghw_region_baltic
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# add = ghw_target_fringe
|
||||
# }
|
||||
# # Bon/Qiangicism/Donyipoloism/Mundhumism heartlands
|
||||
# else_if = {
|
||||
# limit = {
|
||||
|
|
@ -2060,22 +2060,22 @@ great_holy_war_target_kingdom_weight = {
|
|||
multiply = ghw_target_distance_01_reduction
|
||||
}
|
||||
}
|
||||
# Taltosist Paganism
|
||||
else_if = {
|
||||
limit = { scope:the_faith.religion = religion:mediterranean_religion }
|
||||
if = {
|
||||
limit = {
|
||||
title_capital_county = {
|
||||
squared_distance = {
|
||||
target = title:c_visegrad
|
||||
value >= ghw_target_distance_01_threshold
|
||||
}
|
||||
}
|
||||
}
|
||||
multiply = ghw_target_distance_01_reduction
|
||||
}
|
||||
}
|
||||
# Bon/Qiangicism/Donyipoloism/Mundhumism
|
||||
# # Taltosist Paganism
|
||||
# else_if = {
|
||||
# limit = { scope:the_faith.religion = religion:mediterranean_religion }
|
||||
# if = {
|
||||
# limit = {
|
||||
# title_capital_county = {
|
||||
# squared_distance = {
|
||||
# target = title:c_visegrad
|
||||
# value >= ghw_target_distance_01_threshold
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# multiply = ghw_target_distance_01_reduction
|
||||
# }
|
||||
# }
|
||||
# # Bon/Qiangicism/Donyipoloism/Mundhumism
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:the_faith.religion = {
|
||||
|
|
@ -2470,22 +2470,22 @@ great_holy_war_target_kingdom_weight = {
|
|||
multiply = ghw_target_distance_02_reduction
|
||||
}
|
||||
}
|
||||
# Taltosist Paganism
|
||||
else_if = {
|
||||
limit = { scope:the_faith.religion = religion:mediterranean_religion }
|
||||
if = {
|
||||
limit = {
|
||||
title_capital_county = {
|
||||
squared_distance = {
|
||||
target = title:c_visegrad
|
||||
value >= ghw_target_distance_02_threshold
|
||||
}
|
||||
}
|
||||
}
|
||||
multiply = ghw_target_distance_02_reduction
|
||||
}
|
||||
}
|
||||
# Bon/Qiangicism/Donyipoloism/Mundhumism
|
||||
# # Taltosist Paganism
|
||||
# else_if = {
|
||||
# limit = { scope:the_faith.religion = religion:mediterranean_religion }
|
||||
# if = {
|
||||
# limit = {
|
||||
# title_capital_county = {
|
||||
# squared_distance = {
|
||||
# target = title:c_visegrad
|
||||
# value >= ghw_target_distance_02_threshold
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# multiply = ghw_target_distance_02_reduction
|
||||
# }
|
||||
# }
|
||||
# # Bon/Qiangicism/Donyipoloism/Mundhumism
|
||||
# else_if = {
|
||||
# limit = {
|
||||
# scope:the_faith.religion = {
|
||||
|
|
@ -2880,22 +2880,22 @@ great_holy_war_target_kingdom_weight = {
|
|||
multiply = ghw_target_distance_03_reduction
|
||||
}
|
||||
}
|
||||
# Taltosist Paganism
|
||||
else_if = {
|
||||
limit = { scope:the_faith.religion = religion:mediterranean_religion }
|
||||
if = {
|
||||
limit = {
|
||||
title_capital_county = {
|
||||
squared_distance = {
|
||||
target = title:c_visegrad
|
||||
value >= ghw_target_distance_03_threshold
|
||||
}
|
||||
}
|
||||
}
|
||||
multiply = ghw_target_distance_03_reduction
|
||||
}
|
||||
}
|
||||
# Bon/Qiangicism/Donyipoloism/Mundhumism
|
||||
# # Taltosist Paganism
|
||||
# else_if = {
|
||||
# limit = { scope:the_faith.religion = religion:mediterranean_religion }
|
||||
# if = {
|
||||
# limit = {
|
||||
# title_capital_county = {
|
||||
# squared_distance = {
|
||||
# target = title:c_visegrad
|
||||
# value >= ghw_target_distance_03_threshold
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# multiply = ghw_target_distance_03_reduction
|
||||
# }
|
||||
# }
|
||||
# # Bon/Qiangicism/Donyipoloism/Mundhumism
|
||||
# else_if = {
|
||||
# if = {
|
||||
# limit = {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,11 @@ court_chaplain_religious_relations_consulted_house_bonus_modifier = {
|
|||
court_chaplain_religious_relations_cultural_tradition_bonus_modifier = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor_liege.culture = { has_cultural_parameter = religious_relations_is_empowered }
|
||||
exists = scope:councillor_liege.culture
|
||||
trigger_if = {
|
||||
limit = { exists = scope:councillor_liege.culture }
|
||||
scope:councillor_liege.culture ?= { has_cultural_parameter = religious_relations_is_empowered }
|
||||
}
|
||||
}
|
||||
add = court_chaplain_religious_relations_modifier
|
||||
multiply = 0.2 #When changing, adjust culture_parameter_religious_relations_is_empowered
|
||||
|
|
@ -245,13 +249,13 @@ court_chaplain_religious_relations_no_hof_opinion_modifier = {
|
|||
add = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
OR = {
|
||||
has_doctrine_parameter = no_head_of_faith
|
||||
NOT = { exists = religious_head }
|
||||
}
|
||||
}
|
||||
scope:councillor.rite = { rite_has_doctrine = doctrine_theocracy_lay_clergy }
|
||||
scope:councillor.rite ?= { rite_has_doctrine = doctrine_theocracy_lay_clergy }
|
||||
}
|
||||
add = court_chaplain_religious_relations_opinion_modifier
|
||||
divide = court_chaplain_religious_relations_no_hof_balance
|
||||
|
|
@ -625,7 +629,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
#Conversion modifiers from where the Faith is on the Pluralism spectrum.
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = pluralism_fundamentalist_proselytization_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -636,7 +640,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = pluralism_pluralistic_proselytization_penalty
|
||||
}
|
||||
}
|
||||
|
|
@ -651,13 +655,13 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.rite = {
|
||||
scope:county.rite ?= {
|
||||
rite_has_parameter = sanctioned_false_conversion_county_resistance
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:county.rite = { rite_has_tenet = tenet_false_conversion_sanction }
|
||||
scope:county.rite ?= { rite_has_tenet = tenet_false_conversion_sanction }
|
||||
}
|
||||
add = {
|
||||
value = scope:councillor.conversion_false_conversion_sanction_resistance
|
||||
|
|
@ -666,7 +670,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
scope:county.rite = { rite_has_tenet = tenet_pastoral_isolation }
|
||||
scope:county.rite ?= { rite_has_tenet = tenet_pastoral_isolation }
|
||||
}
|
||||
add = {
|
||||
value = scope:councillor.conversion_pastoral_isolation_resistance
|
||||
|
|
@ -684,13 +688,13 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.rite = {
|
||||
scope:county.rite ?= {
|
||||
rite_has_parameter = reincarnation_resistance_to_conversion
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:county.rite = { rite_has_tenet = tenet_reincarnation }
|
||||
scope:county.rite ?= { rite_has_tenet = tenet_reincarnation }
|
||||
}
|
||||
add = {
|
||||
value = scope:councillor.conversion_reincarnation_resistance
|
||||
|
|
@ -708,7 +712,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.rite = {
|
||||
scope:county.rite ?= {
|
||||
rite_has_parameter = tenet_adaptive_conversion_resistance
|
||||
}
|
||||
}
|
||||
|
|
@ -719,7 +723,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.liege.rite = { rite_has_parameter = other_culture_conversion_penalty_active }
|
||||
scope:councillor.liege.rite ?= { rite_has_parameter = other_culture_conversion_penalty_active }
|
||||
exists = scope:county
|
||||
scope:county.culture != scope:councillor.liege.culture
|
||||
}
|
||||
|
|
@ -734,7 +738,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
### Mendicant Preachers
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = mendicant_preachers_conversion_active
|
||||
}
|
||||
}
|
||||
|
|
@ -759,7 +763,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = same_culture_conversion_bonus_active
|
||||
}
|
||||
scope:county.culture = scope:councillor.liege.culture
|
||||
|
|
@ -773,7 +777,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
has_doctrine_parameter = ghw_no_hof_conversion_buffs_active
|
||||
OR = {
|
||||
has_doctrine_parameter = no_head_of_faith
|
||||
|
|
@ -791,7 +795,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:councillor.rite = { rite_has_parameter = easier_to_convert_faith_in_mountains }
|
||||
scope:councillor.rite ?= { rite_has_parameter = easier_to_convert_faith_in_mountains }
|
||||
scope:county = {
|
||||
# We check any province and not just title province, to be generous.
|
||||
county_has_province_with_terrain = {
|
||||
|
|
@ -811,7 +815,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
limit = {
|
||||
exists = scope:county
|
||||
scope:county = {
|
||||
rite = { rite_has_parameter = harder_to_convert_faith_away_in_mountains }
|
||||
rite ?= { rite_has_parameter = harder_to_convert_faith_away_in_mountains }
|
||||
# We check any province and not just title province, to be generous.
|
||||
county_has_province_with_terrain = {
|
||||
terrain = mountains
|
||||
|
|
@ -830,7 +834,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
limit = {
|
||||
exists = scope:county.faith
|
||||
scope:county.faith != scope:councillor.faith
|
||||
scope:councillor.faith = { faith_is_syncretic_with = { FAITH = scope:county.faith } }
|
||||
scope:councillor.faith ?= { faith_is_syncretic_with = { FAITH = scope:county.faith } }
|
||||
}
|
||||
add = {
|
||||
value = scope:councillor.conversion_syncretic_with_religion_malus
|
||||
|
|
@ -888,7 +892,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
religion = religion:germanic_religion
|
||||
}
|
||||
scope:county.faith = {
|
||||
scope:county.faith ?= {
|
||||
NOT = { has_doctrine_parameter = unreformed }
|
||||
}
|
||||
}
|
||||
|
|
@ -944,7 +948,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
#Conversion bonuses from certain Holy Sites.
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = jerusalem_conversion_bonus
|
||||
}
|
||||
title:b_jerusalem = {
|
||||
|
|
@ -958,7 +962,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = kerala_conversion_bonus
|
||||
}
|
||||
title:b_mahoyadapuram = {
|
||||
|
|
@ -973,7 +977,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = iona_conversion_bonus
|
||||
}
|
||||
title:b_islay = {
|
||||
|
|
@ -991,7 +995,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.faith = {
|
||||
scope:county.faith ?= {
|
||||
controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus
|
||||
}
|
||||
title:b_wadi_el-milk = {
|
||||
|
|
@ -1005,7 +1009,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = cordoba_conversion_bonus
|
||||
}
|
||||
title:b_cordoba = {
|
||||
|
|
@ -1019,7 +1023,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = geneva_conversion_bonus
|
||||
}
|
||||
title:b_geneva = {
|
||||
|
|
@ -1034,7 +1038,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.faith = {
|
||||
scope:county.faith ?= {
|
||||
controls_holy_site_with_parameter = visoki_conversion_resistance_bonus
|
||||
}
|
||||
title:b_visoki = {
|
||||
|
|
@ -1051,7 +1055,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.culture = {
|
||||
scope:county.culture ?= {
|
||||
has_cultural_parameter = more_easily_converted
|
||||
}
|
||||
}
|
||||
|
|
@ -1063,7 +1067,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.culture = {
|
||||
scope:county.culture ?= {
|
||||
has_cultural_parameter = harder_to_convert_county_faith
|
||||
}
|
||||
}
|
||||
|
|
@ -1108,7 +1112,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
limit = {
|
||||
exists = global_var:fp3_struggle_ending
|
||||
global_var:fp3_struggle_ending = flag:fp3_struggle_shia_caliphate_ending
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_doctrine = muhammad_succession_shia_doctrine
|
||||
}
|
||||
}
|
||||
|
|
@ -1121,7 +1125,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
limit = {
|
||||
exists = global_var:fp3_struggle_ending
|
||||
global_var:fp3_struggle_ending = flag:fp3_struggle_strengthen_caliphate_ending
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_doctrine = muhammad_succession_sunni_doctrine
|
||||
}
|
||||
}
|
||||
|
|
@ -1232,7 +1236,7 @@ court_chaplain_conversion_contextual_bonuses = {
|
|||
# Faster conversion for certain special doctrines
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor_liege.faith = { has_doctrine_parameter = adoptionists_attractively_intuitive_theology }
|
||||
scope:councillor_liege.faith ?= { has_doctrine_parameter = adoptionists_attractively_intuitive_theology }
|
||||
exists = scope:county
|
||||
scope:county.faith.religion = religion:christianity_religion
|
||||
}
|
||||
|
|
@ -1247,7 +1251,7 @@ court_chaplain_conversion_factors = {
|
|||
value = 1
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
has_doctrine_parameter = unreformed
|
||||
}
|
||||
}
|
||||
|
|
@ -1323,7 +1327,7 @@ court_chaplain_conversion_factors = {
|
|||
limit = {
|
||||
scope:councillor.liege = { has_character_modifier = fp2_council_conversion_modifier }
|
||||
scope:county.rite != rite:mozarabic_church
|
||||
scope:county.faith = {
|
||||
scope:county.faith ?= {
|
||||
religion = scope:councillor.liege.religion
|
||||
NOT = { exists = religious_head }
|
||||
}
|
||||
|
|
@ -1341,7 +1345,7 @@ court_chaplain_conversion_factors = {
|
|||
has_character_modifier = fp3_promoted_persian_scripture_modifier
|
||||
is_ai = no #this is so that we don't get AI converting and homogenizing Persia too quickly
|
||||
}
|
||||
scope:county.culture = { has_cultural_pillar = heritage_iranian }
|
||||
scope:county.culture ?= { has_cultural_pillar = heritage_iranian }
|
||||
}
|
||||
multiply = {
|
||||
value = promote_persian_scripture_conversion_modifier_value
|
||||
|
|
@ -1356,16 +1360,16 @@ court_chaplain_conversion_factors = {
|
|||
switch = {
|
||||
trigger = global_var:fp3_struggle_ending_assertion_school
|
||||
flag:sunni = {
|
||||
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_sunni_doctrine }
|
||||
scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_sunni_doctrine }
|
||||
}
|
||||
flag:shia = {
|
||||
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_shia_doctrine }
|
||||
scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_shia_doctrine }
|
||||
}
|
||||
flag:muhakkima = {
|
||||
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_muhakkima_doctrine }
|
||||
scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_muhakkima_doctrine }
|
||||
}
|
||||
flag:zandaqa = {
|
||||
scope:councillor.liege.rite = { rite_has_doctrine = muhammad_succession_zandaqa_doctrine }
|
||||
scope:councillor.liege.rite ?= { rite_has_doctrine = muhammad_succession_zandaqa_doctrine }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1684,7 +1688,7 @@ court_chaplain_progress_percentage = {
|
|||
conversion_fundamentalist_faith_bonus = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = pluralism_fundamentalist_proselytization_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -1697,7 +1701,7 @@ conversion_pluralistic_faith_penalty = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = pluralism_pluralistic_proselytization_penalty
|
||||
}
|
||||
}
|
||||
|
|
@ -1713,7 +1717,7 @@ conversion_false_conversion_sanction_resistance = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.rite = {
|
||||
scope:county.rite ?= {
|
||||
rite_has_parameter = sanctioned_false_conversion_county_resistance
|
||||
}
|
||||
}
|
||||
|
|
@ -1727,7 +1731,7 @@ conversion_reincarnation_resistance = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.rite = {
|
||||
scope:county.rite ?= {
|
||||
rite_has_parameter = reincarnation_resistance_to_conversion
|
||||
}
|
||||
}
|
||||
|
|
@ -1746,7 +1750,7 @@ conversion_adaptive_resistance = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.rite = {
|
||||
scope:county.rite ?= {
|
||||
rite_has_parameter = tenet_adaptive_conversion_resistance
|
||||
}
|
||||
}
|
||||
|
|
@ -1760,7 +1764,7 @@ conversion_culture_harder_to_convert = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.culture = {
|
||||
scope:county.culture ?= {
|
||||
has_cultural_parameter = harder_to_convert_county_faith
|
||||
}
|
||||
}
|
||||
|
|
@ -1774,7 +1778,7 @@ conversion_culture_more_easily_converted = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:county.culture = {
|
||||
scope:county.culture ?= {
|
||||
has_cultural_parameter = more_easily_converted
|
||||
}
|
||||
}
|
||||
|
|
@ -1796,7 +1800,7 @@ conversion_communal_identity_resistance = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = { rite_has_parameter = other_culture_conversion_penalty_active }
|
||||
scope:councillor.rite ?= { rite_has_parameter = other_culture_conversion_penalty_active }
|
||||
scope:county.culture != scope:councillor.liege.culture
|
||||
}
|
||||
subtract = court_chaplain_conversion_base_total
|
||||
|
|
@ -1808,7 +1812,7 @@ conversion_mendicant_preachers_bonus = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = mendicant_preachers_conversion_active
|
||||
}
|
||||
}
|
||||
|
|
@ -1835,7 +1839,7 @@ conversion_communal_identity_bonus = {
|
|||
if = {
|
||||
limit = {
|
||||
exists = scope:county
|
||||
scope:councillor.rite = {
|
||||
scope:councillor.rite ?= {
|
||||
rite_has_parameter = same_culture_conversion_bonus_active
|
||||
}
|
||||
scope:county.culture = scope:councillor.liege.culture
|
||||
|
|
@ -1861,13 +1865,13 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
#add = court_chaplain_conversion_base_total
|
||||
if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 1 }
|
||||
faith ?= { holy_sites_controlled = 1 }
|
||||
}
|
||||
multiply = conversion_ghw_tenet_multiplier_control
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 2 }
|
||||
faith ?= { holy_sites_controlled = 2 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1876,7 +1880,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 3 }
|
||||
faith ?= { holy_sites_controlled = 3 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1885,7 +1889,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 4 }
|
||||
faith ?= { holy_sites_controlled = 4 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1894,7 +1898,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 5 }
|
||||
faith ?= { holy_sites_controlled = 5 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1903,7 +1907,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 6 }
|
||||
faith ?= { holy_sites_controlled = 6 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1912,7 +1916,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 7 }
|
||||
faith ?= { holy_sites_controlled = 7 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1921,7 +1925,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 8 }
|
||||
faith ?= { holy_sites_controlled = 8 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1930,7 +1934,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled = 9 }
|
||||
faith ?= { holy_sites_controlled = 9 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -1939,7 +1943,7 @@ conversion_ghw_tenet_no_hof_bonus = {
|
|||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
faith = { holy_sites_controlled >= 10 }
|
||||
faith ?= { holy_sites_controlled >= 10 }
|
||||
}
|
||||
multiply = {
|
||||
value = conversion_ghw_tenet_multiplier_control
|
||||
|
|
@ -2010,7 +2014,7 @@ conversion_holy_site_jerusalem = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = jerusalem_conversion_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2023,7 +2027,7 @@ conversion_holy_site_kerala = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = kerala_conversion_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2036,7 +2040,7 @@ conversion_holy_site_iona = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = iona_conversion_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2049,7 +2053,7 @@ conversion_holy_site_visoki = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = visoki_conversion_resistance_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2062,7 +2066,7 @@ conversion_holy_site_wadi_el_milk = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = wadi_el_milk_conversion_resistance_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2075,7 +2079,7 @@ conversion_holy_site_cordoba = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = cordoba_conversion_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2088,7 +2092,7 @@ conversion_holy_site_geneva = {
|
|||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor.faith = {
|
||||
scope:councillor.faith ?= {
|
||||
controls_holy_site_with_parameter = geneva_conversion_bonus
|
||||
}
|
||||
}
|
||||
|
|
@ -2224,7 +2228,7 @@ court_chaplain_sunni_promotion = {
|
|||
limit = {
|
||||
exists = global_var:fp3_struggle_ending
|
||||
global_var:fp3_struggle_ending = flag:fp3_struggle_strengthen_caliphate_ending
|
||||
rite = {
|
||||
rite ?= {
|
||||
rite_has_doctrine = muhammad_succession_sunni_doctrine
|
||||
}
|
||||
}
|
||||
|
|
@ -2240,7 +2244,7 @@ court_chaplain_shia_promotion = {
|
|||
limit = {
|
||||
exists = global_var:fp3_struggle_ending
|
||||
global_var:fp3_struggle_ending = flag:fp3_struggle_shia_caliphate_ending
|
||||
rite = {
|
||||
rite ?= {
|
||||
rite_has_doctrine = muhammad_succession_shia_doctrine
|
||||
}
|
||||
}
|
||||
|
|
@ -2252,7 +2256,7 @@ court_chaplain_shia_promotion = {
|
|||
}
|
||||
|
||||
#Cardinal Order bonus
|
||||
cardinal_order_convert_faith = {
|
||||
cardinal_order_convert_faith ?= {
|
||||
if = {
|
||||
limit = {
|
||||
scope:county ?= {
|
||||
|
|
|
|||
1310
common/script_values/99_steward_values.txt
Normal file
1310
common/script_values/99_steward_values.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue