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

<Defs>
	<RecipeDef Abstract="True" ParentName="RJW_SurgeryFlesh" Name="RJW_Abortion">
		<label>Abort pregnancy</label>
		<description>Removes an unwanted pregnancy.</description>
		<workerClass>rjw.Recipe_Abortion</workerClass>
		<jobString>Carrying out abortion.</jobString>
		<workAmount>500</workAmount>
		<workSkillLearnFactor>1</workSkillLearnFactor>
		<effectWorking>Surgery</effectWorking>
		<soundWorking>Recipe_Surgery</soundWorking>
		<workSpeedStat>MedicalOperationSpeed</workSpeedStat>
		<workSkill>Medicine</workSkill>
		<hideBodyPartNames>true</hideBodyPartNames>
		<ingredients>
			<li>
				<filter>
					<categories>
						<li>Medicine</li>
					</categories>
				</filter>
			<count>1</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<categories>
				<li>Medicine</li>
			</categories>
		</fixedIngredientFilter>
		<appliedOnFixedBodyParts>
			<li>Torso</li>
		</appliedOnFixedBodyParts>
	</RecipeDef>

	<RecipeDef ParentName="RJW_Abortion">
		<defName>RJW_AbortionHuman</defName>
		<removesHediff>RJW_pregnancy</removesHediff>
	</RecipeDef>

	<RecipeDef ParentName="RJW_Abortion">
		<defName>RJW_AbortionBeast</defName>
		<removesHediff>RJW_pregnancy_beast</removesHediff>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_Abortion">
		<defName>RJW_AbortionMechHidden</defName>
		<removesHediff>RJW_pregnancy_mech</removesHediff>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_Abortion">
		<defName>RJW_AbortionMech</defName>
		<label>Neutralize mechanoid</label>
		<description>Safely neutralize mechanoid nanites.</description>
		<workerClass>rjw.Recipe_PregnancyAbortMech</workerClass>
		<removesHediff>RJW_pregnancy_mech</removesHediff>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>MedicineUltratech</li>
					</thingDefs>
				</filter>
			<count>10</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>MedicineUltratech</li>
			</thingDefs>
		</fixedIngredientFilter>
	</RecipeDef>
	
	<RecipeDef ParentName="RJW_Abortion">
		<defName>RJW_HackMech</defName>
		<label>Hack mechanoid</label>
		<description>Hack mechanoid AI, cutting it from global mechanoid AI, results docile(unless provoked) mechanoid.</description>
		<jobString>Hacking mechanoid.</jobString>
		<workerClass>rjw.Recipe_PregnancyHackMech</workerClass>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>MedicineUltratech</li>
					</thingDefs>
				</filter>
			<count>10</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>MedicineUltratech</li>
			</thingDefs>
		</fixedIngredientFilter>
		<skillRequirements>
			<Medicine>5</Medicine>
			<Intellectual>10</Intellectual>
		</skillRequirements>
	</RecipeDef>
</Defs>