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

	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Dubs Rimatomics</li>
		</mods>

		<match Class="PatchOperationSequence">
			<operations>

				<li Class="PatchOperationAddModExtension">
					<xpath>Defs/ThingDef[defName="AM_Mech_Nucleotron"]</xpath>
					<value>
						<li Class="CombatExtended.RacePropertiesExtensionCE">
							<bodyShape>Vehicle</bodyShape>
						</li>
					</value>
				</li>

				<li Class="PatchOperationConditional">
					<xpath>Defs/ThingDef[defName="AM_Mech_Nucleotron"]/comps</xpath>
					<nomatch Class="PatchOperationAdd">
						<xpath>Defs/ThingDef[defName="AM_Mech_Nucleotron"]</xpath>
						<value>
							<comps />
						</value>
					</nomatch>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="AM_Mech_Nucleotron"]/comps</xpath>
					<value>
						<li Class="CombatExtended.CompProperties_ArmorDurability">
							<Durability>700</Durability>
							<Regenerates>true</Regenerates>
							<RegenInterval>1250</RegenInterval>
							<RegenValue>5</RegenValue>
							<Repairable>true</Repairable>
							<RepairIngredients>
								<Steel>5</Steel>
								<Plasteel>5</Plasteel>
							</RepairIngredients>
							<RepairTime>300</RepairTime>
							<RepairValue>200</RepairValue>
							<MinArmorPct>0.5</MinArmorPct>
						</li>
					</value>
				</li>

			</operations>
		</match>
	</Operation>

</Patch>