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


	<ThingDef Name="ApparelBase" Abstract="True">
		<thingClass>Apparel</thingClass>
		<eType>Apparel</eType>
		<category>Item</category>
		<selectable>True</selectable>
		<pathCost>10</pathCost>
		<useStandardHealth>True</useStandardHealth>
		<maxHealth>100</maxHealth>
		<altitudeLayer>Item</altitudeLayer>
		<alwaysHaulable>True</alwaysHaulable>
		<tickerType>Never</tickerType>
		<storeCategories>
			<li>Apparel</li>
		</storeCategories>
		<comps>
			<li>
				<compClass>CompForbiddable</compClass>
			</li>
		</comps>
	</ThingDef>



  
	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_BasicShirt</defName>
		<label>T-shirt</label>
    <description>A basic T-shirt.</description>
    <texturePath>Things/Pawn/Humanoid/Apparel/ShirtBasic/ShirtBasic</texturePath>
		<apparel>
			<damageAbsorption>0.03</damageAbsorption>
			<graphicPath>Things/Pawn/Humanoid/Apparel/ShirtBasic/ShirtBasic</graphicPath>
			<layers>
			    <li>OnSkin</li>
			</layers>
			<commonality>100</commonality>
			<tags>
				<li>BasicShirt</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_StandardApparel" />
	</ThingDef>


	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_CollarShirt</defName>
    <description>A nice-looking collared shirt with buttons.</description>
		<label>Button-down shirt</label>
    <texturePath>Things/Pawn/Humanoid/Apparel/ShirtButton/ShirtButton</texturePath>
		<apparel>
			<damageAbsorption>0.03</damageAbsorption>
			<graphicPath>Things/Pawn/Humanoid/Apparel/ShirtButton/ShirtButton</graphicPath>
			<layers>
			    <li>OnSkin</li>
			</layers>
			<commonality>100</commonality>
			<tags>
				<li>BasicShirt</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_StandardApparel" />
	</ThingDef>



	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_Duster</defName>
    <description>A long duster coat for blocking the sun and grit of the desert.</description>
    <label>Duster</label>
     <texturePath>Things/Pawn/Humanoid/Apparel/Duster/Duster</texturePath>
		<apparel>
			<damageAbsorption>0.08</damageAbsorption>
			<moveSpeed>-0.04</moveSpeed>
			<graphicPath>Things/Pawn/Humanoid/Apparel/Duster/Duster</graphicPath>
			<layers>
			    <li>Shell</li>
			</layers>
			<commonality>50</commonality>
			<tags>
				<li>Duster</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_Options">
			<options>
				<li>
					<weight>10</weight>
					<only>RGBA(0.33,0.33,0.33,1)</only>
				</li>
				<li>
					<weight>10</weight>
					<only>RGBA(0.65,0.65,0.65,1)</only>
				</li>
				<li>
					<weight>30</weight>
					<only>RGBA(0.4,0.3,0.15,1)</only>
				</li>
				<li>
					<weight>6</weight>
					<min>RGBA(0.3,0.3,0.3,1)</min>
					<max>RGBA(0.5,0.5,0.5,1)</max>
				</li>
				<li>
					<weight>2</weight>
					<min>RGBA(0.5,0.5,0.5,1)</min>
					<max>RGBA(1,1,1,1)</max>
				</li>
			</options>
		</colorGenerator>
	</ThingDef>



	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_Jacket</defName>
		<label>Jacket</label>
    <description>A tough jacket to stop scrapes and bruises.</description>
    <texturePath>Things/Pawn/Humanoid/Apparel/Jacket/Jacket</texturePath>
		<apparel>
			<damageAbsorption>0.08</damageAbsorption>
			<moveSpeed>-0.03</moveSpeed>
			<graphicPath>Things/Pawn/Humanoid/Apparel/Jacket/Jacket</graphicPath>
			<layers>
			    <li>Shell</li>
			</layers>
			<commonality>50</commonality>
			<tags>
				<li>Jacket</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_Options">
			<options>
				<li>
					<weight>10</weight>
					<only>RGBA(0.33,0.33,0.33,1)</only>
				</li>
				<li>
					<weight>10</weight>
					<only>RGBA(0.65,0.65,0.65,1)</only>
				</li>
				<li>
					<weight>10</weight>
					<only>RGBA(0.4,0.3,0.15,1)</only>
				</li>
				<li>
					<weight>15</weight>
					<min>RGBA(0.3,0.3,0.3,1)</min>
					<max>RGBA(0.5,0.5,0.5,1)</max>
				</li>
				<li>
					<weight>6</weight>
					<min>RGBA(0.5,0.5,0.5,1)</min>
					<max>RGBA(1,1,1,1)</max>
				</li>
			</options>
		</colorGenerator>
	</ThingDef>


	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_VestPlate</defName>
		<label>Armor vest</label>
    <description>A vest with armor plates inserted on the chest and back. Protects against gunfire.</description>
    <texturePath>Things/Pawn/Humanoid/Apparel/VestPlate/VestPlate</texturePath>
		<apparel>
			<damageAbsorption>0.2</damageAbsorption>
			<moveSpeed>-0.08</moveSpeed>
			<graphicPath>Things/Pawn/Humanoid/Apparel/VestPlate/VestPlate</graphicPath>
			<layers>
			    <li>Middle</li>
			</layers>
			<commonality>25</commonality>
			<tags>
				<li>ArmorVest</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_Options">
			<options>
				<li>
					<weight>10</weight>
					<only>RGBA(0.33,0.33,0.33,1)</only>
				</li>
				<li>
					<weight>10</weight>
					<only>RGBA(0.65,0.65,0.65,1)</only>
				</li>
				<li>
					<weight>6</weight>
					<min>RGBA(0.3,0.3,0.3,1)</min>
					<max>RGBA(0.5,0.5,0.5,1)</max>
				</li>
			</options>
		</colorGenerator>
	</ThingDef>


	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_PowerArmor</defName>
		<label>Power armor</label>
    <description>Powered armor usually used by assault troops from advanced glitterworld planets.</description>
    <texturePath>Things/Pawn/Humanoid/Apparel/PowerArmor/PowerArmor</texturePath>
		<apparel>
			<damageAbsorption>0.35</damageAbsorption>
			<moveSpeed>-0.1</moveSpeed>
			<graphicPath>Things/Pawn/Humanoid/Apparel/PowerArmor/PowerArmor</graphicPath>
			<layers>
			    <li>Middle</li>
			    <li>Shell</li>
			</layers>
			<commonality>5</commonality>
			<tags>
				<li>AdvancedArmor</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_Options">
			<options>
				<li>
					<weight>10</weight>
					<only>RGBA(0.33,0.33,0.33,1)</only>
				</li>
				<li>
					<weight>10</weight>
					<only>RGBA(0.65,0.65,0.65,1)</only>
				</li>
				<li>
					<weight>6</weight>
					<min>RGBA(0.3,0.3,0.3,1)</min>
					<max>RGBA(0.5,0.5,0.5,1)</max>
				</li>
				<li>
					<weight>10</weight>
					<only>RGBA(0.9,0.9,0.9,1)</only>
				</li>
			</options>
		</colorGenerator>
	</ThingDef>


	<ThingDef ParentName="ApparelBase">
		<defName>Apparel_TribalA</defName>
		<label>Tribalwear</label>
    <description>A garment crafted directly from animal skins using neolithic tools.</description>
    <texturePath>Things/Pawn/Humanoid/Apparel/TribalA/TribalA</texturePath>
		<apparel>
			<damageAbsorption>0.03</damageAbsorption>
			<graphicPath>Things/Pawn/Humanoid/Apparel/TribalA/TribalA</graphicPath>
			<layers>
			    <li>Middle</li>
			</layers>
			<commonality>100</commonality>
			<tags>
				<li>Tribal</li>
			</tags>
		</apparel>
		<colorGenerator Class="ColorGenerator_Options">
			<options>
				<li>
					<weight>10</weight>
					<only>RGBA(0.4,0.3,0.15,1)</only>
				</li>
				<li>
					<weight>15</weight>
					<only>RGBA(0.6,0.45,0.18,1)</only>
				</li>
				<li>
					<weight>20</weight>
					<only>RGBA(0.8,0.6,0.23,1)</only>
				</li>
			</options>
		</colorGenerator>
	</ThingDef>

</ThingDefs>