Warning This version uses experimental web technology. Currently it only works on Chrome. Also, you need to access this page through a web server and cannot open it directly from your filesystem.
Deck

This deck contains 0 cards.

Card
Name
Title size
Icon text
Count
Tags
Icon
Back icon
Color
Contents

#### Printing generated cards

- The generated cards open in a new tab or window. If you don't see any new tab or window, check your popup and script blockers. If that does not help, try disabling all addons.
- Make sure you enable the printing of background images and colors in your browser.
- Make sure your printer uses the correct paper size (same as in the editor).
- Enable double sided printing (flip on long edge).
- Do not scale the document to fit the page. Print at original size.
- Some printers are not very precise (pages print slightly shifted or rotated) and the cards will not line up with the card backs. If this is the case, there's not much you can do. Try making the page background the same color as the cards, so that you won't get any white edges on the card. If that does not help, try a different printer or print single-sided.

#### RGP card generator

- Some RPG systems are protected by copyright. Even if some spell/item data is freely available, it does not mean you may redistribute cards containing such data.
- If you find a bug or have a feature request, post them at the Github project site.
- The user interface consists of three columns: The left column contains the menu and global settings. In the middle menu, you can select and edit individual cards. The right column contains a preview of the selected card.
- To use the generator, either load the sample card deck ("Load sample"), load a card deck from a file ("Load from file"), or manually add some cards. When you're done, click on "Generate" to generate a document with all your cards, which can then be printed.
- To learn about what features are available to define a card, inspect the sample deck or read some basic documentation at the project site.
- The editor supports keyboard shortcuts: CTRL+M (toggle menu), CTRL+D (duplicate card), Delete (delete card), Up or Page-up (previous card), Down or Page-down (next card)

#### Sort cards

Enter the comparison function below. The comparison function is a block of javascript code. Return -1 if card_a should appear before card_b.

if (card_a.title < card_b.title) { return -1; } else if (card_a.title > card_b.title) { return 1; } else { return 0; }

#### Filter/map cards

Enter code below that will be executed for each card in the deck.

// Color all spell cards yellow if (card.hasTag("spell")) { card.color = "yellow"; } // Remove all creature cards if (card.hasTag("creature")) { deck.deleteCard(card); } // Duplicate all consumable item cards if (card.hasTag("item") && card.hasTag("consumable")) { var newCard = deck.duplicateCard(card); newCard.color = "pink"; }