Skip to content

HexTileDeclarationInput

Defined in: src/scenario/registry.ts:82

Author input for registering KayKit-compatible or custom hex pieces.

optional adjacency?: readonly TileAdjacencyRule[]

Defined in: src/scenario/registry.ts:104

Adjacency rules consumed by validation and generators.


optional assetId?: string

Defined in: src/scenario/registry.ts:86

Manifest asset id to place when this declaration is applied.


optional bounds?: AssetBounds

Defined in: src/scenario/registry.ts:96

Asset bounds used by geometry analysis and compatibility warnings.


optional edges?: Partial<Record<string, HexEdgeInput>>

Defined in: src/scenario/registry.ts:102

Edge connection masks keyed by channel.


optional geometry?: Partial<HexGeometry>

Defined in: src/scenario/registry.ts:98

Hex footprint geometry for placement and scaling calculations.


id: string

Defined in: src/scenario/registry.ts:84

Stable declaration id used by recipes and registry lookups.


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

Defined in: src/scenario/registry.ts:110

Additional serializable metadata to copy onto placements.


optional role?: TileDeclarationRole

Defined in: src/scenario/registry.ts:90

Board construction role for the declaration.


optional scale?: number

Defined in: src/scenario/registry.ts:100

Default placement scale for feature/unit declarations.


optional source?: string

Defined in: src/scenario/registry.ts:88

Human-readable source label, commonly manifest, extra, or a pack id.


optional stack?: Partial<TileStackRule>

Defined in: src/scenario/registry.ts:106

Stacking behavior overrides.


optional tags?: readonly string[]

Defined in: src/scenario/registry.ts:108

Search and selection tags attached to the declaration.


optional terrain?: GameboardTerrain

Defined in: src/scenario/registry.ts:92

Default terrain assigned when the declaration becomes the base tile.


optional textureSet?: "default" | "fall" | "summer" | "winter"

Defined in: src/scenario/registry.ts:94

Texture set associated with the declaration when it came from a pack variant.