Interface UseSpecificLevelExhaustionParams

interface UseSpecificLevelExhaustionParams {
    hints?: string[];
    totalLevels?: number;
}

Properties

Properties

hints?: string[]

Optional hints (usually rendered as tooltips). Localization keys also work.

This array should include level 0, meaning it is length totalLevels + 1. For example, with totalLevels of 3:

  1. 'No exhaustion'
  2. 'You are kind of tired'
  3. 'You look unwell'
  4. 'Dead 💀'

['No exhaustion', 'You are kind of tired', 'You look unwell', 'Dead 💀']

totalLevels?: number

The max number of levels. If not specified or less than 1, will default to 1.