Skip to content

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

Function: propsInBuildings() ​

propsInBuildings(level, judged): PieceFinding[]

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

A prop inside a building: its core shares a quarter of its footprint with the building's, and the building's own faces lie over and under it (not a prop on the roof, nor one under an awning). A prop at one of the building's anchors belongs there, and what stands in a building people walk into is its furniture.

Parameters ​

level ​

LevelData

judged ​

Map<number, Judged>

Returns ​

PieceFinding[]