Commit Graph

4 Commits

Author SHA1 Message Date
Cal Corum
8f9a3dc14a Clean up bestiary descriptions: strip HTML and fix line breaks
- Removed HTML tags (<p>, etc.) from action/ability descriptions
- Fixed mid-sentence line breaks caused by PDF column formatting
- Descriptions now display cleanly in NPC sheet textareas

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 13:34:24 -06:00
Cal Corum
93eb393e5a Fix bestiary compendium _key prefix for Actor type
Changed _key from !items! to !actors! in all 92 bestiary JSON files.
Actor compendiums require the !actors! prefix to be recognized by Foundry.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 13:15:37 -06:00
Cal Corum
55a3b6ca52 Fix bestiary stat errors found during PDF audit
Corrected swapped stats between creature entries:
- Beetle Bombardier/Tiger: HD, HP, Armor, Morale were swapped
- Boar/Boar Giant: speeds were swapped (40↔50)
- Cattle/Crab Giant: speeds were swapped (20↔25)
- Beetle Giant Fire: speed corrected to 40

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 12:59:49 -06:00
Cal Corum
bcbf8338ff Fix compendium IDs to be exactly 16 alphanumeric characters
Foundry VTT v13 requires all _id values to be exactly 16 characters.
Previous IDs ranged from 17-25+ characters and caused validation errors.

Changes:
- Use 7-char prefix per type (vgbdAnc, vgbdCls, vgbdPrk, etc.)
- Append 9-char name derived from filename with padding
- Handle collisions with numeric suffixes (e.g., vgbdPrkheighten1)

Files updated across all compendiums:
- Ancestries: 7 files
- Classes: 18 files
- Perks: 103 files (3 collision fixes)
- Spells: 58 files
- Weapons: 43 files
- Armor: 5 files
- Equipment: ~300 files (25 collision fixes)
- Bestiary: ~70 files (8 collision fixes)
- Statuses: ~15 files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 11:04:10 -06:00