Bugs fixing

This commit is contained in:
Heidesommer 2026-05-24 05:01:46 -04:00
parent cb926c39aa
commit ebc206bb1c
117 changed files with 59950 additions and 11056 deletions

View file

@ -953,35 +953,6 @@ task_conversion = {
}
}
}
# Ash'ari in Spain tend to not convert Muwhalladi often
trigger_if = {
limit = {
scope:councillor_liege = {
is_ai = yes
faith = faith:ashari
capital_province ?= { geographical_region = world_europe_west_iberia }
scope:county.faith = faith:muwalladi
}
scope:county = {
title_province = { geographical_region = world_europe_west_iberia }
}
}
OR = {
scope:councillor_liege = {
has_character_flag = vassal_directive_convert_faith
vassal_is_valid_and_follows_directive_trigger = { VASSAL = this LIEGE = liege }
}
scope:councillor_liege = { ai_zeal >= 50 }
scope:county = { county_opinion <= -20 }
scope:county = { # Always convert holy sites
any_county_province = {
barony = {
is_holy_site_of = scope:councillor_liege.faith
}
}
}
}
}
# If a ruler has Jizya tax, they'll only convert the same *religious family* when ai_zeal is really high, they're converting unreformed pagans, counties in a kingdom with a Holy Site, or others of the same religion
trigger_if = {
limit = {

View file

@ -952,26 +952,26 @@ task_promote_culture = {
desc = GAME_RULE_FASTER_REASON
}
}
# Faster conversion for FP2 Hostility ending, if county is in Iberia and culture was involved
if = {
limit = {
any_in_global_list = {
variable = fp2_struggle_ending_culture_list
this = scope:county.culture
}
scope:county.title_province = { geographical_region = world_europe_west_iberia }
scope:councillor.liege.house = {
OR = {
has_house_modifier = fp2_struggle_hostility_house_culture_modifier
has_house_modifier = fp2_struggle_hostility_house_combined_modifier
}
}
}
multiply = {
value = fp2_struggle_hostility_conversion_value
desc = fp2_struggle_hostility_culture_conversion_task_desc
}
}
# # Faster conversion for FP2 Hostility ending, if county is in Iberia and culture was involved
# if = {
# limit = {
# any_in_global_list = {
# variable = fp2_struggle_ending_culture_list
# this = scope:county.culture
# }
# scope:county.title_province = { geographical_region = world_europe_west_iberia }
# scope:councillor.liege.house = {
# OR = {
# has_house_modifier = fp2_struggle_hostility_house_culture_modifier
# has_house_modifier = fp2_struggle_hostility_house_combined_modifier
# }
# }
# }
# multiply = {
# value = fp2_struggle_hostility_conversion_value
# desc = fp2_struggle_hostility_culture_conversion_task_desc
# }
# }
if = {
limit = {
scope:councillor_liege = {
@ -983,18 +983,18 @@ task_promote_culture = {
desc = bp2_devoted_to_tradition_modifier_conversion_task_desc
}
}
if = {
limit = {
scope:councillor_liege = {
has_title = title:c_byzantion
title:c_byzantion = { has_county_modifier = pandidakterion_university_modifier }
}
}
multiply = {
value = 1.25
desc = pandidakterion_university_modifier
}
}
# if = {
# limit = {
# scope:councillor_liege = {
# has_title = title:c_byzantion
# title:c_byzantion = { has_county_modifier = pandidakterion_university_modifier }
# }
# }
# multiply = {
# value = 1.25
# desc = pandidakterion_university_modifier
# }
# }
if = {
limit = {
scope:county = { has_county_modifier = improve_promote_culture_modifier }
@ -1031,18 +1031,18 @@ task_promote_culture = {
}
}
}
NAND = { # Princes in the HRE tend to not convert each other's cultures
exists = title:e_hre.holder
scope:councillor_liege.top_liege = title:e_hre.holder
OR = {
scope:councillor_liege.culture = culture:czech
scope:councillor_liege.culture = { has_cultural_pillar = heritage_central_germanic }
}
OR = {
scope:county.culture = culture:czech
scope:county.culture = { has_cultural_pillar = heritage_central_germanic }
}
}
# NAND = { # Princes in the HRE tend to not convert each other's cultures
# exists = title:e_hre.holder
# scope:councillor_liege.top_liege = title:e_hre.holder
# OR = {
# scope:councillor_liege.culture = culture:czech
# scope:councillor_liege.culture = { has_cultural_pillar = heritage_central_germanic }
# }
# OR = {
# scope:county.culture = culture:czech
# scope:county.culture = { has_cultural_pillar = heritage_central_germanic }
# }
# }
NOT = { # Do not eliminate the Basques
scope:county.culture = {
this = culture:basque
@ -1058,18 +1058,18 @@ task_promote_culture = {
cultural_acceptance = { target = scope:councillor_liege.culture value >= 50 }
}
}
scope:county = {
this = title:c_maragha
culture = culture:turkish
}
# scope:county = {
# this = title:c_maragha
# culture = culture:turkish
# }
culture = { # All AI's are motivated to spread new Hybrid/Divergent cultures
OR = {
is_hybrid_culture = yes
is_divergent_culture = yes
}
NOT = { # Leave the Welsh alone!
this = culture:anglo_saxon
}
# NOT = { # Leave the Welsh alone!
# this = culture:anglo_saxon
# }
any_parent_culture = {
this = scope:county.culture
}
@ -1079,51 +1079,51 @@ task_promote_culture = {
count < 10
}
}
scope:county.culture = { # 'dead' small cultures can go away
OR = {
is_hybrid_culture = yes
is_divergent_culture = yes
}
any_culture_county = {
count < 10
}
OR = {
NOT = { exists = culture_head }
any_culture_county = {
count < 5
}
}
}
AND = {
# Scottish rulers should convert counties of 'old' cultures to the new one.
culture = culture:scottish
OR = {
scope:county.culture = culture:anglo_saxon
scope:county.culture = culture:gaelic
scope:county.culture = culture:cumbrian
scope:county.culture = culture:pictish
}
}
AND = {
# English rulers should convert counties of 'old' cultures to the new one.
culture = culture:english
OR = {
scope:county.culture = culture:anglo_saxon
scope:county.culture = culture:norman
}
}
AND = {
# German rulers want to convert the sorbians
culture = { has_cultural_pillar = heritage_central_germanic }
scope:county.culture = culture:sorbian
NOT = { scope:councillor_liege.primary_title = title:e_hre }
}
AND = {
# Japanese rulers should convert Emishi counties
culture = culture:japanese
scope:county.culture = culture:emishi
}
# scope:county.culture = { # 'dead' small cultures can go away
# OR = {
# is_hybrid_culture = yes
# is_divergent_culture = yes
# }
# any_culture_county = {
# count < 10
# }
# OR = {
# NOT = { exists = culture_head }
# any_culture_county = {
# count < 5
# }
# }
# }
# AND = {
# # Scottish rulers should convert counties of 'old' cultures to the new one.
# culture = culture:scottish
# OR = {
# scope:county.culture = culture:anglo_saxon
# scope:county.culture = culture:gaelic
# scope:county.culture = culture:cumbrian
# scope:county.culture = culture:pictish
# }
# }
# AND = {
# # English rulers should convert counties of 'old' cultures to the new one.
# culture = culture:english
# OR = {
# scope:county.culture = culture:anglo_saxon
# scope:county.culture = culture:norman
# }
# }
# AND = {
# # German rulers want to convert the sorbians
# culture = { has_cultural_pillar = heritage_central_germanic }
# scope:county.culture = culture:sorbian
# NOT = { scope:councillor_liege.primary_title = title:e_hre }
# }
#
# AND = {
# # Japanese rulers should convert Emishi counties
# culture = culture:japanese
# scope:county.culture = culture:emishi
# }
}
OR = {
is_independent_ruler = yes
@ -1142,21 +1142,21 @@ task_promote_culture = {
count < 10
}
}
scope:county.culture = { # 'dead' small cultures can go away
OR = {
is_hybrid_culture = yes
is_divergent_culture = yes
}
any_culture_county = {
count < 10
}
OR = {
NOT = { exists = culture_head }
any_culture_county = {
count < 5
}
}
}
# scope:county.culture = { # 'dead' small cultures can go away
# OR = {
# is_hybrid_culture = yes
# is_divergent_culture = yes
# }
# any_culture_county = {
# count < 10
# }
# OR = {
# NOT = { exists = culture_head }
# any_culture_county = {
# count < 5
# }
# }
# }
culture = { # Imperious cultures want to grow to a certain size
culture_head ?= {
is_independent_ruler = yes
@ -1362,30 +1362,30 @@ task_promote_culture = {
gold > 0
OR = {
gold >= steward_convert_culture_value
AND = {
culture = culture:scottish
top_liege.primary_title = title:k_scotland
capital_county.kingdom = title:k_scotland
}
AND = {
culture = culture:english
top_liege.primary_title = title:k_england
capital_county.kingdom = title:k_england
}
AND = {
culture = { has_cultural_pillar = heritage_central_germanic }
top_liege.primary_title = title:e_hre
OR = {
capital_county.kingdom = title:k_sorbia
capital_county.kingdom = title:k_east_francia
capital_county.kingdom = title:k_saxony
capital_county.kingdom = title:k_pomerania
}
}
AND = {
culture = culture:japanese
capital_county.empire = title:e_japan
}
# AND = {
# culture = culture:scottish
# top_liege.primary_title = title:k_scotland
# capital_county.kingdom = title:k_scotland
# }
# AND = {
# culture = culture:english
# top_liege.primary_title = title:k_england
# capital_county.kingdom = title:k_england
# }
# AND = {
# culture = { has_cultural_pillar = heritage_central_germanic }
# top_liege.primary_title = title:e_hre
# OR = {
# capital_county.kingdom = title:k_sorbia
# capital_county.kingdom = title:k_east_francia
# capital_county.kingdom = title:k_saxony
# capital_county.kingdom = title:k_pomerania
# }
# }
# AND = {
# culture = culture:japanese
# capital_county.empire = title:e_japan
# }
AND = {
culture = {
OR = {