LocKeys: Values and formatting
How to use values (and colours) in translation entries
Summary
LocKey interpolation at runtime
<Rich color="TooltipText.cyberwareDescriptionHighlightColor" style="Semi-Bold">Gorilla Arms</> are lightweight, efficient and hard-hitting arm replacement cyberware.\n\n+{stat_0} to <Rich color="TooltipText.cyberwareDescriptionHighlightColor" style="Semi-Bold">Body</> UIData:
localizedDescription: #YOUR LOCKEY FILE
floatValues: #these are defined values, usually used to show effects
- 1
- 2
- 3
stats: #these are the variables used by the game, usually to show the result of effects
- BaseStats.AttunementHelper #{stat_0}
- BaseStats.AttunementHelper2 #{stat_1}
- BaseStats.AttunementHelper3 #{stat_2}Last updated