Skip to content

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

Variable: GiveObjective ​

const GiveObjective: ZodObject<{ checkpoint: ZodOptional<ZodBoolean>; count: ZodDefault<ZodNumber>; failText: ZodOptional<ZodString>; hint: ZodOptional<ZodString>; id: ZodString; item: 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>; to: ZodString; verb: ZodLiteral<"give">; }, $strict>

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

Hand items over (GAME_DESIGN §20): count items answering to the tag item to a person (an npc actor of the contact role: the interaction key at them says Give while the player carries them, and puts them in their pockets) or into a container actor (through its panel). Done once they have changed hands during the objective.