Skip to content

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

Variable: DoorActor ​

const DoorActor: ZodObject<{ at: ZodString; code: ZodOptional<ZodString>; id: ZodString; lock: ZodOptional<ZodString>; locked: ZodOptional<ZodBoolean>; type: ZodLiteral<"door">; }, $strict>

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

The level's door nearest a place (within a few metres): the mission locks it (locked), with the tag its key answers to (lock) when given, and its rules lock and unlock it.