Jump to content

Is there a method to increase number of female babies born compared to male ones?


Kuulamies

Recommended Posts

Posted

Hello, I'm looking for a mod or some easy fix to increase number of girls born compared to boys? For certain krhm... reasons I would like my dynasty to give birth to more girls than boys. However I don't want my dynasty to exclusively only have girls, more like some adjustable ratio like 25% male, 75% female. I only found this mod https://steamcommunity.com/sharedfiles/filedetails/?id=2523176958&searchtext=birth which lets one use decision to either have only male or female babies, but nothing that lets me adjust the rate.

Posted (edited)

I didnt played it yet because paradox always needs some tweaking and mods before a game fits to my tastes, but i think i found what we both searched ^^

In common/defines/00_defines.txt search for NChildbirth and change the FEMALE_CHANCE to your desired value...for me its 100 because i dont want to fabricate anything with a dick ^^

 

edit: I should reload open tabs before posting ^^

Edited by virulenz
Posted

Thanks for the help. However, does changing the female chance only affect my dynasty or does it affect the whole game? I only want this to apply to my dynasty.

Posted
10 hours ago, Kuulamies said:

Thanks for the help. However, does changing the female chance only affect my dynasty or does it affect the whole game? I only want this to apply to my dynasty.

It affects the whole game, if you wanted to have it only on your dynasty then you would probably have to do some custom event happening on birth that changes a percentage of the males born into females.

Posted

How difficult would it be for someone with little modding experience to do that kind of event? I have never really modded anything by myself, but if it's not super difficult, I could probably try.

Posted

That is nice idea! With male rulers almost only for player. It would be, hmm, interesting.
I wonder how could I set 99% female children and then force 50/50 for MC's dynasty only.

Posted
On 9/13/2021 at 10:55 AM, bunt776 said:

Just take the mod you linked and move the

            set_pregnancy_gender = male

inside a random list with a chance of 75 for male where applicable.

 

Adjust as you want.

 

Assuming the original mod works. I didn't test it.

dbg_pregnancy_event_75_chance.txt 1.77 kB · 5 downloads

I tested it and it seems it works just as intended. Thank you very much and also everyone else who replied.

  • 1 year later...
Posted
On 9/9/2021 at 8:17 AM, ChowMeinDelivery said:

Create a mod and place a text file containing the following in the common/defines folder:

 

NChildbirth{
	FEMALE_CHANCE = 75
}

 

 

Hi, what name/title should I use on that text file ?

  • 2 weeks later...
Posted
On 10/10/2022 at 12:36 AM, slow777 said:

Hi, what name/title should I use on that text file ?

Anything other than "00_defines.txt" will work. It is extremely important that you do not name it "00_defines.txt" or it will overwrite the default defines file and your game will simply not run.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...