Reference · Rockets, variants, parts and the fit check
Insettype
A system inset: an id and name, what it is, and its numbered sub-parts.
Import it
import type { Inset } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface Inset {
id: string;
name: string;
note: string;
parts: readonly InsetPart[];
}
Members
| Name | Type | Description |
|---|---|---|
id | string | |
name | string | |
note | string | |
parts | readonly InsetPart[] |
Examples
import { INSETS, type Inset } from "@johnmorrisdotca/uchusen-rockets";
const inset: Inset = INSETS["life-support"];
console.log(inset.name, inset.parts.length);Life support 6What it prints (run when this page was built)