Skip to content

AddSiegeProjectileRecipeStep

Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:262

Recipe step that places a neutral siege projectile.

action: "addSiegeProjectile"

Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:264

Discriminator for siege projectile placement.


at: HexCoordinates

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:530

Tile where the projectile is anchored.

SiegeProjectileOptions.at


optional facing?: HexEdgeIndex

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:534

Edge the projectile travels or points toward; also used as the default rotation.

SiegeProjectileOptions.facing


optional kind?: "catapult"

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:532

Projectile visual kind. Defaults to catapult.

SiegeProjectileOptions.kind


optional rotationSteps?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:536

Clockwise 60-degree rotation steps. Overrides facing when provided.

SiegeProjectileOptions.rotationSteps


optional scale?: number

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:540

Uniform render scale.

SiegeProjectileOptions.scale


optional sourceId?: string

Defined in: packages/declarative-hex-worlds/src/gameboard/plan.ts:538

Optional source actor, structure, or attack id.

SiegeProjectileOptions.sourceId