Skip to content

RepairVolumeInfo

Celestial Body Schema / Definitions / RepairVolumeInfo
Schema Type: JSON Type: object

No Description Found

radius

Type: number Default: 1

The radius of this volume, if a shape is not specified.


shape

Type: ShapeInfo

The shape of this volume. Defaults to a sphere with a radius of `radius` if not specified.

See Definitions/ShapeInfo

rotation

Type: MVector3

Rotation of the object

See Definitions/MVector3

alignRadial

Type: boolean or null

Do we try to automatically align this object to stand upright relative to the body's center? Stacks with rotation.
Defaults to true for geysers, tornados, and volcanoes, and false for everything else.


position

Type: MVector3

Position of the object

See Definitions/MVector3

isRelativeToParent

Type: boolean

Whether the positional and rotational coordinates are relative to parent instead of the root planet object.


parentPath

Type: string

The relative path from the planet to the parent of this object. Optional (will default to the root sector).


rename

Type: string

An optional rename of this object


name

Type: string

The name displayed in the UI when the player is repairing this object. If not set, the name of the object will be used.


repairFraction

Type: number Default: 0

How much of the object is initially repaired. 0 = not repaired, 1 = fully repaired.


repairTime

Type: number Default: 3

The time it takes to repair the object. Defaults to 3 seconds.


repairDistance

Type: number Default: 3

The distance from the object that the player can be to repair it. Defaults to 3 meters.


damagedCondition

Type: string

A dialogue condition that will be set while the object is damaged. It will be unset when the object is repaired.


repairedCondition

Type: string

A dialogue condition that will be set when the object is repaired. It will be unset if the object is damaged again.


revealFact

Type: string

A ship log fact that will be revealed when the object is repaired.