Color-Coded Traits
Adds color-coding to councilor traits:
– green: Quick Learner, Striver
– orange: Government, Criminal, Enemy of the State, Pariah, National Hero (they’re all mutually exclusive)
– lime: scientist traits
– yellow: dangerous traits
– red: purely negative traits
– cyan: cybernetic augmentations
– magenta: pherocyte emitters
The way this mod functions is it adds Unity/TextMeshPro rich text tags to any relevant trait in the localization file TITraitTemplate(.en or whatever the language is). For example, in TITraitTemplate.en:
TITraitTemplate.displayName.Government=Government
becomes:
TITraitTemplate.displayName.Government=<color=orange>Government</color>
Built and tested on Terra Invicta 0.4.19. Verified on RC13. This mod should work with any version of the game and other mods, as long as the names of traits in the localization files are not changed.
This mod only modifies some trait string in the localization files, so as long as those are not modified, it should work fine.
It works with every language officially supported by the base game, with a caveat: I don’t know most of these languages. So if you find any inconsistency with some colored traits, let me know, as I might have messed up something, given that I most likely do not speak the language.
Revisions:
Old revisions of this mod are available below. Click the link to download.