# Evolution specs file
# Note that field names are case-sensitive.  Supplied values are the defaults.

# call it a standoff if both the # of nearest friends and the # of nearest enemies are more than 3 (can improve performance)
allowStandoffs=false
# limit to the total number of animals (only applies during spawning)
#animalLimit=500
# starting life for initial set of animals
baseLife=300
# Seed to use for random number generator (use this to repeat games with exactly the same conditions)
#gameSeed=0
# path to the background image to use (leave blank for no background)
backgroundFile=/resources/bg.jpg
# whether the app should run in headless mode (can also be set by adding "headless" as a commandline switch)
headless=false
# initial height of the window content frame, not including the titlebar (window is resizable)
height=480
# initial width of the window content frame (window is resizable)
width=640
# path to the file defining the hazards to be loaded; only loaded if no value is supplied for initialHazardsLoad
hazardsFile=/hazards.ini
# initial type and number of hazards to load (hazards will use the default values)
# having a value implies that hazardsFile will be ignored
initialHazardsLoad=Fire:10
# initial number of plants to spawn
initialPlants=40
# initial type and number of animals to load
initialSpeciesLoad=slug:100,ant:100
# distance at which animals can kill each other
killRange=5
# whether kills are calculated based on the enemy life versus the friend + self life
killRulesLifeBased=false
# the life threshold (enemyLife - (friendLife + selfLife)) that must be met or passed before a Life-based kill is granted
killRulesLifeThreshold=100
# cost of living through one cycle
livingCost=1.0
# cost of moving one pixel
movingCost=0.5
# number of plants spawned per cycle (3 plants / 40 animals seems to be a good ratio)
plantSpawnRate=15
# number of cycles between report statistics
reportCycles=10
# limit on the sight of range of animals, in pixels
sightLimit=100
# time to sleep between cycles, in milliseconds (0 provides fastest execution, but will spike your CPU)
sleepTime=0
# limit on the number of children that can be spawned per cycle
spawnChildrenLimit=20
# path to species definitions, using ResourceBundle naming (ie: "species\hunters\canines\" would be "species.hunters.canines.")
speciesPath=species.
# limit on the speed of animals, in pixels
speedLimit=20
# Game title
title=Evolution
# Whether the game should run in Tournament Mode, which simply adds termination conditions (usually used with headless mode)
tournamentMode=false
# Tournament Mode, terminate when only one species remains
tournamentOneWinner=true
# Tournament Mode, terminate after this many cycles (-1 means no limit)
tournamentCycles=-1
# Tournament Mode, terminate after this amount of time, in milliseconds
tournamentTimeout=-1