@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
25 lines (24 loc) • 766 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
import type { ID } from "../types/ID.ts";
/**
* Written when trading with a Fleet Carrier Bartender for materials, a file is written with the price list.
* Similar to the Shipyard and Cargo events, a brief entry is written in the journal.
*/
export interface FCMaterials extends JournalEvent<"FCMaterials"> {
MarketID: ID;
CarrierName: string;
CarrierID: string;
}
/**
* Extended Fleet Carrier materials list written to separate 'FCMaterials.json' file.
*/
export interface ExtendedFCMaterials extends FCMaterials {
Items: Array<{
id: number;
Name: string;
Name_Localised?: string;
Price: number;
Stock: number;
Demand: number;
}>;
}