Phase 2: full compendium across all categories + PF2e data
- Scraped PF2e reference from Archives of Nethys ES into public/data/pf2e/ (spells, creatures, feats, equipment, weapons, armor, ancestries, heritages, backgrounds, archetypes, actions, conditions, deities) via scripts/fetch_pf2e.ts - Registry-driven compendium: system toggle + per-category nav + generic filters - 5e expanded: weapons, armor, feats, conditions added alongside spells/monsters/items - PF2e data served as static assets (fetched, not bundled) for fast native parse - Cross-links: add spell->spellbook / item->inventory to a campaign character; add monster/creature -> open encounter - Condition tooltips in combat sourced from the conditions glossary - Tests: registry filter unit tests, compendium e2e (browse + cross-link) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
[
|
||||
{
|
||||
"category": "spell",
|
||||
"file": "spells",
|
||||
"count": 2455
|
||||
},
|
||||
{
|
||||
"category": "creature",
|
||||
"file": "creatures",
|
||||
"count": 4702
|
||||
},
|
||||
{
|
||||
"category": "condition",
|
||||
"file": "conditions",
|
||||
"count": 98
|
||||
},
|
||||
{
|
||||
"category": "feat",
|
||||
"file": "feats",
|
||||
"count": 8402
|
||||
},
|
||||
{
|
||||
"category": "ancestry",
|
||||
"file": "ancestries",
|
||||
"count": 94
|
||||
},
|
||||
{
|
||||
"category": "heritage",
|
||||
"file": "heritages",
|
||||
"count": 432
|
||||
},
|
||||
{
|
||||
"category": "background",
|
||||
"file": "backgrounds",
|
||||
"count": 612
|
||||
},
|
||||
{
|
||||
"category": "archetype",
|
||||
"file": "archetypes",
|
||||
"count": 335
|
||||
},
|
||||
{
|
||||
"category": "weapon",
|
||||
"file": "weapons",
|
||||
"count": 614
|
||||
},
|
||||
{
|
||||
"category": "armor",
|
||||
"file": "armor",
|
||||
"count": 75
|
||||
},
|
||||
{
|
||||
"category": "equipment",
|
||||
"file": "equipment",
|
||||
"count": 8605
|
||||
},
|
||||
{
|
||||
"category": "action",
|
||||
"file": "actions",
|
||||
"count": 3950
|
||||
},
|
||||
{
|
||||
"category": "deity",
|
||||
"file": "deities",
|
||||
"count": 716
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user