Reference

Travel fare settings

Travel fares by distance: what getting to an event and back costs, by how far the venue is from where the player lives. A journey's step is found in this order: inside the country lived in, an exact pair, the first group that holds both countries, the rule for their two continents, the same continent, anywhere else. Every field is optional; records apply in load order, later fields winning. See Travel fares.

Content type
travel
Files
data/travel.json
Shape
One settings object (a file may hold the object itself)
Patch target
travel:<id>, for example travel:core.travel
In the base game
1 record
Guide
The organisations of the darts world, Travel fares

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"
stepslist, up to 40 itemsThe steps of distance, nearest first: how you travel, the fare there and back, a night away, and what a move of house over that distance counts as.
steps[].idtext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
steps[].modetext, up to 24 charactersYesHow you travel: road, rail, ferry or flight, or a pack's own (the Finances page words the fare by the text home.finances.trip.<mode>) Pattern: ^[a-z0-9][a-z0-9-]*$
steps[].farewhole number, 0 to 100,000,000YesThere and back
steps[].perDaywhole number, 0 to 100,000,000YesEach night away (the hotel and meals)
steps[].moveone of the optionsYesWhat a move of house over this distance counts as, for the arrival costs of the housing market moved to Options: country, region, abroad.
sameCountryobjectA venue in the country you live in: one of smallKinds (venue kinds) is the step small, any other other.
sameCountry.smalltext, up to 40 charactersPattern: ^[a-z0-9][a-z0-9-]*$
sameCountry.othertext, up to 40 charactersPattern: ^[a-z0-9][a-z0-9-]*$
sameCountry.smallKindslist, up to 20 items
sameCountry.fartext, up to 40 charactersPattern: ^[a-z0-9][a-z0-9-]*$
sameCountry.remotetext, up to 40 charactersPattern: ^[a-z0-9][a-z0-9-]*$
sameCountry.nearSmalltext, up to 40 charactersPattern: ^[a-z0-9][a-z0-9-]*$
sameCountry.bandslist, up to 20 items
sameCountry.bands[].upTonumber, 0 to 40,000Yes
sameCountry.bands[].steptext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
pairslist, up to 2000 itemsThe step between two countries, either way, whatever the groups say.
pairs[].fromnation codeYes3-letter nationality code
pairs[].tonation codeYes3-letter nationality code
pairs[].steptext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
groupslist, up to 200 itemsCountries one step apart from each other. Checked in order: put the nearer step's groups first. A record that gives groups replaces the whole list.
groups[].steptext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
groups[].nationslist, 2 to 120 itemsYes
homeGroupslist, up to 50 items
homeGroups[]list, up to 200 itemsYes
continentslist, up to 200 itemsThe step between two continents, either way.
continents[].betweenlistYes
continents[].steptext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
sameContinenttext, up to 40 charactersThe step between two countries on one continent that no pair, group or continent rule names. Pattern: ^[a-z0-9][a-z0-9-]*$
otherwisetext, up to 40 charactersThe step of every other journey. Pattern: ^[a-z0-9][a-z0-9-]*$
fromlist, up to 200 itemsA step's own figures for journeys that start in the countries named.
from[].nationslist, 1 to 120 itemsYes
from[].stepslist, 1 to 40 itemsYes
from[].steps[].steptext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
from[].steps[].modetext, up to 24 charactersPattern: ^[a-z0-9][a-z0-9-]*$
from[].steps[].farewhole number, 0 to 100,000,000
from[].steps[].perDaywhole number, 0 to 100,000,000
moveFaresnumber, 0 to 100The fare of a move of house is the journey's fare times this
visasobjectVisas for playing and living abroad. Only the human player needs them: the computer's players travel as before.
visas.tripFreelist, up to 50 items[]Groups of countries (by code) whose nationals need no visa for a short trip to each other.
visas.tripFree[]list, up to 200 itemsYes
visas.liveFreelist, up to 50 items[]Groups whose nationals may live in each other's countries without a residence permit.
visas.liveFree[]list, up to 200 itemsYes
visas.tripobjectYesA trip visa to play in a country: fee, weeks to issue, weeks it lasts.
visas.trip.feenumber, 0 to 100,000YesWhat it costs.
visas.trip.weekswhole number, 0 to 104YesWeeks to issue.
visas.trip.validWeekswhole number, 1 to 52026A trip visa: weeks it lasts once issued.
visas.residenceobjectYesA residence permit to move to a country: fee and weeks to issue.
visas.residence.feenumber, 0 to 100,000YesWhat it costs.
visas.residence.weekswhole number, 0 to 104YesWeeks to issue.
visas.residence.validWeekswhole number, 1 to 52026A trip visa: weeks it lasts once issued.
visas.overrideslist, up to 200 items[]A country's own terms, by the countries in to.
visas.overrides[].tolist, 1 to 200 itemsYesThe countries (by code) these terms are for.
visas.overrides[].tripobject
visas.overrides[].trip.feenumber, 0 to 100,000YesWhat it costs.
visas.overrides[].trip.weekswhole number, 0 to 104YesWeeks to issue.
visas.overrides[].trip.validWeekswhole number, 1 to 52026A trip visa: weeks it lasts once issued.
visas.overrides[].residenceobject
visas.overrides[].residence.feenumber, 0 to 100,000YesWhat it costs.
visas.overrides[].residence.weekswhole number, 0 to 104YesWeeks to issue.
visas.overrides[].residence.validWeekswhole number, 1 to 52026A trip visa: weeks it lasts once issued.
visas.delayChancenumber, 0 to 10The chance a visa is late.
visas.delayWeekspair [whole number, 0 to 52, whole number, 0 to 52][1, 4]How late, in weeks: [min, max].
visas.tourCardWeekswhole number, 0 to 520Weeks off the wait with a Tour Card.
visas.agentWeekswhole number, 0 to 520Weeks off the wait with a registered agent.
appealobject
appeal.timesmap (key: value)Yes
appeal.powernumber, 0 to 10Yes
appeal.floornumber, 0 to 1Yes
appeal.nevernumber, 0 to 1YesUnder this appeal a player does not come at all: an open event far from anyone plays with the field it has
appeal.autoplaynumber, 0 to 1YesThe computer-played career does not enter an event abroad whose appeal is under this

