-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration File
Marc edited this page Feb 10, 2016
·
5 revisions
#Configuration File
This page will explain the values in the configuration file.
The file contains to main entries the General and the Tribes, the General entry holds all the default values for all the parameters defined. The Tribes entry holds the different custom tribes.
- Biomes-prosperity-per-activity: this entry holds the prosperity factor of every biome that defines the WorldEngine. This values are replicated for each activity defined in the simulation.
- Unhospital-biomes: this are the biomes that will be skipped when searching for a valid position in the map to place the tribe.
- Max-initial-population: this are the maximum values that a new created tribe can have of every type of person.
- Start-activities: this are the starting activities that every tribe will have.
- Max-population-for-activity: this defines the maximum population a tribe can have with his developed activities.
- Crowding-for-activity: this defines how more people can the tribe support with the current activity.
- Mortality-rates: this defines the different mortality rates for the different types of person.
- Grown-rates: this defines the values to grown the people, the men-women is the relation of a child growing men or women (1.0 all men, 0.0 all women), the old-men and old-women are the probability of a young to grown old.
- Events: this is a list of all the events a tribe will check every turn. The values are the function names of the events in the Events module. They are executed with the group and world as parameters.
- Migration-radius: this is the radius a tribe will check for a better position if the event migrate triggers.
- Migration-rate: this is a list with the probability of migrate depending the current tribe culture.
The Tribes is an array of the different tribes the simulation could have, every tribe has his Type. A tribe must define the following values:
- Name: this is the name of the function that will give a name to the new tribes of this type.
-
Name-rules: is a dictionary with the information to randomly generate the names for this tribe. It contains:
- vowels: a list of which letters had to be considered vowels.
- consonants: a list of which letters had to be considered consonants.
- syllables: a list with the syllables that will be used to generate the names (This will follow the rules defined in the NameGenerator).
- max-syllables: the maximum number of syllables a generated name must have (the minimum is 1).
Each new tribe can redefine any value from the default values, if a value is not specified the default is taken.