Skip to content

CelestialBodyCoverage Requirement

Jeremie Rossignol edited this page Feb 22, 2016 · 4 revisions

The CelestialBodyCoverage requirement checks that the given celestial body has a dish pointed to it with sufficient range.

REQUIREMENT:NEEDS[RemoteTech]
{
    name = CelestialBodyCoverage
    type = CelestialBodyCoverage

    // Target body, defaulted from the contract if not supplied.
    //
    // Type:      CelestialBody
    // Required:  No (defaulted)
    //
    targetBody = Kerbin

    // Minimum coverage that is required (between 0.0 and 1.0).
    //
    // Type:      double
    // Required:  No (defaulted)
    // Default:   0.0
    //
    minCoverage = 0.8

    // Maximum coverage before requirement no longer met (between 0.0 and 1.0).
    //
    // Type:      double
    // Required:  No (defaulted)
    // Default:   1.0
    //
    maxCoverage = 1.0
}
Clone this wiki locally