Repository navigation
v0.9.0
dndpaste 0.9 gives class options their own keys and makes the editor tell you how to fix what it flags. Old pastes still read and mean the same: this release only adds forms.
Try it: https://dndpaste.fcomfy.workers.dev
The format (SPEC 0.9)
- Option families get their own keys:
Invocations,Metamagic,Maneuvers,Infusions,Arcane Shots,Runes,DisciplinesandPact Boon.Optionsstill takes any option, and takes a marker for a family with no key of its own:Options (Soul Techniques): …. - A level cap on spell lines:
Spells (6th): Mass Suggestionlists the spells picked from a higher slot level, next to the uncapped line. - A
Notekey for a plan, a second version or a reminder. It isn't part of the build. - A chosen form in brackets on pacts and summons:
Pact of the Chain [Imp],Find Steed [Warhorse]. - Granted features and spells can be written as plain lines, to show what a build relies on. The checker doesn't count them as picks.
- A
Subclassline goes in the header or in the level block where the class gains its subclass.Diviner Wizardis accepted. - A name with no source code means its newest printing within the paste's
Rules. An Unearthed Arcana name always carries its code.
The library
- Every diagnostic has a short hint, and most have a fix you can apply with
applyFix. tidymakes every safe fix, then writes the canonical form. It never refuses: a line it can't fix stays as written.emitkeeps a line with an error instead of dropping it.- New helpers:
resolveKey,keyGroup,levelCap,familyOf,familyKey,foldOptions.dndpaste/sourceslists the Unearthed Arcana codes. - The CLI has a
tidycommand.checkexits 1 on errors, and--strictalso exits 1 on warnings. - The package exports now list
typesfirst, so TypeScript finds them.
The site
- The editor suggests names from the SRD as you type, and keys for the line you're on.
- One click fixes many errors. Tidy shows a badge with its changes, and you can leave any of them out.
- Empty lines show as a "To choose" list instead of a wall of warnings.
- The site remembers your author name in your browser.
- Shared builds hide empty lines and list their sources.
Migrating from 0.8
Nothing to do: 0.8 pastes keep their meaning and their canonical form. If you write pastes, you can switch to the new keys line by line. Code that reads the AST should read options from every key in the Options group and spells from every key in the Spells and Prepared groups (keyGroup tells you which). The CHANGELOG has the full list, with an example of each change.
Feedback
Found a build you can't write, or a paste that reads wrong? Open an issue.
dndpaste is unofficial fan content, not approved or endorsed by Wizards of the Coast. It stores names only, never rules text.
Full Changelog: v0.8.0...v0.9.0