Skip to content

five-on-it / packages/world/src/audit/pieces / PieceFacts

Interface: PieceFacts ​

Defined in: packages/world/src/audit/pieces.ts:19

What the audit needs to know of a piece of a shared kit (the kit library's record of it).

Properties ​

anchors? ​

optional anchors?: readonly readonly [number, number, number][]

Defined in: packages/world/src/audit/pieces.ts:25

Where its anchors stand in its own frame (m): what a generator stands there belongs there.


rests? ​

optional rests?: PieceRests

Defined in: packages/world/src/audit/pieces.ts:23

What it rests on (the ground when absent).


tags ​

tags: readonly string[]

Defined in: packages/world/src/audit/pieces.ts:21

Its tags (tree, barrier, amenity=bank).


walkIn? ​

optional walkIn?: boolean

Defined in: packages/world/src/audit/pieces.ts:27

Whether people walk into it (a building with floors inside): what stands in it is its furniture.