five-on-it / packages/missions/src/schema / UnlockObjective
Variable: UnlockObjective
constUnlockObjective:ZodObject<{checkpoint:ZodOptional<ZodBoolean>;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>>;target:ZodString;team:ZodOptional<ZodString>;text:ZodOptional<ZodString>;timeLimit:ZodOptional<ZodNumber>;verb:ZodLiteral<"unlock">; },$strict>
Defined in: packages/missions/src/schema.ts:903
Unlock a door or a vehicle actor: a door by its key, its keypad's code or an unlock; a vehicle by its key, by picking its lock, or an unlockVehicle (an app's button). Done once it is unlocked.