Skip to content

GAMEPLAY_CATEGORIES

const GAMEPLAY_CATEGORIES: readonly ["unit", "pc", "npc", "enemy", "encounter", "prop", "structure"]

Defined in: packages/declarative-hex-worlds/src/asset-source/spec.ts:39

A SUGGESTED gameplay category for a model/sprite asset — what it should be in a game, orthogonal to its role (which is the asset TYPE). A downloaded pack (e.g. KayKit Adventurers → pc, Skeletons → enemy) or a bind scan declares these as DEFAULTS the developer accepts or overrides; the engine never forces a category. unit = a player/AI-controlled piece; pc/npc = playable/non-playable character; enemy = hostile; encounter = a random-encounter spawn; prop = decoration; structure = a building. undefined = uncategorized (a plain model).