Skip to content

five-on-it / packages/missions/src/schema / Zone

Variable: Zone ​

const Zone: ZodObject<{ kind: ZodOptional<ZodEnum<{ checkpoint: "checkpoint"; dropoff: "dropoff"; pickup: "pickup"; race_gate: "race_gate"; restricted: "restricted"; safe: "safe"; spawn: "spawn"; }>>; place: ZodString; radius: ZodNumber; raises: ZodOptional<ZodEnum<{ alert: "alert"; heat: "heat"; }>>; role: ZodOptional<ZodEnum<{ guards: "guards"; hospital: "hospital"; players: "players"; police: "police"; traffic: "traffic"; }>>; }, $strict>

Defined in: packages/missions/src/schema.ts:142

An area around a place: everything within radius metres of it, on the ground; of a kind when it says. A restricted zone raises the compound's alert (the default) or the Heat; a spawn area has its role.