Kamalisk / arkhamdb-json-data

JSON formatted data for the ArkhamDB deckbuilder
106 stars 149 forks source link

ArkhamDB cards JSON data

The goal of this repository is to store ArkhamDB card data in a format that can be easily updated by multiple people and their changes reviewed.

Cycle schema

Pack schema

Card schema

JSON text editing tips

Full description of (very simple) JSON format can be found here, below there are a few tips most relevant to editing this repository.

Non-ASCII symbols

When symbols outside the regular ASCII range are needed, UTF-8 symbols come in play. These need to be escaped using \u<4 letter hexcode>.

To get the 4-letter hexcode of a UTF-8 symbol (or look up what a particular hexcode represents), you can use a UTF-8 converter, such as this online tool.

Quotes and breaking text into multiple lines

To have text spanning multiple lines, use \n to separate them. To have quotes as part of the text, use \". For example, "flavor": "\"Winter is Fghghghghfhgh.\"\n-Eddard Stark" results in following flavor text:

"Winter is Fghghghghfhgh."
-Eddard Stark

Arkham LCG Game Symbols

These can be used in a card's text section.

Cards tags

Some cards have a tags fields that is used to relate these cards to certain deckbuilding rules that are otherwise too hard to parse. When new content is released, tags need to be reflected on added cards.

The available tags are:

These tags have been used in the past but are unused right now:

Translations

To merge new changes in default language in all locales, run the CoffeeScript script update_locales.

Pre-requisites:

Usage: coffee update_locales.coffee