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


 <HediffDef>
    <defName>PJ_ForceSpeedHediff_One</defName>
	<hediffClass>HediffWithComps</hediffClass>
	<label>Force Speed</label>
    <defaultLabelColor>(1,0.3,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>	
	<comps>
      <li Class="HediffCompProperties_Disappears">
        <disappearsAfterTicks>
          <min>700</min>
          <max>700</max>
        </disappearsAfterTicks>
      </li>	  
    </comps>
      <stages>
        <li>
          <restFallFactor>1.33</restFallFactor>
		  <statOffsets>
			<MoveSpeed>8.0</MoveSpeed>
			<WorkSpeedGlobal>2.0</WorkSpeedGlobal>		  
		  </statOffsets>
        </li>
      </stages>	
  </HediffDef>
  
 <HediffDef>
    <defName>PJ_ForceSpeedHediff_Two</defName>
	<hediffClass>HediffWithComps</hediffClass>
	<label>Force Speed</label>
    <defaultLabelColor>(1,0.3,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>	
	<comps>
      <li Class="HediffCompProperties_Disappears">
        <disappearsAfterTicks>
          <min>900</min>
          <max>900</max>
        </disappearsAfterTicks>
      </li>	  
    </comps>
      <stages>
        <li>
          <restFallFactor>1.33</restFallFactor>
		  <statOffsets>
			<MoveSpeed>8.0</MoveSpeed>
			<WorkSpeedGlobal>2.0</WorkSpeedGlobal>		  
		  </statOffsets>
        </li>
      </stages>	
  </HediffDef>  
  
 <HediffDef>
    <defName>PJ_ForceSpeedHediff_Three</defName>
	<hediffClass>HediffWithComps</hediffClass>
	<label>Force Speed</label>
    <defaultLabelColor>(1,0.3,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>	
	<comps>
      <li Class="HediffCompProperties_Disappears">
        <disappearsAfterTicks>
          <min>1800</min>
          <max>1800</max>
        </disappearsAfterTicks>
      </li>	  
    </comps>
      <stages>
        <li>
          <restFallFactor>1.33</restFallFactor>
		  <statOffsets>
			<MoveSpeed>12.0</MoveSpeed>
			<WorkSpeedGlobal>2.0</WorkSpeedGlobal>		  
		  </statOffsets>
        </li>
      </stages>	
  </HediffDef>    

 <HediffDef>
    <defName>PJ_ForceDefenseHediff</defName>
	<hediffClass>HediffWithComps</hediffClass>
	<label>Force Defense</label>
    <defaultLabelColor>(1,0.3,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>	
	<comps>
      <li>
        <compClass>ProjectJedi.HediffComp_Shield</compClass>
      </li>
      <li Class="HediffCompProperties_SeverityPerDay">
        <severityPerDay>-1.5</severityPerDay>
      </li>	  
    </comps>
      <stages>
        <li>
          <restFallFactor>1.33</restFallFactor>
        </li>
      </stages>	
  </HediffDef>

 <HediffDef>
    <defName>PJ_MindTrick</defName>
    <hediffClass>HediffWithComps</hediffClass>
    <label>Mind Trick</label>
    <defaultLabelColor>(1,0.3,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>
    <comps>
      <li Class="HediffCompProperties_SeverityPerDay">
        <severityPerDay>-1.5</severityPerDay>
      </li>
    </comps>
      <stages>
        <li>
          <restFallFactor>1.33</restFallFactor>
		   <mentalStateGivers>
			<li>
            <mentalState>WanderConfused</mentalState>
            <mtbDays>0.01</mtbDays>
            </li>
			</mentalStateGivers>
        </li>
      </stages>
  </HediffDef>

  <ThoughtDef>
    <defName>PJ_MindtrickThought</defName>
    <workerClass>ThoughtWorker_Hediff</workerClass>
    <hediff>PJ_MindTrick</hediff>
    <validWhileDespawned>true</validWhileDespawned>
    <stages>
      <li>
        <label>Mind Trick</label>
        <description>The force can have a strong effect on the weak minded.</description>
        <baseMoodEffect>2</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>

   <HediffDef>
    <defName>PJ_Rage</defName>
    <hediffClass>HediffWithComps</hediffClass>
    <label>Force Rage</label>
    <defaultLabelColor>(1,0,0)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>
    <comps>
      <li Class="HediffCompProperties_SeverityPerDay">
        <severityPerDay>-1.5</severityPerDay>
      </li>
    </comps>
      <stages>
        <li>
          <restFallFactor>1.33</restFallFactor>
		   <mentalStateGivers>
			<li>
            <mentalState>Berserk</mentalState>
            <mtbDays>0.01</mtbDays>
            </li>
			</mentalStateGivers>
        </li>
      </stages>
  </HediffDef>

  <ThoughtDef>
    <defName>PJ_RageThought</defName>
    <workerClass>ThoughtWorker_Hediff</workerClass>
    <hediff>PJ_Rage</hediff>
    <stages>
      <li>
        <label>Force Rage</label>
        <description>The force can have a strong effect on the weak minded. This discipline drives the target into an insensate rage.</description>
        <baseMoodEffect>1</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>
  
</HediffDefs>
