Module source

Module source 

Source
Expand description

Stat sources module.

Sources produce base values for stats. Multiple sources for the same stat are summed together (additive). Sources are stateless and deterministic - the same input always produces the same output.

Structs§

ConstantSource
A constant source that always returns the same value.
MapSource
A map-based source that looks up values by StatId.

Traits§

StatSource
Trait for stat sources that produce base values.