Skip to content

five-on-it / packages/missions/src/schema / Team

Variable: Team ​

const Team: ZodObject<{ id: ZodString; name: ZodOptional<ZodString>; players: ZodOptional<ZodObject<{ max: ZodNumber; min: ZodNumber; }, $strict>>; spawn: ZodOptional<ZodString>; }, $strict>

Defined in: packages/missions/src/schema.ts:1512

A team of a run (GAME_DESIGN §13): the players who share its objectives, by id, with a name to show, the players it takes (a co-op mission has one team, crew by default) and, in versus, the zone its players start in and come back to (spawn: spread round its place).