Skip to content
An easy-to-use collection of data and images from X-Wing: The Miniatures Game (Second Edition) by Fantasy Flight Games.
JavaScript
Branch: master
Clone or download
guidokessels Merge pull request #302 from sirjorj/patch-64
Update quadrijet-transfer-spacetug.json
Latest commit 300d30e Aug 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Merge pull request #302 from sirjorj/patch-64 Aug 14, 2019
scripts New: Colorize changes in output Jul 31, 2019
tests Wave 4 pilot and ship updates. Jun 25, 2019
.gitignore api-metadata processing Jul 10, 2019
.travis.yml Add tests to validate XWS Feb 17, 2019
LICENSE
README.md Add XWS2 id creation steps to README Oct 3, 2018
package.json
yarn.lock New: Colorize changes in output Jul 31, 2019

README.md

X-Wing Data 2

An easy-to-use collection of all data from X-Wing: The Miniatures Game (Second Edition) by Fantasy Flight Games.

If you're looking for data and images of X-Wing First Edition, you can find that here: xwing-data.

XWS2 ids

XWS ids are generated using the following steps:

  1. Take the English-language name as printed on the card
  2. Lowercase the name
  3. Convert non-ASCII characters to closest ASCII equivalent (to remove umlauts, etc.)
  4. Remove non-alphanumeric characters
  5. Check for collisions, and add expansion suffixes until there is no more collision

Expansion suffixes per type: Pilots: pilotname-shipname-factionname-productsku Upgrades: upgradename-slotname-productsku Conditions: conditionname-productsku

XWS ids have to be unique per type (pilot/upgrade/condition/etc) and do not collide with ids of other types. So there can be a hansolo pilot and a hansolo upgrade, but there cannot be two upgrades with the hansolo xws id (regardless of the slot of those upgrades). One of those cards would get the -slotname suffix (for example: hansolo-gunner).

You can’t perform that action at this time.