Skip to content

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

Variable: DeliverObjective ​

const DeliverObjective: ZodObject<{ checkpoint: ZodOptional<ZodBoolean>; count: ZodOptional<ZodNumber>; failText: ZodOptional<ZodString>; hint: ZodOptional<ZodString>; id: ZodString; item: ZodOptional<ZodString>; marker: ZodOptional<ZodString>; maxDamage: ZodOptional<ZodNumber>; 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>; to: ZodString; vehicle: ZodOptional<ZodString>; verb: ZodLiteral<"deliver">; }, $strict>

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

Deliver a mission's vehicle or items: drive the vehicle into a zone or a garage actor's bay (fails when it is wrecked, or when it has taken more than maxDamage per cent of its health); or bring count items answering to the tag item into a zone (they are handed over there) or put them into a container actor (to names a zone, a container or a garage).