Closed openly-retro closed 8 months ago
Iterate localisation files in English,
search lines .*trait.*_machine:
, harvest the tooltip key. Infer _desc
. drop _machine
and just keep the trait base name.
Then during tooltip construction check this file for the trait base name, if there's a match, append _machine
and _machine_desc
to descriptors.
done and pushed to Steam
There's plenty of text in the game for traits that have custom "machine" content. Usually instead of "leader", the language is "unit"
In making tooltips at scale, there's not a great way around this except to simply use the game default text that doesn't refer to machines. At least during gameplay when players inspect their leaders, the tooltips will be saying the "correct" things.