UNPKG

@kayahr/ed-journal

Version:

Typescript library to read/watch the player journal of Frontier's game Elite Dangerous

31 lines (27 loc) 715 B
/* * Copyright (C) 2022 Klaus Reimer <k@ailis.de> * See LICENSE.md for licensing information. */ 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; }>; }