Skip to content

five-on-it / packages/protocol/src/police / TechCommand

Variable: TechCommand ​

const TechCommand: ZodObject<{ op: ZodEnum<{ greenWave: "greenWave"; hackStart: "hackStart"; hackStop: "hackStop"; jammer: "jammer"; lawyer: "lawyer"; loop: "loop"; redBehind: "redBehind"; smoke: "smoke"; }>; type: ZodLiteral<"tech">; }, $strip>

Defined in: packages/protocol/src/police.ts:338

What a player asks of their tech from the phone (a text frame the server checks like any input: the gadget carried, the app installed, the cool-down over, the cash there): switch the jammer on or off; the traffic hack's red light behind them or green wave ahead; the camera loop; a cruiser hack started (the police car they aim at) or let go of; LawyerUp™; the scout drone's smoke dropped.