Editing the number of children

KonnoYuuki

Member
Mar 18, 2025
11
9
38
As we fill up Gwyn's nursery with more and more of our children, I was wondering if there are console commands to edit the number of each children?

Some of the are born in large litters while others are sole births. I thought it would be nice to have their numbers align.
 

Tarnakus

Well-Known Member
Oct 31, 2020
629
328
Number of kids is inside general flags like this for example flags.GWYN_PREG_NUM_KIDS (flags.pregkey_NUM_KIDS).
So doing something like flags.GWYN_PREG_NUM_KIDS = 10 - changes number of chids with her.

Now the problem is that nursery bunches up diffrent pregnancy results together (depending on the race). So for example Orcs children are Arona's (when she is mom) + Arona (when she is dad + pc mom) + Hretha + Infrith + Ylvid's (only PC father) + generic orc (pc mom + generic orc). Align it all is not worth the effort imo.

Edit: Ylvid + Arona children do not go into nursery there is separate flag for that pairing (as far as code sugest).

If you want to tinker with it:
Code:
PregManager.nurseryPregnancies() - this gives list of pregnancies that actually goes into nursery (as not all goes there)
PregManager.nurseryPregnancies().filter(obj => obj.childRace === "orc") -> this gives you list of pregnacies for a race.
Ofc if your PC is only mom or only dad you need to pick and choose which are even present in your save file (above command checks only for race)
Then you take "key" and go with flags."key"_NUM_KIDS = X.
I'm sure you can somehow chain it more and get one command to changed them in for or foreach loop but im too lazy to do it.
 
Last edited:

KonnoYuuki

Member
Mar 18, 2025
11
9
38
Hmmm, the command works but does not seem to affect the number displayed in the nursery. Like these commands are accepted and generate a reply of 10.

GWYN_PREG_NUM_KIDS = 10
BRINT_PC_PREG_NUM_KIDS = 10

But the number when you check the nursery kids stays the same.

I wonder if there is a separate command that affects that.