SetTerrainRecipeStep
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:118
Recipe step that assigns grass or water terrain to one hex.
Properties
Section titled “Properties”action
Section titled “action”action:
"setTerrain"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:120
Discriminator for terrain assignment.
at:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:122
Target hex coordinate.
baseAssetId?
Section titled “baseAssetId?”
optionalbaseAssetId?:string
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:128
Optional base tile asset override for the terrain.
elevation?
Section titled “elevation?”
optionalelevation?:number
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:126
Optional elevation to assign with the terrain.
terrain
Section titled “terrain”terrain:
"grass"|"water"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:124
Terrain value to assign.
textureSet?
Section titled “textureSet?”
optionaltextureSet?:"default"|"fall"|"summer"|"winter"
Defined in: packages/declarative-hex-worlds/src/scenario/recipe.ts:130
Optional texture set override for this tile.