Crusader Kings II

Crusader Kings II

32 ratings
Child Focus AI choice Revamped + New Education Trait outcome table
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
85.897 KB
1 Feb, 2024 @ 7:44am
1 Feb, 2024 @ 7:53am
2 Change Notes ( view )

Subscribe to download
Child Focus AI choice Revamped + New Education Trait outcome table

Description
In vanilla AI has 12.5% chance to choose any of the kids focus without any weight to it. Or 20% for the education focus. So even if they're nomadic, they have 20% chance to become a Master Theologian even if their educator only knows how to swing a sword.

So, just as in my previous mod I've added various factors to influence the AI choice and they're mainly based on the Educator/Guardian traits and government. (Educator and Guardian are the same thing in the code).

About the "Education Outcome Table" change, you can find it below. In short I've changed which childhood traits are a goodly or badly influence to specific education.

Also, now kids with "Genius" trait can gain the Curious and Idolizer trait, they couldn't in Vanilla, strange right?.

Childhood focus
Here I've taken in more consideration the description and purpose of each focus rather than the traits to which they can lead to.

So for example in the Etiquette Focus the kid is taught by councilor and courtiers to have a courteous behaviour. So it is more likely for feudal kids, highborns or kids taught by Gregarious, Diplomacy education, lustful Educator/Guardian and so on.

Pride is very likely for heirs or Kid Rulers. or kids taught by Ambitious Educators and so on.

Struggle more likely for Bastards, Lowborns, or nomadics even if heirs etc.

I've also put sex distinctions. In fact, a female child (if the educator isn't from an equal/matriarch religion or has equal women status) is more likely to receive in this order, Humilty, Heritage, Faith, Etiquette.

An exception for the min-max of the childhood traits is done for smart Educators. In fact these will prefer Thrift focus for the kids they tutor since it's more likely for the kid to become smart. (To note, just like the other factors, it isn't 100%).

The thrift focus will also be the more likely choice for Republics.

Probably you'll see the "Duty Focus" more than expected and that's because since the focus is about "being taught by guards and retinues" it is a high preferred choice by Martial or Diligent Educators, or of course Feudal, Nomadics and Tribals (for these two, the first preferred choice is Struggle) and so on.

As usual the changes are too long to write them here, you'll find the raw code in the discussion, so you can check every little factor.

Education focus
Here what matters are the government type and the education trait of the educator. So an educator with martial trait will more likely choose that education for their kids too (I didn't calculate the exact %, but it should be around 70%).

Another huge factor (as in the childhood focus) is the gov type. Obviously nomadics and tribals will prefer martial (especially for the heirs), while Republics gold education and so on.

The intelligence of the educator will come in factor too. If the educator has 40+ rationality (so usually quick/genius/shrewd) they will be more likely to choose an education that actually suits the kid like usually the player does (still not 100%).

Otherwise, if the educator is not "smart" the childhood traits of the kid (those that buff or nerf the level outcome of the education) will impact very slightly on the choice.

Again, female kids are more likely to receive Diplo, Intrigue or Learning education unless high equal status law or equal religions.

Education Trait outcome table
So now about the part that also changes for the player.

As I've wrote before, I've changed the childhood education table outcome since I don't really understand why a child taught in Thrift should excel in Diplomacy and Intrigue rather than in Learning and Stewardship education.
Or why a Brooding kid should excel in Stewardship.

And in my opinion Vanilla is inconsistent from a gameplay pov too since for example the trait "Fussy" gives +1 stewardship to the child, but boosts the intrigue focus, why? Sure it can evolve in Paranoid (good for Intrigue), but also Greedy and Patient, which imo are more Steward centred.

So here it is the new table:

Diplomacy
Good: affectionate, playful (humility and etiquette)
Bad: haughty, idolizer (pride and faith)

Martial
Good: rowdy, haughty (struggle and pride)
Bad: timid, fussy (humility and thrift)

Stewardship
Good: fussy, conscientious (thrift and duty)
Bad: indolent, willful (etiquette and struggle)

Intrigue
Good: willful, brooding (struggle and pride)
Bad: curious, affectionate (thrift and humility)

Learning
Good: curious, idolizer (thrift and faith)
Bad: rowdy, playful (struggle and etiquette)

I'm not 100% convinced with these changes (like idolizer bad for Diplo, or willful bad for Steward), but it is the best I could think of while also trying to balance the focuses (no double edge like vanilla pride).

Important to note. The good/bad traits will be shown near the education selection when you open the kid focus and they will have they typical green/red circle, but the text of the education focus will still be the Vanilla one. So don't get scared by the text, just follow the green/red circles.

I've done some tests and to me it seems that all is working accordingly, but of course, write in the comments if you notice something strange.

Compatibility
The mod modifies the files "00_zeus_childhood_focuses.txt", "00_zeus_education_focuses.txt" in common/objectives folder.
And the files "ze_childhood_events.txt", "ze_education_trait_events.txt" in events folder.
Popular Discussions View All (14)
0
12 Feb, 2024 @ 1:37pm
PINNED: Suggestions or Problems
Bio the Human
0
1 Feb, 2024 @ 9:53am
Learning Education
Bio the Human
0
1 Feb, 2024 @ 9:52am
Intrigue Education
Bio the Human
7 Comments
Mukaparska 12 Jun @ 1:43pm 
Another promising mod by the same guy!
Dan van Dante 12 Feb, 2024 @ 11:18pm 
Looks gorgeous.
DeadRus GoodRus 11 Feb, 2024 @ 8:18am 
cool. it's good to see new mods coming in 2024.
P.S. 7 Feb, 2024 @ 11:33am 
Ah, sounds cool! No pressure though!
Bio the Human  [author] 6 Feb, 2024 @ 1:45pm 
@P.S.
Well, I've only played the game with all DLCs so idk how it was before.

Reading the wiki, it seems true what you're saying XD

With Conclave the Guardian/Educator (without my mod) influences only personality traits (mostly).

Though, now that you've made me notice it, I think it would be a good idea and possible to implement how it was before. So educators' education trait level could increase or decrease the outcome for the same level.

Though in this period I'm quite full with personal life and it would be hard to both implement it and test it (the latter is the worst part).

In the future I may give it a chance :)
P.S. 6 Feb, 2024 @ 1:26pm 
Wait, so in simple terms: the Conclave Education (or whatever Expansion it was) actually works worse than Vanilla education when it comes to "skill inheritance" from the warden?
RepealThe19th 2 Feb, 2024 @ 4:58pm 
Based