Ludeon Forums

RimWorld => Mods => Help => Topic started by: rhtstm on January 05, 2017, 09:15:16 PM

Title: Question about stateEffecter and HediffCompProperties
Post by: rhtstm on January 05, 2017, 09:15:16 PM
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!
Title: Re: Question about stateEffecter and HediffCompProperties
Post by: sirgzu on January 19, 2017, 10:06:12 AM
You might want to take a look at https://ludeon.com/forums/index.php?topic=22120.msg301439#msg301439