Vanilla-Expanded / VanillaExpandedFramework

Vanilla Expanded Framework for RimWorld
Other
73 stars 37 forks source link

Cannot have a bench that is both powered and needs a resource #54

Closed databobek closed 1 year ago

databobek commented 1 year ago

When a bench has both CompProperties_Power and PipeSystem.CompProperties_ResourceTrader and is positive, the bench only needs power to work and is then not bound by lack of resource.

Below example when used on a bench will cause the bench to be formally part of the network but will not require the gas to operate.

Example:


            <li Class="CompProperties_Power">
                <compClass>CompPowerTrader</compClass>
                <basePowerConsumption>100</basePowerConsumption>
            </li>
      <li Class="PipeSystem.CompProperties_ResourceTrader">
        <pipeNet>VHGE_HelixienNet</pipeNet>
        <consumptionPerTick>1</consumptionPerTick>
        <idleConsumptionPerTick>0</idleConsumptionPerTick>
      </li>
      <li Class="CompProperties_Flickable">
        <commandTexture>Things/Special/Fluid/VHGE_OverlayBase</commandTexture>
        <commandLabelKey>VHGE_CommandToggleGas_Label</commandLabelKey>
        <commandDescKey>VHGE_CommandToggleGas_Desc</commandDescKey>
      </li>
      <li Class="CompProperties_AffectedByFacilities">
        <linkableFacilities>
          <li>ToolCabinet</li>
        </linkableFacilities>
      </li>
    </comps>```
databobek commented 1 year ago

I misunderstood the issue behind this, closing