Skip to content
 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arcs-Leader-Generator

A Python project to instantly generate leader cards for Arcs. It uses the Pillow library to manipulate images and create customizable leader cards.

Requirements

  • Python 3.x
  • Pillow: Install via pip install Pillow

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/arcs-development-kit.git
  2. Install dependencies:

    pip install Pillow

Usage

Generate a Card for All Leaders:

Run the following script to generate cards for all leaders defined in leadersFormatted.py:

python scripts/batchImages.py

Add the leaders you have made to leadersFormatted.py in this format:

{
    "name": "Kaiju",
    "abilities": (
        "**Devouring:** When you destroy a city, repair all your ships in its cluster.\n"
        "**Feared:** When you tax a city you control, damage it."
    ),
    "resources": ["Weapon", "Material"],
    "setup": {
        "A": {"ships": 4, "building": "city", "damaged": False},
        "B": {"ships": 4, "building": "city", "damaged": False},
        "C": {"ships": 2, "building": "None", "damaged": False}
    }
},

If you need to change the font size you can change the last lines of the leader to this:

"C": {"ships": 2, "building": "None", "damaged": False}
},
"body_font_size": 16

I recommend you use ChatGPT or another AI tool to quickly reformat your leader data into this format.

If you want to change the body font on your card you can surround words with * to do so (you have to surround each word individually):

  • **italic*
  • **bold**
  • ***both***

Cards will be saved in the results/ folder.

Here you can find the most up to date version of my custom leaders: https://docs.google.com/document/d/11SS9AGXG0q3Vlb67Kl0mdvhnE0kKLfgCDgx5LVDwsGk/edit?usp=sharing

Example Card:

Demo Card

About

Instantly generate arcs leader images.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages