five-on-it / packages/missions/src/schema / VehicleActor
Variable: VehicleActor
constVehicleActor:ZodObject<{at:ZodString;class:ZodUnion<readonly [ZodString,ZodArray<ZodString>]>;id:ZodString;key:ZodOptional<ZodString>;locked:ZodDefault<ZodBoolean>;owner:ZodDefault<ZodEnum<{mission:"mission";nobody:"nobody";npc:"npc"; }>>;tags:ZodDefault<ZodArray<ZodString>>;type:ZodLiteral<"vehicle">; },$strict>
Defined in: packages/missions/src/schema.ts:246
A vehicle a mission spawns at a place (GAME_DESIGN §5.5, §6.3: the mission's vehicle spawner), of a vehicle class by name (compact, box truck) or of a mix (a list: each run of the mission takes the next); the mission's own unless owner says, locked when locked says, its lock answering to an item tagged key (key:vehicle:<id> when absent: a mission's item with that tag is its key, given, laid out or hidden like any).