Skip to content

astro.Interface.NebulaWithDistance

github-actions[bot] edited this page Aug 26, 2026 · 74 revisions

@elite-dangerous-almanac/core / astro / NebulaWithDistance

Interface: NebulaWithDistance

Defined in: src/astro/nebulae.ts:95

A Nebula annotated with its distance from a queried point.

Extends

Properties

distanceLy

readonly distanceLy: number

Defined in: src/astro/nebulae.ts:97

Straight-line distance from the queried coordinates, in light-years.


name

readonly name: string

Defined in: src/astro/nebulae.ts:72

Display name, e.g. "Witch Head Nebula". For procedurally-named nebulae this is usually the system name, sometimes with a community name appended in parentheses ("Aemonz WZ-Y e6771 (Lazurite Nebula)").

Inherited from

Nebula.name


regionId

readonly regionId: number

Defined in: src/astro/nebulae.ts:91

Id of the galactic codex region the nebula sits in, 1–42.

Remarks

Resolve it to a name with getCodexRegion from ./codex-region — that costs ~9 KiB of region metadata rather than the ~208 KiB lookup grid findCodexRegionAt needs.

Inherited from

Nebula.regionId


system

readonly system: string

Defined in: src/astro/nebulae.ts:74

The in-game system the nebula is catalogued at, e.g. "Witch Head Sector IR-W c1-8".

Inherited from

Nebula.system


type

readonly type: NebulaType

Defined in: src/astro/nebulae.ts:82

Which class of nebula this is.

Inherited from

Nebula.type


x

readonly x: number

Defined in: src/astro/nebulae.ts:76

Galactic X of the catalogued system, in light-years (Sol at origin).

Inherited from

Nebula.x


y

readonly y: number

Defined in: src/astro/nebulae.ts:78

Galactic Y of the catalogued system, in light-years (Sol at origin).

Inherited from

Nebula.y


z

readonly z: number

Defined in: src/astro/nebulae.ts:80

Galactic Z of the catalogued system, in light-years (Sol at origin).

Inherited from

Nebula.z

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally