You can specify more than one such index if you want to randomize between them. The character will use this portrait age index instead of one of the age sub-genes marked as "generic". To add a new genetic constraint, further modifications in gfx\portraits\trait_portrait_modifiers are needed before setting ranges in common\ethnicities This genetic constraint will be applied when gaining the trait. If inbred is not enabled by parents' traits, but there are common ancestors, there's a chance (same as for inbred trait when it's enabled) the child will get a random trait with enables_inbred = yes. It only enables the inbred chance if there are common ancestors of the parents, so there is no risk of 'inbred' if the parents are not related. This trait enables the children of the character to be considered for the inbred trait (no by default). Should the trait be inherited from the real (biological) father? (yes by default) If it's inherited only from one parent, it's inactive. If the trait is successfully inherited from both parents, it becomes active. Children can inherit the trait from both active and inactive parent traits.Īn active trait is inherited with 100% chance, an inactive trait with a 50% chance. If set to yes (no by default), the inheritance will follow the following rules: The trait can be inactive. Specifies whether the trait can be inherited by male/female/all children (all by default) Compatibility is checked for the trait holder vs the listed traits (of another character.)ĭrunkard = whether the trait can be inherited from male/female/all parents (all by default)
This is not a opinion modifier, but can be used by 'compatibility_modifier' and 'trait_compatibility' trigger. How many characters out of 100 are created with this trait? (As opposed to actually being born this is for things like generated characters, script characters, etc.)Īpplied if the associated conditions are fulfilled How many characters out of 100 are born with this trait (when not inherited). Can be at most 65535Ĭhance of passing on the trait to children Index = 0 # A unique numerical identifier for the traitĮducation = yes #yes/no to define whether this is an Education trait txt files in the directory /Crusader Kings III/common/traits.