@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
28 lines (27 loc) • 801 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.js";
/**
* Written when a new discovery is added to the Codex.
*/
export interface CodexEntry extends JournalEvent<"CodexEntry"> {
EntryID: number;
Name: string;
Name_Localised: string;
SubCategory: string;
SubCategory_Localised: string;
Category: string;
Category_Localised: string;
Region: string;
Region_Localised: string;
System: string;
SystemAddress: number;
BodyID?: number;
/** 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;
}