Skip to content

five-on-it / packages/ai/src/police / techDivisionAlone

Function: techDivisionAlone() ​

techDivisionAlone(ai, client, stars?): boolean

Defined in: packages/ai/src/police.ts:1142

The debug command tech: a player wanted at stars (eight by default) gets the tech division alone, the police sending them nothing else (no cruiser, no drone, no heavy unit) until their stars are set again: the tests' way to meet the kill switch, the swarm and the robots without the rest. Returns whether it took.

Parameters ​

ai ​

AiWorld

client ​

number

stars? ​

number = 8

Returns ​

boolean