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

<ThingDefs>

	<ThingDef Name="BaseMeleeWeapon" Abstract="True">
		<category>Item</category>
		<thingClass>ThingWithComps</thingClass>
		<equipmentType>Primary</equipmentType>
		<pathCost>10</pathCost>
		<useHitPoints>True</useHitPoints>
		<selectable>True</selectable>
		<graphicData>
			<onGroundRandomRotateAngle>35</onGroundRandomRotateAngle>
		</graphicData>
		<drawGUIOverlay>true</drawGUIOverlay>
		<statBases>
			<MaxHitPoints>100</MaxHitPoints>
			<Flammability>1.0</Flammability>
			<DeteriorationRate>0.5</DeteriorationRate>
			<SellPriceFactor>0.5</SellPriceFactor>
		</statBases>
		<altitudeLayer>Item</altitudeLayer>
		<alwaysHaulable>True</alwaysHaulable>
		<tickerType>Never</tickerType>
		<techLevel>Midworld</techLevel>
		<weaponTags>
			<li>Melee</li>
		</weaponTags>
		<thingCategories>
			<li>WeaponsMelee</li>
		</thingCategories>
		<comps>
			<li>
				<compClass>CompForbiddable</compClass>
			</li>
			<li>
				<compClass>CompEquippable</compClass>
			</li>
			<li>
				<compClass>CompQuality</compClass>
			</li>
			<li>
				<compClass>CompArt</compClass>
				<nameMaker>NamerMeleeWeapon</nameMaker>
				<descriptionMaker>ArtWeaponMelee</descriptionMaker>
				<minQualityForArtistic>Excellent</minQualityForArtistic>
			</li>
		</comps>
		<recipeMaker>
			<workSpeedStat>SmithingSpeed</workSpeedStat>
			<workSkill>Crafting</workSkill>
			<effectWorking>Smith</effectWorking>
			<soundWorking>Recipe_Smith</soundWorking>
			<recipeUsers>
				<li>TableSmithing</li>
			</recipeUsers>
			<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
		</recipeMaker>
		<inspectorTabs>
			<li>ITab_Art</li>
		</inspectorTabs>
	</ThingDef>



	<ThingDef Name="BaseMeleeWeapon_Sharp" ParentName="BaseMeleeWeapon" Abstract="True">
		<recipeMaker>
			<defaultIngredientFilter>
				<categories>
					<li>Root</li>
				</categories>
				<exceptedThingDefs>
					<li>Silver</li>
					<li>Gold</li>
					<li>WoodLog</li>
				</exceptedThingDefs>
			</defaultIngredientFilter>
		</recipeMaker>
	</ThingDef>

	<ThingDef Name="BaseMeleeWeapon_Blunt" ParentName="BaseMeleeWeapon" Abstract="True">
		<recipeMaker>
			<defaultIngredientFilter>
				<categories>
					<li>Root</li>
				</categories>
				<exceptedThingDefs>
					<li>Silver</li>
					<li>Gold</li>
				</exceptedThingDefs>
			</defaultIngredientFilter>
		</recipeMaker>
	</ThingDef>


	<!-- ============================================================== -->

	<ThingDef ParentName="BaseMeleeWeapon_Sharp">
		<defName>MeleeWeapon_GTPacifier</defName>
		<label>Orion Corp pacifier</label>
		<description>A staff equiped with electrodes which blast targets with heat and electrity. Designed to enforce maximum pain with moderate damage.</description>
		<graphicData>
			<texPath>Things/Item/Equipment/WeaponMelee/Knife</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<soundInteract>InteractPistol</soundInteract>
		<weaponTags>
			<li>OCMelee</li>
		</weaponTags>
		<costStuffCount>90</costStuffCount>
		<costList>
			<ComputerComp>5</ComputerComp>
			<Uranium>1</Uranium>
		</costList>
		<statBases>
			<WorkToMake>45000</WorkToMake>
			<MeleeWeapon_DamageAmount>10</MeleeWeapon_DamageAmount>
			<MeleeWeapon_Cooldown>1.0</MeleeWeapon_Cooldown>
		</statBases>
		<equippedAngleOffset>-65</equippedAngleOffset>
		<stuffCategories>
			<li>Metallic</li>
		</stuffCategories>
		<verbs>
			<li>
				<verbClass>Verb_MeleeAttack</verbClass>
				<hasStandardCommand>true</hasStandardCommand>
				<meleeDamageDef>PacifierStab</meleeDamageDef>
			</li>
		</verbs>
	</ThingDef>

</ThingDefs>