Something went wrong. Try again.
Starship Simulator Controls thoriumsim.com
Something went wrong. Try again.
476 B · 12 lines
TypeScript
at develop
12345678910111213import z from "zod";
export const isFaction = z .object({ /** How likely a ship of this faction will engage with a new target, 0 is passive, 1 is aggressive */ aggressiveness: z.number().default(0.5), /** What short range comm frequency ranges the faction likes to call on */ shortRangeFrequencyRange: z.tuple([z.number(), z.number()]).default([265.5, 286.25]), }) .default({});
export const faction = z.object({ factionId: z.number().default(-1) }).default({});