View on GitHub

Rpg-cards

RPG spell/item/monster card generator

Download this project as a .zip file Download this project as a tar.gz file

What it does

This project generates cards for spells, items, or monsters for RPG games. The cards are packed on a sheet such that you can print double sided and get cards with a front and back. Here's an example of what you can create:

You can define the content of the cards yourself using simple JSON data. The above example was generated by this:

{
    "count": 1,
    "color": "dimgray",
    "title": "Full Plate",
    "icon": "custom-armor-heavy",
    "contents": [
        "subtitle | Heavy armor (1500gp)",
        "rule",
        "property | AC | 18",
        "property | Strength required | 15",
        "property | Stealth | Disadvantage",
        "rule",
        "fill-2",
        "description | Heavy | Your speed is reduced by 10 feet.",
        "description | Stealth | You have disadvantage on Stealth.",
        "fill-3"
    ]
}

Live demo

Try it out yourself

Card JSON data

Card elements

Each card element is a string of the following format:

element | param1 | param2

The following elements are available: