<?xml version="1.0" encoding="utf-8" ?>
<Patch>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "AssaultColony"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "AssaultColony"]/thinkNode/subNodes/li[@Class="JobGiver_AITrashColonyClose"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy">
			</li>
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "Sapper"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "Defend"]/thinkNode/subNodes/li[@Class="ThinkNode_ForbidOutsideFlagRadius"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "DefendBase"]/thinkNode/subNodes/li[@Class="JobGiver_AIDefendPoint"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "HuntEnemiesIndividual"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "DefendAndExpandHive"]/thinkNode/subNodes/li[@Class="ThinkNode_Tagger"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "DefendBase"]/thinkNode/subNodes/li[@Class="ThinkNode_ForbidOutsideFlagRadius"]/subNodes/li[@Class="ThinkNode_Subtree"]</xpath>
		<value>
			<li Class="rjw.JobGiver_AIRapePrisoner" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/ThinkTreeDef[defName="MentalStateNonCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes/li[stateClass="MentalState_Manhunter"]/subNodes/li[@Class="ThinkNode_Priority"]/subNodes/li[@Class="JobGiver_Manhunter"]</xpath>
		<!--/Defs[1]/ThinkTreeDef[7]/thinkRoot[1]/subNodes[1]/li[7]/subNodes[1]/li[1]/subNodes[1]/li[2]/@Class-->
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<!--<Operation Class="PatchOperationInsert">
		<xpath>Defs/ThinkTreeDef[defName="MentalStateNonCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes/li[state="ManhunterPermanent"]/subNodes/li[@Class="ThinkNode_Priority"]/subNodes/li[@Class="JobGiver_Manhunter"]</xpath>
		<value>
			<li Class="rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>-->

	<!--<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "Sapper"]/thinkNode/subNodes/li[Class="JobGiver_AITrashColonyClose"]</xpath>
		<value>
			<li Class=" rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "TakeWoundedGuest"]/thinkNode/subNodes/li[0]</xpath>
		<value>
			<li Class=" rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>
	<Operation Class="PatchOperationInsert">
		<xpath>Defs/DutyDef[defName = "Kidnap"]/thinkNode/subNodes/li[0]</xpath>
		<value>
			<li Class=" rjw.JobGiver_RapeEnemy" />
		</value>
	</Operation>-->

	<!-- Copied from Vanilla BingingDrug. live selfish till rape someone. tweak if you want add some action. -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThinkTreeDef[defName="MentalStateCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes</xpath>
		<value>
			<li Class="ThinkNode_ConditionalMentalState">
				<state>RandomRape</state>
				<subNodes>
					<li Class="ThinkNode_ConditionalNeedPercentageAbove">
						<need>Rest</need>
						<threshold>0.05</threshold>
						<invert>true</invert>
						<subNodes>
							<li Class="JobGiver_GetRest"/>
						</subNodes>
					</li>
					<li Class="ThinkNode_PrioritySorter">
						<minPriority>0.5</minPriority>
						<subNodes>
							<li Class="JobGiver_GetFood"/>
							<li Class="ThinkNode_Priority_GetJoy">
								<subNodes>
									<li Class="JobGiver_GetJoy"/>
								</subNodes>
							</li>
						</subNodes>
					</li>
					<li Class="rjw.JobGiver_RandomRape"/>
					<li Class="JobGiver_WanderColony" />
				</subNodes>
			</li>
		</value>
	</Operation>
</Patch>