# Core Keeper Configuration Files

This folder contains a set of configuration files which are loaded at game start. If you want to load files from a different folder you can launch the game with the paramater -confdir <directory>. You can use the parameter multiple times to specify multiple directories to load files from. The directories from the launch parameters will override the files in this directory and latter parameters have precedence over previous ones.

Note that these files are not exactly set in stone and might come to change in latter versions. We intend to support changing the configuration in some way going forward, we just can't promise that the current format is exactly what we will be supporting in future versions.

The files are all in JSON format and the fields are typically self-explanatory. In the places where the values are just numbers (most often for specifying some unique object), you can find the meaning of the number in one of the files in the ID folder.

The name of the file describes what it contains, but typically doesn't matter when the game parses the file. You are free to add and remove files.

## Factions

Each file defines a faction by its FactionID and which factions this faction considers enemies.

See ID/FactionID.json.

## Fishing

Each file sets the struggle information for the fish i.e. how the fish behaves when being caught.

See ID/ObjectID.json.

## ID

These files aren't parsed but only exists for reference. Each file contains the names of the ID values used a lot in other files.

## Loot

Each file defines a "loot ID" which name typically describes where it is used. It contains the a list of loots that are dropped and chances for each drop. It can also specify some objects to have be part of a "guaranteed" group, where one loot from the guaranteed group is always dropped.

See ID/LootTableID.json, ID/ObjectID.json.

## Spawn

This folder contains two set of files. In the "Initial" folder you will find the objects that are spawned on initial spawn of a subarea in each biome.

In the "Respawn" folder you will find the objects that are respawned periodically. A lot of these are per biome as well, but some respawn everywhere (typically dependent on some tile to exist).

See ID/Biome.json, ID/PugTilemap.Tileset, ID/PugTilemap.TileType, ID/ObjectID.json.

## Talents

This folder contains the effects of each talent in the game. You can't change descriptions and icons currently, only the effects.

See ID/SkillID.json, ID/ConditionID.json.