HUD Stats
HUD Stats are number values that automatically appear in the HUD at the top right of the screen and can be controlled via game scripts.
HUD Stats are number values that automatically appear in the HUD at the top right of the screen and can be controlled via game scripts.

config.yaml
hudStats:
money:
icon: img/ui/money.webp
name: Money
startingValue: 10
minValue: 0
energy:
icon: img/ui/energy.webp
name: Energy
startingValue: 10
minValue: 0
maxValue: 10
Stats are defined in the
hudStats
part of the config.icon:
path to an image to use as the icon for the statname
: The name of the stat for display in the HUDstartingValue
: The default value for the stat on a new saveminValue
: How low this stat can gomaxValue
: How high this stat can go
Last modified 7mo ago