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

	<!-- Greatbow adjustments -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ResearchProjectDef[defName="Greatbow"]/techLevel</xpath>
		<value>
			<techLevel>Neolithic</techLevel>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ResearchProjectDef[defName="Greatbow"]/baseCost</xpath>
		<value>
			<baseCost>400</baseCost>
		</value>
	</Operation>

	<!-- Gunsmithing adjustments -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ResearchProjectDef[defName="Gunsmithing"]</xpath>
		<value>
			<hiddenPrerequisites>
				<li>CE_Gunpowder</li>
			</hiddenPrerequisites>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ResearchProjectDef[defName="Gunsmithing"]/description</xpath>
		<value>
			<description>Craft simple manually-operated guns like revolvers, pump shotguns, bolt-action and lever-action rifles.</description>
		</value>
	</Operation>

	<!-- Turret tech adjustments -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ResearchProjectDef[defName="HeavyTurrets"]/researchViewX</xpath>
		<value>
			<researchViewX>12.0</researchViewX>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ResearchProjectDef[defName="HeavyTurrets"]/prerequisites</xpath>
		<value>
			<li>CE_HeavyTurret</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ResearchProjectDef[defName="SniperTurret"]/hiddenPrerequisites</xpath>
		<value>
			<li>CE_HeavyTurret</li>
		</value>
	</Operation>

	<!-- Add CE's Simple Launchers to the Rocketswarm turret' research project -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ResearchProjectDef[defName="RocketswarmLauncher"]</xpath>
		<value>
			<hiddenPrerequisites>
				<li>CE_Launchers</li>
			</hiddenPrerequisites>
		</value>
	</Operation>

	<!-- Reduce Uranium Slug & Auto Turret cost, since they have a new prerequisite -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ResearchProjectDef[defName="HeavyTurrets"]/baseCost</xpath>
		<value>
			<baseCost>1100</baseCost>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ResearchProjectDef[defName="SniperTurret"]/baseCost</xpath>
		<value>
			<baseCost>2500</baseCost>
		</value>
	</Operation>

</Patch>