Skip to content

five-on-it / packages/ai/src/police-tech / techCommand

Function: techCommand() ​

techCommand(ai, client, op): boolean

Defined in: packages/ai/src/police-tech.ts:698

What a player asks of their tech from the phone (@foi/protocol's TechCommand): checked as any input (the gadget carried, the app installed, the cool-down over, the cash there). Returns whether it did anything.

Parameters ​

ai ​

AiWorld

client ​

number

op ​

"smoke" | "loop" | "jammer" | "greenWave" | "lawyer" | "redBehind" | "hackStart" | "hackStop"

Returns ​

boolean