Example#

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

{
  "id": "core.travel",
  "steps": [
    {
      "id": "local",
      "mode": "road",
      "fare": 15,
      "perDay": 45,
      "move": "country"
    },
    {
      "id": "country",
      "mode": "rail",
      "fare": 60,
      "perDay": 45,
      "move": "country"
    },
    {
      "id": "neighbour",
      "mode": "rail",
      "fare": 75,
      "perDay": 45,
      "move": "region"
    },
    /* … 9 more */
  ],
  "sameCountry": {
    "small": "local",
    "other": "country",
    "smallKinds": [
      "pub",
      "club"
    ],
    "far": "far",
    "remote": "remote",
    "nearSmall": "local",
    "bands": [
      {
        "upTo": 600,
        "step": "country"
      },
      {
        "upTo": 1500,
        "step": "far"
      },
      /* … 2 more */
    ]
  },
  "groups": [
    {
      "step": "neighbour",
      "nations": [
        "ENG",
        "SCO",
        /* … 1 more */
      ]
    },
    {
      "step": "neighbour",
      "nations": [
        "NIR",
        "IRL"
      ]
    },
    {
      "step": "neighbour",
      "nations": [
        "NED",
        "BEL",
        /* … 8 more */
      ]
    },
    /* … 4 more */
  ],
  "homeGroups": [
    [
      "ENG",
      "SCO",
      /* … 3 more */
    ]
  ],
  "continents": [
    {
      "between": [
        "europe",
        "oceania"
      ],
      "step": "far-haul"
    }
  ],
  "sameContinent": "continent",
  "otherwise": "long-haul",
  "from": [
    {
      "nations": [
        "USA",
        "CAN",
        /* … 1 more */
      ],
      "steps": [
        {
          "step": "country",
          "mode": "road",
          "fare": 120,
          "perDay": 60
        },
        {
          "step": "far",
          "mode": "flight",
          "fare": 300,
          "perDay": 110
        },
        /* … 3 more */
      ]
    }
  ],
  "moveFares": 2,
  "appeal": {
    "times": {
      "1": 40,
      "2": 20,
      "3": 8,
      "4": 4,
      "5": 3
    },
    "power": 1,
    "floor": 0.02,
    "never": 0.05,
    "autoplay": 0.5
  },
  "visas": {
    "tripFree": [
      [
        "ENG",
        "SCO",
        /* … 33 more */
      ],
      [
        "AUS",
        "NZL"
      ],
      /* … 1 more */
    ],
    "liveFree": [
      [
        "ENG",
        "SCO",
        /* … 4 more */
      ],
      [
        "IRL",
        "NED",
        /* … 28 more */
      ],
      /* … 1 more */
    ],
    "trip": {
      "fee": 90,
      "weeks": 3,
      "validWeeks": 26
    },
    "residence": {
      "fee": 900,
      "weeks": 10
    },
    "overrides": [
      {
        "to": [
          "AUS",
          "NZL"
        ],
        "trip": {
          "fee": 30,
          "weeks": 1,
          "validWeeks": 52
        },
        "residence": {
          "fee": 1500,
          "weeks": 16
        }
      },
      {
        "to": [
          "USA",
          "CAN"
        ],
        "trip": {
          "fee": 150,
          "weeks": 6,
          "validWeeks": 52
        },
        "residence": {
          "fee": 2000,
          "weeks": 20
        }
      },
      /* … 1 more */
    ],
    "delayChance": 0.1,
    "delayWeeks": [
      1,
      4
    ],
    "tourCardWeeks": 1,
    "agentWeeks": 1
  }
}

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