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

	<!-- Global -->

	<!-- It would be preferable to apply the regen modifier is a factor, but that's not currently possible. -->

	<HediffDef>
		<defName>BioferriteToxicity</defName>
		<label>Bioferrite toxicity</label>
		<description>Ravaged by the effects of bioferrite toxicity.</description>
		<hediffClass>HediffWithComps</hediffClass>
		<comps>
			<li Class="HediffCompProperties_SeverityPerDay">
				<severityPerDay>-20</severityPerDay>
			</li>
			<li Class="HediffCompProperties_DisappearsOnDeath" />
		</comps>
		<stages>
			<li>
				<minSeverity>0.2</minSeverity>
				<label>minor</label>
				<statFactors>
					<IncomingDamageFactor>1.05</IncomingDamageFactor>
				</statFactors>
				<regeneration>-25</regeneration>
			</li>
			<li>
				<minSeverity>0.40</minSeverity>
				<label>moderate</label>
				<statFactors>
					<IncomingDamageFactor>1.05</IncomingDamageFactor>
				</statFactors>
				<regeneration>-50</regeneration>
			</li>
			<li>
				<minSeverity>0.6</minSeverity>
				<label>major</label>
				<statFactors>
					<IncomingDamageFactor>1.2</IncomingDamageFactor>
				</statFactors>
				<regeneration>-100</regeneration> <!-- Offsets unnatural regeneration. -->
			</li>
			<li>
				<minSeverity>0.8</minSeverity>
				<label>severe</label>
				<statFactors>
					<IncomingDamageFactor>1.35</IncomingDamageFactor>
				</statFactors>
				<regeneration>-200</regeneration>
			</li>
			<li>
				<minSeverity>0.9</minSeverity>
				<label>extreme</label>
				<statFactors>
					<IncomingDamageFactor>1.40</IncomingDamageFactor>
				</statFactors>
				<regeneration>-350</regeneration> <!-- Offsets impossible regeneration. -->
			</li>
		</stages>
	</HediffDef>

</Defs>