Reference

Event patterns

Content type
eventPatterns
Files
data/events/patterns.json, data/events/patterns/
Shape
A list of records, each with its own id
Patch target
eventPattern:<id>, for example eventPattern:core.pattern.regional-open
In the base game
2 records
Guide
Nations

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"
levelone of the optionsYesOptions: local, circuit.
nameslist, 1 to 40 itemsYes
shortNameslist, 1 to 40 items
venueNameslist, 1 to 40 itemsYes
venueKindtext, up to 30 characters"hall"
venueHostilitynumber, 0 to 10.3
venueConditionsnumber, 0.5 to 1.51
monthslist, 1 to 12 itemsYes
weekslist, 1 to 5 items[1, 2, 3, 4]
dayswhole number, 1 to 71
fieldSizewhole number, 2 to 512Yes
roundslist, at least 1 itemYes
rounds[]one of several shapesYes
Shape 1 (with bestOfLegs)
rounds[].bestOfLegswhole number, 1 to 41Yes
rounds[].tieBreakobject
rounds[].tieBreak.winBywhole number, 2 to 3Yes
rounds[].tieBreak.suddenDeathAtwhole number, 1 to 30
Shape 2 (with bestOfSets)
rounds[].bestOfSetswhole number, 1 to 13Yes
rounds[].legsPerSetwhole number, 3 to 95
rounds[].decidingSetobject
rounds[].decidingSet.winBywhole number, 2 to 3Yes
rounds[].decidingSet.suddenDeathAtwhole number, 1 to 30
minAgewhole number, 10 to 99
tagslist[]
tourCardtrue or false
residentstrue or false
rankedtrue or falsefalse
tvtrue or falsefalse
bandslist, 1 to 9 itemsYes
bands[].capwhole number, 0 to 20Yes
bands[].prizeslist, at least 1 item
bands[].crowdnumber, 0 to 1
bands[].fieldSizewhole number, 2 to 512
bands[].entryFeewhole number, at least 0
bands[].maxLevelnumber, 0 to 100
bands[].capacitywhole number, 10 to 50,000

Example#

A record from the base game’s data/events/patterns.json, shortened.

{
  "id": "core.pattern.regional-open",
  "level": "local",
  "names": [
    "{city} Open",
    "{city} Classic",
    "{city} Weekend Open",
    /* … 5 more */
  ],
  "shortNames": [
    "{city} Open",
    "{city} Classic",
    "{city} Weekend",
    /* … 5 more */
  ],
  "venueNames": [
    "{city} Leisure Centre",
    "{city} Sports Hall",
    "{city} Social Club",
    /* … 2 more */
  ],
  "venueKind": "hall",
  "venueHostility": 0.25,
  "venueConditions": 1,
  "months": [
    2,
    3,
    4,
    /* … 5 more */
  ],
  "weeks": [
    1,
    2,
    3,
    /* … 1 more */
  ],
  "days": 1,
  "fieldSize": 32,
  "rounds": [
    {
      "bestOfLegs": 5
    },
    {
      "bestOfLegs": 5
    },
    {
      "bestOfLegs": 5
    },
    /* … 2 more */
  ],
  "minAge": 16,
  "tags": [
    "local"
  ],
  "tourCard": false,
  "residents": true,
  "ranked": false,
  "tv": false,
  "bands": [
    {
      "cap": 0
    },
    {
      "cap": 1,
      "prizes": [
        150,
        75,
        /* … 4 more */
      ],
      "crowd": 0.12,
      "entryFee": 10,
      "maxLevel": 56,
      "capacity": 120
    },
    {
      "cap": 2,
      "prizes": [
        250,
        120,
        /* … 4 more */
      ],
      "crowd": 0.16,
      "entryFee": 10,
      "maxLevel": 58,
      "capacity": 150
    },
    /* … 2 more */
  ]
}

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.32. Built from the game's own schemas and its base pack.