Skip to content

Mining Facility

AMPW edited this page Aug 26, 2025 · 3 revisions

Used to gather ore and metalore locally.

Currently has fixed rates, a rework is planned.

type: KCMiningFacility

harvestType

The harvestType determines where KC gets the rates for the resource. The following types are available:

  • Planetary
  • Oceanic
  • Atmospheric
  • Exospheric

resourceProduction node

The resourceProduction node defines the mined resources per kerbal and kerbin day. It needs to be present in the level 0 node but may be left empty in higher levels, then the lower level value is used.

The resourceProduction node contains variables with the resource name as variable name and as value "rate (double), max stored (double)". It has an optional third parameter for using a fixed rate instead ("rate (double), max stored (double), fixed rate (bool)".

level
{
    0
    {
        basegroupName = KC_Base_Extraction_T1
        resources { RocketParts = 250 }

        upgradeTime = 200
        maxKerbals = 2
        allowedTraits = Engineer

        resourceProduction
        {
            Ore = 200,400
            MetalOre = 40,80,True
        }
    }
}

EC consumption

The EC consumption is calculated through "ECperSecond (current facility level) * kerbals in this faciltiy"

Clone this wiki locally