Skip to content

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

Variable: LoseObjective ​

const LoseObjective: ZodObject<{ checkpoint: ZodOptional<ZodBoolean>; distance: ZodNumber; failText: ZodOptional<ZodString>; group: 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>>; seconds: ZodNumber; team: ZodOptional<ZodString>; text: ZodOptional<ZodString>; timeLimit: ZodOptional<ZodNumber>; verb: ZodLiteral<"lose">; }, $strict>

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

Get away from a group: none of it within distance (m) of the player for seconds in a row; fails when the player goes down.