Skip to content

Asset generation: placeholder SVGs for new cards #578

Description

@SorraTheOrc

Summary: Use scripts/generate-main-street-card-svgs.mjs to generate placeholder SVG art for new card templates and ensure runtime asset resolution.

Acceptance Criteria

  • Generator produces SVGs for all new card IDs and places them in public/assets/cards/main-street/ (or configured path).
  • Game references resolve generated asset filenames without per-card wiring.
  • A smoke test verifies asset resolution at runtime.

Minimal implementation:

  • Extend generator input to accept new card list or run generator over registry; commit generated assets or ensure generator runs during build.
  • Add small test that loads a generated SVG path.

Deliverables: generated SVG files (or documented generator run), smoke test.

Dependencies: CG-0MP1QZ97R004SZFM (Data-driven card definitions).}timeout=120000indered_errorrophic_execution_exception_readonly_operator_concurrencyyrmakUnexpectedOutputChallenge.fastjsonTrailingCharactersPleaseRetryLater.jsonproblematicfictionaluditanceled

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions