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

	<ThingDef ParentName="BuildingBase">
		<defName>LTF_CloneVat</defName>
		<label>clone vat</label>
		<thingClass>Building_CryptosleepCasket</thingClass>

		<graphicData>
			<texPath>Things/Building/CloneVat/CloneVat</texPath>
			<!-- <graphicClass>Graphic_Multi</graphicClass> -->
			<graphicClass>Graphic_Multi</graphicClass>
			<shaderType>CutoutComplex</shaderType>
			<drawSize>(3.5,1.5)</drawSize>
		</graphicData>

		<rotatable>false</rotatable>
		<defaultPlacingRot>South</defaultPlacingRot>
		
		<altitudeLayer>Building</altitudeLayer>
		<passability>PassThroughOnly</passability>
		<pathCost>70</pathCost>
		<blockWind>true</blockWind>
		<castEdgeShadows>true</castEdgeShadows>
		<fillPercent>0.5</fillPercent>
		<canOverlapZones>false</canOverlapZones>
		
		<surfaceType>Item</surfaceType>

		<resourcesFractionWhenDeconstructed>.3</resourcesFractionWhenDeconstructed>
		
		<statBases>
			<WorkToBuild>3200</WorkToBuild>
			<MaxHitPoints>250</MaxHitPoints>
			<Flammability>1.0</Flammability>
		</statBases>
		
		<tickerType>Normal</tickerType>

		<description>A powered clone dispenser.
- Requires at least one meat grinder with enough ressources.
- Requires at least one phenodrill with a registered pawn.
- Clone production will occur in case of registered pawn death.</description>
		<size>(3,2)</size>
		<designationCategory>Misc</designationCategory>
		<hasInteractionCell>true</hasInteractionCell>
		<interactionCellOffset>(0,0,1)</interactionCellOffset>
		
		
		<building>
			<ai_chillDestination>false</ai_chillDestination>
			<!-- <isPlayerEjectable>true</isPlayerEjectable> -->
		</building>
		
	    <stuffCategories>
			<li>Metallic</li>
		</stuffCategories>
		
		<costStuffCount>150</costStuffCount>
		<costList>
			<Steel>50</Steel>
			<Uranium>5</Uranium>
			<Medicine>2</Medicine>
			<Component>5</Component>
		</costList>
		
		<comps>
			<li Class="CompProperties_Explosive">
				<explosiveRadius>2.66</explosiveRadius>
				<explosiveDamageType>Flame</explosiveDamageType>
			</li>
			
			<li Class="CompProperties_Power">
				<compClass>CompPowerTrader</compClass>
				<basePowerConsumption>250</basePowerConsumption>
				<startElectricalFires>true</startElectricalFires>
			</li>
			<li Class="CompProperties_Flickable"/>
			<li Class="LighterThanFast.CompProperties_LTF_CloneVat">
			        <WorkPerAABase>25</WorkPerAABase>
					<WorkPerAASpectrum>-16</WorkPerAASpectrum>
					<ForgetBPLuckBase>0</ForgetBPLuckBase>
			</li>
			<li><compClass>CompQuality</compClass></li>
		</comps>
		
		<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
		<staticSunShadowHeight>0.4</staticSunShadowHeight>
		
		<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
		
		<researchPrerequisites>
			<li>LTF_Research_CloneBay_CloneVat</li>
		</researchPrerequisites>
		
	</ThingDef>

</Defs>