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

	<!--QX==================== Imperial Guard Core Mod - HeDiff DiseaseBase =========================QX-->

	<HediffDef Name="DiseaseBase" Abstract="True">
		<hediffClass>HediffWithComps</hediffClass>
		<defaultLabelColor>(0.8, 0.8, 0.35)</defaultLabelColor>
	</HediffDef>

	<!--QX==================== Imperial Guard Core Mod - HeDiff New Affectors =========================QX-->

	<HediffDef ParentName="DiseaseBase">
		<defName>hediff_unConsciousness</defName>
		<label>unconsciousness</label>
		<initialSeverity>2</initialSeverity>
		<makesAlert>false</makesAlert>
		<comps>
				<li Class="HediffCompProperties_Disappears">
					<disappearsAfterTicks>
						<min>1500</min>
						<max>6000</max>
					</disappearsAfterTicks>
				</li>
		</comps>
		<stages>
			<li>
				<forgetMemoryThoughtMtbDays>2</forgetMemoryThoughtMtbDays>
				<capMods>
				<li>
					<capacity>Consciousness</capacity>
					<offset>-0.30</offset>
				</li>
				</capMods>
			</li>
		</stages>
	</HediffDef>

	<!--QX==================== Imperial Guard Core Mod - Webber HeDiff=========================QX-->

	<HediffDef ParentName="InjuryBase">
		<defName>hediff_webbed</defName>
		<label>being webbed</label>
		<makesAlert>false</makesAlert>
		<makesSickThought>true</makesSickThought>
		<comps>
				<li Class="HediffCompProperties_Disappears">
					<disappearsAfterTicks>
						<min>30000</min>
						<max>60000</max>
					</disappearsAfterTicks>
				</li>
		</comps>
		<stages>
			<li>	
				<capMods>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.30</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.30</offset>
					</li>
				</capMods>
				<hediffGivers>
					<li Class="HediffGiver_Random">
						<hediff>hediff_unConsciousness</hediff>
						<mtbDays>1.5</mtbDays>
						<partsToAffect>
							<li>Brain</li>
						</partsToAffect>
					</li>
				</hediffGivers>
			</li>
		</stages>
			<injuryProps>
				<painPerSeverity>0.12</painPerSeverity>
				<averagePainPerSeverityOld>0</averagePainPerSeverityOld>
				<bleedRate>0</bleedRate>
				<canMerge>true</canMerge>
				<destroyedLabel>Destroyed</destroyedLabel>
				<destroyedOutLabel>Fried</destroyedOutLabel>
			</injuryProps>
	</HediffDef>

	<!--QX==================== Imperial Guard Core Mod - InfectionBase HeDiff=========================QX-->
	
	<HediffDef ParentName="InjuryBase">
		<defName>hediff_TYPlague</defName>
		<label>Tyranid Plague</label>
		<!-- <taleOnVisible>IllnessRevealed</taleOnVisible> COMMENTED OUT TO TEST -->
		<makesAlert>false</makesAlert>
		<makesSickThought>true</makesSickThought>
		<tendable>true</tendable>
		<comps>
			<li Class="HediffCompProperties_Disappears">
				<disappearsAfterTicks>
					<min>40000</min>
					<max>80000</max>
				</disappearsAfterTicks>
			</li>
			<li Class="HediffCompProperties_Infecter">
				<infectionChance>0.25</infectionChance>
			</li>
			<li Class="HediffCompProperties_TendDuration">
				<tendDuration>20000</tendDuration>
				<severityPerDayTended>-0.30</severityPerDayTended>
			</li>
		</comps>
		<stages>
			<li>
				<label>Spore</label>
				<becomeVisible>true</becomeVisible>
			</li>
			<li>
				<minSeverity>0.01</minSeverity>
				<label>Spore</label> 						<!-- First Stage -->
				<vomitMtbDays>0.1</vomitMtbDays>
				<painOffset>0.01</painOffset>
				<partEfficiencyOffset>-0.05</partEfficiencyOffset>
			<capMods>
				<li>
					<capacity>Moving</capacity>
					<offset>-0.01</offset>
				</li>
				<li>
					<capacity>Manipulation</capacity>
					<offset>-0.01</offset>
				</li>
				<li>
					<capacity>BloodPumping</capacity>
					<offset>-0.01</offset>
				</li>
			</capMods>
			</li>
		</stages>
		<injuryProps>
			<painPerSeverity>0.01</painPerSeverity>
			<averagePainPerSeverityOld>0</averagePainPerSeverityOld>
			<bleedRate>0.03</bleedRate>
			<canMerge>true</canMerge>
			<destroyedLabel>Destroyed</destroyedLabel>
			<destroyedOutLabel>diseased</destroyedOutLabel>
		</injuryProps>
	</HediffDef>
	
</Defs>





