Information
I have verifed my game files (Steam only)
YesI have disabled all mods
YesI am running the latest game update
YesRequired
Summary
Children do not Inherit Inactive Versions of Genetic TraitsDescription
According to the define files characters can inherit an active or inactive version of a genetic trait. But in my tests the only inactive traits are depressed_genetic, lunatic_genetic, and possessed_genetic (and these are active traits that are made inactive to act as a surprise). This means there are not any recessive traits in the game.Steps to reproduce
Let the game run for a while and then run code to check for inactive traits. Also, I've attached a file where there are two children of the player character (the 4th oldest and the youngest) which should have an inactive fecund trait according to the defines (both their parents have the fecund trait and the children don't have an active fecund trait). But the children do not have an inactive fecund trait.This is the code I used to check for inactive traits:
Code:
custom_effect_decision = {
picture = "gfx/interface/illustrations/decisions/decision_realm.dds"
major = yes
desc = custom_effect_decision_desc
ai_check_interval = 0
is_shown = {
always = yes
}
is_valid = {
always = yes
}
cost = {
}
effect = {
every_living_character = {
if = {
limit = { has_inactive_trait = fecund }
make_trait_active = fecund
}
if = {
limit = { has_inactive_trait = beauty_good_1 }
make_trait_active = beauty_good_1
}
if = {
limit = { has_inactive_trait = beauty_bad_1 }
make_trait_active = beauty_bad_1
}
if = {
limit = { has_inactive_trait = intellect_good_1 }
make_trait_active = intellect_good_1
}
if = {
limit = { has_inactive_trait = intellect_bad_1 }
make_trait_active = intellect_bad_1
}
if = {
limit = { has_inactive_trait = physique_good_1 }
make_trait_active = physique_good_1
}
if = {
limit = { has_inactive_trait = physique_bad_1 }
make_trait_active = physique_bad_1
}
if = {
limit = { has_inactive_trait = infertile }
make_trait_active = infertile
}
if = {
limit = { has_inactive_trait = giant }
make_trait_active = giant
}
if = {
limit = { has_inactive_trait = dwarf }
make_trait_active = dwarf
}
if = {
limit = { has_inactive_trait = albino }
make_trait_active = albino
}
if = {
limit = { has_inactive_trait = scaly }
make_trait_active = scaly
}
if = {
limit = { has_inactive_trait = depressed_genetic }
make_trait_active = depressed_genetic
}
if = {
limit = { has_inactive_trait = lunatic_genetic }
make_trait_active = lunatic_genetic
}
if = {
limit = { has_inactive_trait = possessed_genetic }
make_trait_active = possessed_genetic
}
if = {
limit = { has_inactive_trait = clubfooted }
make_trait_active = clubfooted
}
if = {
limit = { has_inactive_trait = hunchbacked }
make_trait_active = hunchbacked
}
if = {
limit = { has_inactive_trait = lisping }
make_trait_active = lisping
}
if = {
limit = { has_inactive_trait = stuttering }
make_trait_active = stuttering
}
if = {
limit = { has_inactive_trait = spindly }
make_trait_active = spindly
}
if = {
limit = { has_inactive_trait = wheezing }
make_trait_active = wheezing
}
if = {
limit = { has_inactive_trait = bleeder }
make_trait_active = bleeder
}
if = {
limit = { has_inactive_trait = pure_blooded }
make_trait_active = pure_blooded
}
if = {
limit = { has_inactive_trait = inbred }
make_trait_active = inbred
}
}
}
ai_potential = {
always = no
}
ai_will_do = {
base = 0
}
}
Game Version
1.9.2.1Platform
WindowsAdditional Information
Affected Feature
- Gameplay
Save Game
View attachment Test_Inactive_Traits.ck3Other Attachments
Upvote
0