Reference
Tuning files
- Content type
tuning- Files
data/tuning.json- Shape
- One settings object (a file may hold the object itself)
- Patch target
tuning:<id>, for exampletuning:core.tuning- In the base game
- 1 record
- Guide
- Population, Tuning
Fields#
Indented fields belong to the field above them. [] marks the items of a list. A field that is not required may be left out; the default is used.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
values | map (key: value) | |||
values.<key> | one of several shapes | Yes | ||
| Shape 1: number | ||||
| Shape 2: list, up to 64 items | ||||
| Shape 3: text, up to 60 characters | ||||
| Shape 4: list, up to 64 items | ||||
Example#
A record from the base game’s data/tuning.json, shortened.
{
"id": "core.tuning",
"values": {
"accessibility.overlay.maxIntensity": 0.6,
"accessibility.overlay.minIntensity": 0.05,
"app.backgroundSaveMs": 3000,
"awards.defaultMinDarts": 1500,
"bookings.hoursLostBase": 3,
"bookings.hoursLostPerTravelDay": 4,
"bookings.journeyDays.area": 0,
"bookings.journeyDays.continent": 1,
"bookings.journeyDays.home": 0,
"bookings.journeyDays.longHaul": 3,
"bookings.leadMax": 45,
"bookings.leadMin": 10,
"bookings.minAge": 16,
"bookings.offerDays": 21,
/* … 731 more fields */
}
}