@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
24 lines (23 loc) • 612 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
import type { ID } from "../types/ID.ts";
/**
* Written when accessing shipyard in a station.
*/
export interface Shipyard extends JournalEvent<"Shipyard"> {
MarketID: ID;
StarSystem: string;
StationName: string;
}
/**
* Extended shipyard info written to separate 'Shipyard.json' file.
*/
export interface ExtendedShipyard extends Shipyard {
Horizons: boolean;
AllowCobraMkIV: boolean;
PriceList: Array<{
id: number;
ShipType: string;
ShipType_Localised?: string;
ShipPrice: number;
}>;
}