Improved Genetics

If you liked this item, please rate it up on Steam Workshop page.

Author: Crimson9

Last revision: 26 Nov, 2018 at 20:32 UTC

File size: 88.06 KB

On Steam Workshop

Description:

CK2s genetics system is not very fleshed out at all. You can only inherit traits from your parents, and if you don’t inherit them you lose the traits, for good. A lot of the traits genetic traits are mostly random, rather than persisting through your bloodlines.

This mod radically improves the Genetics system!

How does it work?

The system is largely based on a simple model of Mendelian genetics. Every character in the game is assigned allele pairs for each trait. When two characters have a child, the gene the child inherits is determined by a simple Punnett Square.

For example, a dwarf character might have an aa gene (recessive) and a normal character might have Aa (a carrier.) Their child then has a 50% chance to get the dwarfism gene. But even if they don’t, they still have a chance of becoming a carrier.

The system is even deeper because each trait has 3 allele pairs associated with it.

Some trait inheritance is modeled through polygene inheritance, like the following graph for height:

In addition, this mod adds several new traits in the 4 polygene groups (intelligence, height, attractiveness, and strength.) These traits [dim, bright, delicate, sturdy, short (as opposed to tiny), tall (as opposed to giant), comely and homely] are weaker versions of vanilla traits and serve to really showcase the genetic system. These lower tier traits each have a 7% rarity (meaning 7 in 100 characters will have them.) Other rarities have been kept at vanilla levels for the most part.

To read more, please have a look at the following link: https://steamcommunity.com/workshop/filedetails/discussion/1518305370/1734339624804678713/

Future Plans

  • Integration with the new ‘Bloodlines’ feature in Holy Fury.

Current Version: 1.05

The mod is now stable! Hurrah.

FAQ:

My two genius characters did not produce any quick or genius children! What happened?

First, a character may get a certain GENE without getting that TRAIT. There is a genotype to phenotype conversion chance in this mod, determined by the number of dominant (or recessive pairs, for negative traits) alleles. So you may have the genius gene but not become a genius. Additionally, two geniuses may not pass down the genius gene, although it’s unlikely. In general, the more rare a trait, the more likely it will persist in your family line.

I’m seeing way too many/way too few characters of (this trait)!

I’ve done extensive testing as well as calculations to make sure that the occurrence of traits more or less matches the base game. Traits are perhaps a little more common (intentionally.) But nothing should stand out as too common or too rare. If that is the case report it here and I’ll have a look! A polygene trait like genius should have the following distributions: 0.4-0.6%, 1.5-2%, 3.5-5% for traits genius, quick, and bright respectively.

This is the frequency that I have found in my playthrough.

What about incest? Does this mod simulate inbreeding depression?

Yes. Kind of. Very close kin incest in this mod ends up (eventually) being very bad, as there is a high likelihood that you will end up with recessive traits in many birth defect traits like hunchback and clubfoot. However, you can generally escape inbreeding depression in just one or two generations of marrying people from outside the close family.

Does this slow down the game considerably?

I didn’t notice any significant slowdown, surprisingly.

I’m not noticing any difference with this mod

Be patient. It’s a subtle mod.

Compatibility

Any mods that modify the 00_traits file won’t work properly with this mod. The game will still start, but you will not experience the genetic system as intended.

If your mod adds new traits, the new traits will use paradox’s base genetic system of inheritance, not mine.

I have made several versions of this mod for the major overhauls: (THESE ARE NOT 3.0 Compatible.)

FOR GOT: https://www.dropbox.com/s/sp3avyyvxato8vk/ImprovedGenetics_GOT_1.0.zip?dl=0

FOR CK2+: https://steamcommunity.com/sharedfiles/filedetails/?id=1521899696

FOR HIP: https://steamcommunity.com/sharedfiles/filedetails/?id=1518219605

FOR MIDDLE EARTH: https://www.dropbox.com/s/54igw0hwgulj263/ImprovedGeneticsMiddleEart_0.9.zip?dl=0

FOR ELDER KINGS: https://www.dropbox.com/s/gmbv14k2gxa35w6/ImprovedGeneticsElderKings_0.9.zip?dl=0

Once these mods are updated for 3.0, they will no longer be supported. Instead, I will make a guide for how to make my mod compatible with overhauls.

Can you describe in detail how this works?

Check the discussions!

——————————-

Drop Box Link:

https://www.dropbox.com/s/1ykowl6t0ba6sde/ImprovedGeneticsHF.zip?dl=0

——————————-

NOTE: IF YOU DO NOT LIKE THE NEW TRAITS:

Download the drop box version, and then remove the common/traits/newtraits.txt file

——————————-

Thanks to dangitsdaaaaang for the idea and support!

Thanks to Vincent Valentine for German Localization!