Skip to content

mapThings beta ​

Function of @v12-engine/engine

ts
export declare function mapThings(map: {
    data: Record<string, unknown>;
}, kind: string): MapThing[];

The things of a kind of a game's own on a map (MapThing), as the map keeps them: none for a kind it has nothing of. What is kept under that name and is no thing (no id, no place) is left out, so that a file changed by hand breaks no rule that reads it