friendlysam.parts.Storage.consumption

Storage.consumption

A dictionary of consumption functions.

Each key in the dictionary is a resource, and the value is a function, taking one argument index, returning the consumption at that index.