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

	<TerrainDef Name="MSI_FloorBase" Abstract="True">
		<layerable>true</layerable>
		<affordances>
			<li>Light</li>
			<li>Heavy</li>
			<li>SmoothHard</li>
		</affordances>
		<statBases>
			<WorkToBuild>135</WorkToBuild>
		</statBases>
		<designationCategory>Floors</designationCategory>
		<constructEffect>ConstructDirt</constructEffect>
		<acceptTerrainSourceFilth>True</acceptTerrainSourceFilth>
		<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
		<fertility>0</fertility>
		<researchPrerequisites>
			<li>SmokeleafProcessing</li>
			<li>Stonecutting</li>
		</researchPrerequisites>
	</TerrainDef>
  
	<ArchitectSense.DesignationSubCategoryDef>
        <defName>MSI_FloorBase</defName>
        <label>Hemp Floors</label>
        <description>Floors made from hemp products.</description>
        <defNames>
            <li>BrickHempcrete</li>
            <li>FlagstoneHempcrete</li>
            <li>Hempcrete</li>
            <li>HempcreteTile</li>
            <li>CarpetHemp</li>
            <li>CarpetDevilsleaf</li>
            <li>HempcretePlate</li>
            <li>HempStalkFloor</li>
            <li>HempcretePath</li>
        </defNames>
        <designationCategory>Floors</designationCategory>
    	<preview>true</preview>
        <debug>true</debug>
    </ArchitectSense.DesignationSubCategoryDef>  
  
  <!--========== HempBlock TileStoneBase ==========-->
  
	<TerrainDef Abstract="True" ParentName="MSI_FloorBase" Name="MSI_TileStoneBase">
		<renderPrecedence>220</renderPrecedence>
		<description>Refined, carefully-cut stone tiles for a castle feeling. Pretty to look at, but they take a long time to lay.</description>
		<texturePath>Terrain/MSI_tileStone</texturePath>
		<statBases>
			<WorkToBuild>500</WorkToBuild>
			<Beauty>2</Beauty>
		</statBases>
	</TerrainDef>
  
	<TerrainDef ParentName="MSI_TileStoneBase">
		<defName>BrickHempcrete</defName>
		<label>hempcrete bricks</label>
		<costList>
			<BlocksHempcrete>5</BlocksHempcrete>
		</costList>
	</TerrainDef>
  
  <!--========== HempBlock FlagStoneBase ==========-->
  
	<TerrainDef Abstract="True" ParentName="MSI_FloorBase" Name="MSI_FlagstoneBase">
		<renderPrecedence>220</renderPrecedence>
		<description>Roughly-cut stone tiles. Not super pretty, but they make good surfaces for roads and outdoor walkways. Deconstructing flagstone yields no resources.</description>
		<texturePath>Terrain/MSI_flagstone</texturePath>
		<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
		<statBases>
			<WorkToBuild>500</WorkToBuild>
			<Beauty>1</Beauty>
		</statBases>
		<tags>
			<li>Road</li>
		</tags>
	</TerrainDef>

	<TerrainDef ParentName="MSI_FlagstoneBase">
		<defName>FlagstoneHempcrete</defName>
		<label>hempcrete flagstone</label>
		<costList>
			<BlocksHempcrete>3</BlocksHempcrete>
		</costList>
	</TerrainDef>
  
  <!--========== Hempcrete Misc Floors ==========-->

	<TerrainDef ParentName="MSI_FloorBase">
		<defName>Hempcrete</defName>
		<label>hempcrete</label>
		<description>Smooth hempcrete floor. Fast to walk on, easy to clean.</description>
		<texturePath>Terrain/MSI_hempcrete</texturePath>
		<edgeType>Hard</edgeType>
		<renderPrecedence>240</renderPrecedence>
		<statBases>
			<Cleanliness>0.1</Cleanliness>
			<WorkToBuild>100</WorkToBuild>
		</statBases>
		<costList>
			<BlocksHempcrete>1</BlocksHempcrete>
		</costList>
	</TerrainDef>
	
	<TerrainDef ParentName="MSI_FloorBase">
		<defName>HempcreteTile</defName>
		<label>hempcrete tile</label>
		<renderPrecedence>240</renderPrecedence>
		<description>Large hempcrete tiles. Pretty, but labor and material-intensive.</description>
		<texturePath>Terrain/MSI_genericFloorTile</texturePath>
		<edgeType>Hard</edgeType>
		<statBases>
			<Cleanliness>0.1</Cleanliness>
			<WorkToBuild>300</WorkToBuild>
			<Beauty>1</Beauty>
		</statBases>
		<costList>
			<BlocksHempcrete>3</BlocksHempcrete>
		</costList>
	</TerrainDef>
  
	<TerrainDef ParentName="MSI_FloorBase">
		<defName>HempcretePlate</defName>
		<label>hempcrete plate</label>
		<renderPrecedence>240</renderPrecedence>
		<description>Large hempcrete tiles. Pretty, but labor and material-intensive.</description>
		<texturePath>Terrain/MSI_hempcretePlate</texturePath>
		<statBases>
			<Cleanliness>0.1</Cleanliness>
			<WorkToBuild>500</WorkToBuild>
			<Beauty>3</Beauty>
		</statBases>
		<costList>
			<BlocksHempcrete>7</BlocksHempcrete>
		</costList>
		<researchPrerequisites>
			<li>IndustrialSmokeleafProcessing</li>
			<li>Stonecutting</li>
		</researchPrerequisites>
	</TerrainDef>
	
	<TerrainDef ParentName="MSI_FloorBase">
		<defName>HempcretePath</defName>
		<label>hempcrete path</label>
		<renderPrecedence>220</renderPrecedence>
		<description>A random looking path made from smooth hempcrete chunks. </description>
		<texturePath>Terrain/MSI_hempcretePath</texturePath>
		<statBases>
			<Cleanliness>0.1</Cleanliness>
			<WorkToBuild>300</WorkToBuild>
			<Beauty>1</Beauty>
		</statBases>
		<costList>
			<BlocksHempcrete>3</BlocksHempcrete>
		</costList>
	</TerrainDef>

  <!--========== Hemp Carpet ==========-->

    <TerrainDef Name="MSI_CarpetBase" ParentName="MSI_FloorBase" Abstract="True">
		<researchPrerequisites>
			<li>CarpetMaking</li>
			<li>SmokeleafProcessing</li>
		</researchPrerequisites>
		<burnedDef>BurnedCarpet</burnedDef>
		<statBases>
			<Beauty>3</Beauty>
			<Flammability>0.25</Flammability>
		</statBases>
    </TerrainDef>
  
	<TerrainDef ParentName="MSI_CarpetBase">
		<defName>CarpetHemp</defName>
		<texturePath>Terrain/MSI_carpet</texturePath>
		<label>hemp carpet</label>
		<costList>
			<HempFabric>7</HempFabric>
		</costList>
		<renderPrecedence>300</renderPrecedence>
		<description>Durable carpet woven from hemp fibers. It is slightly flame resistant.</description>
		<color>(138,139,108)</color>
	</TerrainDef>

  	<TerrainDef ParentName="MSI_CarpetBase">
		<defName>CarpetDevilsleaf</defName>
		<texturePath>Terrain/MSI_devilsleafCarpet</texturePath>
		<label>devilsleaf carpet</label>
		<costList>
			<DevilsleafFabric>7</DevilsleafFabric>
		</costList>
		<renderPrecedence>300</renderPrecedence>
		<description>Carpet woven from devilsleaf fibers. It is slightly flame resistant.</description>
		<color>(97,33,26)</color>
	</TerrainDef>

  <!--========== Hemp Stalk Floor ==========-->

    <TerrainDef Name="MSI_HempStalkBase" ParentName="MSI_FloorBase" Abstract="True">
		<texturePath>Terrain/MSI_hempStalkFloor</texturePath>
		<researchPrerequisites>
			<li>IndustrialSmokeleafProcessing</li>
		</researchPrerequisites>
		<burnedDef>BurnedWoodPlankFloor</burnedDef>
		<statBases>
			<Cleanliness>0.1</Cleanliness>
			<Beauty>3</Beauty>
			<Flammability>1.0</Flammability>
		</statBases>
    </TerrainDef>
  
	<TerrainDef ParentName="MSI_HempStalkBase">
		<defName>HempStalkFloor</defName>
		<label>hemp stalk floor</label>
		<costList>
			<HempFiber>7</HempFiber>
		</costList>
		<renderPrecedence>200</renderPrecedence>
		<description>Boards made from the stalks of smokeleaf make for a beautiful floor.  Be careful for fires.</description>
	</TerrainDef>

</Defs>