Skip to content

AtLeast Requirement

Jeremie Rossignol edited this page Jun 29, 2016 · 1 revision

If at least the given number of child requirements are met, then the requirement is met.

REQUIREMENT
{
    name = AtLeast
    type = AtLeast

    // Minimum number of requirements that need to match.
    //
    // Type:      int
    // Required:  Yes
    //
    count = 2

    REQUIREMENT
    {
        name = ReachSpace
        type = ReachSpace
    }

    REQUIREMENT
    {
        name = TechResearched
        type = TechResearched

        tech = basicRocketry
    }

    REQUIREMENT
    {
        name = Science
        type = Science

        minScience = 50
    }
}
Clone this wiki locally