Reference
Social posts
- Content type
socialPosts- Files
data/social/posts/- Shape
- A list of records, each with its own
id - Patch target
socialPost:<id>, for examplesocialPost:core.social.card-007- In the base game
- 629 records
- Guide
- The social feed
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" | |
trigger | one of several shapes | Yes | ||
| Shape 1: one of the options | ||||
| Shape 2: list, at least 1 item | ||||
kinds | list | [] | Account kinds that can post it. Empty = any. | |
account | id | Only this account posts it. Names a social account record. | ||
voices | list | [] | Only accounts with one of these voice tags post it. Empty = any. | |
text | text, up to 280 characters | Yes | ||
weight | number, at least 0 | 1 | ||
conditions | object | {} | Every condition is optional; all the ones given must hold. | |
conditions.won | true or false | Won the match / title / card (false = lost it). | ||
conditions.tv | true or false | |||
conditions.major | true or false | |||
conditions.events | list, at least 1 item | The event is one of these (event template ids). Only known at an event. | ||
conditions.tours | list, at least 1 item | The event is on one of these tours (tour ids). Only known at an event. | ||
conditions.tags | list, at least 1 item | The event has one of these tags, e.g. ["worldChampionship"]. Only known at an event. | ||
conditions.stage | list | The round: early, late (quarters and semis) or the final. | ||
conditions.margin | list | whitewash (loser scored nothing), decider (won by one), close (by two), comfortable. | ||
conditions.average | object | Your three-dart average in the match. | ||
conditions.average.min | number | |||
conditions.average.max | number | |||
conditions.n180 | object | Your 180s in the match. | ||
conditions.n180.min | number | |||
conditions.n180.max | number | |||
conditions.checkout | object | Your highest checkout in the match. | ||
conditions.checkout.min | number | |||
conditions.checkout.max | number | |||
conditions.upset | true or false | You beat someone much better, or lost to someone much worse. | ||
conditions.rival | true or false | The opponent is a rival. | ||
conditions.homeNation | true or false | The venue is in your country. | ||
conditions.opponentNationality | list | |||
conditions.nationality | list | Your nationality. | ||
conditions.followers | object | Inclusive bounds; either may be left out | ||
conditions.followers.min | number | |||
conditions.followers.max | number | |||
conditions.image | object | Public image, −100 … 100. | ||
conditions.image.min | number | |||
conditions.image.max | number | |||
conditions.form | object | Form, −1 … 1. | ||
conditions.form.min | number | |||
conditions.form.max | number | |||
conditions.tier | object | Your tier, 1 (World Series) … 5 (County). | ||
conditions.tier.min | number | |||
conditions.tier.max | number | |||
conditions.rank | object | Order of Merit rank (unranked never matches). | ||
conditions.rank.min | number | |||
conditions.rank.max | number | |||
conditions.load | list | Workload band. | ||
conditions.winStreak | whole number, at least 1 | At least this many wins in a row (counting this match). | ||
conditions.lossStreak | whole number, at least 1 | At least this many losses in a row. | ||
conditions.injured | true or false | |||
conditions.hasSponsor | true or false | |||
conditions.age | object | Inclusive bounds; either may be left out | ||
conditions.age.min | number | |||
conditions.age.max | number | |||
conditions.gender | one of the options | Options: m, f. | ||
conditions.womensTour | true or false | |||
minAge | whole number, 0 to 99 | |||
Example#
A record from the base game’s data/social/posts/career.json.
{
"id": "core.social.card-007",
"trigger": "tourCard",
"kinds": [
"club"
],
"text": "Our {first} has a Tour Card! First round’s on the committee 🍻",
"minAge": 18,
"conditions": {
"won": true
}
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.