Skip to content

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

Variable: PropActor ​

const PropActor: ZodObject<{ at: ZodString; id: ZodString; type: ZodLiteral<"prop">; }, $strict>

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

The level's light piece nearest a place (GAME_DESIGN §5.2: a hydrant, a street lamp, a traffic light, a bench, within a few metres): destroy names it, done once a car knocks it loose; rules hear prop:<id>.destroyed. Light pieces are the level's: a mission never adds one.