Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Power Exchange

Every gear has its price.

Sells power across a border. It’s built in pairs like a Trading Post: one half sells, sending power into the other half’s network, and is paid in goods every hour.

The seller sets up to 6 prices (how much power for how many of a good) and the most power they’ll sell. Each hour the buyer pays in price order until the power they draw is covered, up to the seller’s limit and surplus.

For modders

Every number on this page comes from the building's blueprint. Blueprint specs says what each component does.

Folktails Buildings/PowerExchange/PowerExchange.Folktails.blueprint.json

BuildingSpec

{
  "SelectionSoundName": "BB.Coins",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Plank",
      "Amount": 20
    },
    {
      "Id": "Gear",
      "Amount": 20
    },
    {
      "Id": "MetalBlock",
      "Amount": 10
    }
  ],
  "ScienceCost": 600,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

TemplateSpec

{
  "TemplateName": "PowerExchange.Folktails",
  "BackwardCompatibleTemplateNames": [],
  "RequiredFeatureToggle": "",
  "DisablingFeatureToggle": ""
}

BlockObjectSpec

{
  "Size": {
    "X": 3,
    "Y": 1,
    "Z": 2
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "Power",
  "ToolOrder": 34,
  "ToolShape": "Square",
  "Layout": "Half",
  "CustomPivot": {
    "HasCustomPivot": true,
    "Coordinates": {
      "X": 1.5,
      "Y": 1,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

DistrictObstacleSpec

{
  "CoordinateOffset": {
    "X": 1,
    "Y": 0,
    "Z": 0
  }
}

WorkplaceSpec

{
  "MaxWorkers": 10,
  "DefaultWorkers": 4,
  "DefaultWorkerType": "Beaver",
  "DisallowOtherWorkerTypes": false,
  "WorkerTypeUnlockCosts": [
    {
      "WorkerType": "Bot",
      "ScienceCost": 250
    }
  ]
}

LinkedBuildingSpec

{}

WorkplaceBonusesSpec

{
  "WorkerBonuses": [
    {
      "Id": "CarryingCapacity",
      "MultiplierDelta": 1
    }
  ]
}

WorkplaceWorkerOutfitSpec

{
  "WorkerOutfit": "Hauler"
}

MechanicalNodeSpec

{
  "PowerOutput": 0,
  "PowerInput": 0,
  "IsShaft": false
}

TransputProviderSpec

{
  "Transputs": [
    {
      "Coordinates": {
        "X": 0,
        "Y": 0,
        "Z": 0
      },
      "Directions": "Down",
      "ReverseRotation": false
    }
  ],
  "IgnoreRotation": true
}

PowerExchangeSpec

{}

PowerExchangeModelSpec

{}

Iron Teeth Buildings/PowerExchange/PowerExchange.IronTeeth.blueprint.json

BuildingSpec

{
  "SelectionSoundName": "BB.Coins",
  "LoopingSoundName": "",
  "BuildingCost": [
    {
      "Id": "Plank",
      "Amount": 20
    },
    {
      "Id": "Gear",
      "Amount": 20
    },
    {
      "Id": "MetalBlock",
      "Amount": 10
    }
  ],
  "ScienceCost": 600,
  "PlaceFinished": false,
  "FinishableWithBeaversOnSite": false,
  "DrawRangeBoundsOnIt": false
}

TemplateSpec

{
  "TemplateName": "PowerExchange.IronTeeth",
  "BackwardCompatibleTemplateNames": [],
  "RequiredFeatureToggle": "",
  "DisablingFeatureToggle": ""
}

BlockObjectSpec

{
  "Size": {
    "X": 3,
    "Y": 1,
    "Z": 2
  }
}

PlaceableBlockObjectSpec

{
  "ToolGroupId": "Power",
  "ToolOrder": 34,
  "ToolShape": "Square",
  "Layout": "Half",
  "CustomPivot": {
    "HasCustomPivot": true,
    "Coordinates": {
      "X": 1.5,
      "Y": 1,
      "Z": 0
    }
  },
  "CanBeAttachedToTerrainSide": false,
  "DevModeTool": false
}

DistrictObstacleSpec

{
  "CoordinateOffset": {
    "X": 1,
    "Y": 0,
    "Z": 0
  }
}

WorkplaceSpec

{
  "MaxWorkers": 10,
  "DefaultWorkers": 4,
  "DefaultWorkerType": "Beaver",
  "DisallowOtherWorkerTypes": false,
  "WorkerTypeUnlockCosts": [
    {
      "WorkerType": "Bot",
      "ScienceCost": 250
    }
  ]
}

LinkedBuildingSpec

{}

WorkplaceBonusesSpec

{
  "WorkerBonuses": [
    {
      "Id": "CarryingCapacity",
      "MultiplierDelta": 1
    }
  ]
}

WorkplaceWorkerOutfitSpec

{
  "WorkerOutfit": "Hauler"
}

MechanicalNodeSpec

{
  "PowerOutput": 0,
  "PowerInput": 0,
  "IsShaft": false
}

TransputProviderSpec

{
  "Transputs": [
    {
      "Coordinates": {
        "X": 0,
        "Y": 0,
        "Z": 0
      },
      "Directions": "Down",
      "ReverseRotation": false
    }
  ],
  "IgnoreRotation": true
}

PowerExchangeSpec

{}

PowerExchangeModelSpec

{}