<?xml version="1.0" encoding="utf-8"?>
<Buildings>
  <ThingDef ParentName="BuildingBase_MTV">
    <defName>Vanya_EnergySlowRelease</defName>
    <label>能量缓释器</label>
    <thingClass>Building</thingClass>
    <minifiedDef>MinifiedFurniture</minifiedDef>
    <graphicData>
      <texPath>Vanya/Things/Building/Power/Vanya_EnergySlowRelease</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <drawSize>(1,1)</drawSize>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <pathCost>25</pathCost>
    <fillPercent>0.5</fillPercent>
    <castEdgeShadows>true</castEdgeShadows>
    <rotatable>false</rotatable>
    <statBases>
      <MaxHitPoints>200</MaxHitPoints>
      <WorkToMake>240000</WorkToMake>
      <Flammability>0.2</Flammability>
      <Mass>20</Mass>
      <Beauty>0</Beauty>
    </statBases>
    <tickerType>Normal</tickerType>
    <description>用于将不稳定能量块中的能量提取出来使用。</description>
    <size>(1,1)</size>
    <building>
      <ignoreNeedsPower>true</ignoreNeedsPower>
      <deconstructible>false</deconstructible>
    </building>
    <recipeMaker>
      <workSpeedStat>WorkSpeedGlobal</workSpeedStat>
      <unfinishedThingDef>Vanya_UnfinishedMech</unfinishedThingDef>
      <skillRequirements>
        <li>
          <skill>Crafting</skill>
          <minLevel>12</minLevel>
        </li>
      </skillRequirements>
      <workSkill>Crafting</workSkill>
      <effectWorking>Repair</effectWorking>
      <soundWorking>Recipe_Smith</soundWorking>
      <recipeUsers>
        <li>Vanya_Assembler</li>
      </recipeUsers>
      <researchPrerequisite>Vanya_AssemTech</researchPrerequisite>
    </recipeMaker>
    <costList>
      <Vanya_CompCeramic>80</Vanya_CompCeramic>
      <Vanya_Cobalt>2</Vanya_Cobalt>
      <Component>12</Component>
      <Vanya_tombarthite>1</Vanya_tombarthite>
    </costList>
    <comps>
      <li Class="CompProperties_Power">
        <compClass>CompPowerPlant</compClass>
        <basePowerConsumption>-4096</basePowerConsumption>
        <transmitsPower>true</transmitsPower>
      </li>
      <li Class="CompProperties_Flickable" />
      <li Class="CompProperties_Refuelable">
        <fuelConsumptionRate>0.1</fuelConsumptionRate>
        <fuelCapacity>6.0</fuelCapacity>
        <fuelFilter>
          <thingDefs>
            <li>Vanya_InstabEnergon</li>
          </thingDefs>
        </fuelFilter>
      </li>
      <li Class="CompProperties_HeatPusher">
        <compClass>CompHeatPusherPowered</compClass>
        <heatPerSecond>1.5</heatPerSecond>
        <heatPushMaxTemperature>21</heatPushMaxTemperature>
      </li>
      <li Class="CompProperties_Breakdownable" />
      <li Class="CompProperties_Glower">
        <glowRadius>4</glowRadius>
        <glowColor>(255,200,130,0)</glowColor>
      </li>
    </comps>
    <terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
    <constructEffect>ConstructMetal</constructEffect>
    <tradeability>Sellable</tradeability>
    <tradeTags>
      <li>Exotic</li>
    </tradeTags>
    <leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
  </ThingDef>
  <ThingDef ParentName="BuildingBase_MTV">
    <defName>Vanya_FusedReactor</defName>
    <label>融合反应炉</label>
    <thingClass>Building</thingClass>
    <graphicData>
      <texPath>Vanya/Things/Building/Power/Vanya_FusedReactor</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <drawSize>(3,3)</drawSize>
      <damageData>
        <cornerTL>Damage/Corner</cornerTL>
        <cornerTR>Damage/Corner</cornerTR>
        <cornerBL>Damage/Corner</cornerBL>
        <cornerBR>Damage/Corner</cornerBR>
      </damageData>
    </graphicData>
    <researchPrerequisites>
      <li>Vanya_RootCCAI</li>
    </researchPrerequisites>
    <altitudeLayer>Building</altitudeLayer>
    <passability>Impassable</passability>
    <blockWind>true</blockWind>
    <castEdgeShadows>false</castEdgeShadows>
    <fillPercent>1</fillPercent>
    <blockLight>false</blockLight>
    <rotatable>false</rotatable>
    <statBases>
      <WorkToBuild>180000</WorkToBuild>
      <MaxHitPoints>2400</MaxHitPoints>
      <Flammability>0</Flammability>
      <Mass>1000</Mass>
    </statBases>
    <tickerType>Normal</tickerType>
    <description>以稳定能量核心为主体，产生强磁场约束粒子进行核聚变产生大量能量。</description>
    <size>(3,3)</size>
    <designationCategory>Power</designationCategory>
    <building>
      <ignoreNeedsPower>true</ignoreNeedsPower>
    </building>
    <costList>
      <Vanya_QuantumAlloy>150</Vanya_QuantumAlloy>
      <Vanya_Cobalt>200</Vanya_Cobalt>
      <Vanya_tombarthite>3</Vanya_tombarthite>
      <Vanya_StabPowerCore>1</Vanya_StabPowerCore>
    </costList>
    <comps>
      <li Class="CompProperties_Flickable" />
      <li Class="CompProperties_Power">
        <compClass>CompPowerPlant</compClass>
        <basePowerConsumption>-65535</basePowerConsumption>
        <transmitsPower>true</transmitsPower>
      </li>
      <li Class="CompProperties_Breakdownable" />
      <li Class="CompProperties_Glower">
        <glowRadius>6</glowRadius>
        <glowColor>(127,255,255,0)</glowColor>
      </li>
    </comps>
    <terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
    <staticSunShadowHeight>0.8</staticSunShadowHeight>
    <constructEffect>ConstructMetal</constructEffect>
  </ThingDef>
</Buildings>