Crusader Kings III

Crusader Kings III

Immortality Improved
yeaholy 27 Apr, 2022 @ 10:41am
Can't get pregnant after age 45 even though immortality age is at 20.
It can't bear a child anymore.
< >
Showing 1-8 of 8 comments
Paige 404  [developer] 30 Apr, 2022 @ 11:58am 
How many children have you had? I believe there is an upper limit somewhere that isn't touched by this mod.
yeaholy 3 May, 2022 @ 2:48pm 
about 15 or so.
but after that it stopped giving children, even though fertility is still 100%
Paige 404  [developer] 4 May, 2022 @ 12:37pm 
Damn, you got real busy

I think unfortunately you're just hitting the hard cap on living children. Key word there is "living" though.

I haven't dug too far into this but reading comments on values in steamapps\common\Crusader Kings III\game\common\defines\00_defines.txt it seems like there's some kind of living child cap that is unique to each character. The player's cap by default is increased by 2, and each spouse or concubine can increase that limit a bit. However, each child you have has a 50% chance to _lower_ that child limit by 1--permanently.

The mod was originally developed to be purely additive--it doesn't modify anything already in the game, and I've kept it that way as I've expanded it. Just makes it a lot easier to maintain and ensures compatibility with other mods. So I'm not going to go ♥♥♥♥♥♥♥ with values in 00_defines. But if you wanted to tailor the experience for yourself, that's where I would start looking--specifically CHANCE_OF_LOWERED_CHILD_LIMIT and EXTRA_CHILDREN_FOR_PLAYERS sound like they'll fit the bill.
Waruiko 16 Jun, 2022 @ 12:20pm 
My understanding that the child limit is a Base Value + Highest Title Value + (2 x #Lovers or wives or ect)
Militaryhistory1 31 Jul, 2022 @ 8:37pm 
oh so theres a limit to children i always thought that person was just too old even though it says set age to 20 i didn't think i counted fertility, i just generaly solve this With A "lay with spouse mod" after my character gets above age 40-50
In short: The game always tries to calculate the subtraction between the current in-game date and the character's date of birth

I never used this "20 years" option, but it probably just freezes the effects of age while the game continues to add up the years since your "birth", so it continues to count the character's age for the game's calculations. will still have x years instead of 20.

for example: limit = {age = 30} if the amount of time since the character's birth is less than 30, this condition becomes true, but since in the game the temporal distance from when you are playing since your character's birth is approximately 45, this condition becomes false
Paige 404  [developer] 30 Jul, 2023 @ 12:23pm 
Can you point out for me where that behavior is defined? I never found anything like that in my own dives through the scripts.
limith 4 Apr, 2024 @ 10:53pm 
You can just add a simple yearly pulse effect which checks if the character has the immortality trait and is married and age is > X, then randomly chance of getting pregnant again.

You'll want to add something to the clear bad effects though

hidden_effect = {
if = {
limit = {
OR = {
has_character_flag = birth_mother_will_die
has_character_flag = birth_mother_will_become_ill
}
}
# Pregnancy Ends Prematurely
trigger_event = {
id = pregnancy.2101
}
remove_character_flag = birth_mother_will_die
remove_character_flag = birth_mother_will_become_ill
}
}
< >
Showing 1-8 of 8 comments
Per page: 1530 50