Repository
A Stat Repository holds one or more Stat Environments.
For simple systems, using only the Default Environment is often sufficient.
However, some game mechanics require multiple environments.
For example, imagine a robot with multiple limbs, each with its own Health.
If the robot's arm is shot and its Health reaches zero, only that limb should be disabled.
In this case, you can define separate Stat Environments for the arm, legs, and other body parts.
This allows each environment to maintain its own Health values, damage multipliers, and unique responses to incoming Effects.
Fields
| Field | Description |
|---|---|
| Environments | A dictionary that maps Environment Ids to their corresponding Environment Models. |