five-on-it / packages/missions/src/schema / CatchObjective
Variable: CatchObjective
constCatchObjective:ZodObject<{checkpoint:ZodOptional<ZodBoolean>;count:ZodOptional<ZodNumber>;failText:ZodOptional<ZodString>;hint:ZodOptional<ZodString>;id:ZodString;marker:ZodOptional<ZodString>;next:ZodOptional<ZodObject<{done:ZodOptional<ZodUnion<readonly [ZodString,ZodString]>>;failed:ZodOptional<ZodUnion<readonly [ZodString,ZodString]>>; },$strict>>;radius:ZodDefault<ZodNumber>;seconds:ZodDefault<ZodNumber>;targets:ZodObject<{team:ZodString; },$strict>;team:ZodOptional<ZodString>;text:ZodOptional<ZodString>;timeLimit:ZodOptional<ZodNumber>;verb:ZodLiteral<"catch">; },$strict>
Defined in: packages/missions/src/schema.ts:1045
Catch the players of a rival team (a versus mission, GAME_DESIGN §13): a target is caught once it has stood stopped (on foot slower than 0.6 m/s, or not awake; in a car, the car that slow or wrecked: the test a chase makes) with a catcher of the objective's team within radius metres for seconds in a row. A caught target is out (it spectates) or goes back to its team's spawn, as the mission's play.onDeath says, and counts as a down for the lives; it must get moving again before it can be caught again. Done once count catches are made (as many as the target team has seats when absent). Rules hear team:<target>.caught.