Crusader Kings III

Crusader Kings III

Immortality Improved
yeaholy 2022 年 4 月 27 日 上午 10:41
Can't get pregnant after age 45 even though immortality age is at 20.
It can't bear a child anymore.
< >
正在显示第 1 - 8 条,共 8 条留言
Paige 404  [开发者] 2022 年 4 月 30 日 上午 11:58 
How many children have you had? I believe there is an upper limit somewhere that isn't touched by this mod.
yeaholy 2022 年 5 月 3 日 下午 2:48 
about 15 or so.
but after that it stopped giving children, even though fertility is still 100%
Paige 404  [开发者] 2022 年 5 月 4 日 下午 12:37 
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 2022 年 6 月 16 日 下午 12:20 
My understanding that the child limit is a Base Value + Highest Title Value + (2 x #Lovers or wives or ect)
Militaryhistory1 2022 年 7 月 31 日 下午 8:37 
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
Padre do Corotinho 2023 年 7 月 30 日 上午 9:15 
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  [开发者] 2023 年 7 月 30 日 下午 12:23 
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 2024 年 4 月 4 日 下午 10:53 
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
}
}
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50