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

	<HediffDef>
		<defName>WMH_NoPain</defName>

		<label>no pain sensitivity</label>
		<defaultLabelColor>(.8,0,0)</defaultLabelColor>
		<scenarioCanAdd>false</scenarioCanAdd>
		<maxSeverity>1.0</maxSeverity>

		<stages>
			<li>
				<painFactor>0.01</painFactor>
				<statOffsets>
					<PainShockThreshold>1</PainShockThreshold>
				</statOffsets>
			</li>
		</stages>
	</HediffDef>
	
	<HediffDef>
		<defName>WMH_Hunger</defName>
		<hediffClass>HediffWithComps</hediffClass>

		<label>preternatural hunger</label>
		<defaultLabelColor>(.8,0,0)</defaultLabelColor>
		<scenarioCanAdd>false</scenarioCanAdd>
		<maxSeverity>1.0</maxSeverity>
		<comps>
			<li Class="HediffCompProperties_SeverityPerDay">
				<severityPerDay>-1</severityPerDay>
			</li>
		</comps>
		<stages>
			<li>
				<painOffset>0.1</painOffset>
				<hungerRateFactorOffset>10</hungerRateFactorOffset>
				
			</li>
		</stages>
	</HediffDef>

	<HediffDef>
		<defName>WMH_ToxicBuildup</defName>
		<hediffClass>HediffWithComps</hediffClass>
		<defaultLabelColor>(0.7, 1.0, 0.7)</defaultLabelColor>
		<label>toxic buildup</label>
		<lethalSeverity>1</lethalSeverity>
		<makesSickThought>true</makesSickThought>
		<scenarioCanAdd>true</scenarioCanAdd>
		<taleOnVisible>ToxicityRevealed</taleOnVisible>
		<comps>
			<li Class="HediffCompProperties_Immunizable">
				<severityPerDayNotImmune>-0.08</severityPerDayNotImmune>
			</li>
		</comps>
		<stages>
			<li>
				<label>initial</label>

			</li>
			<li>
				<label>initial</label>
				<minSeverity>0.04</minSeverity>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>minor</label>
				<minSeverity>0.2</minSeverity>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.10</offset>
					</li>
				</capMods>
			</li>
			<li>
				<label>moderate</label>
				<minSeverity>0.40</minSeverity>
				<vomitMtbDays>5</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.15</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>438</mtbDays>
						<canAffectAnyLivePart>true</canAffectAnyLivePart>
					</li>
				</hediffGivers>
			</li>
			<li>
				<label>serious</label>
				<minSeverity>0.60</minSeverity>
				<vomitMtbDays>1</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.25</offset>
					</li>
				</capMods>
				<hediffGivers>
					<li Class="HediffGiver_Random">
						<hediff>Dementia</hediff>
						<mtbDays>37</mtbDays>
						<partsToAffect>
							<li>Brain</li>
						</partsToAffect>
					</li>
					<li Class="HediffGiver_Random">
						<hediff>Carcinoma</hediff>
						<mtbDays>111</mtbDays>
						<canAffectAnyLivePart>true</canAffectAnyLivePart>
					</li>
				</hediffGivers>
			</li>
			<li>
				<label>extreme</label>
				<minSeverity>0.80</minSeverity>
				<vomitMtbDays>0.5</vomitMtbDays>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<setMax>0.10</setMax>
					</li>
				</capMods>
				<hediffGivers>
					<li Class="HediffGiver_Random">
						<hediff>Dementia</hediff>
						<mtbDays>13</mtbDays>
						<partsToAffect>
							<li>Brain</li>
						</partsToAffect>
					</li>
					<li Class="HediffGiver_Random">
						<hediff>Carcinoma</hediff>
						<mtbDays>39</mtbDays>
						<canAffectAnyLivePart>true</canAffectAnyLivePart>
					</li>
				</hediffGivers>
			</li>
		</stages>
	</HediffDef>

	<HediffDef ParentName="DiseaseBase">
		<defName>WMH_Vomiting</defName>
		<label>uncontrollable vomiting</label>
		<scenarioCanAdd>false</scenarioCanAdd>

		<comps>
			<li Class="HediffCompProperties_SeverityPerDay">
				<severityPerDay>-1</severityPerDay>
			</li>
		</comps>
		<stages>
			<li>
				<label>minor</label>
				<vomitMtbDays>0.1</vomitMtbDays>
				<painOffset>0.2</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<postFactor>0.9</postFactor>
					</li>

				</capMods>
			</li>
			<li>
				<label>major</label>
				<minSeverity>0.4</minSeverity>
				<vomitMtbDays>0.05</vomitMtbDays>
				<painOffset>0.4</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<postFactor>0.75</postFactor>
					</li>

				</capMods>
			</li>
			<li>
				<label>extreme</label>
				<minSeverity>0.8</minSeverity>
				<vomitMtbDays>0.01</vomitMtbDays>
				<painOffset>0.2</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<postFactor>0.6</postFactor>
					</li>
					<li>
						<capacity>Moving</capacity>
						<postFactor>0.8</postFactor>
					</li>
					<li>
						<capacity>Manipulation</capacity>
						<postFactor>0.75</postFactor>
					</li>

				</capMods>
			</li>
		</stages>
	</HediffDef>

	<HediffDef ParentName="InfectionBase">
		<defName>WMH_Lycanthropy</defName>
		<label>lycanthropy</label>
		<makesSickThought>true</makesSickThought>
		<lethalSeverity>1</lethalSeverity>
		<tendable>true</tendable>
		<comps>
			<li Class="HediffCompProperties_TendDuration">
				<baseTendDurationHours>24</baseTendDurationHours>
				<severityPerDayTended>-0.53</severityPerDayTended>
			</li>
			<li Class="WMHAnimalBehaviours.HediffCompProperties_TurnWhenDead">
				<thingToTurnTo>WMH_Werewolf</thingToTurnTo>

			</li>
			<li Class="HediffCompProperties_Immunizable">
				<severityPerDayNotImmune>0.84</severityPerDayNotImmune>
				<immunityPerDaySick>0.6441</immunityPerDaySick>
				<severityPerDayImmune>-0.70</severityPerDayImmune>
				<immunityPerDayNotSick>-0.40</immunityPerDayNotSick>

			</li>

		</comps>
		<stages>
			<li>
				<label>minor</label>
				<painOffset>0.05</painOffset>
			</li> 
			<li>
				<minSeverity>0.33</minSeverity>
				<label>major</label>
				<painOffset>0.08</painOffset>
			</li>
			<li>
				<minSeverity>0.78</minSeverity>
				<label>extreme</label>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.12</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<minSeverity>0.87</minSeverity>
				<label>extreme</label>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.85</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<setMax>0.1</setMax>
					</li>
					<li>
						<capacity>Breathing</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
		</stages>
	</HediffDef>

	<HediffDef ParentName="InfectionBase">
		<defName>WMH_VampirismEkimmara</defName>
		<label>vampirism (ekimmara)</label>
		<makesSickThought>true</makesSickThought>
		<lethalSeverity>1</lethalSeverity>
		<tendable>true</tendable>
		<comps>
			<li Class="HediffCompProperties_TendDuration">
				<baseTendDurationHours>24</baseTendDurationHours>
				<severityPerDayTended>-0.53</severityPerDayTended>
			</li>
			<li Class="WMHAnimalBehaviours.HediffCompProperties_TurnWhenDead">
				<thingToTurnTo>WMH_Ekimmara</thingToTurnTo>

			</li>
			<li Class="HediffCompProperties_Immunizable">
				<severityPerDayNotImmune>0.84</severityPerDayNotImmune>
				<immunityPerDaySick>0.6441</immunityPerDaySick>
				<severityPerDayImmune>-0.70</severityPerDayImmune>
				<immunityPerDayNotSick>-0.40</immunityPerDayNotSick>

			</li>

		</comps>
		<stages>
			<li>
				<label>minor</label>
				<painOffset>0.05</painOffset>
			</li> 
			<li>
				<minSeverity>0.33</minSeverity>
				<label>major</label>
				<painOffset>0.08</painOffset>
			</li>
			<li>
				<minSeverity>0.78</minSeverity>
				<label>extreme</label>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.12</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<minSeverity>0.87</minSeverity>
				<label>extreme</label>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.85</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<setMax>0.1</setMax>
					</li>
					<li>
						<capacity>Breathing</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
		</stages>
	</HediffDef>

	<HediffDef ParentName="InfectionBase">
		<defName>WMH_VampirismFleder</defName>
		<label>vampirism (fleder)</label>
		<makesSickThought>true</makesSickThought>
		<lethalSeverity>1</lethalSeverity>
		<tendable>true</tendable>
		<comps>
			<li Class="HediffCompProperties_TendDuration">
				<baseTendDurationHours>24</baseTendDurationHours>
				<severityPerDayTended>-0.53</severityPerDayTended>
			</li>
			<li Class="WMHAnimalBehaviours.HediffCompProperties_TurnWhenDead">
				<thingToTurnTo>WMH_Fleder</thingToTurnTo>

			</li>
			<li Class="HediffCompProperties_Immunizable">
				<severityPerDayNotImmune>0.84</severityPerDayNotImmune>
				<immunityPerDaySick>0.6441</immunityPerDaySick>
				<severityPerDayImmune>-0.70</severityPerDayImmune>
				<immunityPerDayNotSick>-0.40</immunityPerDayNotSick>

			</li>

		</comps>
		<stages>
			<li>
				<label>minor</label>
				<painOffset>0.05</painOffset>
			</li> 
			<li>
				<minSeverity>0.33</minSeverity>
				<label>major</label>
				<painOffset>0.08</painOffset>
			</li>
			<li>
				<minSeverity>0.78</minSeverity>
				<label>extreme</label>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.12</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
			<li>
				<minSeverity>0.87</minSeverity>
				<label>extreme</label>
				<lifeThreatening>true</lifeThreatening>
				<painOffset>0.85</painOffset>
				<capMods>
					<li>
						<capacity>Consciousness</capacity>
						<setMax>0.1</setMax>
					</li>
					<li>
						<capacity>Breathing</capacity>
						<offset>-0.05</offset>
					</li>
				</capMods>
			</li>
		</stages>
	</HediffDef>
	
	  <HediffDef ParentName="DiseaseBase">
    <defName>WMH_Paralysis</defName>
    <label>paralysis</label>
    <isBad>false</isBad>
    <comps>
			<li Class="HediffCompProperties_SeverityPerDay">
				<severityPerDay>-2</severityPerDay>
			</li>
		</comps>
    <stages>
      <li>
	    <label>lightly stunned</label>
        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <setMax>0.9</setMax>
          </li>
        </capMods>
      </li>
	   <li>
	    <label>stunned</label>
		<minSeverity>0.2</minSeverity>

        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <setMax>0.6</setMax>
          </li>
        </capMods>
      </li>
	  <li>
	    <label>very stunned</label>
		<minSeverity>0.5</minSeverity>

        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <setMax>0.4</setMax>
          </li>
        </capMods>
      </li>
	  <li>
	    <label>paralysed</label>
		<minSeverity>0.8</minSeverity>

        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <setMax>0.1</setMax>
          </li>
        </capMods>
      </li>
    </stages>
  </HediffDef>

 <HediffDef>
    <defName>WMH_AcidBuildup</defName>
	<hediffClass>WMHAnimalBehaviours.Hediff_AcidBuildup</hediffClass>
    <defaultLabelColor>(0.7, 1.0, 0.7)</defaultLabelColor>
    <label>acid burn</label>
    <lethalSeverity>1</lethalSeverity>
    <makesSickThought>true</makesSickThought>
    
    <comps>
      <li Class="HediffCompProperties_Immunizable">
        <severityPerDayNotImmune>-4</severityPerDayNotImmune>
      </li>
    </comps>
    <stages>
      
      
      <li>
        <label>minor, receiving burns</label>
        <minSeverity>0</minSeverity>
        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <offset>-0.10</offset>
          </li>
        </capMods>
      </li>
      <li>
        <label>moderate, receiving burns</label>
        <minSeverity>0.40</minSeverity>
        <vomitMtbDays>5</vomitMtbDays>
        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <offset>-0.15</offset>
          </li>
        </capMods>
       
      </li>
      <li>
        <label>serious, receiving burns</label>
        <minSeverity>0.60</minSeverity>
        <vomitMtbDays>1</vomitMtbDays>
        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <offset>-0.4</offset>
          </li>
        </capMods>
        
      </li>
      
    </stages>
  </HediffDef>


</Defs>