<?xml version="1.0" encoding="utf-8" ?>
<Defs>
	<ThingDef ParentName="BodyPartProstheticBase">
		<defName>DR_FakeTail</defName>
		<label>fake tail</label>
		<description>It is a fake tail made of leather.</description>
		<techLevel>Medieval</techLevel>
		<recipeMaker>
			<recipeUsers Inherit="False">
				<li>ElectricTailoringBench</li>
				<li>HandTailoringBench</li>
			</recipeUsers>
		</recipeMaker>
		<costList>
			<Cloth>85</Cloth>
		</costList>
		<statBases>
			<WorkToMake>4500</WorkToMake>
			<Mass>0.5</Mass>
		</statBases>
		<techHediffsTags>
			<li>Simple</li>
		</techHediffsTags>
	</ThingDef>
	<ThingDef ParentName="BodyPartBionicBase">
		<defName>DR_BionicTail</defName>
		<label>bionic tail</label>
		<description>An advanced artificial tail. It also has a small AI that automatically balances the user's missing.</description>
		<techLevel>Spacer</techLevel>
		<costList> 
			<Plasteel>15</Plasteel>
			<ComponentSpacer>4</ComponentSpacer>
		</costList>
		<statBases>
			<WorkToMake>26000</WorkToMake>
			<Mass>5</Mass>
		</statBases>
		<techHediffsTags>
			<li>Advanced</li>
		</techHediffsTags>
	</ThingDef>

	<RecipeDef ParentName="SurgeryInstallBodyPartProstheticBase">
        <defName>InstallDR_BionicTail</defName>
        <label>install bionic tail</label>
        <description>Install a bionic tail.</description>
        <descriptionHyperlinks>
            <ThingDef>DR_BionicTail</ThingDef>
            <HediffDef>DR_BionicTail</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing bionic tail.</jobString>
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>DR_BionicTail</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>DR_BionicTail</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>Spine</li>
        </appliedOnFixedBodyParts>
        <addsHediff>DR_BionicTail</addsHediff>
    </RecipeDef>

    <RecipeDef ParentName="SurgeryInstallBodyPartProstheticBase">
        <defName>InstallDR_FakeTail</defName>
        <label>install fake tail</label>
        <description>Install a fake tail.</description>
        <descriptionHyperlinks>
            <ThingDef>DR_FakeTail</ThingDef>
            <HediffDef>DR_FakeTail</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing fake tail.</jobString>
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>DR_FakeTail</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>DR_FakeTail</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>Spine</li>
        </appliedOnFixedBodyParts>
        <addsHediff>DR_FakeTail</addsHediff>
    </RecipeDef>

</Defs>
