five-on-it / packages/missions/src/schema / ScheduleHour
Variable: ScheduleHour
constScheduleHour:ZodObject<{at:ZodString;do:ZodEnum<{break:"break";goto:"goto";home:"home";patrol:"patrol";post:"post";sit:"sit"; }>;every:ZodOptional<ZodNumber>;for:ZodOptional<ZodNumber>;patrol:ZodOptional<ZodArray<ZodString>>;place:ZodOptional<ZodString>; },$strict>
Defined in: packages/missions/src/schema.ts:367
One hour of an NPC's schedule (GAME_DESIGN §5.4): from a time of day, go to a place and stay (goto), keep a post at it (post), walk a patrol through places (patrol), go home (home): walk to a place (a door) and vanish indoors, to come back out of it at the next hour, or take a break (break): stand at a place off guard, its phone out. A plain hour lasts until the next plain one (a shift); a timed one lasts for so many minutes and hands the plain hour back (a break, a round of the yard), recurring every so many minutes from its time until the next plain hour begins, which ends it on time.