ebullient / ttrpg-convert-cli

Utility to convert JSON data (for content you own) from 5etools or pf2etools into Obsidian-friendly Markdown.
https://www.ebullient.dev/projects/ttrpg-convert-cli/
Apache License 2.0
174 stars 37 forks source link

🐛 Table dice formulas for files of variants are broken #351

Closed TheOnlyTails closed 5 months ago

TheOnlyTails commented 6 months ago

For some generated notes, mainly those for variants of other things (subclasses, subraces, variant background, etc.), the dice formulas for roll tables are broken, pointing to the base note instead of its variant.

The formulas should point to the current file, not the base variant.

As an example, in the artificer-alchemist-tce.md file, under "Experimental Elixir", the dice formula is specified as so:

dice: [](artificer-tce.md#^experimental-elixir)

When it should be:

dice: [](artificer-alchemist-tce.md#^experimental-elixir)

Or alternatively:

dice: [[artificer-alchemist-tce.md#^experimental-elixir]]

Configuration

Sources:

ttrpg-convert.out.txt