Reference
Name pools
- Content type
names- Files
data/names/- Shape
- A list of records, each with its own
id - Patch target
names:<id>, for examplenames:core.names.cze- In the base game
- 46 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.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
nationality | nation code | Yes | 3-letter nationality code | |
weight | number, at least 0 | 1 | Relative share of generated players from this nationality. | |
male | list, at least 5 items | Yes | ||
female | list, at least 5 items | Yes | ||
last | list, at least 10 items | Yes | ||
lastFemale | list | Women's surnames, by position in last (Kowalski, Kowalska); a woman past its end takes last's. |
Example#
A record from the base game’s data/names/cze.json, shortened.
{
"id": "core.names.cze",
"nationality": "CZE",
"weight": 0.6,
"male": [
"Jan",
"Jiří",
"Petr",
/* … 37 more */
],
"female": [
"Jana",
"Marie",
"Eva",
/* … 22 more */
],
"last": [
"Novák",
"Svoboda",
"Novotný",
/* … 57 more */
],
"lastFemale": [
"Nováková",
"Svobodová",
"Novotná",
/* … 57 more */
]
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.