astro.Interface.Nebula - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Interface: Nebula

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

One catalogued nebula and where it sits in the galaxy.

Remarks

A nebula is a volume, but the catalogue records a single reference point — the position of Nebula.system, the system it is catalogued at. Distances computed from it are therefore "distance to the catalogued system", not distance to the nebula's edge.

Extended by

Properties

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)").


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.


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".


type

readonly type: NebulaType

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

Which class of nebula this is.


x

readonly x: number

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

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


y

readonly y: number

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

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


z

readonly z: number

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

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

⚠️ **GitHub.com Fallback** ⚠️