Animism Fix 1.2

If you liked this item, please rate it up on Steam Workshop page.

Author: Dragatus

Last revision: 27 May, 2019 at 16:29 UTC

File size: 160.77 KB

On Steam Workshop

Description:

This mod fixes AI controlled characters not getting any bonus from their initiation rite. It’s a bit of a dirty fix and they’ll always get the bonus for 10 years instead of it scaling with wealth, but it’s better than nothing.

Note that AI characters can still choose not to go through a rite (especially if they are Cynical, Greedy, or have no money). The mod only affects AI characters that choose to have a rite.

The mod is NOT compatible with ironman and achievements.

The mod also does not fix the issue of the minor morale bonus overriding other more powerful unit modifiers since someone else already made a mod for that: https://steamcommunity.com/sharedfiles/filedetails/?id=1581542560

The way rites of passage work is that a few months after reaching adulthood characters first get an event where they decide how long the bonus they get will last. They can pick 20 years, 10 years, 5 years, or not getting a bonus at all. Human players have to spend more money if they want a longer duration, but AI characters actually get the bonus for free. The amount of money they have will still affect which one they’ll choose. The game is then supposed to remember which level of bonus they picked and apply the specified duration in the next event where they pick the sort of bonus they want to get.

The bug with Animistic doctrine lies in that the game only actually remembers which level of bonus was picked for human players. For AI character it seems to forget and as a result in the second event it goes: "Okay, so I don’t remember the character saying they want a 20 year buff, so I won’t give them the bonus for 20 years. I also don’t remember the character saying they want a 10 year buff so I won’t give them the bonus for 10. And I don’t remember the character saying they want a 5 year buff, so I guess they won’t get the bonus for 5 years either." And so the character gets no bonus.

What the mod does is edit the second event with code that basically says "If you don’t remember how long the bonus is supposed to last just make it 10 years."

What I like about the method is that if PDX fixes the bug and the game will properly remember whic bonus to apply, the mod will automatically stop having an effect even if it’s activated and the rite of passage will revert to working as PDX intended.

Download
Required DLC:

These DLC should be installed in order to use this item.


Crusader Kings II: Holy Fury