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

<Defs>
	<RecipeDef Abstract="True" Name="RJW_RemoveEnemyImplants" ParentName="RJW_SurgeryFlesh">
		<effectWorking>Surgery</effectWorking>
		<soundWorking>Recipe_Surgery</soundWorking>
		<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
		<workSkill>Medicine</workSkill>
		<workSkillLearnFactor>16</workSkillLearnFactor>
		<appliedOnFixedBodyParts>
			<li>Genitals</li>
			<li>Anus</li> 			<!-- someday add anal pregnancy or not? -->
		</appliedOnFixedBodyParts>
	</RecipeDef>
	
	<RecipeDef Abstract="True" Name="RJW_RemoveRestraints" ParentName="RJW_SurgeryFlesh">
		<effectWorking>Surgery</effectWorking>
		<soundWorking>Recipe_Surgery</soundWorking>
		<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
		<workSkill>Medicine</workSkill>
		<workSkillLearnFactor>1</workSkillLearnFactor>
		<hideBodyPartNames>true</hideBodyPartNames>
		<targetsBodyPart>true</targetsBodyPart>
	</RecipeDef>

	<RecipeDef Abstract="True" ParentName="RJW_RemoveEnemyImplants" Name="RJW_RemoveInsectEgg">
		<label>remove egg</label>
		<description>Removes egg.</description>
		<workerClass>Recipe_RemoveHediff</workerClass>
		<jobString>Removing egg.</jobString>
		<workAmount>500</workAmount>
		<workSkillLearnFactor>1</workSkillLearnFactor>
		<ingredients>
			<li>
				<filter>
					<categories>
						<li>Medicine</li>
					</categories>
				</filter>
				<count>1</count>
			</li>
			<!--
			<li>
				<filter>
					<thingDefs>
						<li>InsectJelly</li>
					</thingDefs>
				</filter>
				<count>1</count>
			</li>
			-->
		</ingredients>
		<fixedIngredientFilter>
			<categories>
				<li>Medicine</li>
			</categories>
			<!--
			<thingDefs>
				<li>InsectJelly</li>
			</thingDefs>
			-->
		</fixedIngredientFilter>
	</RecipeDef>
	
	<!-- this needs custom class for x10, fuck it-->
	<RecipeDef Abstract="True" ParentName="RJW_RemoveInsectEgg" Name="RJW_RemoveInsectEggx10">
		<label>remove eggs(x10)</label>
		<description>Removes eggs.</description>
		<jobString>Removing eggs.</jobString>
		<workAmount>1000</workAmount>
		<ingredients>
			<li>
				<filter>
					<categories>
						<li>Medicine</li>
					</categories>
				</filter>
				<count>1</count>
			</li>
			<!--
			<li>
				<filter>
					<thingDefs>
						<li>InsectJelly</li>
					</thingDefs>
				</filter>
				<count>10</count>
			</li>
			-->
		</ingredients>
	</RecipeDef>

	<RecipeDef ParentName="RJW_RemoveInsectEgg">
		<defName>RemoveUnknownEgg</defName>
		<removesHediff>RJW_UnknownEgg</removesHediff>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_RemoveInsectEgg">
		<defName>RemoveInsectHiveEgg</defName>
		<removesHediff>RJW_InsectHiveEgg</removesHediff>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_RemoveEnemyImplants">
		<defName>RemoveMicroComputer</defName>
		<label>remove MicroComputer</label>
		<description>Removes MicroComputer.</description>
		<workerClass>Recipe_RemoveHediff</workerClass>
		<jobString>Removing MicroComputer.</jobString>
		<workAmount>2000</workAmount>
		<removesHediff>RJW_MicroComputer</removesHediff>
		<ingredients>
			<li>
				<filter>
					<categories>
						<li>Medicine</li>
					</categories>
				</filter>
				<count>1</count>
			</li>
		<li>
			<filter>
				<thingDefs>
					<li>Hololock</li>
				</thingDefs>
			</filter>
			<count>1</count>
		</li>
		</ingredients>
		<fixedIngredientFilter>
			<categories>
				<li>Medicine</li>
			</categories>
			<thingDefs>
				<li>Hololock</li>
			</thingDefs>
		</fixedIngredientFilter>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_RemoveRestraints">
		<defName>RJW_RemoveRestraints</defName>
		<label>remove restraints</label>
		<description>Removes restraints.</description>
		<workerClass>rjw.Recipe_RemoveRestraints</workerClass>
		<jobString>Removing restraints.</jobString>
		<workAmount>1000</workAmount>
		<removesHediff>RJW_Restraints</removesHediff>
		<ingredients>
			<li>
				<filter>
					<categories>
						<li>Medicine</li>
					</categories>
				</filter>
				<count>1</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<categories>
				<li>Medicine</li>
			</categories>
		</fixedIngredientFilter>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_RemoveRestraints">
		<defName>RJW_RemoveCocoon</defName>
		<label>remove cocoon</label>
		<description>Removes cocoon.</description>
		<workerClass>rjw.Recipe_RemoveRestraints</workerClass>
		<jobString>Removing cocoon.</jobString>
		<workAmount>1000</workAmount>
		<removesHediff>RJW_Cocoon</removesHediff>
		<ingredients>
			<li>
				<filter>
					<categories>
						<li>Medicine</li>
					</categories>
				</filter>
				<count>1</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<categories>
				<li>Medicine</li>
			</categories>
		</fixedIngredientFilter>
	</RecipeDef>
</Defs>
