feat: flat spell frontmatter, full source-book titles, drop circle

Parser reads human-friendly flat keys (range, targets, castingTime, overcast
list, threshold/successes, ...) and expands them to SpellData; fixes
[object Object] range, empty targets/casting time and blank overcast rows.
SOURCE_BOOKS ids now match vault slugs and show full book titles.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 12:35:16 +02:00
co-authored by Claude Sonnet 5.5
parent 5f8e62ba02
commit 6b8d93f772
14 changed files with 165 additions and 77 deletions
+3 -3
View File
@@ -160,9 +160,9 @@ export const WITCH_SYMBOLS: readonly string[] = Object.freeze([
/** Source-book provenance for compendium content. */
export const SOURCE_BOOKS = [
'core-rules', 'magic-book', 'arcanum-sanguinis',
'crimson-cult', 'abyss-curse', 'humanity-guide',
'bestiary', 'gold-steel-magic',
'podrecznik-gry', 'ksiega-magii', 'arcanum-sanguinis',
'crimson-cult', 'klatwa-otchlani', 'przewodnik',
'bestiariusz', 'zlote-stal-magia',
] as const;
export type SourceBook = (typeof SOURCE_BOOKS)[number];