TriggerBlade Posted April 14, 2018 Posted April 14, 2018 Does anyone know of a code or can make a code that determines the ratio of births by gender? I want to create a race/culture like the Gerudo from Legend of Zelda and for those who haven't played the game, they only give birth to a male child like every 100 years. I'd be grateful for any aid.
NoxBestia Posted April 14, 2018 Posted April 14, 2018 1 hour ago, TriggerBlade said: Does anyone know of a code or can make a code that determines the ratio of births by gender? I want to create a race/culture like the Gerudo from Legend of Zelda and for those who haven't played the game, they only give birth to a male child like every 100 years. I'd be grateful for any aid. I wish as well! That seems to be hardcoded somewhere. I haven't found anything in any of the defines that control m/f child ratio or twin chance. As you have seen from NDPA, taking over pregnancy by event can be tricky and disastrous, but it can be done. You would then need to use a fake pregnancy and a create_character event 9 months later. (That is how I got MPREG to work right.)
ReMeDy Posted April 27, 2018 Posted April 27, 2018 You'd also want the race to be infertile, but program a birth event somehow. It sounds like it'd be a nightmare to code though, if it even works. Everytime I tried coding around the hard-coding for various things, something would always bite me in the ass.
Mr_Treason Posted April 28, 2018 Posted April 28, 2018 The trick is to be flexible. Let the children be born, but only 1 male every hundred years survives past infancy. Then you just need a culling event to kill most males of a specific culture at the ratio you desire. You can even fire it on_birth for the culture of your choice, then you've simplified the whole thing down to one event. Of course that means sacrificing by allowing the child to be born first.
Aliris Posted April 28, 2018 Posted April 28, 2018 Culling would probably be the easiest way to go, yes. You'd probably also want to increase fertility, so they don't die out - which is really going to be the potential issue for such a race in practical terms, depending on how heritable the racial trait is.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.