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


	<ThingDef ParentName="SlottableTestBase">
		<defName>MeleeWeapon_TestKnife</defName>
		<label>slotted knife</label>
		<tradeability>Never</tradeability>
		<generateCommonality>0</generateCommonality>
		<generateAllowChance>0</generateAllowChance>
		<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>InteractAutopistol</soundInteract>
		<costStuffCount>40</costStuffCount>
		<statBases>
			<WorkToMake>4000</WorkToMake>
			<Mass>0.5</Mass>
		</statBases>
		<equippedAngleOffset>-65</equippedAngleOffset>
		<stuffCategories>
			<li>Metallic</li>
		</stuffCategories>
    <tools>
      <li>
        <label>handle</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>6</power>
        <cooldownTime>2.5</cooldownTime>
      </li>
      <li>
        <label>point</label>
        <capacities>
          <li>Stab</li>
        </capacities>
        <power>16</power>
        <cooldownTime>2.5</cooldownTime>
      </li>
      <li>
        <label>edge</label>
        <capacities>
          <li>Cut</li>
        </capacities>
        <power>21</power>
        <cooldownTime>2.5</cooldownTime>
      </li>
    </tools>
	</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>
		<tradeability>Never</tradeability>
		<statBases>
			<MaxHitPoints>100</MaxHitPoints>
			<Flammability>1.0</Flammability>
			<DeteriorationRate>2</DeteriorationRate>
			<MarketValue>1</MarketValue>
			<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>
    <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>


</Defs>
