XenOracle Deck Builder
======================

"XenOracle Deck Builder.html" is a self-contained page for viewing, editing
and creating XenOracle decks. It runs entirely offline in your web browser:
nothing is uploaded and no internet connection is needed.

Opening it
----------
- In XenOracle, left-click EDIT DECK. The builder opens with the deck that is
  currently active in the plug-in already loaded.
- Or open "XenOracle Deck Builder.html" from this folder directly and use
  "Open deck..." to load any XenOracle .json deck.

Getting an edited deck back into XenOracle
------------------------------------------
Browsers are not allowed to write into XenOracle's settings folder, so save
the deck anywhere you like (Downloads is fine), then in XenOracle:

- Right-click EDIT DECK > "Import a deck as my default deck..." to make it
  the deck every XenOracle instance uses. Your previous deck is backed up to
  the Backups folder next to XenOracleIdeas.json.
- Or right-click RELOAD DECK to try a deck in the current instance only.

If a custom deck is loaded in XenOracle and you save over that same file,
XenOracle notices and reloads it automatically within a second.

Deck format
-----------
{
  "format": "XenOracle Ideas",
  "version": 2,
  "description": "My Deck",
  "ideas": [ { "id": "MY-DECK-0001", "text": "Remove the obvious layer" } ],
  "removedIds": [ "XO-000123" ]
}

Every card needs a unique, non-empty "id" and a non-empty "text". IDs are
permanent: XenOracle uses them to remember history. "removedIds" lists
factory cards you deleted, so XenOracle updates never add them back.

This folder is rewritten by XenOracle when the plug-in is updated. Keep your
own decks elsewhere. current-deck.js is a temporary hand-off file.
