Question about stateEffecter and HediffCompProperties

Started by rhtstm, January 05, 2017, 09:15:16 PM

Previous topic - Next topic

rhtstm

Hi all,
Anyone knows how the Drunk and Psychite states work in A16?

<stateEffecter>Drunk</stateEffecter>
<chemical>Psychite</chemical>


It used to work like this:

<comps>
      <li>
        <compClass>HediffComp_Disappears</compClass>
        <disappearsAfterTicks>
          <min>6000</min>
          <max>9000</max>
        </disappearsAfterTicks>
<stateEffecter>Drunk</stateEffecter>
<chemical>Psychite</chemical>
      </li>
    </comps>


Now that <compClass>HediffComp_Disappears</compClass> changed to Class="HediffCompProperties_Disappears", Drunk and Psychite is not working :(

Keep getting errors:
<stateEffecter>Drunk</stateEffecter> doesn't correspond to any field in type HediffCompProperties.

Need help,
Thanks!