@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
29 lines (28 loc) • 831 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
import type { ID } from "../types/ID.ts";
/**
* Written when a new discovery is added to the Codex.
*/
export interface CodexEntry extends JournalEvent<"CodexEntry"> {
EntryID: ID;
Name: string;
Name_Localised: string;
SubCategory: string;
SubCategory_Localised: string;
Category: string;
Category_Localised: string;
Region: string;
Region_Localised: string;
System: string;
SystemAddress: ID;
BodyID?: ID;
/** Added if within 50km of a location listed in the navigation panel. */
NearestDestination?: string;
NearestDestination_Localised?: string;
Latitude?: number;
Longitude?: number;
IsNewEntry?: boolean;
VoucherAmount?: number;
Traits?: string[];
NewTraitsDiscovered?: boolean;
}