# Distributions

To facilitate the creation of different random elements of the game,
different distributions can be chosen for different variables.
Universe will support these, so any scheme can use any of these
distributions.
When specified in a file, all distributions have the following format:

KEY=#,args...

**KEY** is the key for the theme. **#** is the type of
distribution. Each distribution has arguments, specified by
**args**.

### Type 1 - Linear

This distribution implemens a linear distribution between two values.
It requires two arguments, min and max. The file format for this
distribution is like the following:
KEY=1,*min*,*max*

### Type 2 - Normal

This distribution implements the "normal" distribution (bell curve).
It requires two arguments, the mean and the standard deviation. The
file format for this distribution is like the following:
KEY=2,*mean*,*stddev*

### Type 3 - Ranged Linear

Requires multiple arguments. First is the number of ranges in the
group. Each range then has three arguments, probability, min and max.
*TBD*

Return to:
Universe -
Schemes

Created: 18 Sep 1998

Updated: 6 Jun 2001

© 1998 Universe Dev Team