CAB Facility - KerbalColonies/KerbalColoniesCore GitHub Wiki
The colony assembly building is the core of a colony and as such each colony must have exactly one CAB. If more than one CAB config was found then the user can choose which one to build, if none was found then this mod can't work.
Currently the CAB can't be upgraded, only the level 0 node is used.
defaultFacilities and priorityDefaultFacilities
A CAB facility should contain default facilities that are free and instantly placed when a colony is built. Both are config nodes that are in the root node and contain the config names of other facilities alongside their quantity. The only difference is that the priorityDefaultFacilities are placed BEFORE the CAB is placed and the defaultFacilities AFTER the CAB is placed.
Example:
KCFacilityConfig //the root node
{
name = CAB
displayName = Colony Assembly Building
type = KC_CAB_Facility
level
{
0
{
basegroupName = KC_Base_CAB_T1
resources { RocketParts = 5000 }
}
}
defaultFacilities
{
KCBarracksFacility = 1
KCProductionFacility = 1
KCStorageFacility = 1
KCLandingZoneSmallFacility = 1
}
}