factionBuildingAssetId
factionBuildingAssetId(
kind,faction):string
Defined in: src/scenario/catalog.ts:786
Builds a faction-colored building asset id.
Parameters
Section titled “Parameters”"archeryrange" | "barracks" | "blacksmith" | "castle" | "church" | "docks" | "home_A" | "home_B" | "lumbermill" | "market" | "mine" | "shipyard" | "shrine" | "stables" | "tavern" | "tent" | "townhall" | "tower_A" | "tower_B" | "tower_base" | "tower_cannon" | "tower_catapult" | "watchtower" | "watermill" | "well" | "windmill" | "workshop"
faction
Section titled “faction”"blue" | "green" | "red" | "yellow"
Returns
Section titled “Returns”string