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

	<!-- ==================== Hediff Type ========================== -->

	<HediffDef>
		<defName>ME_Toxic</defName>
		<label>toxin round</label>
		<description>Neurotoxin in the bloodstream. Causes nausea and severe degradation of neuromotor functions.
			\nAt high doses, toxic buildup can have severe health effects. Even at low doses, it can generate cancers.
			\nCreatures who die with toxic buildup cannot be eaten.</description>
		<hediffClass>HediffWithComps</hediffClass>
		<defaultLabelColor>(0.7, 1.0, 0.7)</defaultLabelColor>
		<makesSickThought>true</makesSickThought>
		<scenarioCanAdd>false</scenarioCanAdd>
		<taleOnVisible>ToxicityRevealed</taleOnVisible>
		<comps>
			<li Class="HediffCompProperties_Immunizable">
				<severityPerDayNotImmune>-0.2</severityPerDayNotImmune>
			</li>
		</comps>
		<stages>
			<li>
				<label>initial</label>
				<becomeVisible>false</becomeVisible>
			</li>
			<li>
				<label>initial</label>
				<minSeverity>0.01</minSeverity>
				<vomitMtbDays>0.8</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>minor</label>
				<minSeverity>0.15</minSeverity>
				<vomitMtbDays>0.33</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.10</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>moderate</label>
				<minSeverity>0.35</minSeverity>
				<vomitMtbDays>0.2</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.175</offset>
					</li>
				</capMods>
				<hediffGivers>
					<li Class="HediffGiver_Random">
						<hediff>Dementia</hediff>
						<mtbDays>146</mtbDays>
						<partsToAffect>
							<li>Brain</li>
						</partsToAffect>
					</li>
					<li Class="HediffGiver_Random">
						<hediff>Carcinoma</hediff>
						<mtbDays>300</mtbDays>
						<canAffectAnyLivePart>true</canAffectAnyLivePart>
					</li>
				</hediffGivers>
			</li>
			<li>
				<label>serious</label>
				<minSeverity>0.65</minSeverity>
				<vomitMtbDays>0.1</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.25</offset>
					</li>
				</capMods>
				<hediffGivers>
					<li Class="HediffGiver_Random">
						<hediff>Dementia</hediff>
						<mtbDays>25</mtbDays>
						<partsToAffect>
							<li>Brain</li>
						</partsToAffect>
					</li>
					<li Class="HediffGiver_Random">
						<hediff>Carcinoma</hediff>
						<mtbDays>60</mtbDays>
						<canAffectAnyLivePart>true</canAffectAnyLivePart>
					</li>
				</hediffGivers>
			</li>
			<li>
				<label>extreme</label>
				<minSeverity>0.85</minSeverity>
				<vomitMtbDays>0.06</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<setMax>0.10</setMax>
					</li>
				</capMods>
				<hediffGivers>
					<li Class="HediffGiver_Random">
						<hediff>Dementia</hediff>
						<mtbDays>10</mtbDays>
						<partsToAffect>
							<li>Brain</li>
						</partsToAffect>
					</li>
					<li Class="HediffGiver_Random">
						<hediff>Carcinoma</hediff>
						<mtbDays>30</mtbDays>
						<canAffectAnyLivePart>true</canAffectAnyLivePart>
					</li>
				</hediffGivers>
			</li>
		</stages>
	</HediffDef>

	<HediffDef>
		<defName>ME_Freeze</defName>
		<label>Freeze</label>
		<description>Dangerously low core body temperature. Unless re-warmed, hypothermia gets worse and ends in death. Recovery is quick once the victim is re-warmed. Avoid hypothermia by wearing warm clothes in cold environments.</description>
		<defaultLabelColor>(0.8, 0.8, 1)</defaultLabelColor>
		<hediffClass>HediffWithComps</hediffClass>
		<taleOnVisible>HypothermiaRevealed</taleOnVisible>
		<comps>
			<li Class="HediffCompProperties_Immunizable">
				<severityPerDayNotImmune>-0.5</severityPerDayNotImmune>
			</li>
		</comps>
		<stages>
			<li>
				<label>shivering</label>
				<becomeVisible>false</becomeVisible>
			</li>
			<li>
				<label>shivering</label>
				<minSeverity>0.03</minSeverity>
				<capMods>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.1</offset>
					</li>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.1</offset>
					</li>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.01</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>minor</label>
				<minSeverity>0.2</minSeverity>
				<capMods>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.2</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.2</offset>
					</li>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>serious</label>
				<minSeverity>0.35</minSeverity>
				<painOffset>0.1</painOffset>
				<capMods>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.35</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.5</offset>
					</li>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.1</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>extreme</label>
				<minSeverity>0.65</minSeverity>
				<painOffset>0.15</painOffset>
				<capMods>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.5</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.66</offset>
					</li>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.15</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>Frozen</label>
				<minSeverity>0.85</minSeverity>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.2</painOffset>
				<capMods>
					<li>
						<capacity>Moving</capacity>
						<offset>-0.9</offset>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<offset>-0.9</offset>
					</li>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.15</offset>
					</li>
				</capMods>
			</li>
		</stages>
	</HediffDef>

	<HediffDef>
		<defName>ME_PrometheumSoaked</defName>
		<label>Incendiary agent</label>
		<description>Shot by incendiary slug</description>
		<hediffClass>HediffWithComps</hediffClass>
		<comps>
			<li Class="HediffCompProperties_SeverityPerDay">
				<severityPerDay>-30</severityPerDay>
			</li>
			<li Class="CombatExtended.HediffCompProperties_Prometheum" />
		</comps>
		<stages>
			<li>
				<minSeverity>0.2</minSeverity>
				<label>minor</label>
				<statOffsets>
					<Flammability>0.15</Flammability>
				</statOffsets>
			</li>
			<li>
				<minSeverity>0.40</minSeverity>
				<label>dripping</label>
				<statOffsets>
					<Flammability>0.25</Flammability>
				</statOffsets>
			</li>
			<li>
				<minSeverity>0.6</minSeverity>
				<label>soaked</label>
				<statOffsets>
					<Flammability>0.33</Flammability>
				</statOffsets>
			</li>
			<li>
				<minSeverity>0.8</minSeverity>
				<label>drenched</label>
				<statOffsets>
					<Flammability>0.5</Flammability>
				</statOffsets>
			</li>
		</stages>
	</HediffDef>

</Defs>