five-on-it / packages/ai/src/police-cops-state
packages/ai/src/police-cops-state
The state of the players who play the police and of the prison transports (the ten-star build's F phase, GAME_DESIGN §12), as the police's book keeps it (wanted.ts' PoliceBook.cops): the cop players (P1) and the dispatcher among them (P2), each team's dispatch budget and its orders' cooldowns, the backup they called (kept out past what the stars alone would send), the players whose stars are pinned (P4's Most Wanted), the prison transports on their way (M8, P5) and what happened since the server last asked (a cuff, a transport stopped and opened, one arrived). Pure data: what it means is police-cops.ts', the hash of it here (copHashFields).