Skip to content

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

Variable: Path ​

const Path: ZodUnion<readonly [ZodObject<{ gates: ZodArray<ZodString>; laps: ZodDefault<ZodNumber>; }, $strict>, ZodObject<{ loop: ZodDefault<ZodBoolean>; patrol: ZodArray<ZodString>; }, $strict>]>

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

A path of the game (GAME_DESIGN §5.3): a race, its gates in order (zones of the kind race_gate) and how many laps of them; or a patrol, its places in order, looping or back and forth (what an NPC's path may name instead of its own patrol or route).