Skip to content

astro.Interface.BodyComposition

github-actions[bot] edited this page Aug 28, 2026 · 1 revision

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

Interface: BodyComposition

Defined in: src/astro/body-scan.ts:111

What a planet or moon is made of, as BodyProperties.Composition.

Remarks

Each share is a fraction of 1, not a percentage, and the three sum to 1. This is the body's bulk composition; BodyProperties.Materials is the separate question of what can be collected from its surface.

Properties

Ice

readonly Ice: number

Defined in: src/astro/body-scan.ts:113

Ice share of the body, 0–1.


Metal

readonly Metal: number

Defined in: src/astro/body-scan.ts:117

Metal share of the body, 0–1.


Rock

readonly Rock: number

Defined in: src/astro/body-scan.ts:115

Rock share of the body, 0–1.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (28)
Type Aliases (6)
Variables (22)
Functions (57)
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