Coat of Arms
The Tokenizer 2 - Coat of Arms companion module rolls heraldic coats of arms. It's inspired by Pendragon 6th edition.

Each roll follows the book: a shield design, tinctures by the rule of tincture, then the charges. The result is drawn on a shield, with its blazon ("Vert, on a chief argent a wolf sable") and the log of the rolls that made it. Every charge the tables can give, such as a lion, a tower or a fleur-de-lis, has a picture: heraldic drawings from Wikimedia Commons, recoloured in the charge's tincture (see Picture credits).
In the token editor
Open the editor and choose the Coat of Arms tool (the shield icon). It opens the Coat of Arms window on a freshly rolled coat.
The window has tabs on the left and the preview, blazon and buttons on the right. Each tab chooses from pictures drawn in your arms' own tinctures:
- Roll - Roll New Arms rolls again (type a Seed first to get the same arms back later); you can also turn the book's Optional rules on and off and see every roll.
- Shield - the shape, such as heater or round, and the damask, a faint pattern pressed into the paint.
- Field - the tinctures, and a plain field, a fur, a division or a variation.
- Ordinary - the ordinary (or none), its tincture, and the charges on it.
- Charges - click a charge's picture or name to pick from a searchable gallery, then set its tincture, count, a beast's attitude, and its size and position. How charges are drawn is chosen at the bottom of the tab.
A beast offers only the attitudes there are pictures of; when a roll asks for another, the beast is shown as its picture has it, and the roll log says so.

Size and position
Each charge on the field has a Size and position section:
- Position puts the charges at one of the shield's nine points, such as dexter chief or fess point (dexter is the viewer's left); As rolled goes back to where the roll put them.
- Size makes them smaller or larger, from 30% to 250%.
- Nudge across and Nudge down move them a little from there.
- Reset size and position puts the charge back as rolled.
The blazon names a chosen point ("a lion rampant or in dexter chief"), and a charge you have moved or resized is drawn over the ordinary. Charges on an ordinary keep to it: they have size and nudge, but no position.
How charges are drawn
The bottom of the Charges tab offers four ways to draw the charges:
- Painted, the default - flat paint with the picture's own lines.
- Bold outline - the paint inside a heavy dark outline.
- Filled - the charge's colour alone, with no lines.
- Outline only - just the lines, with the field showing through.
Each coat of arms keeps its own choice; the settings pick what new coats start with.
Add to Token puts the arms on the token as an image layer above the active layer, and closes the window. To change them later, right-click the layer and choose Edit Coat of Arms (or pick the tool while the layer is selected), then click Update Layer.
On Pendragon sheets
On a Pendragon character or NPC sheet, click the coat of arms to open the Coat of Arms window (Shift+click still picks a file).
- Save to Sheet (a GM) writes the picture to the character's Coat of Arms and the blazon to Heraldry.
- Send to GM (a player) sends the arms to the GM for approval instead; see below.
- Open in Tokenizer opens the token editor with the arms added as a layer; a player who cannot upload files sends the token to the GM from there (see Players and GM approval).
- Download PNG, Copy blazon, and Export JSON / Import JSON take the arms elsewhere.
The first roll is seeded from the character, so the same knight always starts with the same arms until they are saved.
The window can also be opened for any actor from the API: game.modules.get("tokenizer-2-coat-of-arms").api.open({ actor }).
Players and GM approval
Players design their coat of arms in the same window, but have Send to GM instead of Save to Sheet, since they usually cannot upload files.
- The player presses Send to GM, and a chat card goes to the GMs. If no GM is online, the card waits in the chat log and the GM is told at their next login.
- Review on the chat card opens the Player Requests window, with the arms, the blazon, who sent them and for which character. It can also be opened from Tokenizer 2's settings (Player Requests).
- Approve saves the picture to the character's Coat of Arms and the blazon to Heraldry; Decline clears the request. Either way the player gets a whispered message.
While a request waits, Withdraw Request takes it back, and sending again replaces it.
Settings
| Setting | What it does |
|---|---|
| Coat of arms folder | Where rendered pictures are saved, in dated subfolders |
| Open from Pendragon sheets | Whether clicking a sheet's coat of arms opens the window |
| Default shield shape | Heater, round, banner or lozenge |
| Damask pattern | The faint pattern new coats of arms start with over their paint: scrolls, lattice, brocade or none |
| How charges are drawn | Painted, bold outline, filled or outline only, for new coats of arms |
| Picture size | 512, 1024 or 2048 pixels across |
Picture credits
The charge pictures come from Wikimedia Commons:
- Most are public domain: tracings of the plates in A. C. Fox-Davies' A Complete Guide to Heraldry (1909), J. Vinycomb's Fictitious and Symbolic Creatures in Art (1906) and older armorials, and drawings their makers released into the public domain or under CC0.
- Some are CC BY, credited to their authors.
- A few charges, such as the bat, the harp or the portcullis, are only available under CC BY-SA, and a coat of arms drawn with one of them is shared under that licence too.
When your arms use one, the window shows a note under its buttons naming the picture's author, with links to its source and licence.
They are kept in their own folder,
art/charges-by-sa; without it, those charges are drawn as a plain roundel.
The damask patterns are also from Commons and public domain: the scrolls and the lattice are heraldic diapers drawn by Bibar (CC0), and the brocade is a Byzantine textile from the Encyclopaedia Britannica (1911).
Every file's author, licence and source is listed in the module's credits files, linked from Tokenizer 2's Settings → Licenses tab.
API
game.modules.get("tokenizer-2-coat-of-arms").api has generate({ seed, rules }) (arms, seed and the roll log), blazon(arms), render(arms, { size, shape, damask, chargeStyle }) (a canvas; damask is scrolls, lattice, brocade or none; chargeStyle is painted, outlined, silhouette or line), normaliseArms(data), open({ actor, state }), ready() (loads the charge pictures), and the ids it uses in charges, tinctures, shapes and chargeStyles.
generate, render and open are async: they load the pictures first.
Arms are plain JSON: a field (tincture, division or variation), an ordinary with its charges, the charges on the field, and for a divided shield of two coats, the two halves.