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

	<ThingDef Name="BuildingBase" Abstract="True">
		<category>Building</category>
		<soundBulletHit>BulletImpactMetal</soundBulletHit>
		<selectable>true</selectable>
		<drawerType>MapMeshAndRealTime</drawerType>
		<surfaceNeeded>Light</surfaceNeeded>
		<constructionEffect>ConstructMetal</constructionEffect>
		<repairEffect>Repair</repairEffect>
	</ThingDef>

	<ThingDef Base="BuildingBase">
		<defName>CrashedShipPart</defName>
		<eType>BuildingComplex</eType>
		<label>Crashed ship part</label>
		<description>A mysterious crashed piece of a spaceship. It may contain exotic materials, computers, even AI personas. This kind of technology can be dangerous.</description>
		<category>Building</category>
		<thingClass>Building_CrashedShipPart</thingClass>
		<texturePath>Things/Building/Exotic/CrashedShipPart</texturePath>
		<altitudeLayer>BuildingTall</altitudeLayer>
		<pathCost>150</pathCost>
		<passability>Impassable</passability>
		<fillPercent>1.0</fillPercent>
		<size>(6,3)</size>
		<maxHealth>1200</maxHealth>
    <tickerType>Normal</tickerType>
		<killedLeavings>
      <li>
        <thingDef>AIPersonaCore</thingDef>
        <count>1</count>
      </li>
			<li>
				<thingDef>Metal</thingDef>
				<count>280</count>
			</li>
			<li>
				<thingDef>Silver</thingDef>
				<count>140</count>
			</li>
			<li>
				<thingDef>ChunkSlag</thingDef>
				<count>2</count>
			</li>
		</killedLeavings>
		<filthLeavings>
			<li>
				<thingDef>SlagRubble</thingDef>
				<count>6</count>
			</li>
		</filthLeavings>
		<rotatable>true</rotatable>
		<selectable>true</selectable>
		<neverMultiSelect>true</neverMultiSelect>
		<beauty>UglyTiny</beauty>
		<surfaceNeeded>Light</surfaceNeeded>
		<soundBulletHit>BulletImpactMetal</soundBulletHit>
		<drawerType>MapMeshOnly</drawerType>
		<constructionEffect>ConstructMetal</constructionEffect>
		<repairEffect>ConstructMetal</repairEffect>
		<combatTargetBuilding>true</combatTargetBuilding>
		<castEdgeShadows>false</castEdgeShadows>
		<staticSunShadowHeight>1.0</staticSunShadowHeight>
		<flammability>0.0</flammability>
    <building>
      <soundAmbient>CrashedShipPart_Ambience</soundAmbient>
    </building>
	</ThingDef>
</Buildings>