Reference
Practice games
- Content type
practiceGames- Files
data/training-games.json,data/training-games/- Shape
- A list of records, each with its own
id - Patch target
practiceGame:<id>, for examplepracticeGame:core.practice.bobs-27- In the base game
- 10 records
- Guide
- Training and development
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" | |
name | text, up to 40 characters | Yes | ||
rule | text, up to 160 characters | Yes | ||
icon | text, up to 40 characters | |||
kind | one of the options | Yes | Options: aroundTheClock, bobs27, shanghai, checkout, halveIt, catch, scoring, bull, longSession, crowd. | |
targets | list, up to 30 items | [] | ||
start | whole number, 0 to 501 | 0 | ||
count | whole number, 0 to 100 | 0 | ||
darts | whole number, 0 to 300 | 0 | ||
points | list, up to 12 items | [] | ||
par | number, 1 to 10,000 | Yes | ||
hours | number, 0.25 to 10 | Yes | ||
fatigue | number, 0 to 3 | 1 | ||
area | one of the options | Yes | Options: scoring, doubles, bull, fitness, mental. | |
boosts | map (key: value) | Yes |
Example#
A record from the base game’s data/training-games.json, shortened.
{
"id": "core.practice.bobs-27",
"name": "Bob's 27",
"rule": "Start on 27. Three darts at each double, D1 to D20 then the bull: a hit adds it, a miss with all three takes it off. Out at zero.",
"icon": "target",
"kind": "bobs27",
"targets": [
"D1",
"D2",
"D3",
/* … 18 more */
],
"start": 27,
"darts": 3,
"par": 100,
"hours": 1.5,
"fatigue": 1,
"area": "doubles",
"boosts": {
"finishing": 0.5,
"composure": 0.3,
"checkoutKnowledge": 0.2
}
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.