genericallyloud / ludomatic5000

This is a simple tool which can help rapidly prototype cards/tiles/chits for board/card games. It uses csv files to import data, and jade templates to generate html from them. Finally, it uses wkhtmltopdf to generate pdfs which can be printed.
MIT License
5 stars 2 forks source link

Added the ability to specify options for specific commands #25

Closed KevinGreene closed 8 years ago

KevinGreene commented 8 years ago

I added the ability to specify a command specific map. This was added because I was sick of stopping my design each time I wanted to draw.

Example usage:

{
    "target": "pnp",
    "paper": "letter",
    "templ": "jade",
    "less": true,
    "csvParams": {
        "ignoreEmpty": true  
    },
    "components": {
        "powers": {
            "output": "powers.pdf",
            "port": 3002
        },
        "rulers": {
            "output": "rulers.pdf",
            "port": 3003
        }
    },
    "commands": {
        "draw":{
            "port": 3001
        }
    }
}

This lets me design all cards, while still drawing on command.