Crusader Kings III

Crusader Kings III

47 个评价
AI Promote Culture Decision
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
177.314 KB
2023 年 1 月 28 日 下午 11:31
2023 年 1 月 28 日 下午 11:50
2 项改动说明 ( 查看 )

订阅以下载
AI Promote Culture Decision

描述
This is a fairly simple mod that allows for the AI to promote culture more often, as the AI seems to never do it on their own unless they have a hybrid culture and are targeting one of the parent cultures.


The AI will now start promoting culture on their own if the culture shares certain commonalities & is well accepted, they are an independent ruler with certain zealous/religious traits or if their top liege possesses those traits in the case of them not being an independent ruler.
I went ahead and decided to use religious traits to gate whether an independent ruler would promote culture on their own or not, as usually in history, it was the overly religious and zealous rulers that decreed their culture be the culture that was practiced.

------------------------------------------------------------------------------------------------------
Not In Current Version, though will be in upcoming patch, which is done, I'm just fine tuning.
Cultures that have more than 20% acceptance with the player's culture, and shares a language/heritage, and the player's culture is hybridized (doesn't matter from where) then the AI will automatically start Promoting Cultures in the counties of that that Culture that is accepted.
For Cultures with the Xenophilic Tradition, they will start Promoting Culture at 42%, assuming the other conditions were met.
If the parent culture is still present in their realm, they'll start Promoting right away.

Side note; trying to get this Xenophilic functionality to work with Culture Acceptance and Promotion took 3X the time of the rest of the mod in it's entirety.
------------------------------------------------------------------------------------------------------

In addition, this mod gives the player the ability to issue a Promote Culture decree via the Character Interactions menu. (Right Click)
If the decree is given, the AI will start promoting culture over other Stewardship tasks until the decree is lifted.
Sometimes there may be some other circumstance that prevents the vassal from performing the Promote Culture task such as not having enough gold or having a cooldown.
On that subject, there is a 5 year cooldown before the task can be performed again by the AI.
Independent Zealous Rulers will also keep up the pace, however everyone else is subjected to the default 30/60 year AI cooldowns.

Furthermore, something else added is that if the decree is given to a King Vassal for example, then all of that King's vassals will start Promoting Culture as well, assuming they are of the same culture as you and your Vassal King.

I've tried to keep the balance in the game, so that if the player decides to, they can up the rate of their cultural promotion in their own Empire/Kingdom, while simultaneously increasing the rate the AI will Promotes Culture on their own, but not causing every single AI to constantly want to also Promote Culture.
Took a bit to find the balance I must say.
Cultures with the Xenophilic Tradition will never promote culture on their own unless they are a Hybrid with a Parent, or a hybrid with shared Cultural Pillars, instead they opt for the Cultural Acceptance and Hybrid route, which was basically in the vanilla code, I just flushed it out in FAR greater detail.
Cultures with the Isolationist Tradition are more likely to promote culture on their own, regardless of zealous leaders, cultural acceptance, or commonality with the culture.

Compatibility:
This mod should be compatible with most mods out there as long as they don't alter the Stewardship Tasks.
If you happen to have a mod that modifies the other Stewardship tasks at all, the only thing I've changed with the other tasks is the AI, by adding a small section of code that negates the AIs decision to do those tasks if their liege has decreed they promote culture, or when the proper hybrid/xenophilic conditions are present.
Simply adding this small section code to those tasks will make those mods compatible.

Languages:
English
Русский

Future Updates:
Currently the Decree only works for the player applying it to AI Vassals, I plan to make the Decree work with the AI decreeing that their player Vassal Promote Culture in the future, or at the very least, another player can decree that their player vassal promote culture.

Credits:
Donekulda - Character Interaction Code
klimsat - Russian Translation
The Promote Culture Interaction is based off of another mod that can be found here;
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2919246153
Whilst the AI is all my own, I've used Donekulda's code for the interaction effect, though I added the ability to lift the decree.
I also corrected the English grammar and added some more Russian translations.

Check out my other mods:
Blood of Old Valyria
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2238118575

High King Elective of the North Sea
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2873536104
24 条留言
Roximus 3 月 13 日 上午 4:52 
Does this mod work or nah?
Alapma 2024 年 5 月 15 日 下午 12:56 
Is there a way to add a button that makes it so all vassals get the promote culture decree? (Similar to the convert all mod) its kinda tedious when you have 100-200 vassals to click each single one of them every time i create a new hybrid culture
Alucard Tepes 2024 年 3 月 25 日 下午 5:26 
Noe working :(
Art193 2024 年 3 月 5 日 上午 6:52 
not work
Hackob 2024 年 1 月 12 日 下午 4:28 
Did our Russian friend's fix work for anyone? I tried it and the Demand Promotion of Culture decision is still doing nothing.
Gluteus maximus 2024 年 1 月 9 日 上午 11:24 
I am testing a fix now.
TheyCallMeVincenzo 2023 年 11 月 30 日 下午 3:19 
Can someone make a working version of this or direct me to one? Even NPCs I wish they would promote culture when a Lithuanian king become king of Finland or some shit.
SmearierGold7 2023 年 11 月 26 日 下午 2:10 
Violonur, I tried your method and it seemed to work a lot better as it encouraged one of my vassals after some time to promote culture. Thank you greatly for the fix.
Violonur 2023 年 11 月 11 日 下午 2:24 
в файлах локализации l_russian:: два двоеточия ломают локализацию исправление на l_russian: чинит
Violonur 2023 年 11 月 11 日 下午 2:22 
if = { #Check to see if the AI vassal has been tasked with promoting culture by their liege.
limit = {
OR = {
scope:councillor_liege = { has_character_modifier = ai_promote_culture_modifier }
scope:councillor.liege.liege = { has_character_modifier = ai_promote_culture_modifier }
scope:councillor.liege.liege.liege = { has_character_modifier = ai_promote_culture_modifier }
# что то из следующего сработало
scope:councillor_liege_liege = { has_character_modifier = ai_promote_culture_modifier }
scope:councillor_liege_liege_liege = { has_character_modifier = ai_promote_culture_modifier }
scope:councillor_liege.liege = { has_character_modifier = ai_promote_culture_modifier }
scope:councillor_liege.liege.liege = { has_character_modifier = ai_promote_culture_modifier }
}
add = 5000 # multiply by 10 times
multiply = 3
}