Skip to content

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

Variable: StealthHooks ​

const StealthHooks: ZodObject<{ bonus: ZodOptional<ZodObject<{ cash: ZodDefault<ZodNumber>; rep: ZodDefault<ZodNumber>; }, $strict>>; unseen: ZodOptional<ZodEnum<{ bonus: "bonus"; fail: "fail"; }>>; withoutAlerts: ZodOptional<ZodEnum<{ bonus: "bonus"; fail: "fail"; }>>; withoutKills: ZodOptional<ZodEnum<{ bonus: "bonus"; fail: "fail"; }>>; }, $strict>

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

The hooks of stealth (GAME_DESIGN §8): "without kills", "without alerts", "without being seen". Each says what breaking it does: fail fails the mission at once, bonus keeps the mission's bonus from being paid at completion (it is paid when every bonus hook was kept).