Reference
Surrounds
- Content type
surrounds- Files
data/surrounds.json,data/surrounds/- Shape
- A list of records, each with its own
id - Patch target
surround:<id>, for examplesurround:core.example- In the base game
- 0 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.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
name | text, up to 60 characters | |||
part | id | Namespaced id, e.g. "core.player.rory-calder" | ||
partColours | map (key: value) | |||
partFinishes | map (key: value) | |||
glowStrength | number, 0 to 20 | How strongly the surround part's lit parts shine, times the part's strength (1: as made). | ||
colour | text | The ring's colour: #rgb, #rrggbb or #rrggbbaa. Without it the tour's colour. Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$ | ||
ink | text | The lettering's colour. Without it white or near-black, whichever reads on the ring. Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$ | ||
rim | text | The rim and the inner wall. Without it the ring's colour, shaded. Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$ | ||
finish | one of the options | satin: the game's own shading (darker at the rim, a sheen band, a top light); flat: the colour exactly as given. Options: satin, flat. | ||
foam | true or false | The fine foam grain over the ring. On unless false. | ||
pinstripes | object | The fine lines along the ring's inner and outer edges: whether they show and their colour. | ||
pinstripes.visible | true or false | |||
pinstripes.colour | text | Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$ | ||
image | object | A picture over the colour: src (a path in the mod), fit cover (over the whole ring) or tile (repeat times round it), and its opacity. | ||
image.src | text | |||
image.fit | one of the options | Options: cover, tile. | ||
image.repeat | whole number, 1 to 64 | |||
image.opacity | number, 0 to 1 | |||
pattern | object | A pattern over the colour and picture: segments, rays, rings, dots or chevrons, in a colour (alpha allowed), count times, each width of its step. | ||
pattern.kind | one of the options | Options: segments, rays, rings, dots, chevrons. | ||
pattern.colour | text | Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$ | ||
pattern.count | whole number, 1 to 120 | |||
pattern.width | number, 0.02 to 1 | |||
title | object | The tournament's name round the ring: visible, text (instead of the event's name and year), at top, bottom or both, radius, size, span (degrees) and colour. | ||
title.visible | true or false | |||
title.text | text, up to 80 characters | |||
title.at | one of the options | Options: top, bottom, both. | ||
title.radius | number, 0 to 1 | |||
title.size | number, 0.3 to 2 | |||
title.span | number, 20 to 175 | |||
title.colour | text | Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$ | ||
marks | true or false | The small diamonds between the lettering and the logos. On unless false. | ||
logos | list, up to 16 items | The logos round the ring, each with an id. Without the list the event's logo stands at three and nine o'clock. | ||
logos[].id | text, up to 40 characters | Yes | The slot's id: an event's surround changes its tour's slot of the same id. Pattern: ^[a-z0-9][a-z0-9-]*$ | |
logos[].show | one of the options | event (its logo, or its initials without one), tour, organisation, image (this slot's picture) or sponsor (a sponsor's logo). Options: event, tour, organisation, image, sponsor. | ||
logos[].image | text | |||
logos[].sponsor | id | Namespaced id, e.g. "core.player.rory-calder" Names a sponsor record. | ||
logos[].angle | number, -360 to 360 | Clockwise from the top, in degrees: 90 is three o'clock, 270 nine o'clock. | ||
logos[].radius | number, 0 to 1 | Across the band: 0 at the board's edge, 1 at the rim. 0.5 is the middle. | ||
logos[].size | number, 0.05 to 1.5 | The logo's longer side as a share of the band's width (0.78 is the game's own). | ||
logos[].follow | true or false | true: the logo turns with the ring, its top towards the rim; false: it stands upright. | ||
logos[].visible | true or false | false hides this slot (an event can hide its tour's logo). |