Reference · Rockets, variants, parts and the fit check
titleBlockfunction
A sheet's title block, written in-universe: the SPX fleet drawing office, the vehicle as "ISV <name>, <registry>", the maker "SPX", its class, drive and computer in the fleet's own codes (see GLOSSARY), and a
status in the future tense: "PLANNED · FIRST FLIGHT 2412" or "IN DEVELOPMENT · FIRST FLIGHT PLANNED 2412", never "in service". A date is a planned date. The operator is FLEET_OPERATOR, just "SPX".
Import it
import { titleBlock } from "@johnmorrisdotca/uchusen-rockets";
Definition
function titleBlock(o: { designation: string; name: string; shipClass?: "IHT" | "ICV" | "IXV"; drive?: { code: "FTD" | "DCD"; count: number; }; computer?: string; ja?: { kanji: string; ruby: string; }; sheet: string; sheetNo: readonly [number, number]; scale: string; revision: string; date: string; stage: "planned" | "development"; firstFlight: number; }): TitleBlock
Parameters
| Name | Type | Description |
|---|---|---|
o | { designation: string; name: string; shipClass?: "IHT" | "ICV" | "IXV"; drive?: { code: "FTD" | "DCD"; count: number; }; computer?: string; ja?: { kanji: string; ruby: string; }; sheet: string; sheetNo: readonly [number, number]; scale: string; revision: string; date: string; stage: "planned" | "development"; firstFlight: number; } | The designation (SPX- and any registry number, such as SPX-207) and name, its Japanese name with its ruby ( |
Returns
TitleBlock
The block's rows, its status line and the vehicle's line.
Examples
import { titleBlock } from "@johnmorrisdotca/uchusen-rockets";
const block = titleBlock({ designation: "SPX-207", name: "Kaminari", shipClass: "IHT", drive: { code: "FTD", count: 8 }, computer: "KAZE core v4", sheet: "exterior", sheetNo: [1, 8], scale: "1:1000", revision: "A", date: "2026-11-04", stage: "planned", firstFlight: 2412 });
console.log(block.line, block.status);ISV Kaminari, SPX-207 · IHT class · SPX · FTD ×8 · KAZE core v4 PLANNED · FIRST FLIGHT 2412What it prints (run when this page was built)