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

	<!--QX==================== Imperial Guard Core Mod - Adeptus Mechanicus Trait =========================QX-->

	<TraitDef>
		<defName>IGTraitMechanicus</defName>
		<commonality>0.05</commonality>
		<degreeDatas>
			<li>
				<label>Imperial-Mechanicus</label>
				<description>NAME has been blessed by the Mechanicus be overall better than regular humans at all tasked related to reseach, craft and mining. HECAP is blessed for a harsh working environment.</description>
				<statOffsets>
					<WorkSpeedGlobal>0.5</WorkSpeedGlobal>
					<GlobalLearningFactor>1.7</GlobalLearningFactor>
					<MoveSpeed>0.25</MoveSpeed>
					<MentalBreakThreshold>-0.15</MentalBreakThreshold>
					<ImmunityGainSpeed>0.2</ImmunityGainSpeed>
					<CarryingCapacity>150</CarryingCapacity>
					<TradePriceImprovement>0.5</TradePriceImprovement>
					<SocialImpact>0.1</SocialImpact>
					<PsychicSensitivity>0.1</PsychicSensitivity>
					<ConstructionSpeed>0.15</ConstructionSpeed>
				</statOffsets>
				<skillGains>
					<li>
						<key>Crafting</key>
						<value>3</value>
					</li>
					<li>
						<key>Construction</key>
						<value>3</value>
					</li>
					<li>
						<key>Mining</key>
						<value>3</value>
					</li>
				</skillGains>
			</li>
		</degreeDatas>
		<conflictingTraits>
			<li>IGTraitAstraMilitarum</li>
			<li>IGTraitAssassinorum</li>
			<li>IGTraitInquisition</li>
			<li>IGTraitImperialMedic</li>
		</conflictingTraits>
	</TraitDef>

	<!--QX==================== Imperial Guard Core Mod - Astra Militarum Trait =========================QX-->	

	<TraitDef>
		<defName>IGTraitAstraMilitarum</defName>
		<commonality>0.05</commonality>
		<degreeDatas>
			<li>
				<label>Imperial-AstraMilitarum</label>
				<description>NAME has been blessed by the Emperor be overall better than regular humans at all tasked related to combat to better serve the Emperor against Chaos. HECAP is blessed with general combat excellence.</description>
				<statFactors>
					<MeleeHitChance>3.00</MeleeHitChance>
				</statFactors>
				<statOffsets>
					<MeleeDodgeChance>0.35</MeleeDodgeChance>
					<AimingDelayFactor>-0.3</AimingDelayFactor>
					<ShootingAccuracy>0.4</ShootingAccuracy>
					<GlobalLearningFactor>0.3</GlobalLearningFactor>
					<MoveSpeed>0.35</MoveSpeed>
					<MentalBreakThreshold>-0.3</MentalBreakThreshold>
					<ImmunityGainSpeed>0.3</ImmunityGainSpeed>
					<CarryingCapacity>100</CarryingCapacity>
					<ArmorRating_Blunt>0.3</ArmorRating_Blunt>
					<ArmorRating_Sharp>0.3</ArmorRating_Sharp>
					<ToxicSensitivity>-0.3</ToxicSensitivity>
					<RecruitPrisonerChance>0.10</RecruitPrisonerChance>
				</statOffsets>
				<skillGains>
					<li>
						<key>Shooting</key>
						<value>2</value>
					</li>
					<li>
						<key>Melee</key>
						<value>2</value>
					</li>
				</skillGains>
			</li>
		</degreeDatas>
		<conflictingTraits>
			<li>IGTraitMechanicus</li>
			<li>IGTraitAssassinorum</li>
			<li>IGTraitInquisition</li>
			<li>IGTraitImperialMedic</li>
		</conflictingTraits>
	</TraitDef>

	<!--QX==================== Imperial Guard Core Mod - Officio Assassinorum Trait =========================QX-->

	<TraitDef>
		<defName>IGTraitAssassinorum</defName>
		<commonality>0.05</commonality>
		<degreeDatas>
			<li>
				<label>Imperial-Assassinorum</label>
				<description>NAME has been trained by the Officio Assassinorum to be a surgical tool to serve the Emperor against Chaos. HECAP is blessed for combat excellence at range.</description>
				<statFactors>
					<MeleeHitChance>1.50</MeleeHitChance>
				</statFactors>
				<statOffsets>
					<MeleeDodgeChance>0.45</MeleeDodgeChance>
					<AimingDelayFactor>-0.4</AimingDelayFactor>
					<ShootingAccuracy>0.5</ShootingAccuracy>
					<GlobalLearningFactor>0.3</GlobalLearningFactor>
					<MoveSpeed>0.35</MoveSpeed>
					<MentalBreakThreshold>-0.5</MentalBreakThreshold>
					<ImmunityGainSpeed>0.5</ImmunityGainSpeed>
					<CarryingCapacity>75</CarryingCapacity>
					<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
					<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
					<ToxicSensitivity>-0.5</ToxicSensitivity>
					<RecruitPrisonerChance>0.20</RecruitPrisonerChance>
				</statOffsets>
				<skillGains>
					<li>
						<key>Shooting</key>
						<value>4</value>
					</li>
					<li>
						<key>Melee</key>
						<value>4</value>
					</li>
				</skillGains>
			</li>
		</degreeDatas>
		<conflictingTraits>
			<li>IGTraitMechanicus</li>
			<li>IGTraitAstraMilitarum</li>
			<li>IGTraitInquisition</li>
			<li>IGTraitImperialMedic</li>
		</conflictingTraits>
	</TraitDef>
	
	
	<!--QX==================== Imperial Guard Core Mod - Imperial Inquisition Trait =========================QX-->
	
	<TraitDef>
		<defName>IGTraitInquisition</defName>
		<commonality>0.05</commonality>
		<degreeDatas>
			<li>
				<label>Imperial-Inquisition</label>
				<description>NAME has been trained by the Inquisition as the secret police of the Imperium responsible for guarding the souls of humanity. HECAP is blessed by the Inquisition with a many varied skills.</description>
				<statFactors>
					<MeleeHitChance>2.50</MeleeHitChance>
				</statFactors>
				<statOffsets>
					<WorkSpeedGlobal>0.1</WorkSpeedGlobal>
					<AimingDelayFactor>-0.1</AimingDelayFactor>
					<ShootingAccuracy>0.15</ShootingAccuracy>
					<GlobalLearningFactor>0.4</GlobalLearningFactor>
					<MoveSpeed>0.30</MoveSpeed>
					<MentalBreakThreshold>-0.5</MentalBreakThreshold>
					<ImmunityGainSpeed>0.4</ImmunityGainSpeed>
					<CarryingCapacity>75</CarryingCapacity>
					<ArmorRating_Blunt>0.4</ArmorRating_Blunt>
					<ArmorRating_Sharp>0.4</ArmorRating_Sharp>
					<ToxicSensitivity>-0.4</ToxicSensitivity>
					<SocialImpact>0.3</SocialImpact>
					<ResearchSpeed>0.4</ResearchSpeed>
					<PsychicSensitivity>-0.2</PsychicSensitivity>
				</statOffsets>
				<skillGains>
					<li>
						<key>Shooting</key>
						<value>3</value>
					</li>
					<li>
						<key>Melee</key>
						<value>3</value>
					</li>
					<li>
						<key>Crafting</key>
						<value>3</value>
					</li>
					<li>
						<key>Medicine</key>
						<value>3</value>
					</li>
				</skillGains>
			</li>
		</degreeDatas>
		<conflictingTraits>
			<li>IGTraitMechanicus</li>
			<li>IGTraitAstraMilitarum</li>
			<li>IGTraitAssassinorum</li>
			<li>IGTraitImperialMedic</li>
		</conflictingTraits>
	</TraitDef>
	
	<!--QX==================== Imperial Guard Core Mod - Imperial Cult Trait =========================QX-->
	
	<TraitDef>
		<defName>IGTraitImperialMedic</defName>
		<commonality>0.05</commonality>
		<degreeDatas>
			<li>
				<label>Imperial-Medic</label>
				<description>NAME has been training in the arts of all medicine to help their fellow imperial citizens. HECAP is blessed with medical excellence.</description>
				<statOffsets>
					<GlobalLearningFactor>0.5</GlobalLearningFactor>
					<MoveSpeed>0.40</MoveSpeed>
					<MentalBreakThreshold>-0.2</MentalBreakThreshold>
					<ImmunityGainSpeed>0.3</ImmunityGainSpeed>
					<CarryingCapacity>150</CarryingCapacity>
					<ToxicSensitivity>-0.2</ToxicSensitivity>
					<SocialImpact>0.25</SocialImpact>
				</statOffsets>
				<skillGains>
					<li>
						<key>Medicine</key>
						<value>10</value>
					</li>
				</skillGains>
			</li>
		</degreeDatas>
		<conflictingTraits>
			<li>IGTraitMechanicus</li>
			<li>IGTraitAstraMilitarum</li>
			<li>IGTraitAssassinorum</li>
			<li>IGTraitInquisition</li>
		</conflictingTraits>
	</TraitDef>
	
</Defs>