Skip to content

dndpaste 0.10.0

Choose a tag to compare

@francescocompa francescocompa released this 20 Nov 19:29
· 36 commits to main since this release

dndpaste 0.10 puts a species' lineage on the Species line, and lets you add names from your own sources to the editor. 0.9 pastes still read, and Tidy rewrites them in the new form.

Try it: https://dndpaste.fcomfy.workers.dev

The format (SPEC 0.10)

  • The lineage goes in brackets on the Species line: Species: Elf [Drow], Species: Dragonborn [Black], Species: Goliath [Fire]. This covers every pick that splits a species: Elven Lineage, Gnomish Lineage, Fiendish Legacy, Draconic Ancestry and Giant Ancestry.
  • The lineage's spellcasting ability comes next, in the same brackets: Species: Elf [Drow; WIS]. An Ability: WIS line in the Species block still reads.
  • 2014 subraces use the same form: Species: Elf|PHB [Wood]. As on every item, the source goes right after the name.
  • Every other species pick (skills, size, the origin feat) stays a line in the Species block.

The library

  • 0.9 pastes keep working. A lineage Feature line in the Species block reads with W006. A name like Elf (Wood)|PHB reads with W007. Both warnings have a safe fix, and tidy and emit write the bracket form.
  • A source written after the brackets (Elf [Wood]|PHB) is E011, with a safe fix.
  • The checker owns the lineage and ability slots on the Species line. It reads Wood Elf and Black Dragonborn as Elf [Wood] and Dragonborn [Black].
  • The checker no longer counts 2024 origin languages as extras. Common is free, and two more languages fill the origin.
  • New: dndpaste/extract, the slot extractor as a pure function (extractSlots, mergeData, srdSubset). Also speciesPicks, shortLineage and speciesLineage.

The site

  • Type Species: Elf [ and the editor lists the lineages, then the abilities. Picking a species that has lineages writes Elf [] and opens the list.
  • 2014 subraces are lineage options of their species now, not separate species names.
  • Your own sources (/sources): add a names file, a folder from your computer or a GitHub link. Its names join the editor's suggestions, the options inside [ ] and the pick counts. Everything stays in your browser. Nothing is uploaded.
  • The format guide and its example use the new Species line. Saved shares re-render.

Migrating from 0.9

You don't have to change anything. 0.9 pastes keep their meaning, and Tidy (or tidy in the library) moves a lineage Feature line onto the Species line. Code that reads the AST finds the lineage and its ability in the Species item's details: speciesPicks from dndpaste/check returns both. The CHANGELOG has the full list.

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.