Reference
Text files
- Content type
texts- Files
data/texts.json,data/texts/- Shape
- A list of records, each with its own
id - Patch target
text:<id>, for exampletext:core.text.ai-traits.hothead.blurb- In the base game
- 4276 records
- Guide
- Quick-match players, Population, Localisation
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" | |
text | text | Yes | ||
platform | one of the options | Where a What's new line (core.text.whats-new.*) shows: phone, pc or both. Omitted: both. Other texts ignore it. Options: phone, pc, both. |
Example#
A record from the base game’s data/texts/ai-traits.json.
{
"id": "core.text.ai-traits.hothead.blurb",
"text": "quick to a quarrel and slow to forget one; higher highs, deeper lows"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.