Terra Invicta

Terra Invicta

99 ratings
Color-Coded Traits
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
199.167 KB
14 Apr, 2024 @ 1:13am
1 Jul, 2024 @ 2:41am
6 Change Notes ( view )

Subscribe to download
Color-Coded Traits

In 1 collection by Meme Machine
Meme Machine's UI Mods
24 items
Description
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 0.4.43.

Compatibility
This mod only modifies some trait string in the localization files, so as long as those are not modified, it should work fine.

Language
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.
9 Comments
Meme Machine  [author] 30 Jun, 2024 @ 3:07am 
That's because the only files I'm changing in this mod are .en (English) localization files. Modifying all other languages is on my "to do" list.
shimmer 30 Jun, 2024 @ 1:12am 
This only works with English language.
Meme Machine  [author] 5 Jun, 2024 @ 9:41pm 
Just subscribing to the mod in the Workshop page is not enough, you need to go to the in-game mod browser and click the install button yourself. Here's a guide I made that explains how to do it:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3260872800
Lumas 5 Jun, 2024 @ 4:04pm 
Is there something special you need to do to install this? It's not working or showing up in the mod list inside the game.
Meme Machine  [author] 1 Jun, 2024 @ 1:20am 
I've just added alphabetical trait sorting to Councilor Screen and Org Color-Coding, another mod of mine, here's the link: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3231718971
FenitWithin 31 May, 2024 @ 2:24pm 
Thanks! Agree this mod is great as-is, and I like that it's simple enough for me to adjust with a text editor. I'd love to see the trait sorting if it's ever something you have the inclination to make, but already your UI mods have been awesome for improving QOL, thank you!
Meme Machine  [author] 31 May, 2024 @ 6:57am 
It is definitely possible, but it would require modifying the code, hence that'd require using Unity Mod Manager or something similar. I'd keep this mod as it is, since it's basically my only mod that doesn't require it, but I can add it as an optional feature to another (code) mod.
FenitWithin 30 May, 2024 @ 6:31pm 
Do you know if it is possible to sort traits a councilor has by their grouping? The color coding is great for quick ID, but I would love to make it so for example "Affluent" always shows first on the list.
FenitWithin 14 Apr, 2024 @ 10:52am 
This is awesome! Great way to ID traits at a glance, since they do not sort in a uniform order, thank you!