Skip to content

GameboardPieceCompatibilityDeclarationOptions

Defined in: src/pieces/pieces.ts:77

Overrides applied while declaring one piece from compatibility analysis.

optional archetype?: GameboardLayoutArchetypeInput

Defined in: src/pieces/pieces.ts:51

Layout archetype id or inline archetype.

GameboardPieceDeclarationInput.archetype


optional assetId?: string

Defined in: src/pieces/pieces.ts:43

Render asset id. Defaults to id.

GameboardPieceDeclarationInput.assetId


optional criteria?: GameboardLayoutCriteria

Defined in: src/pieces/pieces.ts:59

Layout criteria for selecting valid sites.

GameboardPieceDeclarationInput.criteria


optional elevationOffset?: number

Defined in: src/pieces/pieces.ts:65

Vertical offset above the tile elevation.

GameboardPieceDeclarationInput.elevationOffset


optional footprint?: GameboardLayoutFootprintInput

Defined in: src/pieces/pieces.ts:57

Placement footprint.

GameboardPieceDeclarationInput.footprint


optional id?: string

Defined in: src/pieces/pieces.ts:79

Override piece id. Defaults to the compatibility report id.


optional kind?: GameboardPlacementKind

Defined in: src/pieces/pieces.ts:53

Placement kind override.

GameboardPieceDeclarationInput.kind


optional label?: string

Defined in: src/pieces/pieces.ts:45

Human-readable label. Defaults from id.

GameboardPieceDeclarationInput.label


optional layer?: GameboardPlacementLayer

Defined in: src/pieces/pieces.ts:55

Placement layer override.

GameboardPieceDeclarationInput.layer


optional metadata?: Readonly<Record<string, string | number | boolean | null>>

Defined in: src/pieces/pieces.ts:71

Serializable metadata merged into generated placements.

GameboardPieceDeclarationInput.metadata


optional requiresExtra?: boolean

Defined in: src/pieces/pieces.ts:67

Whether the asset is local-only or EXTRA.

GameboardPieceDeclarationInput.requiresExtra


optional role?: GameboardPieceRole

Defined in: src/pieces/pieces.ts:49

Placement role. Defaults from id heuristics.

GameboardPieceDeclarationInput.role


optional rotationSteps?: number | "random"

Defined in: src/pieces/pieces.ts:63

Clockwise 60-degree rotation steps or random rotation.

GameboardPieceDeclarationInput.rotationSteps


optional scale?: number

Defined in: src/pieces/pieces.ts:61

Uniform render scale.

GameboardPieceDeclarationInput.scale


optional source?: string

Defined in: src/pieces/pieces.ts:47

Source pack or registry name.

GameboardPieceDeclarationInput.source


optional tags?: readonly string[]

Defined in: src/pieces/pieces.ts:69

Piece tags used by registry selection.

GameboardPieceDeclarationInput.tags