five-on-it / packages/missions/src/schema / Value
Variable: Value
constValue:ZodUnion<readonly [ZodNumber,ZodObject<{counter:ZodString; },$strict>,ZodObject<{timeLeft:ZodLiteral<true>; },$strict>,ZodObject<{elapsed:ZodLiteral<true>; },$strict>,ZodObject<{count:ZodUnion<readonly [ZodObject<{players:ZodObject<{caught:ZodOptional<...>;group:ZodOptional<...>;in:ZodOptional<...>;near:ZodOptional<...>;tag:ZodOptional<...>;team:ZodOptional<...>; },$strict>; },$strict>,ZodObject<{enemies:ZodObject<{caught:ZodOptional<...>;group:ZodOptional<...>;in:ZodOptional<...>;near:ZodOptional<...>;tag:ZodOptional<...>;team:ZodOptional<...>; },$strict>; },$strict>,ZodObject<{vehicles:ZodObject<{caught:ZodOptional<...>;group:ZodOptional<...>;in:ZodOptional<...>;near:ZodOptional<...>;tag:ZodOptional<...>;team:ZodOptional<...>; },$strict>; },$strict>,ZodObject<{items:ZodObject<{caught:ZodOptional<...>;group:ZodOptional<...>;in:ZodOptional<...>;near:ZodOptional<...>;tag:ZodOptional<...>;team:ZodOptional<...>; },$strict>; },$strict>]>; },$strict>,ZodObject<{distance:ZodTuple<[ZodUnion<readonly [ZodLiteral<"player">,ZodObject<{actor:ZodString; },$strict>,ZodObject<{place:ZodString; },$strict>,ZodObject<{team:ZodString; },$strict>]>,ZodUnion<readonly [ZodLiteral<"player">,ZodObject<{actor:ZodString; },$strict>,ZodObject<{place:ZodString; },$strict>,ZodObject<{team:ZodString; },$strict>]>],null>; },$strict>,ZodObject<{health:ZodUnion<readonly [ZodLiteral<"player">,ZodObject<{actor:ZodString; },$strict>,ZodObject<{place:ZodString; },$strict>,ZodObject<{team:ZodString; },$strict>]>; },$strict>,ZodObject<{wanted:ZodLiteral<true>; },$strict>,ZodObject<{phaseOf:ZodUnion<readonly [ZodLiteral<"compound">,ZodString]>; },$strict>,ZodObject<{phase:ZodEnum<{alert:"alert";caution:"caution";normal:"normal";search:"search";suspicious:"suspicious"; }>; },$strict>,ZodObject<{kills:ZodLiteral<true>; },$strict>,ZodObject<{alerts:ZodLiteral<true>; },$strict>,ZodObject<{seen:ZodLiteral<true>; },$strict>,ZodObject<{form:ZodString; },$strict>,ZodObject<{time:ZodLiteral<true>; },$strict>]>
Defined in: packages/missions/src/schema.ts:617
A number a condition compares: a literal, a counter, the objective's seconds left, the mission's seconds so far, how many a query counts, the distance between two things (m), something's health (per cent), the player's Wanted level (stars, 0 to 3), what a field of an app's form holds (a number; 0 when it holds none, read by the screen's buttons), the alert phase (its rank, 0 normal to 4 alert) of an NPC actor or of the compound (the highest of the room's guards), a phase's rank to compare it with, how many people the player killed, alarms they caused and times they were seen since the mission started, and the time of day (minutes after midnight, by the room clock).