Skip to content

KerbalDeaths Parameter

Jeremie Rossignol edited this page Mar 8, 2016 · 5 revisions

The KerbalDeaths parameter fails if more Kerbals than the countMax die.

PARAMETER
{
    name = KerbalDeaths
    type = KerbalDeaths

    // Maximum Number of Kerbals that can die before this contract is considered
    // failed.
    //
    // Type:      int
    // Required:  No (defaulted)
    // Default:   1
    //
    countMax = 1

    // Specific Kerbal(s) that must not be killed.  If used, overrides the count
    // and only these specific Kerbals will trigger the contract failure.
    //
    // Type:      Kerbal
    // Required:  No (multiples allowed)
    //
    kerbal = Jebediah Kerman
    kerbal = Bob Kerman

    // The vessel to check for Kerbals.  If specified, then only Kerbals who
    // have been on this vessel at one point count towards the check.  If
    // Kerbals that have never been on this vessel die, we don't care.
    //
    // Type:      VesselIdentifier
    // Required:  No
    //
    vessel = Vessel Key

    // Text to use for the parameter
    //
    // Type:      string
    // Required:  No (defaulted)
    // Default (countMax = 1): Kill no Kerbals
    // Default (countMax != 1) = Kill no more than <countMax> Kerbals
    // Default (kerbal) = Do not kill: 
    //
    //title =
}
Clone this wiki locally