space_ex v0.8.0 SpaceEx.SpaceCenter.ResourceHarvester

A resource harvester (drill).

Obtained by calling SpaceEx.SpaceCenter.Part.resource_harvester/1.

Link to this section Summary

Functions

Whether the harvester is actively drilling

The core temperature of the drill, in Kelvin

Whether the harvester is deployed

The rate at which the drill is extracting ore, in units per second

The core temperature at which the drill will operate with peak efficiency, in Kelvin

The part object for this harvester

Whether the harvester is actively drilling

Whether the harvester is deployed

The state of the harvester

The thermal efficiency of the drill, as a percentage of its maximum

Link to this section Functions

Whether the harvester is actively drilling.

Returns: true or false

Link to this function core_temperature(this)

The core temperature of the drill, in Kelvin.

Returns: a low-precision decimal

Whether the harvester is deployed.

Returns: true or false

Link to this function extraction_rate(this)

The rate at which the drill is extracting ore, in units per second.

Returns: a low-precision decimal

Link to this function optimum_core_temperature(this)

The core temperature at which the drill will operate with peak efficiency, in Kelvin.

Returns: a low-precision decimal

The part object for this harvester.

Returns: a reference to a SpaceEx.SpaceCenter.Part object

Link to this function set_active(this, value)

Whether the harvester is actively drilling.

Returns: :ok

Link to this function set_deployed(this, value)

Whether the harvester is deployed.

Returns: :ok

The state of the harvester.

Returns: a Elixir.SpaceEx.SpaceCenter.ResourceHarvesterState value in atom form

Link to this function thermal_efficiency(this)

The thermal efficiency of the drill, as a percentage of its maximum.

Returns: a low-precision decimal