Skip to content

GameboardScenarioSimulationCommandStep

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:94

Runs an interaction command against a target.

action: "command"

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:97

Step discriminator.


optional command?: Omit<RunGameboardInteractionOptions, "systems" | "handlers">

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:103

Command execution options excluding systems and handlers.


optional handler?: "remove-target-actor" | "remove-target-placement" | "mark-target-interacted" | "default-rpg"

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:105

Single built-in command handler preset.


optional handlerOptions?: CreateGameboardInteractionHandlerPresetOptions

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:109

Options for built-in command handler presets.


optional handlers?: readonly ("remove-target-actor" | "remove-target-placement" | "mark-target-interacted" | "default-rpg")[]

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:107

Built-in command handler presets.


optional id?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:86

Optional stable step id used by reports and expectations.

GameboardScenarioSimulationStepBase.id


optional label?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:88

Human-readable step label for reports.

GameboardScenarioSimulationStepBase.label


optional sourceActor?: string

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:101

Source actor id used when the target must be planned.


optional systems?: false | RunGameboardSystemsOptions

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:111

Systems to run after command dispatch, or false to skip.


target: GameboardInteractionCommandInput

Defined in: packages/declarative-hex-worlds/src/simulation/script-types.ts:99

Command target or already-planned command.