@SolarGuy - Essentially the same as the one you posted
Code:
trait_Immortality = {
cost = 0
icon = "gfx/interface/icons/traits/trait_immortality.dds"
modifier = { leader_age = 2000 }
opposites = { "trait_enduring" "trait_venerable" "trait_fleeting" }
}
Even with "is_ai = no", the trait is still appearing on random ai species and it generates this error -
[12:44:11][persistent.cpp:34]: Error: "Unexpected token: is_ai, near line: 7"
in file: "common/traits/HRS_species_traits.txt" near line: 7
EDIT - I did a few tests and it looks like "initial = no" works, but you have to manually add that line into the trait text after you've created a custom empire, or add "trait="trait_Immortality"" to user_empire_designs.txt
Thank-you for your help.