five-on-it / packages/missions/src/schema / Place
Variable: Place
constPlace:ZodObject<{name:ZodOptional<ZodString>;role:ZodOptional<ZodEnum<{guards:"guards";hospital:"hospital";players:"players";police:"police";traffic:"traffic"; }>>;tags:ZodOptional<ZodArray<ZodString>>;x:ZodNumber;y:ZodOptional<ZodNumber>;yaw:ZodOptional<ZodNumber>;z:ZodNumber; },$strict>
Defined in: packages/missions/src/schema.ts:105
A named point of the level (m, the game's frame): y is the ground's height there when absent, yaw faces +z when absent. A role makes it a spawn point of that role too (GAME_DESIGN §5.3): where the police cars or the ambient traffic come out, a mission's guards, a hospital where players come back (a building's anchor, named as a place). A generated level's building places carry the building's OpenStreetMap-style tags and, in a themed district, its invented name.