<?xml version="1.0" encoding="utf-8" ?>
<Buildings>

  <ThingDef ParentName="BasedPower">
    <defName>Radioisotope_thermoelectric_generator</defName>
    <thingClass>Rimatomics.Building_RTG</thingClass>
    <label>R.T.G</label>
    <description>An electrical generator that uses an array of thermocouples to convert the heat released by the decay of a suitable radioactive material into electricity. Maximum power output is 500W</description>
    <tradeTags>
      <li>Rimatomics</li>
    </tradeTags>
    <iconDrawScale>1.7</iconDrawScale>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/RTG</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(3,3)</drawSize>
      <damageData>
        <rect>(0.05,0.05,0.95,0.95)</rect>
      </damageData>
    </graphicData>
    <tickerType>Normal</tickerType>
    <minifiedDef>MinifiedFurniture</minifiedDef>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <selectable>true</selectable>
    <fillPercent>0.20</fillPercent>
    <canOverlapZones>false</canOverlapZones>
    <pathCost>200</pathCost>
    <Size>(1,1)</Size>
    <costList>
      <Steel>250</Steel>
      <Silver>250</Silver>
      <Plutonium>120</Plutonium>
      <Component>4</Component>
    </costList>
    <leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
    <soundImpactDefault>BulletImpactMetal</soundImpactDefault>
    <rotatable>false</rotatable>
    <statBases>
      <MarketValue>2600</MarketValue>
      <MaxHitPoints>150</MaxHitPoints>
      <WorkToBuild>15000</WorkToBuild>
      <Flammability>0.0</Flammability>
      <Beauty>-12</Beauty>
    </statBases>
    <designationHotKey>Misc11</designationHotKey>
    <comps>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <transmitsPower>true</transmitsPower>
      </li>
      <li Class="CompProperties_HeatPusher">
        <heatPerSecond>21</heatPerSecond>
        <heatPushMaxTemperature>28</heatPushMaxTemperature>
      </li>
    </comps>
    <researchPrerequisites>
      <li>RTG</li>
    </researchPrerequisites>
  </ThingDef>

  <ThingDef ParentName="BasedPower">
    <defName>ReactorCore</defName>
    <label>Reactor Core</label>
    <description>A nuclear reactor core is the portion of a nuclear reactor containing the nuclear fuel components where the nuclear reactions take place and the heat is generated</description>
    <thingClass>Rimatomics.reactorCore</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/reactorCore</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(7,7)</drawSize>
    </graphicData>
    <DrawGUIOverlay>True</DrawGUIOverlay>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <pathCost>35</pathCost>
    <blockWind>false</blockWind>
    <castEdgeShadows>true</castEdgeShadows>
    <fillPercent>1</fillPercent>
    <blockLight>false</blockLight>
    <staticSunShadowHeight>0.00</staticSunShadowHeight>
    <building>
      <heatPerTickWhileWorking>1</heatPerTickWhileWorking>
    </building>
    <canOverlapZones>false</canOverlapZones>
    <statBases>
      <MaxHitPoints>600</MaxHitPoints>
      <WorkToBuild>10000</WorkToBuild>
      <Flammability>1.0</Flammability>
      <Beauty>-40</Beauty>
    </statBases>
    <tickerType>Normal</tickerType>
    <size>(5,5)</size>
    <costList>
      <Steel>500</Steel>
      <ReactorComponents>24</ReactorComponents>     
    </costList>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Steam</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>ColdWater</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Loom</mode>
      </li>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>1337</basePowerConsumption>
        <startElectricalFires>true</startElectricalFires>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="Rimatomics.CompProperties_Upgradable"/>
    </comps>
    <rotatable>false</rotatable>
    <terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
    <leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
    <constructEffect>ConstructMetal</constructEffect>
    <designationHotkey>Misc6</designationHotkey>
    <placeWorkers>
      <li>Rimatomics.PlaceWorker_ResearchStage</li>
    </placeWorkers>
    <researchPrerequisites>
      <li>NuclearReactor6</li>
    </researchPrerequisites>
  </ThingDef>

 

  <!-- COOLING -->

  <ThingDef ParentName="BasedPower">
    <defName>CoolingRadiator</defName>
    <label>Radiator</label>
    <description>A radiator system designed to heat very large bases while also cooling a nuclear reactor</description>
    <thingClass>Rimatomics.Radiator</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/nukeRadiator</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(5,5)</drawSize>
      <shadowData>
        <volume>(0.9, 0.9, 0.9)</volume>
        <offset>(0,0,0)</offset>
      </shadowData>
      <allowFlip>false</allowFlip>
    </graphicData>
    <rotatable>true</rotatable>
    <altitudeLayer>Building</altitudeLayer>
    <passability>Impassable</passability>
    <canOverlapZones>false</canOverlapZones>
    <blockWind>true</blockWind>
    <castEdgeShadows>false</castEdgeShadows>
    <fillPercent>0.5</fillPercent>
    <blockLight>true</blockLight>
    <statBases>
      <MaxHitPoints>250</MaxHitPoints>
      <WorkToBuild>22800</WorkToBuild>
      <Flammability>1.0</Flammability>
    </statBases>
    <pathCost>250</pathCost>
    <size>(3,3)</size>
    <costList>
      <Steel>450</Steel>
      <Component>3</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Cooling</mode>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="CompProperties_Breakdownable"/>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>950</basePowerConsumption>
        <startElectricalFires>false</startElectricalFires>
      </li>
      <li Class="Rimatomics.CompProperties_Upgradable"/>
    </comps>
    <designationHotkey>Misc6</designationHotkey>
    <terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
    <placeWorkers>
      <li>PlaceWorker_Heater</li>
      <li>Rimatomics.PlaceWorker_ResearchStage</li>
    </placeWorkers>
    <drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected>
    <building>
      <canPlaceOverWall>true</canPlaceOverWall>
      <heatPerTickWhileWorking>100</heatPerTickWhileWorking>
    </building>
    <researchPrerequisites>
      <li>NuclearReactor3</li>
    </researchPrerequisites>
  </ThingDef>


  <ThingDef ParentName="BasedPower">
    <defName>CoolingWater</defName>
    <label>Water Cooling Station</label>
    <description>Provides large amounts of cooling to nuclear reactors by using cold water from rivers, lakes or oceans</description>
    <thingClass>Rimatomics.WaterStation</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/waterStation</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(5,6)</drawSize>
    </graphicData>
    <rotatable>true</rotatable>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <pathCost>250</pathCost>
    <blockWind>true</blockWind>
    <castEdgeShadows>true</castEdgeShadows>
    <staticSunShadowHeight>1</staticSunShadowHeight>
    <fillPercent>0.5</fillPercent>
    <blockLight>false</blockLight>
    <canOverlapZones>false</canOverlapZones> 
    <statBases>
      <MaxHitPoints>450</MaxHitPoints>
      <WorkToBuild>2800</WorkToBuild>
      <Flammability>1.0</Flammability>
    </statBases>
    <size>(3,4)</size>
    <costList>
      <Steel>550</Steel>
      <Component>6</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Cooling</mode>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>425</basePowerConsumption>
        <startElectricalFires>false</startElectricalFires>
      </li>
      <li Class="Rimatomics.CompProperties_Upgradable"/>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
    <designationHotkey>Misc6</designationHotkey>
    <placeWorkers>
      <li>Rimatomics.PlaceWorker_WaterStation</li>
      <li>Rimatomics.PlaceWorker_ResearchStage</li>
    </placeWorkers>
    <drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected>
    <researchPrerequisites>
      <li>NuclearReactor3</li>
    </researchPrerequisites>
  </ThingDef>

  <ThingDef ParentName="BasedPower">
    <defName>CoolingTower</defName>
    <label>Dry Cooling Tower</label>
    <description>Very large air coolers designed to provide large amounts of cooling for nuclear reactors when no natural bodies of water are available</description>
    <thingClass>Rimatomics.CoolingTower</thingClass>
    <iconDrawScale>1.3</iconDrawScale>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/coolingTower</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(11,11)</drawSize>
      <shadowData>
        <volume>(0.9, 0.9, 0.9)</volume>
        <offset>(0,0,0)</offset>
      </shadowData>
    </graphicData>
    <rotatable>false</rotatable>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <blockWind>true</blockWind>
    <castEdgeShadows>false</castEdgeShadows>
    <fillPercent>0.9</fillPercent>
    <pathCost>250</pathCost>
    <canOverlapZones>false</canOverlapZones>
    <statBases>
      <MaxHitPoints>750</MaxHitPoints>
      <WorkToBuild>22800</WorkToBuild>
      <Flammability>1.0</Flammability>
    </statBases>
    <size>(7,7)</size>
    <costList>
      <Steel>1100</Steel>
      <Component>12</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Cooling</mode>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>3300</basePowerConsumption>
        <startElectricalFires>false</startElectricalFires>
      </li>
      <li Class="Rimatomics.CompProperties_Upgradable"/>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <designationHotkey>Misc6</designationHotkey>
    <placeWorkers>
      <li>Rimatomics.PlaceWorker_ResearchStage</li>
    </placeWorkers>
    <researchPrerequisites>
      <li>NuclearReactor3</li>
    </researchPrerequisites>
  </ThingDef>

  <!-- HEAT EXCHANGE -->


  <ThingDef ParentName="BasedPower">
    <defName>Turbine</defName>
    <label>Thor</label>
    <description>A turbine driven by steam which turns a generator to produce electricity. The Thor has a maximum power output of 100 Kilowatts</description>
    <thingClass>Rimatomics.Thor</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/MiniTurbine</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(6,9)</drawSize>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <passability>Impassable</passability>
    <blockWind>true</blockWind>
    <castEdgeShadows>true</castEdgeShadows>
    <fillPercent>1</fillPercent>
    <pathCost>250</pathCost>
    <blockLight>false</blockLight>
    <canOverlapZones>false</canOverlapZones>
    <staticSunShadowHeight>0.35</staticSunShadowHeight>
    <statBases>
      <MaxHitPoints>700</MaxHitPoints>
      <WorkToBuild>9000</WorkToBuild>
      <Flammability>0</Flammability>
      <Beauty>-40</Beauty>
    </statBases>
    <tickerType>Normal</tickerType>
    <size>(4,7)</size>
    <building>
      <heatPerTickWhileWorking>1</heatPerTickWhileWorking>
    </building>
    <costList>
      <Steel>250</Steel>
      <turbineBlade>250</turbineBlade>
      <Component>12</Component>
    </costList>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>HighVoltage</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Steam</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>ColdWater</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Cooling</mode>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>500</basePowerConsumption>
        <startElectricalFires>true</startElectricalFires>
      </li>
      <li Class="Rimatomics.CompProperties_Upgradable"/>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <rotatable>true</rotatable>
    <terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
    <leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
    <constructEffect>ConstructMetal</constructEffect>
    <designationHotkey>Misc6</designationHotkey>
    <placeWorkers>
      <li>Rimatomics.PlaceWorker_ResearchStage</li>
    </placeWorkers>
    <researchPrerequisites>
      <li>NuclearReactor4</li>
    </researchPrerequisites>
  </ThingDef>

  <ThingDef ParentName="BasedPower">
    <defName>BigTurbine</defName>
    <label>Zeus</label>
    <description>A turbine driven by steam which turns a generator to produce electricity. The Zeus has a maximum power output of 1 Megawatt</description>
    <thingClass>Rimatomics.Zeus</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/Turbine</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(8,12)</drawSize>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <passability>Impassable</passability>
    <canOverlapZones>false</canOverlapZones>
    <blockWind>true</blockWind>
    <castEdgeShadows>true</castEdgeShadows>
    <fillPercent>1</fillPercent>
    <pathCost>250</pathCost>
    <blockLight>false</blockLight>
    <staticSunShadowHeight>0.35</staticSunShadowHeight>
    <statBases>
      <MaxHitPoints>2000</MaxHitPoints>
      <WorkToBuild>22000</WorkToBuild>
      <Flammability>0</Flammability>
      <Beauty>-40</Beauty>
    </statBases>
    <tickerType>Normal</tickerType>
    <size>(6,10)</size>
    <building>
      <heatPerTickWhileWorking>4</heatPerTickWhileWorking>
    </building>
    <costList>
      <Steel>1500</Steel>
      <turbineBlade>1500</turbineBlade>
      <Component>40</Component>
    </costList>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>HighVoltage</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Steam</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>ColdWater</mode>
      </li>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Cooling</mode>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>1000</basePowerConsumption>
        <startElectricalFires>true</startElectricalFires>
      </li>
      <li Class="Rimatomics.CompProperties_Upgradable"/>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <rotatable>true</rotatable>
    <terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
    <leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
    <constructEffect>ConstructMetal</constructEffect>
    <designationHotkey>Misc6</designationHotkey>
    <placeWorkers>
      <li>Rimatomics.PlaceWorker_ResearchStage</li>
    </placeWorkers>
    <researchPrerequisites>
      <li>NuclearReactor4</li>
    </researchPrerequisites>
  </ThingDef>


  <!-- TRANNY -->

  <ThingDef ParentName="BasedPower">
    <defName>Transformer</defName>
    <label>High Voltage Transformer</label>
    <description>Provides the final voltage transformation from the Turbine Generators, stepping down the voltage used in the high voltage lines to the level used by power conduits</description>
    <thingClass>Rimatomics.Transformer</thingClass>
    <iconDrawScale>1.3</iconDrawScale>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/transformer</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(4,4)</drawSize>
      <shadowData>
        <volume>(0.3, 0.6, 0.3)</volume>
        <offset>(0,0,-0.1)</offset>
      </shadowData>
    </graphicData>
    <canOverlapZones>false</canOverlapZones>
    <rotatable>false</rotatable>
    <altitudeLayer>Building</altitudeLayer>
    <passability>Impassable</passability>
    <blockWind>true</blockWind>
    <castEdgeShadows>false</castEdgeShadows>
    <pathCost>250</pathCost>
    <fillPercent>0.5</fillPercent>
    <blockLight>false</blockLight>
    <statBases>
      <MaxHitPoints>250</MaxHitPoints>
      <WorkToBuild>3800</WorkToBuild>
      <Flammability>1.0</Flammability>
    </statBases>
    <size>(2,2)</size>
    <costList>
      <Steel>350</Steel>
      <Component>5</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>HighVoltage</mode>
      </li>
      <li Class="CompProperties_Power">
        <compClass>CompPowerPlant</compClass>
        <basePowerConsumption>0</basePowerConsumption>
        <transmitsPower>true</transmitsPower>
      </li>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <building>
      <heatPerTickWhileWorking>0.5</heatPerTickWhileWorking>
      <soundAmbient>transformer</soundAmbient>
      <ignoreNeedsPower>true</ignoreNeedsPower>
    </building>
    <designationHotkey>Misc6</designationHotkey>
    <researchPrerequisites>
      <li>NuclearReactor7</li>
    </researchPrerequisites>
  </ThingDef>




  <!-- CONTROLLERS -->

  <ThingDef ParentName="BasedPower">
    <defName>ReactorControl</defName>
    <label>reactor console</label>
    <description>Computer system designed to control nuclear reactors. Send a colonist to man the station to access the controls, multiple controls can be open at the same time</description>
    <thingClass>Rimatomics.ReactorControl</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/ReactorControl</texPath>
      <graphicClass>Graphic_Multi</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(7,4)</drawSize>
      <damageData>
        <rect>(0,0,3,1.8)</rect>
        <cornerBL>Damage/Corner</cornerBL>
        <cornerBR>Damage/Corner</cornerBR>
      </damageData>
    </graphicData>
    <pathCost>250</pathCost>
    <DrawGUIOverlay>True</DrawGUIOverlay>
    <altitudeLayer>Building</altitudeLayer>
    <passability>PassThroughOnly</passability>
    <blockWind>false</blockWind>
    <canOverlapZones>false</canOverlapZones>
    <castEdgeShadows>false</castEdgeShadows>
    <fillPercent>1</fillPercent>
    <blockLight>false</blockLight>
    <staticSunShadowHeight>0.35</staticSunShadowHeight>
    <statBases>
      <MaxHitPoints>250</MaxHitPoints>
      <WorkToBuild>2800</WorkToBuild>
      <Flammability>1.0</Flammability>
    </statBases>
    <hasInteractionCell>True</hasInteractionCell>
    <interactionCellOffset>(0,0,-1)</interactionCellOffset>
    <rotatable>true</rotatable>
    <size>(5,2)</size>
    <costList>
      <Steel>175</Steel>
      <Component>3</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <comps>
      <li Class="Rimatomics.CompProperties_Pipe">
        <mode>Loom</mode>
      </li>
      <li Class="CompProperties_Flickable"/>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>175</basePowerConsumption>
        <startElectricalFires>true</startElectricalFires>
      </li>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <designationHotkey>Misc6</designationHotkey>
    <researchPrerequisites>
      <li>NuclearReactor8</li>
    </researchPrerequisites>
  </ThingDef>

  
  

  <ThingDef ParentName="BasedPower">
    <defName>storagePool</defName>
    <label>Storage Pool</label>
    <description>A storage pool for safely storing nuclear fuel rods. Right click with a selected pawn to interact and designate fuel for removal</description>
    <thingClass>Rimatomics.Building_storagePool</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/storagePool</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
      <drawSize>(7,7)</drawSize>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <castEdgeShadows>true</castEdgeShadows>
    <passability>Impassable</passability>
    <blockWind>true</blockWind>
    <fillPercent>0.5</fillPercent>
    <blockLight>false</blockLight>
    <canOverlapZones>false</canOverlapZones>
    <statBases>
      <MaxHitPoints>350</MaxHitPoints>
      <WorkToBuild>1800</WorkToBuild>
      <Flammability>0.0</Flammability>
    </statBases>
    <size>(5,5)</size>
    <rotatable>false</rotatable>
    <costList>
      <Steel>450</Steel>
      <Component>6</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <designationHotkey>Misc6</designationHotkey>
    <comps>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>175</basePowerConsumption>
        <startElectricalFires>false</startElectricalFires>
      </li>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <building>
      <preventDeterioration>true</preventDeterioration>
      <ignoreStoredThingsBeauty>true</ignoreStoredThingsBeauty>
      <fixedStorageSettings>
        <filter>
          <thingDefs>
            <li>FuelRods</li>
          </thingDefs>
        </filter>
      </fixedStorageSettings>
      <defaultStorageSettings>
        <priority>Important</priority>
        <filter>
          <thingDefs>
            <li>FuelRods</li>
          </thingDefs>
        </filter>
      </defaultStorageSettings>
    </building>
    <inspectorTabs>
      <li>ITab_Storage</li>
      <li>Rimatomics.ITab_StoragePool</li>
    </inspectorTabs>
    <surfaceType>Item</surfaceType>
    <researchPrerequisites>
      <li>NuclearReactor10</li>
    </researchPrerequisites>
  </ThingDef>

  <ThingDef ParentName="BasedPower">
    <defName>RadiationDetector</defName>
    <label>Radiation Detector</label>
    <description>Radiation Detector</description>
    <thingClass>Rimatomics.Building_RadDetector</thingClass>
    <graphicData>
      <texPath>Things/RimatomicsBuildings/RadDetector</texPath>
      <graphicClass>Graphic_Single</graphicClass>
      <shaderType>CutoutComplex</shaderType>
    </graphicData>
    <altitudeLayer>Building</altitudeLayer>
    <canOverlapZones>false</canOverlapZones>
    <castEdgeShadows>true</castEdgeShadows>
    <passability>PassThroughOnly</passability>
    <blockWind>false</blockWind>
    <fillPercent>0.5</fillPercent>
    <blockLight>false</blockLight>
    <statBases>
      <MaxHitPoints>100</MaxHitPoints>
      <WorkToBuild>800</WorkToBuild>
      <Flammability>0.5</Flammability>
    </statBases>
    <rotatable>false</rotatable>
    <DrawGUIOverlay>True</DrawGUIOverlay>
    <costList>
      <Steel>25</Steel>
      <Component>2</Component>
    </costList>
    <tickerType>Normal</tickerType>
    <designationHotkey>Misc6</designationHotkey>
    <comps>
      <li Class="CompProperties_Power">
        <compClass>CompPowerTrader</compClass>
        <basePowerConsumption>75</basePowerConsumption>
        <startElectricalFires>false</startElectricalFires>
      </li>
      <li Class="CompProperties_Breakdownable"/>
    </comps>
    <researchPrerequisites>
      <li>NuclearReactor10</li>
    </researchPrerequisites>
  </ThingDef>

</Buildings>