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


    <RecipeDef ParentName="SurgeryInstallBodyPartNaturalBase">
        <defName>InstallDragonianOrb</defName>
        <label>install DragonianOrb</label>
        <description>Install a dragonian orb.</description>
        <descriptionHyperlinks>
            <ThingDef>DragonianOrb</ThingDef>
        </descriptionHyperlinks>
        <jobString>Installing DragonianOrb.</jobString>
        <deathOnFailedSurgeryChance>0.05</deathOnFailedSurgeryChance>
        <skillRequirements>
            <Medicine>8</Medicine>
        </skillRequirements>
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>DragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>DragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
    </RecipeDef>

    <RecipeDef Name="DR_SurgeryInstallPlasteelPartBase" ParentName="SurgeryInstallBodyPartArtificialBase" Abstract="True">
        <workAmount>1500</workAmount>
        <skillRequirements>
            <Medicine>3</Medicine>
        </skillRequirements>
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>Plasteel</li>
                    </thingDefs>
                </filter>
                <count>10</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>Plasteel</li>
            </thingDefs>
        </fixedIngredientFilter>
    </RecipeDef>

    <RecipeDef ParentName="DR_SurgeryInstallPlasteelPartBase">
        <defName>InstallFakeDragonianOrb</defName>
        <label>install fake DragonianOrb</label>
        <description>Install a fake DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>Plasteel</ThingDef>
        </descriptionHyperlinks>
        <jobString>Installing fake DragonianOrb.</jobString>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>FakeDragonianOrb</addsHediff>
        <uiIconThing>DragonianOrb</uiIconThing>
    </RecipeDef>

    <RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
        <defName>InstallFlareDragonianOrb</defName>
        <label>install Flare DragonianOrb</label>
        <description>Install Flare DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>FlareDragonianOrb</ThingDef>
            <HediffDef>FlareDragonianOrb</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing Flare DragonianOrb.</jobString>
        <surgeryOutcomeEffect IsNull="True" />
        <!-- Always succeeds -->
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>FlareDragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>FlareDragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>FlareDragonianOrb</addsHediff>
    </RecipeDef>

    <RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
        <defName>InstallThunderDragonianOrb</defName>
        <label>install Thunder DragonianOrb</label>
        <description>Install Thunder DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>ThunderDragonianOrb</ThingDef>
            <HediffDef>ThunderDragonianOrb</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing Thunder DragonianOrb.</jobString>
        <surgeryOutcomeEffect IsNull="True" />
        <!-- Always succeeds -->
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>ThunderDragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>ThunderDragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>ThunderDragonianOrb</addsHediff>
    </RecipeDef>

    <RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
        <defName>InstallFrozenDragonianOrb</defName>
        <label>install Frozen DragonianOrb</label>
        <description>Install Frozen DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>FrozenDragonianOrb</ThingDef>
            <HediffDef>FrozenDragonianOrb</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing Frozen DragonianOrb.</jobString>
        <surgeryOutcomeEffect IsNull="True" />
        <!-- Always succeeds -->
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>FrozenDragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>FrozenDragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>FrozenDragonianOrb</addsHediff>
    </RecipeDef>

    <RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
        <defName>InstallHyperhealDragonianOrb</defName>
        <label>install Hyperheal DragonianOrb</label>
        <description>Install Hyperheal DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>HyperhealDragonianOrb</ThingDef>
            <HediffDef>HyperhealDragonianOrb</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing Hyperheal DragonianOrb.</jobString>
        <surgeryOutcomeEffect IsNull="True" />
        <!-- Always succeeds -->
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>HyperhealDragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>HyperhealDragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>HyperhealDragonianOrb</addsHediff>
    </RecipeDef>

    <RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
        <defName>InstallHardenDragonianOrb</defName>
        <label>install Harden DragonianOrb</label>
        <description>Install Harden DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>HardenDragonianOrb</ThingDef>
            <HediffDef>HardenDragonianOrb</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing Harden DragonianOrb.</jobString>
        <surgeryOutcomeEffect IsNull="True" />
        <!-- Always succeeds -->
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>HardenDragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>HardenDragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>HardenDragonianOrb</addsHediff>
    </RecipeDef>

    <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>

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

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

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

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

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

    <RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
        <defName>InstallShieldDragonianOrb</defName>
        <label>install Shield DragonianOrb</label>
        <description>Install Shield DragonianOrb.</description>
        <descriptionHyperlinks>
            <ThingDef>ShieldDragonianOrb</ThingDef>
            <HediffDef>ShieldDragonianOrb</HediffDef>
        </descriptionHyperlinks>
        <jobString>Installing Shield DragonianOrb.</jobString>
        <surgeryOutcomeEffect IsNull="True" />
        <!-- Always succeeds -->
        <ingredients>
            <li>
                <filter>
                    <thingDefs>
                        <li>ShieldDragonianOrb</li>
                    </thingDefs>
                </filter>
                <count>1</count>
            </li>
        </ingredients>
        <fixedIngredientFilter>
            <thingDefs>
                <li>ShieldDragonianOrb</li>
            </thingDefs>
        </fixedIngredientFilter>
        <appliedOnFixedBodyParts>
            <li>DragonianOrb</li>
        </appliedOnFixedBodyParts>
        <addsHediff>ShieldDragonianOrb</addsHediff>
    </RecipeDef>
</Defs>