@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
23 lines (22 loc) • 687 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
/** A single material. */
export interface Material {
/** The material count. */
Count: number;
/** The material name. */
Name: string;
/** The localised material name. */
Name_Localised?: string;
}
/**
* Written at startup when loading from main menu into the game. Indicates the number of materials in the player's
* inventory.
*/
export interface Materials extends JournalEvent<"Materials"> {
/** The list of raw materials. */
Raw: Material[];
/** The list of encoded materials. */
Encoded: Material[];
/** The list of manufactured materials. */
Manufactured: Material[];
}