Storage Facility - KerbalColonies/KerbalColoniesCore GitHub Wiki

Used to store item in a colony

Currently lists ALL items in the partResourceLibrary

type: KCStorageFacility

Required parameter in the levelnode

  • maxVolume (double): the volume of the storage facility, determines how many items can be stored.

The maxVolume parameter needs to be present in the level 0 node but may be left empty in higher levels, then the lower level value is used.

Optional parameters in the levelnode

  • resourceWhitelist: defines the resources that are allowed to be stored in this facility
  • resourceBlacklist: defines the resources that are forbidden from being stored in this facility

Multiple resources have to be seperated by a "," comma.

E.g.

0
{
    basegroupName = KC_Base_Fuel_T1
    resources { RocketParts = 200 }

    upgradeTime = 200
    maxVolume = 250000

    resourceWhitelist = RocketParts,Ore
}
1
{
    basegroupName = KC_Base_Fuel_T2
    resources { RocketParts = 500 }

    upgradeTime = 300
    maxVolume = 500000
    upgradeType = withGroupChange

    resourceBlacklist = Oxidizer
}