five-on-it / packages/missions/src/schema / Team
Variable: Team
constTeam:ZodObject<{id:ZodString;name:ZodOptional<ZodString>;players:ZodOptional<ZodObject<{max:ZodNumber;min:ZodNumber; },$strict>>;police:ZodOptional<ZodBoolean>;roles:ZodOptional<ZodArray<ZodEnum<{dispatcher:"dispatcher";driver:"driver";gunner:"gunner";hacker:"hacker";medic:"medic"; }>>>;spawn:ZodOptional<ZodString>;wanted:ZodOptional<ZodNumber>; },$strict>
Defined in: packages/missions/src/schema.ts:1916
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). A team may play the police (police: its players cuff, call backup from a dispatch budget and are never wanted; the game needs police), have its players wanted at so many stars at least for the whole run (wanted: Most Wanted's ten never cool), and offer roles its players pick in the run's room (roles, one player a role: PLAYER_ROLES; the dispatcher only on a police team).