Import
The importer will create a new game from a JSON file. This allows games to be transferred between instances of the site, or creating a game with specific initial conditions (e.g. Destiny Unfolds).
You can find an example of the expected format from the Game Data link at the bottom of each game.
The game is initially not linked to any Discord channel (even if the discord_channel
is present in the imported data),
so you will need to separately set that up after importing.
Screenshots are also not transferred.
Useful things to know if you are creating a file from scratch or modifying one:
- Even though the export data includes an
id
for cards and spirits, the importer ignores this ID and only uses the name. - As shorthand for the
{"name": "Call to Isolation"}
object used to reference a card or spirit, simply the string"Call to Isolation"
will also be accepted. - Capitalisation in card names doesn't need to be exact (
"call to isolation"
will still be accepted), but punctuation and spacing must be exact. - Including a list of players is optional, but if there are any players, the
spirit
for each is required. - All other fields are optional and will use reasonable defaults if the key is not present in the imported data. Examples of such defaults:
- A spirit's hand: The hand that spirit would start the game with.
- Major and minor decks: All power cards of that type, except any card that's anywhere else in the game.