five-on-it / packages/missions/src/schema / DefendObjective
Variable: DefendObjective
constDefendObjective:ZodObject<{checkpoint:ZodOptional<ZodBoolean>;failIf:ZodOptional<ZodType<Condition,unknown,$ZodTypeInternals<Condition,unknown>>>;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>>;seconds:ZodNumber;team:ZodOptional<ZodString>;text:ZodOptional<ZodString>;timeLimit:ZodOptional<ZodNumber>;verb:ZodLiteral<"defend">;zone:ZodString; },$strict>
Defined in: packages/missions/src/schema.ts:820
Hold a zone: its clock runs while the player is inside, and the objective is done once it has run seconds in all; fails when failIf holds or the player goes down.