Something went wrong. Try again.
Starship Simulator Controls thoriumsim.com
Something went wrong. Try again.
441 B · 14 lines
TypeScript
at develop
123456789101112131415import z from "zod";
/** * Any entity that has this component will automatically be cleaned up * when its list of entityIds is empty. To make an entity immortal, either * add the flight entity ID to the list, or remove this component. */export const disposable = z.object({ /** * IDs of entities that this entity is connected to. * If the list is empty, then the entity should be removed. */ entityIds: z.number().array(),});