Europa Universalis V

Europa Universalis V

175 vurderinger
Auto Child Education
3
4
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
280.418 KB
16. nov. kl. 17:27
24. nov. kl. 0:00
13 ændringsbemærkninger ( vis )

Abonner for at downloade
Auto Child Education

Beskrivelse
Automatically assigns a matching education to all children in your country based on their traits.

Heir Assignment:
  1. Heirs are excluded so you can pick for the most important kid

  2. Any children of your heir automatically get Admin while they are grandkids relative to Ruler. Once their parent becomes ruler, they enter the normal ruleset (heir excluded, and continuing below for the rest).

    This felt like a reasonable balance: basically as soon as kids become important (heir of ruler), you can pick if they should continue in Admin or do something else. It also leaves plenty of Crown Estate kids to do cabinet roles: they just need to not be in the direct line.

  3. This means that your heir will already be assigned Admin in many cases. However, you can change the heir to whatever you desire.

There is an annoying edge case where if your heir rules another country, he is out of bounds for the "Ruler" checks to make this script run only for the player (and not every kid on earth). This means that sometimes your heir of heir gets a balanced AI education, but that would have been happening with or without this mod as they're not in your court. Be careful marrying off your only daughter!

For everyone else:
New children are distributed evenly across admin/diplomatic/military by a counter that rotates through each education type.

Every month, children are checked by comparing their education modifiers (trait value minus the current education bonus) to figure out if a different education would be better for them.

If so, they switch:
  • Military education + Ambitious(+0.33 adm/dip) → switches to Administrative
  • Administrative education + Gregarious (+0.5 dip) → switches to Diplomatic
  • Diplomatic education + Rowdy (+0.5 mil) → switches to Military

The two-stat traits aren't in perfect shape, they have a slight bias towards Admin/Diplo (the first equality check they pass), but Children will switch off of Balanced/off-trait education to one of the on-trait educations.

Expensive Education:
You'll have to manually manage it, automating it wasn't working very well so I have removed it as of Nov 18.

I do exclude children with expensive education from having the script ran on them, so you can manually assign Expensive education if desired and Auto Child Education wont switch off of it.

Links
Fully open-source, contributions welcome:
Github - https://github.com/victoria-riley-barnett/autoChildEducation


I have yet to test every edge case, it's my first Clausewitz mod and I have not found a great debug flow -- please let me know of any errors!
Populære diskussioner Vis alle (2)
14
29. nov. kl. 21:51
Bug report
victoriaposting
3
18. nov. kl. 19:09
Feature Work
victoriaposting
81 kommentarer
lemon4488 18. dec. kl. 14:01 
is it compatible with ironman?
Muriago 18. dec. kl. 0:25 
I don't have an issue with the way you handle (or not) heirs and direct children, because those are limited in scope and can be maneged directly.
But in more general termsn, it would be nice to leave gifted and prodigy people on balanced by default, and have some kind of pop up for when they arise. Because those are often worth to give a expensive education as they become rgeat for any position (spcially thinking army/naval leaders that use all 3 scores but to a lower extent as overall leaders in systems that dont depend so much on been the childrin of the ruler)
Bermag 14. dec. kl. 6:35 
I agree with Hadar. Prodigies shopuld not be set automatyically but should get a prompt for (they are pretty rare anyway). You might want to give them expensivce education even if not direct heir, especially if you have Dyanstric Elective succession
Hadar 9. dec. kl. 0:39 
I give all progidies of my dynanasty (both male and female) exepnsive education, as well gifted male characters (sorry girls, if you were a progidy I am willing to take the the legitimacy hit, but due to your lack of balls being gifted is just not enough). And also I pay for expensive education for male primogeniture line, even if they are idiots. Can I make somehow that those kids stay balance, so I have the prompt and know that I need to give them expensive education?
victoriaposting  [ophavsmand] 8. dec. kl. 16:36 
Hi @8bitwizard, I’ve gotten that report before yeah, I’m going to look into if there’s a new-birth trigger or something I can hook into to prevent that from popping up. I might also be able to lighten the logic by running it less often if so, can take a look this week.
victoriaposting  [ophavsmand] 8. dec. kl. 16:35 
Hi @Tommi - sorry, had lots of issues with expensive education ballooning folks costs too much that I decided to never automate it. That said, if you pay for expensive education for a child, I don’t swap them off of that.

I might be able to add some configuration over time, but I do like the idea of this allowing the system to fully disappear into the background in most cases
victoriaposting  [ophavsmand] 8. dec. kl. 16:31 
@LDiCesare the rationale is Admin stat for rulers has been meta due to proximity, and other quick hacks to select heir of heir hadn’t been working yet. I could include heirs kids in the filter or not balance them at all, but had feedback otherwise. There isn’t a one-size fits all solution for heir of heir other than full exclusion or just picking the meta option that I’ve found so far.

I’ve been in finals but I can take a look at compatibility with 1.0.9 this week — first report I’ve gotten on that, thanks. I’ll look at the heir of heir logic again and see if there’s a better option.
LDiCesare 7. dec. kl. 3:03 
This doesn't seem to work in 1.0.9:
Error: "Unknown trigger type: check_variable, near line: 106" in file: "common/scripted_effects/child_education_effects.txt" near line: 106

Furthermore, it would be great if children of heir weren't excluded. As it is, the heir rule is next to useless to me as heirs tend to be adults all the time.
For instance something like:
is_heir = yes
OR = {
exists = father
father = {
is_ruler = yes
}
}
OR = {
exists = mother
mother = {
is_ruler = yes
}
}

What's the rationale for child of heir becoming admin anyway?
Azazel Is That U 5. dec. kl. 8:58 
does it change checksum
Tommi69 5. dec. kl. 6:27 
Would be nice to have this mod be configurable. I'm currently running a hindu campaign, with an inherticance where the best son becomes crown prince. Would be nice to set it so all sons that are no idiots get expansive education.