settlements.xml

The settlements.xml configuration file contains configuration for settlements, settlement templates and a list of random settlement names.

The "settlement-template-list" element is a list of templates that define the building configuration of settlements. Every settlement is based on a settlement template.

The "template" element has a unique "name" attribute. Settlements use this name to indicate which template they're based on. It also has the following elements:

The "initial-settlement-list" is a list of settlements in the simulation.

Each "settlement" element has a "name" and a "template" attribute, as well as a "location" element. The "name" attribute is either a unique name for the settlement, or "random", indicating that the name will be randomly selected from the "settlement-name-list" below. The "template" attribute must match a settlement template name (see above).

The "location" element is the longitude and latitude of the settlement. The "longitude" and "latitude" attributes must have the location degrees followed by the direction ("E" or "W" for longitude and "N" or "S" for latitude). Alternatively they can have a value of "random", indicating a random longitude or latitude.

The "settlement-name-list" is a list of settlement names that can be selected from for random settlement names. Each "settlement-name" element must have a unique value and must not match a name of a settlement in the "initial-settlement-list".