@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
54 lines (53 loc) • 1.67 kB
TypeScript
import { type JournalEvent } from "../../JournalEvent.js";
import { type StationService } from "../types/StationService.js";
/**
* Written when landing at landing pad in a space station, output, or surface settlement.
*
* The "anonymous docking" protocol comes into effect if you're either Wanted (ie have a local bounty)
* or have an ActiveFine.
*/
export interface Docked extends JournalEvent<"Docked"> {
/** The name of the station. */
StationName: string;
MarketID?: number;
SystemAddress?: number;
/** The type of the station. */
StationType?: string;
/** The name of the start system. */
StarSystem?: string;
/** True if landing with breached cockpit. */
CockpitBreach?: boolean;
/** The station's controlling faction. */
StationFaction?: {
Name: string;
FactionState?: string;
};
StationAllegiance?: string;
/** The station's primary economy. */
StationEconomy?: string;
StationEconomy_Localised?: string;
/** List of station economies. */
StationEconomies?: Array<{
Name: string;
Name_Localised?: string;
Proportion: number;
}>;
StationGovernment?: string;
StationGovernment_Localised?: string;
DistFromStarLS?: number;
StationServices?: StationService[];
/** True if docking when wanted locally. */
Wanted?: boolean;
/** True if any fine is active. */
ActiveFine?: boolean;
LandingPads?: {
Small: number;
Medium: number;
Large: number;
};
Taxi?: boolean;
Multicrew?: boolean;
StationState?: string;
Security?: string;
Security_Localised?: string;
}