Skip to content

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

Variable: SearchAreaObjective ​

const SearchAreaObjective: ZodObject<{ cell: ZodDefault<ZodNumber>; checkpoint: ZodOptional<ZodBoolean>; coverage: ZodDefault<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>>; team: ZodOptional<ZodString>; text: ZodOptional<ZodString>; timeLimit: ZodOptional<ZodNumber>; verb: ZodLiteral<"search_area">; zone: ZodString; }, $strict>

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

Search an area: walk a zone through, its ground split into cells cell metres wide; done once the player (the members of their party) have stood in coverage of its cells. The tracker says how much is covered and points at the nearest cell not yet searched.