council_tasks updated files

This commit is contained in:
Thakia 2026-10-03 12:29:37 -03:00
parent c2c4c4bd8e
commit c324ab481c
6 changed files with 516 additions and 1231 deletions

View file

@ -606,7 +606,6 @@ task_develop_county = {
# }
# }
# }
#
# }
}
else_if = { # fallback for previous save: the effect would trigger a month later
@ -812,109 +811,6 @@ task_promote_culture = {
}
}
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county
scope:county = {
county_control <= 25
county_control >= 0
}
}
multiply = {
value = 0.3
desc = STEWARD_PROMOTE_CULTURE_LOW_CONTROL_PENALTY
}
}
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county
scope:county = {
county_control <= 50
county_control > 25
}
}
multiply = {
value = 0.5
desc = STEWARD_PROMOTE_CULTURE_MEDIUM_CONTROL_PENALTY
}
}
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county
scope:county = {
county_control <= 75
county_control > 50
}
}
multiply = {
value = 0.7
desc = STEWARD_PROMOTE_CULTURE_HIGH_CONTROL_PENALTY
}
}
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county
scope:county = {
county_control <= 100
county_control > 75
}
}
multiply = {
value = 1.2
desc = STEWARD_PROMOTE_CULTURE_HIGH_CONTROL_BONUS
}
}
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county
scope:county = {
county_control > 100
}
}
multiply = {
value = 1.5
desc = STEWARD_PROMOTE_CULTURE_ABSOLUTE_CONTROL_BONUS
}
}
#####
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county.title_province
scope:county.title_province = {
OR = {
terrain = jungle
terrain = mountains
terrain = desert
terrain = desert_mountains
terrain = taiga
terrain = wetlands
}
}
}
multiply = {
value = 0.4
desc = STEWARD_PROMOTE_CULTURE_HIGH_TERRAIN_PENALTY
}
}
if = { # Development reduces the speed. Should be the last non-multiply modifier applied to avoid negative values
limit = {
exists = scope:county.title_province
scope:county.title_province = {
OR = {
terrain = floodplains
terrain = drylands
terrain = steppe
terrain = forest
terrain = hills
terrain = tells
}
}
}
multiply = {
value = 0.5
desc = STEWARD_PROMOTE_CULTURE_LOW_TERRAIN_PENALTY
}
}
# Conversion speed game rules
if = {
limit = {
@ -952,7 +848,7 @@ task_promote_culture = {
desc = GAME_RULE_FASTER_REASON
}
}
# # Faster conversion for FP2 Hostility ending, if county is in Iberia and culture was involved
# Faster conversion for FP2 Hostility ending, if county is in Iberia and culture was involved
# if = {
# limit = {
# any_in_global_list = {
@ -1031,6 +927,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 }
# }
# }
NOT = { # Do not eliminate the Basques
scope:county.culture = {
this = culture:basque
@ -1046,11 +954,18 @@ task_promote_culture = {
cultural_acceptance = { target = scope:councillor_liege.culture value >= 50 }
}
}
# 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
# }
any_parent_culture = {
this = scope:county.culture
}
@ -1060,6 +975,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 polabians
# culture = { has_cultural_pillar = heritage_central_germanic }
# scope:county.culture = culture:polabian
# 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
@ -1078,6 +1038,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
}
}
}
culture = { # Imperious cultures want to grow to a certain size
culture_head ?= {
is_independent_ruler = yes
@ -1088,6 +1063,35 @@ task_promote_culture = {
count < 35
}
}
# 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 polabians
# culture = { has_cultural_pillar = heritage_central_germanic }
# scope:county.culture = culture:polabian
# 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 = {
@ -1096,6 +1100,57 @@ task_promote_culture = {
culture = scope:councillor_liege.culture # The AI only wants to convert counties bordering their own culture
}
}
# AND = { # The English want to convert the Anglo Saxons and Cumbrians
# scope:councillor_liege.culture = culture:english
# OR = {
# scope:county.culture = culture:anglo_saxon
# scope:county.culture = culture:cumbrian
# }
# }
# AND = { # The Scots want to convert the Anglo Saxons, Cumbrians and Gaelic
# scope:councillor_liege.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 = { # The Gaels want to convert the Picts and Cumbrians
# scope:councillor_liege.culture = culture:gaelic
# OR = {
# scope:county.culture = culture:cumbrian
# scope:county.culture = culture:pictish
# }
# }
# AND = { # The modern scandinavians want to convert the Norse
# OR = {
# scope:councillor_liege.culture = culture:swedish
# scope:councillor_liege.culture = culture:danish
# scope:councillor_liege.culture = culture:norwegian
# }
# scope:county.culture = culture:norse
# }
# AND = { # The Portuguese should want to convert Suebi
# scope:councillor_liege.culture = culture:portuguese
# scope:county.culture = culture:suebi
# }
# AND = { # The Iberians want to convert Visigothic
# scope:councillor_liege.culture = { has_cultural_pillar = heritage_iberian }
# NOT = { scope:councillor_liege.culture = culture:portuguese }
# scope:county.culture = culture:visigothic
# }
# AND = {
# # German rulers want to convert the polabians
# scope:councillor_liege.culture = { has_cultural_pillar = heritage_central_germanic }
# scope:county.culture = culture:polabian
# NOT = { scope:councillor_liege.primary_title = title:e_hre }
# }
# AND = {
# # Japanese rulers should convert Emishi counties
# scope:councillor_liege.culture = culture:japanese
# scope:county.culture = culture:emishi
# }
}
}
trigger_else_if = { # But AI Directives should still try to look pretty
@ -1124,6 +1179,8 @@ task_promote_culture = {
always = yes
}
}
trigger_else = {
}
}
on_finish_task_county = {
@ -1673,9 +1730,9 @@ task_accept_culture = {
# }
# }
# NAND = {
# # German rulers want to convert the sorbians
# # German rulers want to convert the polabians
# scope:councillor_liege.culture = { has_cultural_pillar = heritage_central_germanic }
# scope:county.culture = culture:sorbian
# scope:county.culture = culture:polabian
# NOT = { scope:councillor_liege.primary_title = title:e_hre }
# }
# NAND = {