Stat formatter

A stat formatter representation, takes care of displaying stat values in a UI. Stat formatters are used by stat sorters and tooltip getters to format stat values. Similar to a label getter but does not handle display of differences between values.

Basic stat getter

Has support for a small set of different formats, primarily for varying amounts of decimals.

Format:
typetetra:basic
formatstring
Allowed values:
integer
single_decimal
double_decimal
percentage
percentage_decimal

The formatting used to display a stat.

Abbreviate stat getter

Abbreviates values above 1000, e.g. a value of 1500 would display as 1.5k.

Format:
typetetra:abbreviate