<?xml version="1.0" encoding="utf-8" ?>
<Defs>
	<!-- Severity will be set to equal (1.0 - blood_filtration) in xxx.update_std_effects -->
	<HediffDef>
		<defName>Immunodeficiency</defName>
		<hediffClass>rjw.Hediff_ID</hediffClass>
		<defaultLabelColor>(1.0, 0.0, 0.0)</defaultLabelColor>
		<label>Immunodeficiency</label>
		<makesSickThought>false</makesSickThought>
		<minSeverity>0.600</minSeverity>
		<initialSeverity>0.601</initialSeverity>
		<tendable>false</tendable>
		<stages>
			<li>
				<minSeverity>0.60</minSeverity>
				<label>minor</label>
				<restFallFactor>1.10</restFallFactor>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<minSeverity>0.75</minSeverity>
				<label>major</label>
				<restFallFactor>1.30</restFallFactor>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.10</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.15</offset>
					</li>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.15</offset>
					</li>
				</capMods>
			</li>
			<li>
				<minSeverity>0.90</minSeverity>
				<label>extreme</label>
				<restFallFactor>1.50</restFallFactor>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.15</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.30</offset>
					</li>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.30</offset>
					</li>
				</capMods>
			</li>
		</stages>
	</HediffDef>

	<HediffDef>
		<defName>VirusPerma</defName>
		<hediffClass>Hediff_Injury</hediffClass>
		<tendable>false</tendable>
		<displayWound>true</displayWound>
		<chanceToCauseNoPain>1.0</chanceToCauseNoPain>
		<label>viral damage</label>
		<comps>
			<li Class="HediffCompProperties_GetsPermanent">
				<permanentLabel>permanent viral damage</permanentLabel>
				<instantlyPermanentLabel>permanent viral damage</instantlyPermanentLabel>
			</li>
		</comps>
		<injuryProps>
			<painPerSeverity>0.0</painPerSeverity>
			<averagePainPerSeverityPermanent>0.0</averagePainPerSeverityPermanent>
			<destroyedLabel>Destroyed by disease</destroyedLabel>
			<destroyedOutLabel>Destroyed by disease</destroyedOutLabel>
		</injuryProps>
	</HediffDef>
	
	<HediffDef ParentName="AddedBodyPartBase">
		<defName>PegArm</defName>
		<label>peg arm</label>
		<labelNoun>a peg arm</labelNoun>
		<addedPartProps>
			<solid>true</solid>
			<partEfficiency>0.00</partEfficiency>
			<betterThanNatural>false</betterThanNatural>
		</addedPartProps>
		<spawnThingOnRemoved>WoodLog</spawnThingOnRemoved>
	</HediffDef>
</Defs>