Out now on Steam. The full career is available for Windows today. Get it now

Reference

Shirt graphics

A graphic for the shirt designer's library (a badge, a shape, a flash): SVG path data in a 100 by 100 square, printed in the layer's colour at the layer's place, size and turn.

Content type
shirtGraphics
Files
data/kit/shirt-graphics.json, data/kit/shirt-graphics/
Shape
A list of records, each with its own id
Patch target
shirtGraphic:<id>, for example shirtGraphic:core.shirt-graphic.board
In the base game
121 records

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.

FieldTypeRequiredDefaultNotes
ididYesNamespaced id, e.g. "core.player.rory-calder"
nametext, up to 30 charactersYesThe name shown under the graphic in the designer's library.
categorytext, up to 24 charactersYesThe library shelf it sits on ("darts", "badges", "shapes", ...): any word.
pathtext, up to 8000 charactersYesThe shape: SVG path data in a 100 by 100 square, filled with the layer's colour.
path2text, up to 8000 charactersA second shape over the first, filled with the layer's second colour (a badge's field, a rim).

Example#

A record from the base game’s data/kit/shirt-graphics.json, shortened.

{
  "id": "core.shirt-graphic.board",
  "name": "Board",
  "category": "darts",
  "path": "M2 50 A48 48 0 1 1 98 50 A48 48 0 1 1 2 50 Z M7 50 A43 43 0 1 0 93 50 A43 43 0 1 0 7 50 Z M43.27 7.53 A43 43 0 0 1 56.73 7.53 L51.88 38.15 A12 12 0 0 0 48.12 38.15 Z M69.52 11.69 A43 43 0 0 1 80.41 19…"
}

In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.

Written for Darts Player Simulator 0.50.35. Built from the game's own schemas and its base pack.