Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Resource to power

KylianB edited this page Sep 27, 2022 · 1 revision

Allow a building to convert resource to power.

Basic

Below, an example of the comps needed (also see CompProperties_ResourceTrader), the building need to tick if you use the ambient sound.

<li Class="PipeSystem.CompProperties_ResourceTrader">
  <pipeNet>VCHE_ChemfuelNet</pipeNet>
  <consumptionPerTick>1</consumptionPerTick>
</li>
<!-- The comp below is the vanilla power comp, you only need to specify it's class -->
<li Class="CompProperties_Power">
  <transmitsPower>true</transmitsPower>
  <!-- Specify the comp class -->
  <compClass>PipeSystem.CompPowerPlantNeedResource</compClass>
  <basePowerConsumption>-1000</basePowerConsumption>
</li>

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Apparel

Cuisine

Furniture

Plants

Clone this wiki locally