Skip to content

ResourceConsumption Parameter

Jeremie Rossignol edited this page Jul 14, 2016 · 1 revision

Parameter to check consumption (or production) of a resource.

PARAMETER
{
    name = ResourceConsumption
    type = ResourceConsumption

    // The name of the resource to check for.
    //
    // Type:      Resource
    // Required:  Yes
    //
    resource = LiquidFuel

    // Minimum and maximum consumption rate of the resource required.  Note that
    // if negative, this will indicate a production rate instead.
    //
    // Type:      double
    // Required:  No (defaulted)
    // Default:   double.MinValue (minRate)
    //            double.MaxValue (maxRate)
    //
    minRate = 10.0
    maxRate = 1000.0

    // Text to use for the parameter
    //
    // Type:      string
    // Required:  No (defaulted)
    // Default:   Resource : <resource>: <quantity_description>
    //title =
}
Clone this wiki locally