ThresholdStat.ThresholdLevel
A class in Root.Township, Alta.StatSystem.
One level of a ThresholdStat: a name, the fraction it starts at, and the stat modifiers that apply while the stat is at that level. Defaults are empty at 0 and full at 0.3.
- Listed in Stats, effects, heat and liquid
- Nested in
ThresholdStat
Constructors
| Member | What it is |
|---|---|
ThresholdLevel(string name, float minThreshold) | Creates a ThresholdStat.ThresholdLevel from name and minThreshold. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private StatModifierConstructor[] constructors | Modifier recipes applied while this level is active. |
private bool hasNotch | Backing field for HasNotch. Defaults to true. |
private float minThreshold | Backing field for MinThreshold. |
private string name | Backing field for Name. |
Properties
Methods
| Member | What it is |
|---|---|
ModifierSet GetSet(StatManager manager) | Builds a ModifierSet for the given stat manager holding a modifier from each constructor. |
Used in
Members of other types that take, return or hold a ThresholdLevel: