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


	<ThingDef ParentName="SlottableTestBase">
		<defName>MeleeWeapon_TestKnife</defName>
		<label>slotted knife</label>
		<description>One of humankind's oldest tools, the knife is both an everyday tool and a deadly weapon.</description>
		<tickerType>Normal</tickerType>			
		<comps>
		  <li Class="CompSlotLoadable.CompProperties_SlotLoadable">
		    <slots>
				<li>SlotTest</li>
			</slots>
		  </li>
		</comps>
	</ThingDef>

	<ThingDef Abstract="True" Name="SlottableTestBase" ParentName="BaseMeleeTestWeapon_Sharp">
		<graphicData>
			<texPath>Things/Item/Equipment/WeaponMelee/Knife</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<soundInteract>InteractPistol</soundInteract>
		<costStuffCount>40</costStuffCount>	
		<statBases>
			<WorkToMake>4000</WorkToMake>
			<Mass>0.5</Mass>
			<MeleeWeapon_DamageAmount>8</MeleeWeapon_DamageAmount>
			<MeleeWeapon_Cooldown>1.66</MeleeWeapon_Cooldown>
		</statBases>
		<equippedAngleOffset>-65</equippedAngleOffset>
		<stuffCategories>
			<li>Metallic</li>
		</stuffCategories>
		<verbs>
			<li>
				<verbClass>Verb_MeleeAttack</verbClass>
				<hasStandardCommand>true</hasStandardCommand>
				<meleeDamageDef>Cut</meleeDamageDef>
			</li>
		</verbs>
	</ThingDef>

	<!-- Bases -->

	<ThingDef Abstract="True" Name="BaseTestWeapon">
		<thingClass>ThingWithComps</thingClass>
		<category>Item</category>
		<drawGUIOverlay>true</drawGUIOverlay>
		<altitudeLayer>Item</altitudeLayer>
		<alwaysHaulable>true</alwaysHaulable>
		<tickerType>Never</tickerType>
		<equipmentType>Primary</equipmentType>
		<useHitPoints>true</useHitPoints>
		<pathCost>10</pathCost>
		<selectable>true</selectable>
		<statBases>
			<MaxHitPoints>100</MaxHitPoints>
			<Flammability>1.0</Flammability>
			<DeteriorationRate>2</DeteriorationRate>
			<Beauty>-6</Beauty>
			<SellPriceFactor>0.20</SellPriceFactor>
		</statBases>
		<comps>
			<li Class="CompProperties_Forbiddable"/>
			<li>
				<compClass>CompEquippable</compClass>
			</li>
		</comps>
		<graphicData>
			<onGroundRandomRotateAngle>35</onGroundRandomRotateAngle>
		</graphicData>
	</ThingDef>

	  <ThingDef Name="BaseMeleeTestWeapon" Abstract="True" ParentName="BaseTestWeapon">
    <techLevel>Industrial</techLevel>
		<smeltable>true</smeltable>
		<weaponTags>
      <li>Melee</li>
    </weaponTags>
    <thingCategories>
      <li>WeaponsMelee</li>
    </thingCategories>
    <comps>
      <li>
        <compClass>CompQuality</compClass>
      </li>
      <li Class="CompProperties_Art">
        <nameMaker>ArtName_WeaponMelee</nameMaker>
        <descriptionMaker>ArtDescription_WeaponMelee</descriptionMaker>
        <minQualityForArtistic>Excellent</minQualityForArtistic>
      </li>
    </comps>
    <recipeMaker>
      <workSpeedStat>SmithingSpeed</workSpeedStat>
      <workSkill>Crafting</workSkill>
      <effectWorking>Smith</effectWorking>
      <soundWorking>Recipe_Smith</soundWorking>
      <recipeUsers>
        <li>ElectricSmithy</li>
        <li>FueledSmithy</li>
      </recipeUsers>
      <unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
    </recipeMaker>
    <inspectorTabs>
      <li>ITab_Art</li>
    </inspectorTabs>
  </ThingDef>
	
  <ThingDef Name="BaseMeleeTestWeapon_Sharp" ParentName="BaseMeleeTestWeapon" Abstract="True">
    <recipeMaker>
    <defaultIngredientFilter>
      <categories>
        <li>Root</li>
      </categories>
      <exceptedThingDefs>
        <li>Silver</li>
        <li>Gold</li>
        <li>WoodLog</li>
      </exceptedThingDefs>
    </defaultIngredientFilter>
    </recipeMaker>
  </ThingDef>


</ThingDefs>