[V1.0] [O-NEG] Children and Pregnancy [EXPERIMENT]

Started by O Negative, January 12, 2019, 01:43:46 PM

Previous topic - Next topic

O Negative

Children and Pregnancy [Experiment]

Hello, and welcome to my experimental children and pregnancy mod. This mod is a mediocre attempt to replicate what I imagine a RimWorld update would look like if children were added to the game. The mechanics are incredibly basic, but functional.

Human pawns have "Gonads" which are responsible for determining their fertility stat. Gonads are susceptible to damage during combat, and damaged gonads will make it harder for your pawns to reproduce. Fertility can also be influenced by surgery (neuter) or drugs (birth control, fertility treatment).

When a child is born, their appearance is reset based on the physical characteristics of the parents. Skin color is the first thing you'll notice, which I've attempted to simulate as a polygenic trait as best as I could. Hair color is a random dice-roll between mother and father. Their automatically generated story is wiped clean. No backstories, no passions, no skills, no traits. Over time, the pawn will grow up and start to gain these things. Think of it as a form of character development.

Body Types and Clothing
Children have custom body types, which means custom clothing textures. I've gone ahead and made the base-game textures necessary, but any mods that add apparel won't play nice with this unless they also include the necessary textures. These custom body types are necessary for babies to not look like full-grown adult humans, unfortunately. It also helps toddlers and children not look like they've already gone through puberty (Female breasts, Male hulking bodies)

One of my main concerns regarding this topic revolves around romantic relationships being formed randomly. I don't like the idea of toddlers forming romantic relationships with adults and potentially lovin' and getting pregnant. So, the work-around that I've implemented is a simple check for age in my own InteractionWorker and an XML change to the appropriate interaction def.

Child Encounters
You will NOT encounter any children that are not produced by your own colony. Other factions will not use children to defend their bases, because that would put the player in a situation where they are forced to kill children to accomplish a successful raid, and that's just poor game design... They will also not appear in trade caravans or raids.

Mothers that give birth have a small chance of dying due to bloodloss; However, that is incredibly unlikely. I added bloodloss as a complication of child birth because I thought it was weird how mothers could get up immediately after childbirth and get back to work. With this, they now have at least a short resting period before they can get back to their daily duties.

Newborns are born with a hediff called "Human Development", which is my way of getting the game to call my methods which are responsible resetting/setting a pawn's story/stats.

Older pawns will ALWAYS develop infertility eventually. I initially wanted to go for "Menopause" for women and "Andropause" for men. However, I couldn't get my custom HediffGiver to work properly with specific genders; That's not the game's fault, I'm just not a great coder ;D

Time Scale
One of the biggest arguments I've heard in the past in opposition to children in the game is that they don't fit with the time scale. However, I think this argument is made by those that tend to play at higher difficulties, exclusively. I'm personally a bit more of a casual player, who plays to survive on the planet for as long as possible and not speed run to the spaceship escape ending(s).

For me, personally, children have added a layer of story development I didn't previously have.

THOUGHTS: Babies and toddlers have thoughts they really shouldn't. It's something that really bothers me, but I don't have enough control over all of the thought workers and the thought workers added by mods to fix this issue in the way I'd like to. Ideally, these thoughts wouldn't happen in super young pawns...

TRAITS: Pawns sometimes gain traits with descriptions that don't always make sense. For instance, the Cannibal trait suggests they've eaten human flesh, but that doesn't always happen before that trait get inherited with the way I have things laid out... This kind of thing can be very immersion breaking.

APPAREL: More body types means more work for apparel modders... I know the pain of trying to make a mod like this, and can only imagine how frustrating it would be to have to make SIX more textures for one piece of apparel...

Future Updates/Plans
I have absolutely NO plans to expand on this idea more than I already have. I feel like it's really easy to expand this kind of thing too far, and make it more frustrating than interesting.

Feedback and Conversation
Feel free to converse on the topic of children in the game here, but make sure you stick to the forum discussion guidelines.

You can download the mod here.
I have opted to NOT upload this to Steam.



Thank you for reviving Thirite's idea, O Negative... :D

Will there be any thing accelerates the growth of children like growth serums or using cloning and gene sampling and something like that?

One "happy family" in the rims...
Custom font made by Marnador.


I will try your mod! :)
Can you restrict them to specific apparel items so apparel mods won't be incompatible?
What about EPOE?

O Negative

I don't really plan on adding all of the things Thirite did, unfortunately. After playing with this mod, I think pregnancy would be a nice base function and mods would be good for expanding on it (adding still-birth, deformities, health abnormalities, etc.) and aging treatments, as you've suggested.

This mod shouldn't have any incompatibilities with EPOE, unless they've added clothing since I've last looked at it?

The problem with "disabling" non-vanilla clothing is that I don't know of a way to prevent them from equipping something, I only know how to make them drop what they're already wearing. So, that's not very user friendly... You know?

SansMasterBudaa :3

Well i found a  B  I  G  Problem

The problem is when i try to click prepare carefully button, pops me a error message that couldnt
play because a heddif is a trouble bla bla
Unfortunatly this mod looks Good and i have this problem  :'(


Hi, would this mod work well with Psychology and Combat Extended?


Hello,I'd like to report an issue here.
I intalled this mod and test it for a year(in-game time),the livestocks seem to stop getting pregnant,So I turn on the develop mode and find this bug report:

[attachment deleted due to age]