Lane 11 PR 7: today's stat blocks become blocks on the new sheets (#737, D205) #974
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane11-7-convert"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #737 (lane 11, character sheets), PR 7 of the build contract (
docs/design/lane11-build-contract.md).What changes
11b2c3d4e5f6(chains on11a1b2c3d4e5). Every person's and creature'slore_entries.statsbecomes a creature sheet for its game, vialegacy.py'slegacy_map: PF2e, 5e, a pack's system, or the generic block when the game is gone.python -m app.sheets.rebuild_projections [--dry-run]does it on demand, and the worker runs it once at start.statsinput on create and update is translated throughlegacy_mapinto the page's creature sheet. The stat block editor, the importer, "Stat block" and "Convert stats" work on the sheet.Checks
tests/sheets, the content-pack suites, the lore suites andtest_quest_objectives_fk_migration: 861 passed.alembic upgrade headgives a single head11b2c3d4e5f6, anddowngrade -1/upgrade headround-trips.alembic/.tests/sheets/test_stat_block_conversion.py, which moves the one-head pin.changelog.d/737-lane11-*convert*(added).PR 8 (packs) is stacked on this and re-points its migration
11c3d4e5f6a7onto11b2c3d4e5f6.🤖 Generated with Claude Code