Something went wrong. Try again.
Starship Simulator Controls thoriumsim.com
Something went wrong. Try again.
417 B · 19 lines
TypeScript
at develop
1234567891011121314151617181920import z from "zod";
/** * Hull is the health of the entity */export const hull = z .object({ /** * How much energy the hull is able to withstand before * being destroyed. Measured in gigajoules. */ maxHull: z.number().default(10), /** * How much energy the hull is able to withstand before * being destroyed. Measured in gigajoules. */ hull: z.number().default(10), }) .default({});