Skip to content

registeredPackClassifiers

registeredPackClassifiers(): readonly PlacementClassifier[]

Defined in: packages/declarative-hex-worlds/src/cli/commands/bootstrap/pack-bootstrap.ts:157

The recognized-pack PlacementClassifiers (RFC0-TAGb): one per registered pack, mapping each pack’s registry category to its default gameplay classifiers (Adventurers → playable, Skeletons → enemy/random-encounter; terrain packs contribute none). Compose these ON TOP of DEFAULT_PLACEMENT_CLASSIFIERS so a placement sourced from a recognized pack is auto-classified:

const classifiers = [...DEFAULT_PLACEMENT_CLASSIFIERS, ...registeredPackClassifiers()];
classifyPlacement(placement, classifiers);

readonly PlacementClassifier[]