RimWorld

RimWorld

888 betyg
Better Gene Inheritance
5
2
6
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod, 1.4, 1.5, 1.6
Filstorlek
Lades upp
Uppdaterades
447.344 KB
6 okt, 2023 @ 12:31
18 aug @ 13:06
22 ändringsnotiser ( visa )

Abonnera för att ladda ner
Better Gene Inheritance

I 2 samlingar av RedMattis
Red's Workshop Mods
45 artiklar
Quality of Life & Base Pack
69 artiklar
Beskrivning
[www.patreon.com]

Much improved gene inheritance for Biotech.

I made this mod because I wasn't quite satisfied with the various gene inheritance mods already on the workshop.

With this mod you will get less babies skipping most of their parents genes and overall more logical inheritance.

In summary: better gene inheritance results.


Settings





You can set xenogene inheritance, archite gene inheritance, amount inherited from the (random) secondary parent, etc.


Details

If you really want to know how it works...

Unlike vanilla this mod will not give you a bunch of babies with 20% of their parents genes and a metabolism of 225%.

It will build up a list of semi-random genes to inherit, this list will also always include every shared by both parents. If the metabolism ends up too high it will remove genes with a metabolism cost; preferring those not shared by both parents.

If one parent has no genes with metabolism and are flagged as a baseliner then they will by default be used as the primary parent, meaning a random % of the other parent will be migrated over, this is to avoid combinations with baseliners sometimes creating babies with 100% of the other parent's genes.

Xenotypes, Runtime Xenotypes, and Custom user Xenotypes

The mod will now aggressively try to assign xenotypes. Even if the match isn't perfect the game will consider them to belong to the xenotype, which is important for ideologies.

if the child is too far away (less than 80% similar) to a xenotype of a parent they will be classified as a Hybrid, as in the image above, but the game will try to track down a suitable user-pickable icon if possible.

No more weird gene-stuffed baseliers babies

The game will take runtime-made xenotypes and user-made Custom Xenotypes into account for children using similar logic to the above. No more VampNekoMaid xenotypes breeding near-identical children that are somehow "Baseliners".



Inheritance Genes



By popular request there are now a few genes that modify how inheritance works.

Recessive and Dominant Genes
If a parent has dominant genes only their genes will be passed out and vice versa for recessive genes. If both have dominant/recessive genes it is random as usual.

Compatible with the genes from Vanilla Races Expanded - Highmate

Primary and Secondary Genes
Similar to the above, except instead of passing on only one set of genes, the genes of a character with "Primary Genes" will be considered the primary parent, and unless metabolism is too high all valid genes will try to be passed on. Note that genes from the other parent can still overwrite genes from the primary parent.

Secondary Genes of course does the opposite.

Binary Inheritance
The Binary Inheritance gene, if applied to BOTH parents will make it so an entire gene set from one parent will be picked at random. Suitable for xenotypes with castes or extreme sexual dimorphism.


Other Features


The mod will automatically try to swap the displayed xenotype if enough genes are shared with either parent.
In middling situations they will be labeled a "hybrid [xenotype]" based on what they inherited most of, e.g. "Hybrid Nekomata", "Hybrid Yttakin", "Hyrid Impid", ...

This can be considered a fix to the dreaded "Baseliner" or "Hybrid" issue that happens a lot in vanilla


Final Word


Let me know if you have thoughts, feedback, any kind of issues, and so on.

Mod Discord
[discord.gg][ko-fi.com]
282 kommentarer
Hugalafutro 23 timmar sedan 
A kid of a dirtmole pawn with the superpower genes and a Bruxa ends up with 4 extra genes as well https://steamcommunity.com/sharedfiles/filedetails/?id=3623815458
Hugalafutro 13 dec @ 2:49 
I tried this and other gene inheritance mods, but in all cases when playing the VQE Ancients scenario start, babies born to NON-supesoldiers pawns (ie neither of the parents are the starting pawn or the pawn you find in the vault nor do either of the parents have the superpower genes) randomly pick up the 2 supersoldier genes and 2 random negatives.

This is from Nereid father and Genie mother. Father was random pawn joiner, mother was captured from enemy raid if that matters https://steamcommunity.com/sharedfiles/filedetails/?id=3622941225
Zorelmo 11 dec @ 6:51 
it also picks random gene when a baby is born from an egg from alpha genes
Nines 6 dec @ 14:06 
I second @bolemus, having issues where it will pick random genes when the fetus comes out of the growth vat or the baby is born from a host mother.
bolemeus 5 dec @ 15:03 
I dont think its working with IVF
Tacobell554 6 nov @ 4:14 
Are the sliders for xeno and archite gene inheritance weight additive and do they cap at 100%? For instance, if I drop xeno rate to 50% and have two parents with a shared xeno gene. Would that gene have the same inheritance chance as 100% chance endo genes that are also shared. Assuming a neutral metabolic rate for the sake of the scenario.
狼雨歌 31 okt @ 3:08 
@Kaedys ,
Thank you so much for your help .
I have already disabled xenogenes inheritance in the settings .
Because in my game , dominant and recessive genes are both considered xenogenes .
狼雨歌 31 okt @ 2:57 
Oh , I see !
I finally understand where I went wrong .
I thought the father carried the recessive gene and the mother carried the dominant gene , but it turns out it only requires one of them to have it .
Thank you for your explanation !
ShadowX116 30 okt @ 18:38 
So.. in theory, what happens if both pawns have Dominant-Binary?
Is there a special handle for that, or does it result in a toss-up?
justiceforjoggers 30 okt @ 18:10 
Will this help also with babies being born with the wrong skin color? I have a pawn that keeps giving twins, and half the time the kids came out as black despite both parents being white (the game added both skin color genes and the original was always overwritten, but only with this couple)